Commit graph libervia-backend/src/plugins
Author SHA1 Message Date
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
Goffi
bd3890a8f0 plugin text commands: refactoring:
- commands can now return a deferred
    - if commands return True, message is sent, else it is cancelled
    - the escape sequence is now '//' instead of '\/'
    - added software version to /whois command
2014-03-22 13:47:33 +01:00
Goffi
0ff40fcdac plugin XEP-0092: new plugin (software version) 2014-03-22 13:44:33 +01:00
Goffi
005ec59a8a core: use of Const for profile_key + replaced '@DEFAULT@' default profile_key by '@NONE@' 2014-03-21 16:27:09 +01:00
souliane
c3aea2f388 plugin XEP-0085: bug fixes, especially for groupchat messages 2014-03-18 13:52:12 +01:00
souliane
e8f9ca2c0f plugin radiocol: preload signal also contains the uploader nickname 2014-03-11 11:59:11 +01:00
souliane
fcb9eeb570 plugin radiocol: add MP3 support 2014-03-05 23:24:03 +01:00
souliane
5b2e60e22e plugin account: user can change his password or delete his XMPP account 2014-03-03 10:00:15 +01:00
souliane
528ceb5f8b plugin groupblog: added a convenient bridge method getGroupBlogsWithComments 2014-02-28 11:19:08 +01:00
souliane
2b2fa9fd4a plugin XEP-0060, groupblog: added nodeIdentifiers attribute to getItems in order to retrieve items by ids 2014-02-25 17:49:15 +01:00
souliane
765eecb37c plugin blog_banner: added temporary plugin with a user parameter to set a blog banner 2014-02-25 11:32:21 +01:00
souliane
5b3d5a2f42 plugin card_game: update to use the new XMLUI mechanism:
TODO: the new round is not starting after the scores have been displayed
2014-02-26 02:17:43 +01:00
souliane
e8f6c14436 plugin room_game: fix issues with data structures initialization 2014-02-26 02:13:29 +01:00
souliane
647db64941 tools, plugin XEP-0077: small fixes 2014-02-25 22:58:42 +01:00
Goffi
f4396db0d2 plugin misc account: updated the welcome email 2014-02-25 23:45:50 +01:00
Goffi
fecc93ba15 plugin demo directory: temporary plugin to integrate Salut's directory in SàT's parameters:
this plugin has to be explicitly activate in sat.conf with the following parameters in category [plugin demo directory]:
activate=yes ==> to activate
service=salut.domain.tld ==> Salut service jid
This plugin is dependant of Salut's implementation, and will not work with other services
2014-02-25 23:03:17 +01:00