Re: Jabber client activity

2008-12-22 Thread Guillaume Desmottes
Le lundi 22 décembre 2008 à 10:52 +0100, Tomeu Vizoso a écrit :
> [adding sugar-devel as this is of interest also outside OLPC]
> 
> On Sun, Dec 21, 2008 at 23:49, Mildred Ki'Lya  wrote:
> > Hello everyone,
> >
> > I'm new here, and I came interested in the OLPC project because it's a
> > wonderful computer, very well integrated, and I just had one via the
> > European G1G1 project. And now, I thought I could contribute :)
> >
> > I wanted to know if there was any project of creating an activity that
> > would be a jabber client. If so, could I help, where is it? And if not,
> > perhaps I should start one.
> 
> Actually, having Chat working as a regular IM client would be very
> interesting and may not be a very big project. The only missing piece
> is being able to add contacts to your roster other than through the
> mesh view.

Sugar *is* a jabber client, not only Chat but the whole sugar/sucrose.
Chat is used to chat (!) with your contacts, the mesh view is your buddy
list and VideoChat is suppose to be used for... audio/video chat.
The Telepathy framework offers you the possibility to split the
different features of your client (roster, chat, audio chat, logger,
etc) into different applications.

One big missing piece is the ability to add contacts by entering their
jid and UI to accept/decline friend requests. This is
https://dev.laptop.org/ticket/8841

Another one is the ability to run more than one account/connection. Main
problem here is the UI. How should we display that? Tabbed mesh views
maybe?

Once this is done, you'll be able to use your normal IM accounts on
Sugar and be able to chat with them using Chat, send them files using
journal object sharing and call them with VideoChat.

Actually, as Sugar is using Telepathy, it's much more than a Jabber
client. By being a real Telepathy client, it could become a IRC, MSN,
SIP (or whatever protocol) client!
I talked about that during one of my Sugarcamp conf:
http://people.collabora.co.uk/~cassidy/talks/sugar-camp-futur-of-collab.pdf

We'll be happy to help any contributor interested in working on this.
Just come and say hi on #sugar or #telepathy.
But *please*, let's not waste time and resources on implementing a gajim
or pidgin activity. We already have an existing flexible and performant
IM framework; we just need to integrate it properly in Sugar to offer a
rocking user experience.


G.

> I think the idea is to add a palette option somewhere that allows you
> to type or paste a contact ID so it will appear in your friends view.
> Then you would get presence notification, the ability to chat and
> transfer files, and with some extra work, a/v conversations.
> 
> If someone would like to jump on this challenge, it's there waiting for you!


___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Sugar-devel] Jabber client activity

2008-12-22 Thread Morgan Collett
On Mon, Dec 22, 2008 at 11:52, Tomeu Vizoso  wrote:
> [adding sugar-devel as this is of interest also outside OLPC]
>
> On Sun, Dec 21, 2008 at 23:49, Mildred Ki'Lya  wrote:
>> Hello everyone,
>>
>> I'm new here, and I came interested in the OLPC project because it's a
>> wonderful computer, very well integrated, and I just had one via the
>> European G1G1 project. And now, I thought I could contribute :)
>>
>> I wanted to know if there was any project of creating an activity that
>> would be a jabber client. If so, could I help, where is it? And if not,
>> perhaps I should start one.
>
> Actually, having Chat working as a regular IM client would be very
> interesting and may not be a very big project. The only missing piece
> is being able to add contacts to your roster other than through the
> mesh view.

Chat is at least a partial IM client, with Neighborhood View as a
graphical buddy list. It all runs on Jabber, but only has partial
interoperability with non-Sugar Jabber clients.

With the current stable version of Sugar (0.82 in OLPC 8.2.0) you
cannot see non-Sugar clients in Neighborhood View, but that was an
issue which we have subsequently fixed, and in OLPC 9.1.0 or Sugar
0.84 you will see non-Sugar IM clients as "buddies" in Neighborhood
View.

