librelist archives

« back to archive

ConverseJS : Add support for private group chat

ConverseJS : Add support for private group chat

From:
Gauri Padbidri
Date:
2015-02-23 @ 22:52
Hi All,

 

            I want to enable the feature of having a "Support for private
group chat". Following is the requirement :             

Users should be able to create a private group chat on the fly.

.         Opening a chat with one user

.         Clicking an "add people" icon in chat title bar (we can use same
as room icon)

.         Slide open same participant list used in room chat

.         Search and invite users using same mechanism as room chat

Considerations:

.         We may need to change MUC permissions to make this work for all?

.         These rooms should not be publicly available i.e. no one should be
able to randomly join.

Can you let me know how I can achieve this feature ? Thanks !

Best Regards,

Gauri Padbidri

Re: [conversejs] ConverseJS : Add support for private group chat

From:
Jc Brand
Date:
2015-02-24 @ 10:30
Hi Gauri

The multi-user chat XEP specifies a protocol for converting a single-user chat
into a multi-user chat room.

http://xmpp.org/extensions/xep-0045.html#continue

JC

On Tue, Feb 24, 2015 at 04:22:39AM +0530, Gauri Padbidri wrote:
>    Hi All,
> 
>                I want to enable the feature of having a “Support for private
>    group chat”. Following is the requirement :            
> 
>    Users should be able to create a private group chat on the fly.
> 
>    ·         Opening a chat with one user
> 
>    ·         Clicking an "add people" icon in chat title bar (we can use same
>    as room icon)
> 
>    ·         Slide open same participant list used in room chat
> 
>    ·         Search and invite users using same mechanism as room chat
> 
>    Considerations:
> 
>    ·         We may need to change MUC permissions to make this work for all?
> 
>    ·         These rooms should not be publicly available i.e. no one should
>    be able to randomly join.
> 
>    Can you let me know how I can achieve this feature ? Thanks !
> 
>    Best Regards,
> 
>    Gauri Padbidri

Re: [conversejs] ConverseJS : Add support for private group chat

From:
Gauri Padbidri
Date:
2015-02-24 @ 14:14
Hi,

	I read the following link. It makes sense to me. But as I am a fresher to
this entire application, can you help me how and where can I configure 
this setting. Let me give you a background on it...Our chat application 
uses ConverseJS as the Chat Web Client and Ejabberd as the XMPP Provider. 
Does this involve enabling a Ejabberd Module in ejabberd.cfg ? How can I 
go about it. Please help, Thanks !

Best Regards,
Gauri Padbidri

-----Original Message-----
From: conversejs@librelist.com [mailto:conversejs@librelist.com] On Behalf
Of JC Brand
Sent: Tuesday, February 24, 2015 4:01 PM
To: conversejs@librelist.com
Subject: Re: [conversejs] ConverseJS : Add support for private group chat

Hi Gauri

The multi-user chat XEP specifies a protocol for converting a single-user 
chat into a multi-user chat room.

http://xmpp.org/extensions/xep-0045.html#continue

JC

On Tue, Feb 24, 2015 at 04:22:39AM +0530, Gauri Padbidri wrote:
>    Hi All,
> 
>                I want to enable the feature of having a “Support for private
>    group chat”. Following is the requirement :
> 
>    Users should be able to create a private group chat on the fly.
> 
>    ·         Opening a chat with one user
> 
>    ·         Clicking an "add people" icon in chat title bar (we can use same
>    as room icon)
> 
>    ·         Slide open same participant list used in room chat
> 
>    ·         Search and invite users using same mechanism as room chat
> 
>    Considerations:
> 
>    ·         We may need to change MUC permissions to make this work for all?
> 
>    ·         These rooms should not be publicly available i.e. no one should
>    be able to randomly join.
> 
>    Can you let me know how I can achieve this feature ? Thanks !
> 
>    Best Regards,
> 
>    Gauri Padbidri

Re: [conversejs] ConverseJS : Add support for private group chat

