Commit graph

4,237 commits

Author SHA1 Message Date
souliane
c259a80924 tmp: update wokkel MAM implementation 2015-01-15 21:02:41 +01:00
souliane
1a1deb5056 tmp, plugins: fixes the imports fron sat.tmp 2015-01-14 10:44:49 +01:00
souliane
27cb7fac73 plugin XEP-0313: update (still draft) 2015-01-09 10:51:12 +01:00
souliane
24fafc9760 tmp: update tmp.wokkel.rsm, add tmp.wokkel.mam 2015-01-09 10:50:11 +01:00
souliane
85749f8a8b plugin XEP-0060: free SatPubSubClient instance on profile disconnection 2015-01-09 10:45:15 +01:00
souliane
303b58cb03 plugin groupblog: fixes bad errback value 2015-01-09 10:44:37 +01:00
souliane
f09b837c36 setup: fixes to install sat.tmp.wokkel 2014-12-25 12:26:49 +01:00
souliane
62981779ac plugin XEP-0334: first draft 2014-12-25 12:09:05 +01:00
souliane
08e293a81d test: fix/improve tests for plugins XEP-0033 and XEP-0085 (mainly to return a Deferred) 2014-12-25 11:49:13 +01:00
souliane
4a4760b80b plugin XEP-0313: first draft:
- you can already test it with d-feet but it will bug unless you apply the changeset 60dfa2f5d61f which is waiting in the branch "frontends_multi_profiles" (actually just one "assert" to comment in plugin_xep_0085.py)
2014-12-19 14:43:42 +01:00
souliane
01e8ee664e core (xmpp): set missing "from" attribute of received messages to the server domain 2014-12-19 11:42:45 +01:00
souliane
cb0eaacf28 plugin XEP-0277: minor fix in plugin declaration 2014-12-19 11:41:23 +01:00
souliane
0fe6da06ce plugin XEP-0297: first draft 2014-12-19 11:40:28 +01:00
souliane
4d139af49b plugin XEP-0203: first draft 2014-12-19 11:38:24 +01:00
souliane
9c53c50810 test: fixes tests for XEP-0033 2014-12-19 11:36:43 +01:00
souliane
852106becd test: refactoring:
- rename internal init methods to reinit
    - rename getSentMessage to getSentMessageXml
    - rename getSentMessageRaw to getSentMessage
2014-12-19 11:36:00 +01:00
souliane
a6e6cd68be test: fixes import for wokkel.rsm 2014-12-15 15:29:08 +01:00
souliane
d262aff438 test: add tests for plugin_misc_groupblog 2014-12-15 14:05:28 +01:00
souliane
f3b7bd1ec2 plugins XEP-0060, XEP-0277, groupblog: make use of RSM (XEP-0059) 2014-12-15 14:04:19 +01:00
souliane
bbcced67d1 plugins XEP-0059, XEP-0060: leave internal wokkel extensions to sat.tmp.wokkel 2014-12-15 14:03:13 +01:00
souliane
642e8adbf4 use sat.tmp.wokkel as a buffer module until the changes are integrated to wokkel 2014-12-15 12:46:58 +01:00
Goffi
e4708c9cbb quick_frontend, primitivus: multi-profiles refactoring part 1 (big commit, sorry :p):
This refactoring allow primitivus to manage correctly several profiles at once, with various other improvments:
    - profile_manager can now plug several profiles at once, requesting password when needed. No more profile plug specific method is used anymore in backend, instead a "validated" key is used in actions
    - Primitivus widget are now based on a common "PrimitivusWidget" classe which mainly manage the decoration so far
    - all widgets are treated in the same way (contactList, Chat, Progress, etc), no more chat_wins specific behaviour
    - widgets are created in a dedicated manager, with facilities to react on new widget creation or other events
    - quick_frontend introduce a new QuickWidget class, which aims to be as generic and flexible as possible. It can manage several targets (jids or something else), and several profiles
    - each widget class return a Hash according to its target. For example if given a target jid and a profile, a widget class return a hash like (target.bare, profile), the same widget will be used for all resources of the same jid
    - better management of CHAT_GROUP mode for Chat widgets
    - some code moved from Primitivus to QuickFrontend, the final goal is to have most non backend code in QuickFrontend, and just graphic code in subclasses
    - no more (un)escapePrivate/PRIVATE_PREFIX
    - contactList improved a lot: entities not in roster and special entities (private MUC conversations) are better managed
    - resources can be displayed in Primitivus, and their status messages
    - profiles are managed in QuickFrontend with dedicated managers


