Commit graph libervia-backend/src
Author SHA1 Message Date
souliane
ab7ae07a83 plugin XEP-0203, core (xmpp): leave the management of delay element to XEP-0203 (fix bug 59):
- this patch reveals a bug in primitivus Chat.printMessage relative to MUC history (the test to discard duplicates is wrong)
2015-12-11 11:25:29 +01:00
souliane
a6a967b2f0 complete the Exception's list when catching JID error:
- Twisted JID constructor raises not only jid.InvalidFormat but also RuntimeError and AttributeError
2015-12-15 13:30:47 +01:00
souliane
3b84fc1765 plugin misc_extra_pep: use a user parameter (jids_list) instead of a general configuration value 2015-12-11 09:12:11 +01:00
souliane
9e0b24a4a5 memory (params): parameter jids_list values are specified with <jid>...</jid> 2015-12-15 14:12:19 +01:00
souliane
a29630c3b6 memory (params): forbid to pass a value to a parameter of type "list" with <param value...> 2015-12-15 13:33:35 +01:00
Goffi
18b1ca3d31 core (xmlui): fixed deferConfirm 2015-12-15 12:41:07 +01:00
Goffi
2a5a33df1f core (xmlui): fixed bad call of deferredUI in deferXMLUI 2015-12-15 12:20:55 +01:00
souliane
d38543029f tools: expandNewLinesToXHTML replaces two or more \n instead of each ones 2015-12-11 07:54:14 +01:00
souliane
7e9833b921 plugin XEP-0277: revert use of expandNewLinesToXHTML for incoming messages:
- this was here for retro-compatibility with messages previously posted from Libervia
    - but this is not appropriate and will add some extra <br /> e.g. in messages from Movim
2015-12-10 15:14:23 +01:00
souliane
2df5519eda plugin XEP-0277, xml_tools: restore decapsulation of XHTML content
- to avoid successive nesting of the content in <div>
    - otherwise there is a new <div> at each item modification
2015-12-10 14:21:51 +01:00
souliane
ca5c913ce2 xml_tools, plugin XEP-0071, XEP-0277: add method expandNewLinesToXHTML:
- \n in XHTML content should not be converted to <br /> by the frontend
    - save it directly in the Atom payload for better compatibility with other clients
2015-12-10 14:00:21 +01:00
souliane
8f8880be10 plugin misc_radiocol: the smaller fix in the world (1 character!) 2015-12-09 03:33:30 +01:00
souliane
a8a58cb01a plugin misc_account: send email to the admins when a new profile is created for an external XMPP account 2015-12-09 01:59:15 +01:00
souliane
192b5a0275 plugin XEP-0277, EXTRA-PEP: get massive blogs from all the roster also retrieve items from a special JIDs list defined in EXTRA-PEP 2015-12-08 17:41:34 +01:00
souliane
1f17172b52 reverted revision 2ebe66a96d05 2015-12-08 16:55:54 +01:00
souliane
9ab8ac9083 plugin misc_account: auto add some contacts at profile creation 2015-12-07 20:35:21 +01:00
souliane
f3a5cb2a96 core, plugin misc_account: set XMPP connection max retries to 0 when checking if an external account exists 2015-12-07 19:56:12 +01:00
Goffi
d978e4918b core: avoid initialisation blocking when a long callback is added to backend.initialised (could prevent sessions starting) 2015-12-07 13:10:44 +01:00
Goffi
942fdc7fa1 core (client): fixed maximum connection tries to 3 2015-12-07 13:10:44 +01:00
Goffi
73aa1d1f79 we are in dev version again 2015-12-07 13:10:44 +01:00
Goffi
db77e3358a update version to 0.6.0 2015-12-02 13:05:54 +01:00
Goffi
086aeea2cb plugin static blog: temporarily deactivated public blog menu 2015-12-02 10:39:30 +01:00
souliane
04a3aa0e49 stdui (contact_list): use jid.JID to check the JID instead of an approximative regex 2015-12-02 09:57:14 +01:00
souliane
cbffc6b484 plugin misc_account: temporary disabling posts and account deletion 2015-12-02 09:10:58 +01:00
souliane
e38a7814ce plugin XEP-0277: remove forgotten break statement 2015-12-02 00:37:28 +01:00
souliane
8b9075e1f0 plugin XEP-0277: don't try to create a new comments node if it already exists 2015-12-01 23:09:50 +01:00
Goffi
5f680931df plugin XEP-0054: use full jid to manage the card/avatar if the bare jid correspond to a MUC room 2015-12-01 17:17:09 +01:00
Goffi
2a015e3bec plugin XEP-0277: raise a failure if XHTML content is not wrapped in a <div/> 2015-12-01 13:55:48 +01:00
Goffi
9cc2a923fa plugin XEP-0277: accept several <title/> elements, there is a standard issue so for now it's the most flexible behaviour 2015-12-01 13:55:48 +01:00
souliane
8a1e54b194 primitivus and plugins: renamed a few menus:
- display all menu with the first letter in upper case
    - moved Search directory from Service to Contacts
    - moved "Join room" from Communication to Groups
    - moved Bookmarks from Communication to Groups
