Commit graph libervia-backend/src
Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
souliane
174a0d9862 core: memory's updateEntityData improvments.
- passing @ALL@ to updateEntityData updates the specified key for all entities
    - passing @NONE@ to updateEntityData deletes the specified key
2013-09-08 19:12:59 +02:00
souliane
7652fd3a15 core: security attribute added to the parameters
- getParams, getParamsUI and getParamsForCategory have a security_limit parameter to filter
- parameters with security = 0 can be retrieved/modified from Libervia
2013-09-05 20:28:44 +02:00
Goffi
923e755c49 plugin XEP-0055: implementation of Jabber Search 2013-09-08 18:05:19 +02:00
Goffi
0cce82d3ea core: added advanced list to XMLUI (need improvment, very basic so far)
- the advanced list use headers which can be used as columns
    - in the future, should provide the ability to highly customize list disposition, in a way similar to Amarok 2's playlist.
2013-09-08 18:05:19 +02:00
Goffi
8e2f394b5b core, bridge, jp, quick_frontend: SàT stop more gracefully if bridge can't be initialised:
- new BridgeInitError and BridgeExceptionNoService are in core.exceptions
    - D-Bus NotSupported is catched in bridge, and launch a BridgeInitError
    - BridgeInitError stop SàT core, jp, and quick_frontends with an explanation message.
fix bug 27
2013-06-21 02:00:37 +02:00
Goffi
67ff0610e5 core: fixed crash on first run, when no profile exist yet
fix bug 24
2013-06-20 17:22:40 +02:00
Goffi
4d08b7f72e core: fixed bad database creation on first run in sqlite storage 2013-06-20 17:17:35 +02:00
Goffi
91aac2ad4f plugin XEP-0277: RuntimeError is now catched during link parsing (can happen if no service jid is found) 2013-06-20 17:15:21 +02:00
Goffi
52abf00bb4 pluging maildir: some trivial fixes:
- path is now (local dir)/maildir/(profile name) instead of directly (profile name)
    - removed forgotten breakpoint
    - use of MaildirError instead of the inexistant MailboxException
    - fixed some forgotten "self."
2013-06-20 12:37:06 +02:00
Goffi
7f86a9adf7 pluging groupblog: comments handling:
- comments are no more automaticly requested and sent as events
    - a new bridge method "getGroupBlogComments" allow to request them
2013-06-20 12:14:43 +02:00
Goffi
5f6289c655 core: more explicit UnknownEntityError 2013-06-20 12:11:54 +02:00
Goffi
9bec52525b plugin group blog: getItems for comments fixed when we are the publisher of the parent node 2013-06-17 13:55:11 +02:00
Goffi
9a52e2a80c plugin groupblog: fixed bad inialisation check 2013-06-17 13:30:57 +02:00
Goffi
010651dd84 plugin group blog: comments handling (comments are automaticaly requested when a comment node is found) 2013-06-17 13:17:43 +02:00
Goffi
c9d23dd32b plugin groupblog: comment item is specified through microblog data, there is no more a specific signal type 2013-06-16 18:49:02 +02:00
Goffi
c1b5ccf1d2 plugins XEP-0060, XEP-0277, groupblog: comments implementation (first draft, not finished yet):
- PubSub options constants are moved to XEP-0060
    - comments url are generated/parsed according to XEP-0277
    - microblog data can now have the following keys:
        - "comments", with the url as given in the <link> tag
        - "comments_service", with the jid of the PubSub service hosting the comments
        - "comments_node", with the parsed node
    - comments nodes use different access_model according to parent microblog item access
    - publisher is not verified yet, see FIXME warning
    - so far, comments node are automatically subscribed
    - some bug fixes
2013-05-20 23:21:29 +02:00
Goffi
919ee9526d misc: fixed bridge_constructor.py typo 2013-03-24 15:41:30 +01:00
Goffi
e7d83b8d27 core: added Priority management 2013-03-10 20:55:29 +01:00
Goffi
1cd98e8dea fixed licences in docstrings (they are now in comments) 2013-03-08 00:36:22 +01:00
Goffi
3be801d4ee core: fixed sendMessage 2013-02-23 12:25:34 +01:00
Goffi
a5f4072a89 plugin export command: first draft
this plugin allow to export the stdin/stdout/stderr of a process to a contact
2013-02-22 00:22:50 +01:00