From:
Gauri Padbidri
Date:
2015-02-24 @ 14:40
Hi JC,
	Just so that you get a context of my requirement, following is my requirement :
	Users should be able to create a private group chat on the fly.
    		Opening a chat with one user
    		Clicking an "add people" icon in chat title bar (we can use same as 
room icon)
    		Slide open same participant list used in room chat
    		Search and invite users using same mechanism as room chat

   	Does ConverseJS support this feature ? How can I " Open a chat with 
one user, which would have an ADD / Invite People icon which on clicked 
can convert the same Single User Chat to a Multi User Chat ".  	How can I 
enable this feature on Client / Server ? What all is involved on 
ConverseJS development side ? Thanks !

Best Regards,
Gauri Padbidri

-----Original Message-----
From: conversejs@librelist.com [mailto:conversejs@librelist.com] On Behalf
Of Gauri Padbidri
Sent: Tuesday, February 24, 2015 7:44 PM
To: conversejs@librelist.com
Subject: RE: [conversejs] ConverseJS : Add support for private group chat

Hi,

	I read the following link. It makes sense to me. But as I am a fresher to
this entire application, can you help me how and where can I configure 
this setting. Let me give you a background on it...Our chat application 
uses ConverseJS as the Chat Web Client and Ejabberd as the XMPP Provider. 
Does this involve enabling a Ejabberd Module in ejabberd.cfg ? How can I 
go about it. Please help, Thanks !

Best Regards,
Gauri Padbidri

-----Original Message-----
From: conversejs@librelist.com [mailto:conversejs@librelist.com] On Behalf
Of JC Brand
Sent: Tuesday, February 24, 2015 4:01 PM
To: conversejs@librelist.com
Subject: Re: [conversejs] ConverseJS : Add support for private group chat

Hi Gauri

The multi-user chat XEP specifies a protocol for converting a single-user 
chat into a multi-user chat room.

http://xmpp.org/extensions/xep-0045.html#continue

JC

On Tue, Feb 24, 2015 at 04:22:39AM +0530, Gauri Padbidri wrote:
>    Hi All,
> 
>                I want to enable the feature of having a “Support for private
>    group chat”. Following is the requirement :
> 
>    Users should be able to create a private group chat on the fly.
> 
>    ·         Opening a chat with one user
> 
>    ·         Clicking an "add people" icon in chat title bar (we can use same
>    as room icon)
> 
>    ·         Slide open same participant list used in room chat
> 
>    ·         Search and invite users using same mechanism as room chat
> 
>    Considerations:
> 
>    ·         We may need to change MUC permissions to make this work for all?
> 
>    ·         These rooms should not be publicly available i.e. no one should
>    be able to randomly join.
> 
>    Can you let me know how I can achieve this feature ? Thanks !
> 
>    Best Regards,
> 
>    Gauri Padbidri

Re: [conversejs] ConverseJS : Add support for private group chat

From:
Jc Brand
Date:
2015-02-25 @ 09:14
Hi Gauri

Converse.js doesn't yet have support for this feature. It's not something you
can just enabled, it will require custom development, either as a plugin or in
core.

Pull requests are welcome.

For info on how to do development on converse.js:
https://conversejs.org/docs/html/development.html

JC

