Commit graph libervia-backend/src
Author SHA1 Message Date
souliane
09e5cc47bb plugin XEP-0033: avoid the controlled error to explode (use return Failure(...) instead of raise) 2013-12-16 17:49:54 +01:00
souliane
d12cf069f8 plugin XEP-0033: bug fix for sending messages with the addressing feature to several servers 2013-12-16 14:48:28 +01:00
souliane
d98b470117 core: bug fix for serverDiscoItems (bad use of addCallbacks) 2013-12-16 14:36:38 +01:00
souliane
bbadfda25b core: bug fix for requestServerDisco in sat_main.py + added getAllServerIdentities method in memory.py 2013-12-16 14:35:26 +01:00
souliane
e8ae4435a3 plugin room_games, radiocol: send the current queue to new players 2013-11-28 19:23:59 +01:00
souliane
481bee01c2 plugins groupblog (xep-0060, xep-0277): added blog item modification/deletion 2013-12-10 09:02:20 +01:00
souliane
7d3f74ef62 plugins text-syntaxes: added a default value to use the current user syntax in convert 2013-12-09 15:31:07 +01:00
souliane
89c2519ae7 plugin XEP-0045: remove redondant errback from _join 2013-11-28 21:27:18 +01:00
souliane
718bb98300 plugin XEP-0033: implementation of the addressing feature:
- frontends pass the recipients in the extra parameter of sendMessage
    - backend checks if the target server supports the feature (this is not done yet by prosody plugin)
    - features and identities are cached per profile and server
    - messages are duplicated in history for now (TODO: redesign the database)
    - echos signals are also duplicated to the sender (FIXME)