If a non-Sugar client finds a Sugar user (XO or other) on a Jabber
server and sends them an IM, it will show up in Sugar as a
notification on the screen corner for a few seconds, and then be
visible as a Chat invitation in the frame. (A better notification
system in Sugar will improve its visibility when it happens...)
Accepting the "invitation" opens Chat with a one-to-one connection to
the message sender.

Regular use of Chat as a shared activity creates a Jabber MUC (multi
user chat room).

The missing piece at this stage is allowing the Sugar system to
initiate a one-to-one Chat with a non-Sugar IM client on the Jabber
server, perhaps through Neighborhood View.

> I think the idea is to add a palette option somewhere that allows you
> to type or paste a contact ID so it will appear in your friends view.
> Then you would get presence notification, the ability to chat and
> transfer files, and with some extra work, a/v conversations.

If you can search for users on the server with Gadget, then OLPC 9.1.0
and Sugar 0.84 will have the ability to: See non-Sugar IM clients as
"buddies", friend them so they will show up again on Neighborhood View
in future, and search for them on the server.

Perhaps we just need to ensure that the search can be by JID even if
it's by nick for the regular use case.

Regards
Morgan

> If someone would like to jump on this challenge, it's there waiting for you!
>
> Regards,
>
> Tomeu
>
>> I just tried to run gajim in sugar,  but it seems because the $HOME gets
>> defined in a sandboxed environment that is erased each time, so I can't
>> keep the configuration :/ On the other hand, I think that writing from
>> scratch a jabber client would require much work, and time I don't really
>> have. What do you think is appropriate?
>>
>> Thanks :)
>>
>>
>> Mildred
>>
>> --
>> Mildred Ki'Lya
>> �q─ mildred593@online.fr ──
>> │ Jabber, GoogleTalk: 
>> │ Site:   GPG ID: 9A7D 2E2B
>> │ Fingerprint: 197C A7E6 645B 4299 6D37 684B 6F9D A8D6 9A7D 2E2B
>>
>> ___
>> Devel mailing list
>> Devel@lists.laptop.org
>> http://lists.laptop.org/listinfo/devel
>>
>
> ___
> Sugar-devel mailing list
> sugar-de...@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
>
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Jabber client activity

2008-12-22 Thread Tomeu Vizoso
[adding sugar-devel as this is of interest also outside OLPC]

On Sun, Dec 21, 2008 at 23:49, Mildred Ki'Lya  wrote:
> Hello everyone,
>
> I'm new here, and I came interested in the OLPC project because it's a
> wonderful computer, very well integrated, and I just had one via the
> European G1G1 project. And now, I thought I could contribute :)
>
> I wanted to know if there was any project of creating an activity that
> would be a jabber client. If so, could I help, where is it? And if not,
> perhaps I should start one.

Actually, having Chat working as a regular IM client would be very
interesting and may not be a very big project. The only missing piece
is being able to add contacts to your roster other than through the
mesh view.

I think the idea is to add a palette option somewhere that allows you
to type or paste a contact ID so it will appear in your friends view.
Then you would get presence notification, the ability to chat and
transfer files, and with some extra work, a/v conversations.

If someone would like to jump on this challenge, it's there waiting for you!

Regards,

Tomeu

> I just tried to run gajim in sugar,  but it seems because the $HOME gets
> defined in a sandboxed environment that is erased each time, so I can't
> keep the configuration :/ On the other hand, I think that writing from
> scratch a jabber client would require much work, and time I don't really
> have. What do you think is appropriate?
>
> Thanks :)
>
>
> Mildred
>
> --
> Mildred Ki'Lya
> �q─ mildred593@online.fr ──
> │ Jabber, GoogleTalk: 
> │ Site:   GPG ID: 9A7D 2E2B
> │ Fingerprint: 197C A7E6 645B 4299 6D37 684B 6F9D A8D6 9A7D 2E2B
>
> ___
> Devel mailing list
> Devel@lists.laptop.org
> http://lists.laptop.org/listinfo/devel
>
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Jabber client activity

2008-12-21 Thread rihowa...@gmail.com
Mildred,

