Commit Graph

181 Commits

Author SHA1 Message Date
Dan Williams
9d837710f5 Listen for and respond to Owner property changes
Pass the PS's owner object to each plugin.  Make the server plugin
listen to property changes and push those changes to the Jabber
server when they occur.
2007-03-09 16:29:49 -05:00
Dan Williams
d299cd4032 Update Owner properties on signals from the Shell
Listen to the shell's D-Bus service for property updates
of the Owner, and push those into the presence service.

Add test code to randomly change the properties, useful
when running the PS standalone without a shell.
2007-03-09 16:28:35 -05:00
Marco Pesenti Gritti
57c928916c Refactor sugar.env and paths 2007-03-09 14:57:54 +01:00
Marco Pesenti Gritti
2d9a06ec9a Add the root path of the services to python path, not services/.
Get rid of the now useless env.get_services_dir
2007-03-09 12:32:32 +01:00
Dan Williams
d46382921a Convert Activity objects to gobjects and ensure validity before using 2007-03-08 12:51:10 -05:00
Guillaume Desmottes
afcfdaa239 add GetType() method on Activity 2007-03-08 16:16:06 +01:00
Guillaume Desmottes
2312aa6a99 Merge branch 'master' of git+ssh://guillaume@dev.laptop.org/git/sugar 2007-03-08 15:47:40 +01:00
Guillaume Desmottes
2262b5fd49 update nick when receive AliasChanged signal 2007-03-08 15:45:12 +01:00
Dan Williams
4c05c4247c Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-03-07 14:22:16 -05:00
Guillaume Desmottes
abf60c1c89 add GetName method 2007-03-07 20:09:40 +01:00
Dan Williams
9fa72e4cba Remove some erroneous error handler code 2007-03-07 13:56:22 -05:00
Guillaume Desmottes
cb2489bff6 implement ActivityInvitation and PrivateInvitation signals 2007-03-07 19:46:48 +01:00
Guillaume Desmottes
139b190650 catch invitations request 2007-03-07 15:27:47 +01:00
Guillaume Desmottes
6f19b10222 catch the closed signal
check if icon exists
2007-03-07 13:15:38 +01:00
Guillaume Desmottes
1480ff8440 add a leave method 2007-03-06 18:22:43 +01:00
Guillaume Desmottes
2eedfd3d90 implement activity GetChannels 2007-03-06 17:50:49 +01:00
Guillaume Desmottes
7e1c8ef31f declare _icon in Buddy constructor 2007-03-06 17:26:21 +01:00
Guillaume Desmottes
a0230ba784 move dirty hacks to declare interfaces in init_connections to avoid warnings 2007-03-06 17:22:33 +01:00
Guillaume Desmottes
f716f20191 start to implement join and share activities 2007-03-06 17:15:55 +01:00
Guillaume Desmottes
42609e447c Merge branch 'master' of git+ssh://guillaume@dev.laptop.org/git/sugar 2007-03-05 18:56:34 +01:00
Guillaume Desmottes
148c93968b create/remove activities according to ActivitiesChanged signal 2007-03-05 18:56:17 +01:00
Tomeu Vizoso
39a009056d Order journal entries and fix filtering. 2007-03-05 16:56:39 +01:00
Guillaume Desmottes
39c6542e40 Merge branch 'master' of git+ssh://guillaume@dev.laptop.org/git/sugar 2007-03-05 12:52:45 +01:00
Guillaume Desmottes
9ce78f6100 upload our avatar only if needed 2007-03-05 12:52:29 +01:00
Marco Pesenti Gritti
52ca451a05 More fake entries improvements 2007-03-05 12:05:13 +01:00
Marco Pesenti Gritti
583ea4214d Improve the demo entries 2007-03-05 12:00:51 +01:00
Tomeu Vizoso
a585221b16 Added object update to the datastore. 2007-03-04 11:27:33 +01:00
Tomeu Vizoso
559d21d4d2 Merge branch 'master' of git://dev.laptop.org/sugar 2007-03-04 10:53:14 +01:00
Dan Williams
7b11487995 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-03-03 12:05:08 -05:00
Dan Williams
fc7f62359f Don't traceback on cleanup when disconnected already 2007-03-03 03:51:27 -05:00
Dan Williams
fc970ccf3d Attempt periodic reconnection on connect error, traceback less on server problems 2007-03-03 03:15:18 -05:00
Dan Williams
7da177a054 color is required for a valid buddy 2007-03-03 03:12:52 -05:00
Dan Williams
6428fdc9a4 Give dbus-python a hint to icon return type 2007-03-03 03:12:27 -05:00
Tomeu Vizoso
33739f1c0f Some more examples for the journal. 2007-03-02 22:21:45 +01:00
Tomeu Vizoso
d504124cc2 Hack Dan's DataStore for doing what we need for 6th March demo. 2007-03-02 21:17:03 +01:00
Dan Williams
08c791849f Convert buddies to GObjects; ensure signals don't emit before buddy is valid 2007-03-02 11:10:44 -05:00
Tomeu Vizoso
47b8ad2496 Stop sqlite3.decoding the data from the db. 2007-03-01 19:23:55 +01:00
Dan Williams
a3e2803eb8 Clue dbus-python into the return type of get_data() 2007-03-01 13:23:29 -05:00
Tomeu Vizoso
97d719f795 Use sqlite3.Row in the datastore. 2007-03-01 18:59:36 +01:00
Dan Williams
dbf2c0c1a2 get object path correctly 2007-03-01 12:52:42 -05:00
Tomeu Vizoso
f2af1ae219 Use cursor parameters instead of SQL injection. 2007-03-01 18:42:53 +01:00
Dan Williams
7ab0b60b10 Update data store to new dbus-python bindings API and sqlite3 2007-03-01 11:53:43 -05:00
Guillaume Desmottes
bfbcedbcec Don't use the _alias_changed_cb while we use vcard to store the alias 2007-03-01 13:30:42 +01:00
Dan Williams
57b887df30 PresenceService fixes; request buddy presence when using existing connection 2007-02-28 22:13:27 -05:00
Dan Williams
748275ca00 Add fixme for avatar optimization 2007-02-28 11:47:19 -05:00
Guillaume Desmottes
065cd6bc20 start to use aliasing interface for nick 2007-02-28 17:02:43 +01:00
Dan Williams
403c2abc5c Upload avatar; try to get and set BuddyInfo properties 2007-02-27 22:38:28 -05:00
Guillaume Desmottes
7cf6fd2640 explicitely set the BuddyInfo interface 2007-02-28 00:05:00 +01:00
Guillaume Desmottes
a840be0c01 Merge branch 'master' of git+ssh://guillaume@dev.laptop.org/git/sugar 2007-02-27 23:52:02 +01:00
Guillaume Desmottes
81b636c8e1 start of support of the org.freedesktop.Telepathy.Connection.Interface.OLPC.BuddyInfo interface 2007-02-27 23:51:53 +01:00