Commit Graph

409 Commits

Author SHA1 Message Date
Simon McVittie
088c7612e3 Add basic activity and buddy properties to PS tab in devel console.
Make columns sortable and resizable.
2007-07-25 11:08:36 -04:00
Simon McVittie
0afad46773 Add a basic Presence Service tab to the developer console.
* Newly added activities and buddies appear in bold for 5 seconds.
* Removed activities and buddies stay in the list with strikethrough applied
  for 5 seconds, after which they vanish.
* Columns other than "object path" don't do anything.
* In the object path column, the common prefix is replaced by ".../".
2007-07-25 10:30:15 -04:00
Eduardo Silva
7003466f0d Console: fix drawing area width var 2007-07-23 13:17:33 -04:00
Tomeu Vizoso
6e6fd02322 #2268 Allow removing downloads from the clipboard while in progress. 2007-07-20 20:45:22 +02:00
Tomeu Vizoso
9ce80ca958 Register etoys as a launcher for its projects. 2007-07-20 15:57:22 +02:00
Eduardo Silva
a0ad81b58b Console: read /ofw/openprom/model instead of /ofw/ec-name 2007-07-16 12:21:44 -04:00
Eduardo Silva
9d05b2e0a7 Console: fix reading end byte of text files (by dcbw) 2007-07-16 11:59:54 -04:00
Tomeu Vizoso
8bf79b4831 Renamed Xbook to Read. 2007-07-15 21:20:10 +02:00
Tomeu Vizoso
1d2f84d0af #1888 Choose the correct mime type when adding text from Write to the clipboard. 2007-07-14 13:53:49 +02:00
Tomeu Vizoso
96a2de4e74 Associate pdfs to Read. 2007-07-14 12:45:38 +02:00
Tomeu Vizoso
e4bce9271a #1984 Fix removing items from the clipboard. 2007-07-10 20:35:51 +02:00
Marco Pesenti Gritti
61a080a693 Make developer console work again. 2007-07-10 19:17:02 +02:00
Marco Pesenti Gritti
131d4830f6 Remove battery.py 2007-07-10 13:34:35 +02:00
Eduardo Silva
412ec8c78f Console: drop battery viewer 2007-07-10 07:17:52 -04:00
Tomeu Vizoso
eab0e41d08 Add application/vnd.oasis.opendocument.text mime to the Text type. 2007-07-05 11:37:51 +02:00
Tomeu Vizoso
cc2b8884c0 Be smarter when choosing one mime type from the targets offered. 2007-07-03 22:42:17 +02:00
Tomeu Vizoso
4c24cde923 Added/corrected some license headers. 2007-06-24 13:10:53 +02:00
Tomeu Vizoso
427e9a00d7 Add extension to files that come into the clipboard without one. 2007-06-21 13:07:11 +02:00
Eduardo Silva
3ebb8f1291 Console: system information/Firmware and Serial Number 2007-06-20 23:17:16 -04:00
Tomeu Vizoso
de2c9c5322 Some more exceptions for mozilla drops. 2007-06-20 21:48:15 +02:00
Tomeu Vizoso
d6bf24e456 Use the new objecttypeservice in place of typeregistry. 2007-06-20 21:28:00 +02:00
Marco Pesenti Gritti
61314c9705 Don't make all .py executable please... 2007-06-20 12:31:54 +02:00
Tomeu Vizoso
1afe9273a1 Add an option for saving clipboard objects to the Journal. 2007-06-17 20:55:16 +02:00
Tomeu Vizoso
130f59efdc Clipboard fixes. 2007-06-17 14:24:46 +02:00
Tomeu Vizoso
42e2b95379 Misc dnd fixes. 2007-06-14 12:27:46 +02:00
Eduardo Silva
a590186e78 Fix missed objecttype makefile entry 2007-06-13 17:59:31 -04:00
Tomeu Vizoso
22689ed1da Several fixes for the object type registry and the activity registry. 2007-06-12 21:57:49 +02:00
Eduardo Silva
cc604e0815 Console: new nandflash status viewer 2007-06-12 14:32:48 -04:00
Eduardo Silva
67b7e3457b Console: little fix 2007-06-11 01:47:18 -04:00
Eduardo Silva
28deb37ffa Console: remove unnecessary file 2007-06-10 17:27:00 -04:00
Eduardo Silva
8e918f865b Console: new graphics package 2007-06-10 17:19:59 -04:00
Eduardo Silva
34e8277d15 Console: internal changes 2007-06-09 11:01:35 -04:00
Simon McVittie
129ada9101 services/presence/: remove. Use projects/presence-service git repo instead 2007-06-06 16:29:46 +01:00
Eduardo Silva
9ea6b18027 Merge branch 'master' of git://dev.laptop.org/sugar 2007-05-30 14:37:51 -04:00
Eduardo Silva
7985a05274 Console: fix reading log files 2007-05-30 14:32:29 -04:00
Simon McVittie
cd12b59967 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-05-30 17:43:31 +01:00
Simon McVittie
22b1338ac5 services/presence/server_plugin: special-case the Owner when IDing buddies.
We always know who we are, so don't need to inspect our own handle or anything.
2007-05-30 17:43:16 +01:00
Simon McVittie
b362ed625c services/presence/server_plugin: fix thinko - take the right arguments to _subscribe_members_changed_cb 2007-05-30 17:42:19 +01:00
Simon McVittie
a54aaa54be services/presence/presenceservice: look up buddies by key-ID if we don't know the full key yet. 2007-05-30 17:41:08 +01:00
Simon McVittie
f90de752f6 services/presence/presenceservice: weakly reference Buddy objects in _buddies
This makes sure we re-use an existing Buddy object if it's still referenced
somewhere, rather than trying to make another and fighting over the object path.
2007-05-30 17:40:31 +01:00
Simon McVittie
fd4e514e21 services/presence/buddy: Fix thinko - register Owner with correct objid
Previously the keyid/ prefix was missing.
2007-05-30 17:38:58 +01:00
Simon McVittie
ee6c1b4283 services/presence/: Have joined Activities track membership via group interface.
This allows us to ignore the (trivially spoofable) PEP info for activities
that we're actually in, in favour of looking at the actual members.
2007-05-30 17:36:42 +01:00
Simon McVittie
87446bfb7f services/presence/buddyiconcache: remove unused import of sugar.util 2007-05-30 17:04:16 +01:00
Simon McVittie
6957446167 services/presence/: Make Activities responsible for tracking their members.
Add a signal to notify the PS when all members have gone away.
2007-05-29 16:12:05 +01:00
Simon McVittie
9d812430bf services/presence/psutils.py: don't bother using sugar.util, it's easier to use hexdigest or sha directly 2007-05-29 16:11:07 +01:00
Simon McVittie
2f8ef7bd3b services/presence/test_psutils: trivial check for pubkey_to_keyid() 2007-05-29 16:10:19 +01:00
Simon McVittie
ea892796ae services/presence/Makefile.am: Include test_psutils.py in "make check" 2007-05-29 14:05:12 +01:00
Marco Pesenti Gritti
53d64a0536 Use the commit id for the snapshot name 2007-05-29 14:16:49 +02:00
Marco Pesenti Gritti
0c77275ba7 Very first go at the object type registry. 2007-05-29 12:39:57 +02:00
Simon McVittie
a4a06206e3 services/presence/: identify Buddies by "key ID" (pubkey hash), not whole key.
This allows us to create Buddy objects as soon as we see a contact on the
server. For contacts not on trusted servers, or seen in anonymous MUCs, we
create a Buddy identified by JID instead (so we have some way to talk
about the anonymous contact within the Sugar API).

The concept of "trusted server" means a server which we trust to validate that
users with a keyID as the username part of their JID do in fact have that key.
Currently we just pretend that olpc.collabora.co.uk does this - in future, the
school servers will do this validation by using key rather than password
authentication.

Also create Buddy object paths based on the keyID or JID (for easier debugging).
2007-05-28 17:25:52 +01:00