In the Control Panel, select Network and then in the Mesh server  
field put the server name.

/Robert H.

On Dec 21, 2008, at 4:56 PM, Mildred Ki'Lya wrote:

> rihowa...@gmail.com wrote:
>> Mildred,
>>
>> Chat is a jabber client.
>> Also other people have gajim and or pidgin running okay and no  
>> problem
>> with saving configuration.
> I guess, but I have absolutely no idea on how to configure where  
> you put
> your jabber id and your password. So far, I thought it was only useful
> inside the mesh networking.
>
> By the way, I just created a Gajim activity inspiring myself from the
> Firefox activity, and it seems to work even if sugar integration could
> be pushed further. If anyone wants it I think I can put it somewhere.
>
> Mildred
>
> -- 
> Mildred Ki'Lya
> ╭─ mildred593@o 
> nline.fr ──
> │ Jabber, GoogleTalk: 
> │ Site:   GPG ID: 9A7D 2E2B
> │ Fingerprint: 197C A7E6 645B 4299 6D37 684B 6F9D A8D6 9A7D 2E2B
>

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Jabber client activity

2008-12-21 Thread Sebastian Silva
Mildred,
Yay! I'd suggest putting it up on a Gitorious repository in case
anybody wants to jump in and help.
Thank you!
Sebastian

2008/12/21 Mildred Ki'Lya :
> rihowa...@gmail.com wrote:
>> Mildred,
>>
>> Chat is a jabber client.
>> Also other people have gajim and or pidgin running okay and no problem
>> with saving configuration.
> I guess, but I have absolutely no idea on how to configure where you put
> your jabber id and your password. So far, I thought it was only useful
> inside the mesh networking.
>
> By the way, I just created a Gajim activity inspiring myself from the
> Firefox activity, and it seems to work even if sugar integration could
> be pushed further. If anyone wants it I think I can put it somewhere.
>
> Mildred
>
> --
> Mildred Ki'Lya
> �q─ mildred593@online.fr ──
> │ Jabber, GoogleTalk: 
> │ Site:   GPG ID: 9A7D 2E2B
> │ Fingerprint: 197C A7E6 645B 4299 6D37 684B 6F9D A8D6 9A7D 2E2B
>
> ___
> Devel mailing list
> Devel@lists.laptop.org
> http://lists.laptop.org/listinfo/devel
>



-- 
Sebastian Silva
Iniciativa FuenteLibre
http://blog.sebastiansilva.com/
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Jabber client activity

2008-12-21 Thread Mildred Ki'Lya
rihowa...@gmail.com wrote:
> Mildred,
>
> Chat is a jabber client.
> Also other people have gajim and or pidgin running okay and no problem
> with saving configuration.
I guess, but I have absolutely no idea on how to configure where you put
your jabber id and your password. So far, I thought it was only useful
inside the mesh networking.

By the way, I just created a Gajim activity inspiring myself from the
Firefox activity, and it seems to work even if sugar integration could
be pushed further. If anyone wants it I think I can put it somewhere.

Mildred

-- 
Mildred Ki'Lya
╭─ mildred593@online.fr ──
│ Jabber, GoogleTalk: 
│ Site:   GPG ID: 9A7D 2E2B
│ Fingerprint: 197C A7E6 645B 4299 6D37 684B 6F9D A8D6 9A7D 2E2B

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Jabber client activity

2008-12-21 Thread Sebastian Silva
Still, a regular Jabber client to run in parallel of Chat /
collaboration might be useful. Gajim runs nicely and since its python
perhaps it sugarizes easily enough. Look at the work done on Labyrinth
by tomeu for a similar sugarization.
Yesterday I tried Empathy by the collabora guys and had a voice talk
with frieds using Gtalk, I'm excited to at last have a real free
alternative to skype.

Good luck!

Sebastian