On Tue, Feb 24, 2015 at 08:10:55PM +0530, Gauri Padbidri wrote:
> Hi JC,
> 	Just so that you get a context of my requirement, following is my requirement :
> 	Users should be able to create a private group chat on the fly.
>     		Opening a chat with one user
>     		Clicking an "add people" icon in chat title bar (we can use same 
as room icon)
>     		Slide open same participant list used in room chat
>     		Search and invite users using same mechanism as room chat
> 
>    	Does ConverseJS support this feature ? How can I " Open a chat with 
one user, which would have an ADD / Invite People icon which on clicked 
can convert the same Single User Chat to a Multi User Chat ".  	How can I 
enable this feature on Client / Server ? What all is involved on 
ConverseJS development side ? Thanks !
> 
> Best Regards,
> Gauri Padbidri
> 
> -----Original Message-----
> From: conversejs@librelist.com [mailto:conversejs@librelist.com] On 
Behalf Of Gauri Padbidri
> Sent: Tuesday, February 24, 2015 7:44 PM
> To: conversejs@librelist.com
> Subject: RE: [conversejs] ConverseJS : Add support for private group chat
> 
> Hi,
> 
> 	I read the following link. It makes sense to me. But as I am a fresher 
to this entire application, can you help me how and where can I configure 
this setting. Let me give you a background on it...Our chat application 
uses ConverseJS as the Chat Web Client and Ejabberd as the XMPP Provider. 
Does this involve enabling a Ejabberd Module in ejabberd.cfg ? How can I 
go about it. Please help, Thanks !
> 
> Best Regards,
> Gauri Padbidri
> 
> -----Original Message-----
> From: conversejs@librelist.com [mailto:conversejs@librelist.com] On 
Behalf Of JC Brand
> Sent: Tuesday, February 24, 2015 4:01 PM
> To: conversejs@librelist.com
> Subject: Re: [conversejs] ConverseJS : Add support for private group chat
> 
> Hi Gauri
> 
> The multi-user chat XEP specifies a protocol for converting a 
single-user chat into a multi-user chat room.
> 
> http://xmpp.org/extensions/xep-0045.html#continue
> 
> JC
> 
> On Tue, Feb 24, 2015 at 04:22:39AM +0530, Gauri Padbidri wrote:
> >    Hi All,
> > 
> >                I want to enable the feature of having a “Support for private
> >    group chat”. Following is the requirement :
> > 
> >    Users should be able to create a private group chat on the fly.
> > 
> >    ·         Opening a chat with one user
> > 
> >    ·         Clicking an "add people" icon in chat title bar (we can use same
> >    as room icon)
> > 
> >    ·         Slide open same participant list used in room chat
> > 
> >    ·         Search and invite users using same mechanism as room chat
> > 
> >    Considerations:
> > 
> >    ·         We may need to change MUC permissions to make this work for all?
> > 
> >    ·         These rooms should not be publicly available i.e. no one should
> >    be able to randomly join.
> > 
> >    Can you let me know how I can achieve this feature ? Thanks !
> > 
> >    Best Regards,
> > 
> >    Gauri Padbidri
> 

Re: [conversejs] ConverseJS : Add support for private group chat

From:
Jc Brand
Date:
2015-02-25 @ 09:42
Hi Gauri

> Would emulating the Chat Room Code for Single User Chat involve modifying the
> "chatbox" template and adding an event on "ChatBoxView" only ?

Chat rooms and private chats have different View classes and different
templates.

I wouldn't try to convert a private chat directly into a chat room.

Instead, I would create a new chat room, automatically log the user into that
room and close the original private chat.
 
> Or would I need to create JS functions to build xmpp formatted messages to
> instruct backend accordingly. i.e. covert chat to room etc. Also, any

You will have to manually write the stanza to send the chat history to the new
chat room.

JC