2013-12-11 17:16:53 +01:00
souliane
b674011891 core (tools): set min and max priorities for triggers and warn if several triggers have the same not null priority 2013-12-13 05:35:24 +01:00
souliane
5c39b346a8 bridge (constructor): added categories for the mediawiki export 2013-11-25 13:32:21 +01:00
souliane
2584394e62 core: bad indentation in SatPresenceProtocol.available 2013-11-24 11:15:54 +01:00
Goffi
6118c7f00f reverted last commit 2013-12-13 17:46:35 +01:00
Goffi
cade2480df plugin account: don't wait for emails anymore 2013-12-13 17:40:48 +01:00
Goffi
b9cf5049b5 plugin microbloging: fixes bad calls 2013-12-13 17:18:29 +01:00
Goffi
ce3e28d588 plugin account: configuration constants can be overriden in sat.conf (section "plugin account") + better deferred management in email sending 2013-12-13 17:15:57 +01:00
Goffi
4b662563c9 core: management of _list and _dict in sat.conf 2013-12-12 01:06:19 +01:00
Goffi
f7efb167c8 plugin XEP-0050: Ad-Hoc commands first draft (answering part) 2013-12-10 17:25:31 +01:00
Goffi
05bf17c777 core: fixed statuses parameter in setPresence, and using @NONE@ instead of @DEFAULT@ for default profile_key 2013-12-10 17:25:31 +01:00
Goffi
2ad1019de7 core: use of Twisted JID instead of string bare jid in roster SatRosterProtocol 2013-12-10 17:25:31 +01:00
Goffi
ec3a502fdf plugin XEP-0055: fixed form's namespace 2013-12-03 13:51:08 +01:00
Goffi
9a7433803b plugin XEP-0085: fixed bad return value for sendMessage trigger's post treatment 2013-12-03 13:09:49 +01:00
Goffi
be66155439 bridge: fixed bridge_constructor 2013-12-01 17:28:30 +01:00
Goffi
72fa3c5c70 core (memory): fixed setDefault behaviour + minor refactoring 2013-11-28 17:23:08 +01:00
Goffi
9fdc271294 jp: removed named argument for pipeOut, as it's not managed with dynamicaly added methods 2013-11-26 18:30:35 +01:00
souliane
d7d411d6ef frontends tools: moved src/tools/frontends to frontends/src/tools 2013-11-21 18:57:10 +01:00
souliane
674a3e958d plugin tools: turn src/plugin/games.py into a plugin and move it to src/plugins/plugin_misc_room_game.py 2013-11-21 18:23:08 +01:00
souliane
ea67ed7a61 plugins (games): more factorization and flexibility for launching and joining games:
- "MUC user joined", "MUC user left" and class XMPPHandler are managed directly in RoomGame
- renamed __init__ parameters 'player_init_data' to 'player_init' and 'options' to 'game_init'
- pass the players list in radiocol method 'createGame' and signal 'radiocolStarted' (needed for invitation system and for UI players identification)
- added some parameters to manage who can invite, who can join, who to wait for... managed with check***Auth methods
- joining a game that is already launched may be possible, regarding these parameters and the invitation list
- leave and join a game again is partly managed: new tarot round is launched, we should keep playing the same round instead
2013-11-21 15:49:53 +01:00
souliane
6a99705523 frontends tools: added symbols for MUC user activity identification 2013-11-21 15:38:53 +01:00
souliane
b037678f13 plugins XEP-0045: added methods to get room nicks and "MUC user left" trigger 2013-11-19 19:31:59 +01:00
souliane
d3c12524c9 plugins (games): add a method to send messages more easily 2013-11-18 14:25:40 +01:00
souliane
4ef842a213 plugin XEP-0045: fixed incorrect exceptions name 2013-11-17 17:02:22 +01:00
souliane
8190f82caf plugins (MUC, tools, games): generalize the generation of a unique room name when joining a MUC and no room is specified:
- method to get the MUC service moved to plugin_xep_0045
- joinMUC returns the muc name (given by user or generated)
- getUniqueName can receive a specified service in argument
2013-11-17 16:59:12 +01:00
souliane
3be7c13314 plugins (tools): collective games (with no opponent, like radiocol) were handled like other games 2013-11-17 16:30:46 +01:00
souliane
13624c417a plugin XEP-0249: silently discard MUC invitation if user is already in 2013-11-17 16:23:29 +01:00
souliane
e10b53470d bridge: removed plugin method definitions from the old static system 2013-11-17 16:11:55 +01:00
Goffi
a2a0f43450 plugin group blog: management of extra data/rich text for blog comments 2013-11-15 15:27:03 +01:00
Goffi
d6e7ec0055 plugin XEP-0277, groupblog: rich text management for receiving microblogs 2013-11-14 18:36:02 +01:00
Goffi
5981926b2b plugin XEP-0277, group blog: rich text management for sending microblogs 2013-11-14 18:35:51 +01:00
Goffi
e743df999e plugin text syntaxes: clean_xhtml now accept lxml's HtmlElement to avoid parsing two times the same xml 2013-11-14 17:53:47 +01:00
Goffi
e23ff9f8d1 plugin XEP-0277, group blogs: proper asynchronous methods for sending blogs. 2013-11-14 17:51:35 +01:00
Goffi
86e9bf62c7 plugin group blog: renamed options parameter as extra for consistency with sendMessage 2013-11-14 16:49:57 +01:00
Goffi
7fb9d0c309 plugin XEP-0071: rich messages management for sendMessage 2013-11-13 14:03:16 +01:00
Goffi
1769ca0492 plugin XEP-0071: XHTML2XHTML_IM don't return the <body> root tag anymore. 2013-11-13 14:02:02 +01:00
Goffi
2a1b7439b7 core: dont save anymore messages to database if there is no "message" data (fix empty records with chat states) 2013-11-13 14:01:13 +01:00
Goffi
f1521f17c2 plugin text syntaxes: fixed bad parameter order for getParamA 2013-11-13 14:00:07 +01:00
Goffi
9d42c269db core: sendMessage's options parameter has been renamed to extra to be consistent with newMessage 2013-11-13 13:58:10 +01:00
Goffi
60f03a623e core: sendMessage triggers now use a treatments deferred;
- treaments deferred can be used by plugins to change XML elements before sending them, in a similar way as for newMessage
    - sendMessageXml trigger became useless, so it as been removed in favor of the new deferred
2013-11-13 13:57:36 +01:00
Goffi
5eee7729c3 test: better ignore_blank in helpers's assertEqualXML 2013-11-12 16:56:34 +01:00
Goffi
aed9972b34 plugin text syntaxes: fixed missing import 2013-11-12 14:51:32 +01:00