This is work in progress, other frontends are broken. Urwid SàText need to be updated. Most of features of Primitivus should work as before (or in a better way ;))
2014-12-10 19:00:09 +01:00
Goffi
b9f967ea5f plugin XEP-0085: disabled a problematic assert (see FIXME) 2014-12-10 18:37:14 +01:00
Goffi
05e5e1448b core: misc improvments:
- added some constants for message types and presence
    - removed profile authentification specific methods in favor of a more generic "validated" key
2014-12-10 18:36:11 +01:00
Goffi
6e144c6458 core: improved roster management + misc:
- updated methods to no use anymore methods deprecated in Wokkel
    - use of full jid when it make sense instead of bare jid
    - getContacts, updateContact and delContact are now asynchronous
2014-12-10 18:32:33 +01:00
souliane
eaa0f83237 plugin XEP-0060: listNodes should not use SatPubSubClient.getDiscoItems but self.host.getDiscoItems, cf. revs 1217 (318eab3f93f8) and 1259 (633fcd13a7dc) 2014-11-24 17:20:51 +01:00
Goffi
fdb50be803 plugin pubsub: fixed redefinition of PubSubRequest 2014-11-21 16:36:24 +01:00
Goffi
ce8e1dcfc1 plugin pubsub: fixed a bug introducted in revision 318eab3f93f8: getDiscoItems handler method which is called on disco items request, was calling getDiscoItems from host, which do a request itself, resulting in an infinite items request loop. 2014-11-21 16:35:40 +01:00
souliane
0da2c0228f memory: fixes issue in a test 2014-10-22 18:58:29 +02:00
souliane
ba2cf4d448 plugin misc_room_game, radiocol, tarot: fixes bridge method "prepareRoom" declaration (add "async=True") 2014-10-22 14:38:20 +02:00
souliane
a43608b966 plugin XEP-0045: use HISTORY_LIMIT param to retrieve the MUC history 2014-10-22 14:16:01 +02:00
souliane
d974e9ad66 plugin XEP-0054: the fix by revision 1248 (77a4592816f6) was not complete 2014-10-22 11:42:15 +02:00
souliane
939556f743 test: fixes test for XEP-0085 (use full JID) 2014-10-20 20:46:10 +02:00
souliane
5ae8bc7f24 plugin XEP-0085: send 'gone' state before disconnection 2014-10-20 20:26:46 +02:00
souliane
34d191608d plugin XEP-0085: use the full JID + fixes bad entity data "type" value 2014-10-20 12:57:55 +02:00
souliane
92cb3c0503 memory: add method isContactConnected 2014-10-20 16:38:49 +02:00
souliane
af7277d4f4 plugin XEP-0045: set the entity data "type" asap (userJoinedRoom is triggered before the join callback) 2014-10-20 15:09:37 +02:00
souliane
eaa85cb951 plugin sec_otr: a trigger was not returning True 2014-10-20 12:57:27 +02:00
souliane
5be3ccbf38 plugin XEP-0054: fixes error message when we get a ConnectionLost failure 2014-10-19 15:25:04 +02:00
souliane
e018212fb4 memory: temporary dirty hack to fix the personnal key issue after the auth session expired 2014-10-19 15:07:16 +02:00
souliane
fe06c14303 core, plugins: improve a bit some log messages 2014-10-18 16:28:37 +02:00
souliane
bf353880b4 plugin misc_imap: fixes call to log.debug with more than one argument 2014-10-19 12:31:28 +02:00
souliane
7eac1b2323 plugin XEP-0115: better disco error handling 2014-10-19 11:54:07 +02:00
souliane
dd0c7fab68 plugins groupblogs: fixes the massive retrieval callback (loop variable was misused in a lambda callback) 2014-10-19 02:48:11 +02:00
souliane
0d80ce6cc2 plugin XEP-0060: fixes listing the nodes on the pubsub service 2014-10-18 20:23:12 +02:00
souliane
5781d78d2b frontends (quick_app): fixes wrong JID construction when processing getPresenceStatuses result 2014-10-18 13:02:41 +02:00
souliane
2f6b8ae771 memory: don't save last resource in entity data for the MUC jids 2014-10-17 20:26:01 +02:00
souliane
100ba3969e plugin XEP-0045: handle MUC presence 2014-10-17 15:49:46 +02:00
souliane
1f602f33cb memory (params): set "Show empty groups" to True by default 2014-10-16 17:02:44 +02:00
Goffi
4ba87c6050 bridge (frontends side): fixed call of async method in blocking context 2014-10-16 20:18:40 +02:00