Commit graph

686 commits

Author SHA1 Message Date
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
souliane
9378880e62 plugin XEP-0085: renamed category and parameter 2013-09-07 19:50:12 +02:00
souliane
75c414afde core: fix for methods signature 2013-09-08 15:00:15 +02:00
souliane
2bf3694fd0 core: added the security_limit to setParam
- params with a security greater than security_limit can not be modified
- special value: security_limit < 0 disable the check (all params can be modified)
2013-09-07 02:03:17 +02:00
Goffi
5366490603 Added Soul to contributors 2013-09-08 19:18:46 +02:00
souliane
4c30dcf240 core: better handling of profile_key and don't write the param file anymore
- new error ProfileNotSetError and some methods use the default @NONE@ instead of @DEFAULT@
- do not output the .sat/param file anymore, it is not needed and created confusion
- plugin XEP-0054: remove an error message at startup
2013-09-05 21:03:52 +02:00
souliane
f9bd9dd9b2 misc: a few "cosmetic" changes (PEP 8...) 2013-09-05 20:57:00 +02:00
souliane
41375e7bde primitivus: chat state implementation
for now chat states are displayed in primitivus surrended text (after the contact's name)
2013-09-08 19:13:02 +02:00
souliane
9cb7071e89 plugin XEP-0085: Chat State Notifications
- new "options" parameter to send chat states
    - plugin command export: messages without body are now delivered (since all the chat states other than "active" need them)
2013-09-05 20:48:47 +02:00