Tomeu Vizoso
1a4c721f3d
Identify buddies and activities by their account and ids instead
...
of connection and handle.
2010-08-20 15:33:53 +02:00
Tomeu Vizoso
ce87bb3ff6
Only add ourselves to a channel if we are in local_pending
2010-08-20 15:33:53 +02:00
Tomeu Vizoso
fbee730549
Implement inviting buddies to a private activity
2010-08-20 15:33:53 +02:00
Tomeu Vizoso
9c1275e4c8
Implement Activity.get_channels()
2010-08-20 15:33:52 +02:00
Tomeu Vizoso
043d3b0ee7
Emit the buddy-left signal
2010-08-20 15:33:52 +02:00
Tomeu Vizoso
12cd353620
Implement leaving an activity
2010-08-20 15:33:52 +02:00
Tomeu Vizoso
2db82c1722
Emit the buddy-joined signal
2010-08-20 15:33:52 +02:00
Tomeu Vizoso
f9b0d68a48
Refactor the logic for sharing into _ShareCommand and implement
...
joining a shared instance with _JoinCommand.
2010-08-20 15:33:52 +02:00
Tomeu Vizoso
a0b9394846
Replace enough of the old PS so we can share an activity instance publically
...
on the network.
2010-08-20 15:33:52 +02:00
Tomeu Vizoso
98cc77f1fb
Replace enough of the old PS so we can join an activity instance on the network.
...
* src/sugar/activity/activity.py: Get the shared activity wrapper from
sugar.presence.
* src/sugar/activity/activityfactory.py: Disable checking in the PS for
activity_id duplicates.
* src/sugar/presence/activity.py: Remove the PS dependency and query Telepathy
directly. Implemented enough to join an activity.
* src/sugar/presence/buddy.py: Remove the PS dependency and query Telepathy
directly. Implemented enough to join an activity. Added an Owner subclass of
Buddy()
* src/sugar/presence/presenceservice.py: Remove the PS dependency and query Telepathy
directly. Implemented enough to join an activity.
* src/sugar/presence/util.py: Add ConnectionManager for discovering and tracking
connections.
2010-08-20 15:33:52 +02:00
Sascha Silbe
c9e63eb8ea
PEP8 white space and long line fixes
2009-08-25 21:12:40 +02:00
Sascha Silbe
ecdaf6b795
trim EOL (end-of-line) spaces on source files
2009-08-25 19:55:48 +02:00
Tomeu Vizoso
042a09cccd
Expose telepathy_room_handle (cassidy) #757
2009-06-15 15:46:08 +02:00
Marco Pesenti Gritti
b58182a970
Mark modules as STABLE/UNSTABLE/DEPRECATED.
2008-10-28 14:19:01 +01:00
Marco Pesenti Gritti
80190bf944
Several pylint fixes.
2008-08-11 00:50:29 +02:00
Guillaume Desmottes
6a78863c22
Merge branch 'master' of git+ssh://guillaume@dev.laptop.org/git/sugar-toolkit into 5079-rebased
2008-07-14 18:42:58 +02:00
Morgan Collett
1659332c81
#7444 Fix crash in get_joined_buddies when a buddy disappears uncleanly
2008-07-10 15:20:50 +02:00
Guillaume Desmottes
5c40a70e5e
Simplify sharing code using new PS API (import the patch attached to #5079 )
2008-07-02 14:31:47 +02:00
Marco Pesenti Gritti
72c2a1d770
Use a src directory consistently with base and shell.
2008-04-29 14:58:34 +02:00