Simon McVittie
2b9cb92953
Revert "sugar.presence.presenceservice: Add get_buddy_by_telepathy_handle()"
...
This reverts commit c6ac2873c8
because
the necessary API isn't committed in PS yet.
2007-05-24 17:48:43 +01:00
Simon McVittie
ccc224e76f
sugar.presence.presenceservice: Use absolute imports
2007-05-18 15:33:21 +01:00
Simon McVittie
29cc39968d
Don't rely on dbus importing the exceptions module - import it explicitly.
...
Also divide up imports in a PEP8-compliant way.
2007-05-18 15:31:32 +01:00
Simon McVittie
c6ac2873c8
sugar.presence.presenceservice: Add get_buddy_by_telepathy_handle()
2007-05-18 15:24:58 +01:00
Simon McVittie
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.
Before: DEBUG - root: Starting up...
After: DEBUG - s-p-s.server_plugin: Starting up...
I've used a log domain of "sugar.presence..." for the client library and
e.g. "s-p-s.activity" for the service internals.
2007-05-15 14:58:15 +01:00
Simon McVittie
05d7ed5084
sugar.presence.presenceservice: don't mix up local variable 'activity' and imported module 'activity'
2007-05-08 16:23:07 +01:00
Dan Williams
7774073276
Make joining asynchronous on the activity side
2007-05-02 23:25:15 -04:00
Guillaume Desmottes
a22d8a65f1
Fix logging.warn arguments
2007-04-25 12:47:29 +02:00
Dan Williams
86ab6ca36b
Reconnect to the PS if it goes away and comes back
2007-04-23 13:11:21 -04:00
Dan Williams
30a50bd9fc
Add test allow_offline_iface to get_instance()
2007-04-23 12:47:50 -04:00
Dan Williams
4ca4e5564e
Add test code for Sugar PresenceService bindings
2007-04-23 12:06:41 -04:00
Dan Williams
6513fef6b2
Cleanups; replace ObjectCache with a straight dict; fix signal name; doc cleanups
2007-04-23 10:08:55 -04:00
Mike C. Fletcher
96ab3a10fe
More code to handle service-offline cases and log messages to tell the
...
user/admin what's going on.
2007-04-22 00:31:32 -04:00
Mike C. Fletcher
a7af5b06cd
Try to avoid Sugar's shell just crashing and leaving a blank X server
...
when the PresenceService isn't available on the back-end for whatever
reason, whether mis-configuration, corrupted installation, unexpected
circumstances, or what have you.
This patch makes as few changes as possible to the code,
simply replacing the _ps member with a property that re-attempts
connection on each access until an attempt is successful.
2007-04-22 00:23:19 -04:00
Guillaume Desmottes
a4e18cf9c5
add get_preferred_connection method to PresenceService
2007-04-16 16:41:00 +02:00
Mike C. Fletcher
0fc5e67dcc
More documentation, mostly for the sugar.presence.presenceservice
...
module.
2007-04-14 23:38:21 -04:00
Dan Williams
3abe79353a
Asynchronize activity sharing on the client side
2007-04-13 16:27:58 -04:00
Dan Williams
eee98e1f82
Re-enable new PresenceService by default
2007-04-10 14:49:14 -04:00
Dan Williams
a07e946cc4
Readd mock presence service and enable it by default
2007-04-10 08:39:02 -04:00
Dan Williams
76a0f45aa8
More new PS fixes
2007-04-09 16:05:32 -04:00
Dan Williams
bc083dae5a
Cut over to new PresenceService
2007-04-09 14:40:56 -04:00
Dan Williams
2509d990e4
Cut over to new PresenceService
2007-04-09 14:40:50 -04:00