Commit graph libervia-backend/src/plugins
Author SHA1 Message Date
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
souliane
f0fa9b699d plugin XEP_0033: fixes the server part and the tests 2014-04-11 11:02:42 +02:00
Goffi
8cd6bed824 plugin XEP-0096: fixed a bug introduced by the log refactoring 2014-04-20 11:51:48 +02:00
Goffi
501bc92528 core: use of the new core.log module:
/!\ this is a massive refactoring and was largely automated, it probably did bring some bugs /!\
2014-04-19 19:19:19 +02:00
Goffi
3fcd7e22d9 plugins XEP-0048, XEP-0049: feature is not checked anymore before using private XML storage, as feature announcement is not mandatory in XEP-0049 2014-04-10 16:12:50 +02:00
souliane
e91a30729f core, frontends: unify the roster management UIs in sat/stdui/ui_contact_list.py 2014-04-03 16:10:44 +02:00
Goffi
9dcec3eab7 jp: added bookmarks subcommands 2014-04-07 16:24:29 +02:00
Goffi
643aa4dfb7 plugin XEP-0048: bookmarks deletion + added "delete" option for /bookmark command 2014-04-07 16:24:29 +02:00
Goffi
7b971278f8 plugin XEP-0048: added list of bookmarks in XMLUI, selecting one join the room 2014-04-07 16:24:28 +02:00
Goffi
bdd0673a9d plugin XEP-0048: added /bookmark text command 2014-04-07 16:22:35 +02:00
Goffi
63e668ec01 plugin XEP-0048: bookmarks (first draft) 2014-04-07 16:22:35 +02:00
Goffi
da7496c162 plugin XEP-0049: private xml storage 2014-04-07 16:22:35 +02:00
Goffi
e2e1bb50c2 plugin XEP-0115: minor logs improvment 2014-04-07 16:22:18 +02:00
Goffi
ec08d50aba jp: "disco" subcommand, moved into a new "info" subcommand + added "version" subcommand which get software version 2014-04-02 12:31:15 +02:00
souliane
608e2ba9fa tools, frontends, memory: param definition and XMLUI handle multi-selection for list widgets:
- we need to update urwid_satext to revision 79
                          - no more "value" attribute value in the "list" element, use
                            HTML-style "select" attribute in the "option" elements instead
                          - /!\ param saving do not handle multiple values yet!
2014-04-01 21:21:13 +02:00
Goffi
9d24e951d3 plugin XEP-0115: fixed bad disco_infos construction 2014-03-31 20:19:34 +02:00
Goffi
a8d12fb6de plulgin XEP-0115: fixed caps_optimize init 2014-03-31 16:57:02 +02:00
Goffi
bbb546402f plugin XEP-0065: fixed initialisation sequence 2014-03-31 16:08:15 +02:00
Goffi
3f0482e523 plugin account: reverted patch abd3a75d629c 2014-03-31 12:35:59 +02:00
Goffi
e488c674a9 plugin xep-0115: caps optimisation 2014-03-31 12:24:20 +02:00
Goffi
c6884f14d5 plugin XEP-0092: use of checkFeature instead of hasFeature + timeout + message adapted to failure if software version is not available 2014-03-31 12:23:13 +02:00
Goffi
d454d9a66e plugin XEP-0045: profileConnected return the deferred, so muc service presence is checked before the end of initialisation 2014-03-31 12:23:13 +02:00
Goffi
9f5df82f1e plugin account: prosody gid is used to spawn prosodyctl process 2014-03-31 12:23:10 +02:00
Goffi
5d634df2f7 plugin XEP-0092: feature check before requesting version 2014-03-28 18:19:29 +01:00
Goffi
95678d7967 core, plugin XEP-0115: discovery refactoring:
- hashing algorithm of XEP-0115 has been including in core
    - our own hash is still calculated by XEP-0115 and can be regenerated with XEP_0115.recalculateHash
    - old discovery methods have been removed. Now the following methods are used:
        - hasFeature: tell if a feature is available for an entity
        - getDiscoInfos: self explaining
        - getDiscoItems: self explaining
        - findServiceEntities: return all available items of an entity which given (category, type)
        - findFeaturesSet: search for a set of features in entity + entity's items
      all these methods are asynchronous, and manage cache automatically
    - XEP-0115 manage in a better way hashes, and now use a trigger for presence instead of monkey patch
    - new FeatureNotFound exception, when we want to do something which is not available
    - refactored client initialisation sequence, removed client.initialized Deferred
    - added constant APP_URL
    - test_plugin_xep_0033.py has been temporarly deactivated, the time to adapt it
    - lot of cleaning
2014-03-28 18:07:22 +01:00
Goffi
a6897c76e0 core, plugins: host.getClient now raise an exception instead of returning None when no profile is found, plugins have been adapted consequently and a bit cleaned 2014-03-28 18:07:02 +01:00
Goffi
0ff17993f2 wix: fixed onShowProfile 2014-03-27 10:36:20 +01:00
souliane
f6673e0725 plugin account, groupblog: user can erase all their microblogs at once 2014-03-27 02:24:20 +01:00
souliane
03d4dcf029 plugin account: bug fix profile deletion from the database + unsubscribe the contacts 2014-03-24 16:21:14 +01:00
Goffi
90fc3d78e0 plugin text commands: commands are now sorted in /help 2014-03-24 15:18:53 +01:00
Goffi
b826dd7c10 plugin XEP-0045: added user information to /whois text command 2014-03-24 14:46:18 +01:00
Goffi
9ac686c0a9 plugin text-commands: fixed name conflicts management + plugin parrot: removed now done TODO 2014-03-24 13:49:37 +01:00
Goffi
8a52f6defa plugin text commands: refactoring, text now only contain main commands, and other plugin can add commands themselve:
- registerTextCommands can be called by a plugin in its __init__ method, it looks for methods starting with "cmd_" and register them as new commands
    - addWhoIsCb: add a callback to /whois command, the callback can complete whois informations
    - plugins parrot, XEP-0045 and XEP-0092 now manage their own commands
2014-03-24 10:57:15 +01:00
Goffi
93826f1ce8 core: sendMessageTrigger now manage pre and post treatments, which happen before or after XML generation 2014-03-22 15:34:05 +01:00