2008/12/21 Mildred Ki'Lya :
> Hello everyone,
>
> I'm new here, and I came interested in the OLPC project because it's a
> wonderful computer, very well integrated, and I just had one via the
> European G1G1 project. And now, I thought I could contribute :)
>
> I wanted to know if there was any project of creating an activity that
> would be a jabber client. If so, could I help, where is it? And if not,
> perhaps I should start one.
>
> I just tried to run gajim in sugar,  but it seems because the $HOME gets
> defined in a sandboxed environment that is erased each time, so I can't
> keep the configuration :/ On the other hand, I think that writing from
> scratch a jabber client would require much work, and time I don't really
> have. What do you think is appropriate?
>
> Thanks :)
>
>
> Mildred
>
> --
> Mildred Ki'Lya
> �q─ mildred593@online.fr ──
> │ Jabber, GoogleTalk: 
> │ Site:   GPG ID: 9A7D 2E2B
> │ Fingerprint: 197C A7E6 645B 4299 6D37 684B 6F9D A8D6 9A7D 2E2B
>
> ___
> Devel mailing list
> Devel@lists.laptop.org
> http://lists.laptop.org/listinfo/devel
>



-- 
Sebastian Silva
Iniciativa FuenteLibre
http://blog.sebastiansilva.com/
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Jabber client activity

2008-12-21 Thread Bert Freudenberg

On 21.12.2008, at 23:49, Mildred Ki'Lya wrote:

> I just tried to run gajim in sugar,  but it seems because the $HOME  
> gets
> defined in a sandboxed environment that is erased each time, so I  
> can't
> keep the configuration :/

You need to put the configuration in a special directory:

http://wiki.laptop.org/go/Low-level_Activity_API#File_Access

- Bert -


___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Jabber client activity

2008-12-21 Thread rihowa...@gmail.com
Mildred,

Chat is a jabber client.
Also other people have gajim and or pidgin running okay and no  
problem with saving configuration.

/Robert H.

On Dec 21, 2008, at 2:49 PM, Mildred Ki'Lya wrote:

> Hello everyone,
>
> I'm new here, and I came interested in the OLPC project because it's a
> wonderful computer, very well integrated, and I just had one via the
> European G1G1 project. And now, I thought I could contribute :)
>
> I wanted to know if there was any project of creating an activity that
> would be a jabber client. If so, could I help, where is it? And if  
> not,
> perhaps I should start one.
>
> I just tried to run gajim in sugar,  but it seems because the $HOME  
> gets
> defined in a sandboxed environment that is erased each time, so I  
> can't
> keep the configuration :/ On the other hand, I think that writing from
> scratch a jabber client would require much work, and time I don't  
> really
> have. What do you think is appropriate?
>
> Thanks :)
>
>
> Mildred
>
> -- 
> Mildred Ki'Lya
> ╭─ mildred593@o 
> nline.fr ──
> │ Jabber, GoogleTalk: 
> │ Site:   GPG ID: 9A7D 2E2B
> │ Fingerprint: 197C A7E6 645B 4299 6D37 684B 6F9D A8D6 9A7D 2E2B
>
> ___
> Devel mailing list
> Devel@lists.laptop.org
> http://lists.laptop.org/listinfo/devel

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Jabber client activity

2008-12-21 Thread Mildred Ki'Lya
Hello everyone,

I'm new here, and I came interested in the OLPC project because it's a
wonderful computer, very well integrated, and I just had one via the
European G1G1 project. And now, I thought I could contribute :)

I wanted to know if there was any project of creating an activity that
would be a jabber client. If so, could I help, where is it? And if not,
perhaps I should start one.

I just tried to run gajim in sugar,  but it seems because the $HOME gets
defined in a sandboxed environment that is erased each time, so I can't
keep the configuration :/ On the other hand, I think that writing from
scratch a jabber client would require much work, and time I don't really
have. What do you think is appropriate?

Thanks :)


Mildred

-- 
Mildred Ki'Lya
╭─ mildred593@online.fr ──
│ Jabber, GoogleTalk: 
│ Site:   GPG ID: 9A7D 2E2B
│ Fingerprint: 197C A7E6 645B 4299 6D37 684B 6F9D A8D6 9A7D 2E2B

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel