Commit graph libervia-backend/src
Author SHA1 Message Date
souliane
37d1cd6c22 version update 2014-09-18 11:41:52 +02:00
souliane
9fbddc69e9 test: fixes FakeSAT for plugin XEP-0033 2014-09-17 10:02:24 +02:00
souliane
b30501f004 plugin XEP-0033: fixes sending the message after the changes made in rev 1052 (e88bff4c8b77) 2014-09-11 15:38:57 +02:00
Matteo Cypriani
71e29f5c44 misc: fixed some typos 2014-09-15 14:18:25 +02:00
Goffi
e17274e0b4 we are in dev version again 2014-09-15 12:07:40 +02:00
Goffi
606fd8cdf3 version update 2014-09-09 08:15:19 +02:00
Goffi
85b3c92376 core (disco): added a timeout to get items 2014-09-08 21:23:21 +02:00
Goffi
3a983b17db frontends (dbus): error is not truncated anymore if it's not a SàT error. 2014-09-08 21:23:21 +02:00
Goffi
c00daf4a68 plugin OTR: added a warning to tell that the history is not logged anymore and advanced feature are disabled when using OTR 2014-09-08 21:23:18 +02:00
souliane
2a0857fe4f plugin groupblog: fixes return value of getLastGroupBlogsAtom when an error occured 2014-09-08 16:53:41 +02:00
Goffi
45119d4d40 plugins XEP-0096, XEP-0065: fixed bad log calls 2014-09-08 15:50:51 +02:00
souliane
8654193b40 plugin OTR: do not save in history the encrypted messages for skipped profiles 2014-09-07 20:08:56 +02:00
Goffi
a20e3e2cb8 core: a new "info" type is used in newMessage for system messages (not comming from outside) 2014-09-05 19:29:30 +02:00
souliane
af2554a508 plugin OTR: forces FINISHED state if we are in ENCRYPTED state on contact disconnection 2014-09-05 11:16:38 +02:00
souliane
c1e71508c4 plugin OTR: disconnect the active OTR sessions and delete the context on profile disconnection 2014-09-05 11:01:14 +02:00
souliane
f2d630fcad plugin OTR: fixes handling of the FINISHED state 2014-09-05 10:39:06 +02:00
souliane
b294272020 core (xmpp): fixes SatPresenceProtocol.available to prevent an eventual code skipping 2014-09-04 11:26:22 +02:00
Goffi
8c766858ff misc (launch script): added a "status" command 2014-09-03 11:46:09 +02:00
souliane
75c79aba58 plugin OTR: add bridge method skipOTR to desactivate OTR handling for a given profile 2014-09-01 15:45:35 +02:00
souliane
be2e956c0b core: sendMessage handles the extra data key 'send_only' to skip triggers, storage and echo 2014-09-01 15:43:16 +02:00
souliane
df43c42611 plugin OTR: two small fixes 2014-09-01 16:11:45 +02:00
souliane
fbdca49737 plugin OTR: remove unnecessary attribute SatXMPPClient.otr_priv_key 2014-09-01 16:05:28 +02:00
Goffi
7c4824f352 core: more robust plugins importation 2014-09-01 11:05:27 +02:00
Goffi
079e13d693 plugin OTR: added ability to drop private key 2014-08-27 01:27:24 +02:00
Goffi
cc9bf9f2df core (constants): Bool method allow to convert from python bool to string constant for true/false (in both directions) 2014-08-27 01:27:05 +02:00
Goffi
70dc0f26b0 core (XMLUI): sugar method "note" allow to easily create a XMLUI note dialog (more methods for other dialogs should follow) 2014-08-27 01:24:26 +02:00
Goffi
df69c77ea3 plugin OTR: authentication management + fixed a bug in setState (due to a wrong docstring in potr.context.getCurrentTrust) 2014-08-27 00:23:14 +02:00
souliane
987cfbf89d move sat.tools.jid to sat_frontends.tools.jid 2014-08-26 12:52:46 +02:00
Goffi
20ea92ce1c plugin otr: priv_key is better than getPrivKey here, as it should not be None + fixed private key encryption/decryption 2014-08-25 21:32:29 +02:00
Goffi
5dce151148 plugin OTR: added start/refresh and end session menus 2014-08-25 21:32:23 +02:00
Goffi
ed3313c169 plugin OTR: a warning is logged when Account is instancied with a bare jid. 2014-08-25 21:32:23 +02:00
Goffi
ebf651226e plugin OTR: temporary potr monkey patch to work around a unicode bug, to be removed as soon as a potr fixed version is released (potr maintainer should do it soon) 2014-08-25 21:32:23 +02:00
Goffi
75b26ab7f1 reverted commit b1cb1d70bea9: jid should not be lowercase ! 2014-08-25 19:39:07 +02:00
Goffi
4b3ebdba5d core (stdui): fixed forgotten parametter in getParamError 2014-08-25 21:32:23 +02:00
Goffi
74f8765ed2 core: twistd plugin refactoring:
initialisation method manage things which must be done once (reactor installation + logging configuration), this method is called when service is created, so we can have the options passed to twistd (necessary to manage logging configuration). The initialisation order is important: for instance, sat_main must be imported after logging initialisation.
This refactoring avoid initialisation issue when SàT backend and libervia are both installed as twisted plugins.
2014-08-25 17:21:04 +02:00
Goffi
d549533f00 core (logging): new backend_data parameter can be used to transmit specific data to a backend + Twisted backend use this option to know if we are in debug or nodaemon mode 2014-08-25 17:21:03 +02:00
Goffi
75fe2d0638 core: sat bakcend is now a twisted plugin (no more .tac file) 2014-08-24 18:44:17 +02:00
Goffi
f21de3b01b core (logging): fixed twisted backend for twistd plugin, /!\ stdout logging in debug/nodaemon mode does'nt work anymore with .tac files. 2014-08-24 18:44:17 +02:00
souliane
5f1c2d3a49 tools (jid): force JIDs to lower case 2014-08-24 13:15:51 +02:00
Goffi
5342de1031 core (logging): logging is added to stdout in nodaemon mode (it was already the case in debug mode) 2014-08-21 02:14:24 +02:00
Goffi
218a4122e6 misc: daemon mode refactoring:
- there is no more daemon mode disctinction between local and installed version
    - sat is launched as daemon by default, use "sat fg" to launch it foreground