On Wed, Feb 25, 2015 at 10:14:37AM +0100, JC Brand wrote:
> Hi Gauri
> 
> Converse.js doesn't yet have support for this feature. It's not something you
> can just enabled, it will require custom development, either as a plugin or in
> core.
> 
> Pull requests are welcome.
> 
> For info on how to do development on converse.js:
> https://conversejs.org/docs/html/development.html
> 
> JC
> 
> On Tue, Feb 24, 2015 at 08:10:55PM +0530, Gauri Padbidri wrote:
> > Hi JC,
> > 	Just so that you get a context of my requirement, following is my 
requirement :
> > 	Users should be able to create a private group chat on the fly.
> >     		Opening a chat with one user
> >     		Clicking an "add people" icon in chat title bar (we can use same
as room icon)
> >     		Slide open same participant list used in room chat
> >     		Search and invite users using same mechanism as room chat
> > 
> >    	Does ConverseJS support this feature ? How can I " Open a chat 
with one user, which would have an ADD / Invite People icon which on 
clicked can convert the same Single User Chat to a Multi User Chat ".  	
How can I enable this feature on Client / Server ? What all is involved on
ConverseJS development side ? Thanks !
> > 
> > Best Regards,
> > Gauri Padbidri
> > 
> > -----Original Message-----
> > From: conversejs@librelist.com [mailto:conversejs@librelist.com] On 
Behalf Of Gauri Padbidri
> > Sent: Tuesday, February 24, 2015 7:44 PM
> > To: conversejs@librelist.com
> > Subject: RE: [conversejs] ConverseJS : Add support for private group chat
> > 
> > Hi,
> > 
> > 	I read the following link. It makes sense to me. But as I am a 
fresher to this entire application, can you help me how and where can I 
configure this setting. Let me give you a background on it...Our chat 
application uses ConverseJS as the Chat Web Client and Ejabberd as the 
XMPP Provider. Does this involve enabling a Ejabberd Module in 
ejabberd.cfg ? How can I go about it. Please help, Thanks !
> > 
> > Best Regards,
> > Gauri Padbidri
> > 
> > -----Original Message-----
> > From: conversejs@librelist.com [mailto:conversejs@librelist.com] On 
Behalf Of JC Brand
> > Sent: Tuesday, February 24, 2015 4:01 PM
> > To: conversejs@librelist.com
> > Subject: Re: [conversejs] ConverseJS : Add support for private group chat
> > 
> > Hi Gauri
> > 
> > The multi-user chat XEP specifies a protocol for converting a 
single-user chat into a multi-user chat room.
> > 
> > http://xmpp.org/extensions/xep-0045.html#continue
> > 
> > JC
> > 
> > On Tue, Feb 24, 2015 at 04:22:39AM +0530, Gauri Padbidri wrote:
> > >    Hi All,
> > > 
> > >                I want to enable the feature of having a “Support for private
> > >    group chat”. Following is the requirement :
> > > 
> > >    Users should be able to create a private group chat on the fly.
> > > 
> > >    ·         Opening a chat with one user
> > > 
> > >    ·         Clicking an "add people" icon in chat title bar (we can
use same
> > >    as room icon)
> > > 
> > >    ·         Slide open same participant list used in room chat
> > > 
> > >    ·         Search and invite users using same mechanism as room chat
> > > 
> > >    Considerations:
> > > 
> > >    ·         We may need to change MUC permissions to make this work
for all?
> > > 
> > >    ·         These rooms should not be publicly available i.e. no one should
> > >    be able to randomly join.
> > > 
> > >    Can you let me know how I can achieve this feature ? Thanks !
> > > 
> > >    Best Regards,
> > > 
> > >    Gauri Padbidri
> > 

Re: [conversejs] ConverseJS : Add support for private group chat

From:
Jc Brand
Date:
2015-02-25 @ 09:46
I've created a feature ticket for this:
https://github.com/jcbrand/converse.js/issues/321

That's just to keep track of the different features people ask for and doesn't
mean that I commit myself to implementing this.


