souliane
204c7fdc48
tmp (wokkel): pubsub response do not fail when target server doesn't handle RSM
2015-07-14 16:41:59 +02:00
souliane
a2962a1000
add tests for sat.tmp.wokkel
2015-07-14 15:22:02 +02:00
souliane
6f8e97860a
plugin XEP-0054: fixes bug introduced by changeset 1255 (38fb8823cee8)
2015-07-14 12:57:07 +02:00
souliane
640537662a
bridge, quick_frontend: the JID that is assigned by the server can differ from the one we asked for (resource)
2015-06-10 18:04:43 +02:00
souliane
e10070f923
primitivus: fix setting the presence and status
2015-06-10 09:18:34 +02:00
souliane
fdad3cf3c9
plugin misc_account: change the message sent by email after an account creation
2015-06-06 17:01:22 +02:00
Goffi
f51848a0ad
tmp (rsm): better use of domish.Element.elements() + minor fixes
2015-05-27 19:12:38 +02:00
Goffi
becb178deb
core (xmpp): added log message when a an entity without presence subscription is removed from roster
2015-05-27 19:12:38 +02:00
souliane
f78804cce5
core (xmpp): update the cache for a contact group when a contact is removed from it
2015-04-24 14:57:09 +02:00
souliane
2273421745
core (xmpp): RosterItem.jid is deprecated in Wokkel 0.7.1, use RosterItem.entity instead
2015-04-24 14:54:24 +02:00
Goffi
af3ec67047
core (tests): fixed bad use of reserved name
2015-04-23 15:16:06 +02:00
Goffi
0ad78c5072
core (tests): test fixes
2015-04-23 14:19:43 +02:00
Goffi
13ed04b83d
plugin groupblog, tmp (mam, rsm): some style improvments/fixes:
...
- renamed variables nammed after reserved word/module
- removed class variables which are not needed
- removed external parenthesis from asserts
- in mam.MAMPrefs, removed default value for default argument, as None can't be used
- (groupblog) extended docstring for DeferredItems and DeferredItemsFromMany
2015-04-23 13:35:21 +02:00
Goffi
526ca6a272
tmp (wokkel): licenses fixes:
...
the licenses headers were wrong, it was fixed: original work from Adrien Cossa is directly under AGPL v3 (with his agreement), work derivated from Wokkel is sublicensed to AGPL v3 as allowed by the original license, to stay consistent with the rest of the code base.
Theses files (and only these ones) can be relicensed again to fill Wokkel license if Ralph plan to merge them upstream...
2015-04-23 10:57:40 +02:00
Goffi
899c503255
plugins xep-0277: some methods reordering to make the plugin more readable
2015-04-23 10:25:47 +02:00
Goffi
9a3fd0c2b3
plugins groupblog, xep-0060: first pass of simplification
2015-04-22 20:21:55 +02:00
Goffi
59d21b93d1
plugins (groupblog, xep-0277) + tmp(rsm): improved style:
...
- removed external parenthesis in assertions
- added blank line after first line of docstrings
- replaced "__" prefixes by "_"
- renamed variabled named after the reserverd word "max" to "max_"
2015-04-22 18:30:28 +02:00
souliane
41b549f7ae
core, plugin XEP-0045, frontends: change frontend method "setStatusOnline" for "setPresenceStatus":
...
- remove parameter "online" (can be guess from "presence" value)
- process "statuses" dict in quick_frontend, so this method can get a simple unicode "status"
- add C.PRESENCE_STATUSES_DEFAULT to define the key to use for fallback status
2015-04-20 16:39:38 +02:00
Goffi
e4cb7f59d3
core (disco): fixed bad indentation in _discoInfos (used by bridge)
2015-04-18 00:27:39 +02:00
Goffi
4e90ab7abf
bridge: getInfos description minor update
2015-04-17 23:10:06 +02:00
Goffi
35108bc5ba
core, bridge, jp: management of service discovery extensions (XEP-0128)
2015-04-17 22:59:35 +02:00
Goffi
c50e5adb72
tmp (mam): fixed name shadowing + getDiscoInfo for mam fix:
...
getDiscoInfo now only returns MAM namespace when there is no node specified, this avoid having mam everywhere (which was causing issues in SàT PubSub's namespace delegation)
2015-04-17 10:39:41 +02:00
souliane
f34a5b8aaf
test: fix the tests
2015-04-17 19:06:39 +02:00
souliane
d9a7804fb5
plugin radiocol: radiocolSongAdded now gets a JID as argument, add _radiocolSongAdded working with unicode for bridge calls
2015-04-17 19:05:37 +02:00
souliane
67ff77e5de
massive (preventive) addition of 'u' (unicode) before the strings passed to logging functions
2015-04-16 14:57:57 +02:00
souliane
bf04fcf780
plugin XEP-0045, quick_frontend, primitivus: replace C.DEFAULT_MUC by bridge method getDefaultMUC (value is defined in plugin XEP-0045 and can be overriden with the config file)
2015-04-09 11:27:13 +02:00
souliane
31e49c0d23
core (xmmp): keep the roster groups cache synchronised + fixes a log.warning
2015-04-01 23:56:32 +02:00
Goffi
fbec02d396
2015 copyright dates update
2015-03-30 10:26:26 +02:00
souliane
3bff0d0237
memory, plugin XEP-0045: getMainResource returns None when asking a MUC entity + fixes /whois on a MUC (bare) entity
2015-03-25 15:28:02 +01:00
souliane
d4c627d71f
plugins XEP-0045, XEP-0249: allow to join / invite without specifying the JID's host part (use client's values)
2015-03-24 07:34:32 +01:00
Goffi
6875e4f906
plugin XEP-0045: /join text command can be used in all contexts, not only group
2015-03-20 20:49:58 +01:00
souliane
29ffc8a544
plugin XEP-0085, quick_frontend: fixes chat states
2015-03-20 17:47:48 +01:00
Goffi
c2314640ba
core: getRepositoryData now get the module in argument
2015-03-19 20:40:10 +01:00
Goffi
2900e815c4
core: if we are in dev version and it's possible, repository data are now checked and added to SàT version
2015-03-19 19:47:01 +01:00
Goffi
76065758df
renamed tools.misc to tools.trigger
2015-03-19 19:44:37 +01:00
Goffi
66230e2156
plugin text commands: minor docstrings improvments
2015-03-19 14:41:15 +01:00
Goffi
a820e07d8f
plugin text commands: minor docstrings improvments
2015-03-19 14:38:02 +01:00
Goffi
9443b14c59
plugin text command, XEP-0045, XEP-0048, XEP-0249: removed feedBackWrongContext which is no more usefull with new _contextValid method
2015-03-19 14:30:08 +01:00
Goffi
b2bb3ed564
plugin text commands: added _contextValid method:
...
- _contextValid check if a method can be called in this context, according to docstring declaration
- use it to parse results in /help command
- use it avoid use of command in wrong context, and help message is sent in this case
2015-03-19 14:29:03 +01:00
Goffi
c4cd6fd5f3
plugin text commands: docstring parsing for commands, and better /help command:
...
- docstring are parsed according to http://wiki.goffi.org/wiki/Coding_style/en#Text_commands , a data dictionary is filled accordingly
- /help command can now show detailed help for a specific command
2015-03-19 14:02:37 +01:00
Goffi
6760c927d3
merged branch frontends_multi_profiles
2015-03-18 10:52:28 +01:00
Goffi
80e65d5b84
core, quick_frontends: added an "extra" item in getMenus + use of new quick_menus module in QuickApp
2015-03-17 19:33:05 +01:00
souliane
5ef7999fa7
plugins room_game, quiz, radiocol, tarot: use JID instead of unicode in many methods + class attributes
2015-03-11 12:36:22 +01:00
souliane
d9cc2f181e
plugins XEP-0045, XEP-0249, parrot: use JID instead of unicode in many methods + class attributes
2015-03-11 12:35:21 +01:00
souliane
2a7bf77142
core (constants): add menu type MENU_ROOM_OCCUPANT_CONTEXT
2015-03-09 16:37:15 +01:00
souliane
204f024e0c
plugin XEP-0045: make joinMUC asynchronous and fixes its handler
2015-03-07 16:28:12 +01:00
souliane
b524d41446
core: fixes bug introduced by 1262 (f8a8434dbac7) in SAT.delContact
2015-03-06 16:06:38 +01:00
souliane
5d1681de93
frontends (QuickApp), tools (TriggerManager): frontends can also use triggers + add those for sending and receiving a message
2015-03-03 15:05:10 +01:00
Goffi
60bc78db4c
plugin XEP-0054: "nick" is now keeped in cache:
...
- cache now manage different kind of data (instead of only avatar)
- PeristentBinaryDict is used to keep cache (because we now store a dict, not just strings)
- CACHED_DATA is a set of data kept in cache (only nick and avatar so far)
- a signal update flag is put on "nick"
- data in cache are reset if they are not present in cache (this avoid to keep the old value)
2015-02-24 17:01:33 +01:00
Goffi
1492f2a3d7
core (persistent dict): added setdefault method
2015-02-24 16:54:28 +01:00