2014-08-20 23:45:21 +02:00
Goffi
917bbe24b3 misc: stdout encoding management in python part of sat.sh 2014-08-20 23:42:58 +02:00
Goffi
1af958cd7e core (constants): minor comment change 2014-08-20 23:07:59 +02:00
Goffi
774edc48a6 core (constants): better management of xdg import 2014-08-20 23:04:57 +02:00
Goffi
2af42b30c7 core (constants): removed pyjamas workaround 2014-08-20 22:59:33 +02:00
Goffi
41101b480d plugin XEP-0050: notes are now managed:
- a note without payload in a completed command appear in a dialog. If there is a unique note, it's level is used, else info dialog is used with merged notes
    - if there is a data form payload, notes are added to form's instructions
2014-08-20 21:22:06 +02:00
Goffi
b769cde7e4 core (constants): fixed bad XMLUI level constants 2014-08-20 21:15:04 +02:00
Goffi
38efb8b0bd core (XMLUI): Dialogs are now managemed in XMLUI:
- currents dialogs are available:
        - Message: a classical informational/error message, usually a popup that user has to close after reading
        - Note: more discreet message, usually a notification with a timeout (user don't need to close manually)
        - Confirm: a Ok/Cancel or Yes/No dialog
        - File: a dialog to get a file or dir path
    - dialog_opt parameter is used to customise dialogs
    - submit_id is used in a similar way as for forms
2014-08-11 19:10:24 +02:00
Goffi
8e66a4b736 core (constants): added constants mainly used in XMLUI 2014-08-11 19:10:24 +02:00
souliane
b9ce18f079 plugin misc_static_blog: add a menu for displaying a user static blog 2014-07-15 18:28:40 +02:00