ccc224e76f
sugar.presence.presenceservice: Use absolute imports
Simon McVittie2007-05-18 15:33:21 +01:00
29cc39968d
Don't rely on dbus importing the exceptions module - import it explicitly. Also divide up imports in a PEP8-compliant way.
Simon McVittie2007-05-18 15:31:32 +01:00
c6ac2873c8
sugar.presence.presenceservice: Add get_buddy_by_telepathy_handle()
Simon McVittie2007-05-18 15:24:58 +01:00
78356b1956
services/presence/: move more of the handle tracking into the Buddy object
Simon McVittie2007-05-18 15:22:32 +01:00
bf84eca102
services/presence/server_plugin.py: Ensure _conn always exists (even if None) This means cleanup() will not fail on an uninitialized server plugin, and get_connection() will return None rather than raising AttributeError.
Simon McVittie2007-05-18 15:21:36 +01:00
79fdfc5fb7
Don't set_active(0) on realize, as it would trigger 'changed'.
Tomeu2007-05-16 15:02:41 +02:00
531321740c
Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
Simon McVittie2007-05-16 12:30:49 +01:00
35d190b55e
services/presence/server_plugin.py: Handle presence more correctly. This avoids unnecessary attempts to look up the buddy properties of channel-specific handles (which doesn't work) by only looking up the buddy properties of people we're subscribed to. Also, this approves subscription requests that come in while we're online, rather than handling them when we next go from offline to online.
Simon McVittie2007-05-16 11:39:16 +01:00
5d9e19a892
Retry getting buddy properties a few times
Dan Williams2007-05-16 01:03:55 -04:00
e659d15384
Make datastore find & update operations async
Dan Williams2007-05-16 00:41:45 -04:00
5d77ff680a
services/presence: Stop using deprecated keyword argument named_service
Simon McVittie2007-05-15 15:20:02 +01:00
4b26840333
sugar.presence.presenceservice, services/presence: Use named loggers. This causes events in the log to be annotated with the module that emitted the message.
Simon McVittie2007-05-15 14:58:15 +01:00
4a8493f95e
Fix mozilla components loading when sugar is running from source. We don't attempt to load components from source, since that would be insanely complicated.
Marco Pesenti Gritti2007-05-15 11:50:21 +02:00
9fa0790c2b
Do not assume we are packing an ActivityToolbox inside the activity
Marco Pesenti Gritti2007-05-15 11:23:46 +02:00
871828f307
Set alias twice so server actually gets it
Dan Williams2007-05-14 22:48:53 -04:00
79aad47327
Don't drop buddies on failure to retrieve their activity list
Dan Williams2007-05-14 16:20:23 -04:00
929dabd165
Use the new DataStore and remove the old one.
Tomeu Vizoso2007-05-10 11:01:32 +02:00
ac4338e3c0
Add an ItemInfo object associated with each item. Remove weight from the grid when removing items.
Marco Pesenti Gritti2007-05-10 10:42:56 +02:00
5d14daf44b
Notebook class now use **kwargs to set properties
Eduardo Silva2007-05-09 14:38:38 -04:00
00e8348c73
Set _shared_activity correctly when we share an activity successfully
Simon McVittie2007-05-09 16:32:16 +01:00
5fc1cdefeb
When joining an activity that's already been joined, call a callback which exists
Simon McVittie2007-05-09 15:05:17 +01:00
0d1b2bef13
Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
Simon McVittie2007-05-08 17:07:44 +01:00
1f024ff6e4
sugar.logger: Use formatters properly when interfacing with logging. This fixes display of tracebacks in the logs, and adds logger names
Simon McVittie2007-05-08 16:24:48 +01:00
05d7ed5084
sugar.presence.presenceservice: don't mix up local variable 'activity' and imported module 'activity'
Simon McVittie2007-05-08 16:23:07 +01:00