2015-12-01 12:45:14 +01:00
Goffi
228f26e5b3 plugin (xml log): workaround for a crash on big stanzas 2015-11-30 21:54:38 +01:00
Goffi
1a16f085d0 core (sqlite storage): do explicit delete to profile linked tables for deleteProfile 2015-11-30 20:42:14 +01:00
Goffi
a3c15277bc core (memory): fixed bad memory cleaning on asyncDeleteProfile 2015-11-30 20:40:55 +01:00
souliane
ba7e46d8a9 plugin welcome: fixed typo 2015-11-30 16:49:47 +01:00
Goffi
40ee9564c6 plugin welcome: first draft
this plugin display a welcome message on first connection (or if General/Welcome param is set to True), and have a trigger point if other plugins want to do action on first connection (like adding entities to roster).
2015-11-29 22:57:11 +01:00
Goffi
47d547aef9 plugin XEP-0045: fixed bad default parameter 2015-11-29 22:47:52 +01:00
Goffi
1d08040db4 plugin XEP-0277: just a reminder 2015-11-27 17:53:13 +01:00
Goffi
7cd1550269 core (stdui[ui_profile_manager]): refactored profile authentication: the workflow is greatly simplified by the use of the new startSession mechanisme and deferedUI 2015-11-27 16:57:49 +01:00
Goffi
44360c5b9b plugin account: fixed profile creation: session is started to set the connection parameters, then stopped 2015-11-27 16:54:11 +01:00
Goffi
fad4200be3 core (memory): asyncCreateProfile fix: a fake session is created to set general password param 2015-11-27 16:52:14 +01:00
Goffi
1bf3950ce6 core (memory): profile is checked in startSession (an error is raised if it doesn't exist) 2015-11-27 16:50:29 +01:00
Goffi
3d8d66fa43 core (memory): stopSession implementation 2015-11-27 16:48:41 +01:00
Goffi
6a44221a83 core (xmlui): new deferredUI method allows to manage XMLUI with a Deferred insteand of manual submit_id handling:
- this differ from deferXMLUI, as it can be used in ui returned to frontend after a bridge call (deferXMLUI use actionNew only)
    - the "chained" argument  allow to manage series of XMLUIs
    - this argument is also present in deferXMLUI
2015-11-27 16:45:55 +01:00
souliane
6934269002 plugin misc_account: fixed password verification 2015-11-27 11:21:51 +01:00
Goffi
a8cc331dd5 core: fixed cache check on presence unavailable 2015-11-27 10:15:23 +01:00
Goffi
939b6ba80b core (memory): catch exceptions.UnknownEntityError in getMainResource 2015-11-26 17:00:18 +01:00
Goffi
566de1dd33 core(params): replaced isConnected by isSessionStarted for profile update signal when a general param is modified 2015-11-26 16:04:45 +01:00
Goffi
c58da8d413 profile (params): fixed password setting: if profile was not connected, set was silently ignored 2015-11-26 15:47:01 +01:00
Goffi
c0f53629e5 core: avoid to send presence unavailable signal when it's not necessary 2015-11-25 23:19:36 +01:00
Goffi
95ad000f62 core (disco): disco hashes are now stored in database to avoid doing the same disco request on next load 2015-11-25 21:41:15 +01:00