Commit graph libervia-backend/src/plugins
Author SHA1 Message Date
souliane
812e0660a2 plugin XEP-0060, groupblog: avoid unecessary pubsub errors while doing massive requests:
- don't try to retrieve items from non accessible nodes
    - don't try to subscribe to non accessible or already subscribed nodes
2014-09-22 20:49:13 +02:00
souliane
830b6d8ef6 memory: Sessions.newSession can be called with a forced session ID 2014-09-21 13:10:55 +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
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
75c79aba58 plugin OTR: add bridge method skipOTR to desactivate OTR handling for a given profile 2014-09-01 15:45:35 +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
079e13d693 plugin OTR: added ability to drop private key 2014-08-27 01:27:24 +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
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
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
souliane
b9ce18f079 plugin misc_static_blog: add a menu for displaying a user static blog 2014-07-15 18:28:40 +02:00
souliane
af2a634764 plugin XEP-0045: change security limit of "config room" menu to 4 2014-07-15 18:26:36 +02:00
Goffi
f2b16e49b5 plugin OTR: various improvments:
- otr_data is now saved between sessions
    - private key is encrypted before saving
    - state change is detected (unencrypted/started/refreshed/finished) and (un)trusted (trusting is not implemented yet)
    - user feedback
    - fixed unencrypted message in an encrypted context warning
    - fixed inject msg encoding
    - minor refactoring
2014-06-26 14:58:25 +02:00
Goffi
f5d2a31520 pluging XEP-0045: configure room dynamic menu 2014-06-26 00:05:25 +02:00
souliane
603f2e5760 plugin misc_account: delete the profile session after the registration is done 2014-06-25 19:11:30 +02:00
souliane
83ed5f319c core, plugins, stdui, frontends: fixes handling of "Force server" and "Force port" parameters:
- do not save a "guessed" value, they must stay empty until the user explicitely sets them
    - add constant XMPP_C2S_PORT (default value 5222)
2014-06-23 10:23:13 +02:00
souliane
d4eff5b99c core, memory, plugins, stdui, frontends: look for DNS SRV records when server is not specified:
- fix bug 3
    - modify "Connection" params:
          - rename "Server" to "Force server" and "Port" to "Force port"
          - set the default value to empty string for both
2014-06-23 00:44:10 +02:00
souliane
7d849b11ca plugin XEP-0045: small refactorization + clean on profile's disconnection 2014-06-23 16:07:13 +02:00
souliane
56ec86b8e5 plugin XEP-0045, text_commands: add some commands:
- handle generic failure in text_commands
    - fix command /leave and a logging message
    - add commands /kick /ban /affiliate
2014-06-23 15:42:56 +02:00
souliane
25382c9db6 plugin XEP-0054: crop uploaded avatar to get a square 2014-06-19 20:33:42 +02:00
souliane
1cd755ac58 plugin misc_account: suppress the profile after its creation if the XMPP account registration failed 2014-06-19 19:20:52 +02:00
Goffi
ab67b9cf85 reverted commit bb4517e69957: note was not implemented on purpose 2014-06-18 16:35:20 +02:00
souliane
fd00955ce4 plugin XEP-0050: handle note element in command answer 2014-06-18 14:52:52 +02:00
souliane
ba3deb4c3e misc: remove some pylints warnings 2014-06-15 18:18:36 +02:00
Goffi
b2c2dc5e6a plugin XEP-0050: form returned by completed command are now managed 2014-06-14 17:26:22 +02:00
souliane
e18adb373d plugin XEP-0045: room configuration returns a success or failure message 2014-06-12 18:56:08 +02:00
Goffi
503b408675 plugin otr: first draft 2014-06-07 16:39:08 +02:00
Goffi
87b3e413ee core (XMPP): sendMessage refactoring:
- better separation of message sending actions
    - use of more generic exceptions to hook the behaviour (SkipHistory and CancelError)
    - use of raise instead of return
    - use of failure.trap
2014-06-07 16:35:29 +02:00
souliane
2a04d556a3 plugin XEP-0100: fixes the call to log.debug (line 185) 2014-06-04 12:57:49 +02:00
souliane
ae45889d50 plugins misc_account, misc_register_account: manually delete the sessions when not needed anymore 2014-05-21 23:17:51 +02:00
souliane
cf7c18e56b plugin misc_accout: update relative to the introduction of profile password:
- check for the profile password instead of the xmpp password before a modification can be done
- "Change your password" action changes both passwords (a confirmation is asked)
2014-05-21 12:07:13 +02:00
souliane
d70cbb3b7f plugin misc_account: do not send the password with the confirmation email for account creation 2014-05-20 15:47:08 +02:00
souliane
dd597a2ead core, memory, bridge, plugin misc_register_account: move registerNewAccount to a new plugin:
- the bridge method has been removed, now a plugin takes care of it with XMLUI callback system
    - TODO: xmpp.RegisteringAuthenticator still needs to be fixed
2014-05-16 00:58:20 +02:00
souliane
f3b0b52014 plugins misc_account, misc_smtp: update the plugins that deal with passwords 2014-05-12 17:51:38 +02:00
Goffi
a3f460d391 plugin text commands: added /me command to avoid the need to escape the / 2014-05-15 19:51:53 +02:00
souliane
daa4b0b30b plugin misc_static_blog: renamed from tmp_blog_banner, now also with page's title, meta keywords and description 2014-05-13 17:17:57 +02:00
Goffi
ba103161d5 core (log): refactoring + twisted backend:
- configuration is now done with classes, so inheritance is possible
    - twisted backend now use twisted log methods
    - log not produced by SàT directly in twisted backend are captured by an observer (twistedObserver) and sent back to SàT logging chain, with the "twisted" logger.
    - \\default output use normal twistd output, except in debug mode where it add an stdout output in addition to the log file.
    - when log_colors = True, colors are enabled only where it's possible (tty out), when log_colors=force colors are always enabled.
    - fixed some bad log.xxx calls
2014-05-05 18:58:34 +02:00
souliane
42b1b6c4ed plugins TEXT-COMMANDS, XEP-0045, XEP-0048, XEP-0249:
- give a feedback instead of sending the message when the command is invalid or used in a wrong context
    - add command /join for XEP-0249
2014-04-30 16:34:09 +02:00