Commit graph

794 commits

Author SHA1 Message Date
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
Dal
95e6be2b20 jp: profiles management 2013-10-07 14:56:09 +02:00
souliane
6f58566118 bridge, memory: added the parameter security_limit to asyncGetParamA so it can be used from libervia. refactorization in memory.py are related to that. 2013-10-02 20:25:19 +02:00
souliane
010e305d53 core, primitivus: better support for parameter of type list 2013-10-02 17:38:29 +02:00
souliane
e0ecb6158b plugin XEP-0085: improvement for sending "composing" state 2013-09-26 10:44:57 +02:00
souliane
efc92500b0 wix: bug fix at startup when the method chatStateReceived doesn't exist
TODO: implementation for displaying the states on the chat window and sending "composing" states
2013-09-26 10:14:23 +02:00
Goffi
0939ef3f6b install: minimum required wokkel version is now 0.7.1, updated setup.py 2013-10-04 12:22:51 +02:00
Goffi
9d041f71d4 install: fixed setup.py (changed "imaging" to "PIL") 2013-10-03 12:58:00 +02:00
Goffi
2fde64ea3b bridge: doc fix for newContact 2013-09-29 16:29:57 +02:00
Goffi
1eee4a779c tests: helpers improvments:
- FakeParent renamed FakeClient
    - added FakeRoster class, and an instance of it in FakeClient (FakeClient.roster)
    - b2s function to convert boolean value to strings used in bridge
    - some fake methods (FakeClient.send, FakeSat.delContact) to avoid exceptions
2013-09-29 16:29:36 +02:00
Goffi
b370f284dd tests: fix SatMessageProtocolTest.test_onMessage 2013-09-26 17:33:04 +02:00
Goffi
0f22c904bc tests: Use of FailTest for DifferentArgsException instead of Exception, so the test fail instead of raising en error. 2013-09-26 17:32:24 +02:00
Goffi
e3286d5554 primitivus: disconnected contact crash fix
fix IndexError when selecting a contact and hiding disconnected ones
fix bug 47
2013-09-22 01:49:19 +02:00
Goffi
92d861f334 core: misc bug fixes 2013-09-21 15:34:10 +02:00
souliane
c584a689aa plugin misc_account: fix for sending a failure message 2013-09-08 14:59:14 +02:00