Commit graph

708 commits

Author SHA1 Message Date
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
Goffi
6b9e9b7a79 tests: plugin text syntaxes sanitisation tests 2013-11-12 14:16:11 +01:00
Goffi
96695b6d59 tests: added XML comparaison method to helpers 2013-11-12 14:16:11 +01:00
Goffi
5289df976f plugin text syntaxes: styles sanitisation 2013-11-12 14:14:36 +01:00
souliane
f1cf1fb53f tools frontend: moved here from Libervia some definitions for message composition 2013-11-09 09:12:38 +01:00
souliane
f59304a2f6 misc: added a file for frontend's string operations:
- the method getURLParams defined here is needed for Libervia autologin feature
2013-11-08 19:14:13 +01:00
souliane
e17c0967c8 plugin XEP-249: added parameter Misc / Auto-join MUC on invitation 2013-11-05 21:08:31 +01:00
souliane
36cea6fc91 tools: renamed tools.jid.JID attribute "short" to "bare" 2013-10-29 16:26:55 +01:00
souliane
a154d9acbb primitivus card_game: bug fix and improvement
- changeset 56f8a9c99194 introduced a bug because it connected all the list widgets to the parameter change callback. This is not OK because the Tarot is using a list form that is not a parameter.
- some list processing was raising an error when the data is not initialized
- display the "choose contrat" dialog with valign='top' to allow the user see his hand while taking the decision.
2013-10-28 19:04:49 +01:00
souliane
bc2d308c3e plugin card_game: better PEP-8 compliance 2013-10-28 18:49:01 +01:00
souliane
cac3cd810f primitivus, wix: auto-display MUC dialog after it has been joined:
- a patch will follow to add a parameter for the user to choose between "always open", "never open" and "ask each time".
2013-10-28 18:29:34 +01:00
souliane
d792723caa core (tools): small fix in using imported methods 2013-10-24 08:47:45 +02:00
souliane
34947f8840 plugins radiocol, card_game, quiz: code factorization 2013-10-23 12:45:13 +02:00
souliane
ba4c9158ea tools: moved src/tools/games.py to src/tools/frontends/ 2013-10-18 11:58:42 +02:00
souliane
63ba8ab235 memory: fixed getHistory behavior when parameter between=True:
- the previous behavior returns the messages between X and Y + between X and X
2013-10-23 00:28:00 +02:00
souliane
2df401dc44 primitivus, wix: fixed bridge methods calls for plugins radiocol and card game 2013-10-22 16:24:11 +02:00
souliane
23d8b52f5b wix, misc: use picture of dimension 32x32 for tray icon + better PEP-8 compliance 2013-10-22 09:41:27 +02:00
souliane
ed7fd60e98 primitivus: code factorization for user notification 2013-10-21 15:52:28 +02:00
souliane
9c2087847a core (memory): cleaned the part for load/save to xml (not used) 2013-10-18 19:23:03 +02:00
souliane
d5a5c03ada social contract: typos fixes:
- independant --> independent
- comercial --> commercial
2013-11-08 17:48:27 +01:00
Goffi
33a1a7e1c3 new xml tools module (sat.tools.frontends.xml):
- inlineRoot display the first XHTML tag as inline.
2013-11-09 10:17:53 +01:00
Goffi
c4afcee020 plugin text_syntaxes: fixed clean_xhml (it now return XHTML instead of HTML) 2013-11-09 10:16:35 +01:00
Goffi
a96a957bfb moved sat.tools.frontend to sat.tools.frontends 2013-11-08 16:35:51 +01:00
souliane
ba0e2c1262 plugin misc_account: added method getNewAccountDomain 2013-11-07 17:01:40 +01:00
souliane
7b4fa64df8 frontend, primitivus: added input history (mode-wise) 2013-11-07 16:58:20 +01:00
souliane
d1a8cba809 social contract: typos fixes 2013-11-07 16:14:56 +01:00
Goffi
8624c3c547 core, bridge: extra parameter is saved in history:
- added extra data in getHistory return value
    - extra data is saved in database
    /!\ WARNING: DATABASE SCHEMA HAS CHANGED /!\
to update sqlite database: ALTER TABLE history ADD COLUMN extra BLOB;
2013-11-07 15:29:39 +01:00
Goffi
008e449e59 plugin XEP_0071: first draft
a new "xhtml" key is added in bridge newMessage's extra data when rich text is found.
2013-11-05 22:41:45 +01:00
Goffi
d2c4f2594a plugin XEP-0115: changed node for "http://sat.goffi.org" + filtering using list comprehension instead of filter() 2013-11-05 22:40:56 +01:00
Goffi
109d61352f core: added SatIdentityHandler for Disco Identity, and set identity to "client/pc/Salut à Toi" 2013-11-05 22:40:55 +01:00
Goffi
83f28748dc plugin text syntaxes: this plugin manage rich text syntaxes conversions and cleaning. 2013-11-05 22:40:46 +01:00
Goffi
eab0eea268 install: added lxml to setup.py dependencies 2013-10-31 17:18:32 +01:00
Goffi
59b4505dfd core: Deferred in onMessage.
onMessage now use a deferred which is passed to MessageReceived trigger through the post_treat parameter. This can be used by plugins to add deferred in the callback chain.
2013-10-31 17:18:04 +01:00
Goffi
bd7f2d6e84 core: importParams renamed to updateParams: it now updates the parameter instead of appending children if it find an existing one. 2013-10-31 17:14:15 +01:00
Goffi
a96bbad148 primitivus: fixed crash on private messages 2013-10-15 23:10:31 +02:00
Goffi
eb60e0ff33 core, plugins: fixed bad use of children instead of elements() for domish.Element instances. 2013-10-15 19:28:34 +02:00
souliane
58561b8732 plugin xep-0085: bug fix + improvement 2013-10-07 13:09:57 +02:00
Goffi
bbd2b75ef8 misc: added Dal to contributors 2013-10-07 14:58:41 +02:00