On Wed, Feb 25, 2015 at 10:42:49AM +0100, JC Brand wrote:
> Hi Gauri
> 
> > Would emulating the Chat Room Code for Single User Chat involve modifying the
> > "chatbox" template and adding an event on "ChatBoxView" only ?
> 
> Chat rooms and private chats have different View classes and different
> templates.
> 
> I wouldn't try to convert a private chat directly into a chat room.
> 
> Instead, I would create a new chat room, automatically log the user into that
> room and close the original private chat.
>  
> > Or would I need to create JS functions to build xmpp formatted messages to
> > instruct backend accordingly. i.e. covert chat to room etc. Also, any
> 
> You will have to manually write the stanza to send the chat history to the new
> chat room.
> 
> JC
> 
> 
> On Wed, Feb 25, 2015 at 10:14:37AM +0100, JC Brand wrote:
> > Hi Gauri
> > 
> > Converse.js doesn't yet have support for this feature. It's not something you
> > can just enabled, it will require custom development, either as a plugin or in
> > core.
> > 
> > Pull requests are welcome.
> > 
> > For info on how to do development on converse.js:
> > https://conversejs.org/docs/html/development.html
> > 
> > JC
> > 
> > On Tue, Feb 24, 2015 at 08:10:55PM +0530, Gauri Padbidri wrote:
> > > Hi JC,
> > > 	Just so that you get a context of my requirement, following is my 
requirement :
> > > 	Users should be able to create a private group chat on the fly.
> > >     		Opening a chat with one user
> > >     		Clicking an "add people" icon in chat title bar (we can use 
same as room icon)
> > >     		Slide open same participant list used in room chat
> > >     		Search and invite users using same mechanism as room chat
> > > 
> > >    	Does ConverseJS support this feature ? How can I " Open a chat 
with one user, which would have an ADD / Invite People icon which on 
clicked can convert the same Single User Chat to a Multi User Chat ".  	
How can I enable this feature on Client / Server ? What all is involved on
ConverseJS development side ? Thanks !
> > > 
> > > Best Regards,
> > > Gauri Padbidri
> > > 
> > > -----Original Message-----
> > > From: conversejs@librelist.com [mailto:conversejs@librelist.com] On 
Behalf Of Gauri Padbidri
> > > Sent: Tuesday, February 24, 2015 7:44 PM
> > > To: conversejs@librelist.com
> > > Subject: RE: [conversejs] ConverseJS : Add support for private group chat
> > > 
> > > Hi,
> > > 
> > > 	I read the following link. It makes sense to me. But as I am a 
fresher to this entire application, can you help me how and where can I 
configure this setting. Let me give you a background on it...Our chat 
application uses ConverseJS as the Chat Web Client and Ejabberd as the 
XMPP Provider. Does this involve enabling a Ejabberd Module in 
ejabberd.cfg ? How can I go about it. Please help, Thanks !
> > > 
> > > Best Regards,
> > > Gauri Padbidri
> > > 
> > > -----Original Message-----
> > > From: conversejs@librelist.com [mailto:conversejs@librelist.com] On 
Behalf Of JC Brand
> > > Sent: Tuesday, February 24, 2015 4:01 PM
> > > To: conversejs@librelist.com
> > > Subject: Re: [conversejs] ConverseJS : Add support for private group chat
> > > 
> > > Hi Gauri
> > > 
> > > The multi-user chat XEP specifies a protocol for converting a 
single-user chat into a multi-user chat room.
> > > 
> > > http://xmpp.org/extensions/xep-0045.html#continue
> > > 
> > > JC
> > > 
> > > On Tue, Feb 24, 2015 at 04:22:39AM +0530, Gauri Padbidri wrote:
> > > >    Hi All,
> > > > 
> > > >                I want to enable the feature of having a “Support 
for private
> > > >    group chat”. Following is the requirement :
> > > > 
> > > >    Users should be able to create a private group chat on the fly.
> > > > 
> > > >    ·         Opening a chat with one user
> > > > 
> > > >    ·         Clicking an "add people" icon in chat title bar (we 
can use same
> > > >    as room icon)
> > > > 
> > > >    ·         Slide open same participant list used in room chat
> > > > 
> > > >    ·         Search and invite users using same mechanism as room chat
> > > > 
> > > >    Considerations:
> > > > 
> > > >    ·         We may need to change MUC permissions to make this 
work for all?
> > > > 
> > > >    ·         These rooms should not be publicly available i.e. no 
one should
> > > >    be able to randomly join.
> > > > 
> > > >    Can you let me know how I can achieve this feature ? Thanks !
> > > > 
> > > >    Best Regards,
> > > > 
> > > >    Gauri Padbidri
> > >