Commit graph libervia-backend/src/plugins
Author SHA1 Message Date
Goffi
76a0afedf1 plugin NAT Port: added instruction with pip when miniupnpc is missing 2015-11-02 22:09:13 +01:00
Goffi
5e208acc58 plugin XEP-0260: first draft 2015-11-02 22:02:41 +01:00
Goffi
c3ff0a1513 plugin XEP-0065, XEP-0096: preparation for plugin XEP-0260 implementation:
/!\ SI File Transfert (plugin XEP-0096) is temporarily broken
    /!\ proxy handling is temporarily broken
    plugin XEP-0096: use of Deferred for plugin XEP-0065 in the same way as for plugin XEP-0047
    plugin XEP-0065:
        - use of Deferred for sessions
        - plugin IP is a dependency
        - plugin NAT-PORT is used if available
        - everything is now automatic, params are disabled for now (may be re-used in the future to force port or proxy)
        - proxy infos are managed with a namedtuple
        - connexion candidates are managed with a dedicate class
        - priorities can be used for candidates, as needed for XEP-0260
        - transfer can now be managed in both direction, with client or server
        - socks5 server is launcher on demand, once for all profiles
        - helper methods to try and find best candidate
        - connection test and file transfer are done in 2 times
2015-11-02 22:02:41 +01:00
Goffi
ed7e784ffe plugin XEP-0047: minor improvements 2015-11-02 22:02:41 +01:00
Goffi
a24031596a plugin XEP-0234: "senders" handling 2015-11-02 22:02:41 +01:00
Goffi
170d697016 plugin XEP-0166, XEP-0234, XEP-0261:
- transport and application data are now managed in separate dictionaries
    - new client.IQ method is used
    - new buildAction helper method for applications and transports
    - "role" is now stored in session_data
    - "senders" is now stored in content_data
    - plugin XEP-0166: "transport-info" action is now managed
    - plugin XEP-0166: application namespace and handler are now managed in a namedtuple
    - plugin XEP-0234: <range/> element is added by responder if not already present
2015-11-02 22:02:41 +01:00
Goffi
7ca36bc79d plugin ip: local ip cache + DNS error detection 2015-11-02 22:02:41 +01:00
Goffi
649ec27b3e plugin NAT port: added UPnP IGD mapping + automatic unmapping on backend shut down 2015-11-02 22:02:41 +01:00
Goffi
c557eba2e2 fixed bad inheritance of SatFile 2015-11-02 22:02:41 +01:00
Goffi
341143445b core (disco): use of “profile” instead of “profile_key” in several disco methods 2015-11-02 22:02:41 +01:00
Goffi
55f98749e1 plugin XEP-0085: fixed bad use of threads resulting in delay and crash when stopping the backend. 2015-11-02 22:02:41 +01:00
Goffi
969af13f59 plugins: added new MissingModule exceptions to plugins using third party modules 2015-09-30 17:25:09 +02:00
Goffi
f52abec673 plugin ad-hoc D-Bus: exception fixe + minor fixes 2015-09-30 17:24:19 +02:00
Goffi
07e8942ba9 plugins: lowered security limits for non dangerous actions. A reference documentation is in progress to choose values: http://wiki.goffi.org/wiki/Security_Limits/en 2015-09-29 20:19:43 +02:00
Goffi
48f13ae31e reverted patch ad4ec8d9235e: there must not be security limit on room configuration 2015-09-29 19:07:32 +02:00
Goffi
c23c6c39b8 plugin IP discovery: better IP discovering:
- locals and external IP addresses can be discovered
    - if netifaces is available, it is used
    - same thing for NAT Port plugin
    - cache is no more managed per profile but globally, a signal or observer will be used in the future to detect connection changes
2015-09-29 17:54:25 +02:00
Goffi
1f29d5695d plugin nat-port: NAT port first draft:
- this plugin use UPnP-IGD (and maybe later NAT-PMP) to open a port or get local/external IP
    - for now, only IP retrieval is implemented
2015-09-29 17:54:24 +02:00
Goffi
76e571e18b plugin ip, params: plugin IP discovery, first draft:
- a dedicated plugin now manage IP discovery, for now it uses external website, but it should implement XEP-0279 soon
    - a permission is requested to user for calling an external website. Once the permission is granted (it's global), it is not asked anymore.
    - the ip is discovered on demand, and cache is kept for the session.
    - memory.params.getParamA has a new parameter use_default, which allow to get None when a parameter is not set, instead of the default value.
        This allow to detected when we need to do the first permission request. memory.getParamA don't have this parameter.
2015-09-29 17:54:22 +02:00
souliane
28b031468d plugin tmp_demo_directory: removed 2015-09-14 08:52:00 +02:00
Goffi
8a0215a7ec plugin XEP-0234: removed forgotten debugging bridge method 2015-09-26 14:24:33 +02:00
Goffi
3b263f2c93 plugin XEP-0234: jingle file transfer first draft 2015-09-25 19:24:00 +02:00
Goffi
f90708de2a plugin XEP-0261: jingle in-band bystream first draft 2015-09-25 19:19:12 +02:00
Goffi
058b264d13 plugin XEP-0300: hashes management first draft 2015-09-25 19:19:12 +02:00
Goffi
490398c4e7 plugin file: first draft:
This plugin will be used to manage file transfers, and choose the best available method.
    It embed a class dedicated to files: SatFile, which act as a file objects but manage some high level stuffs (like progression).
2015-09-25 19:19:12 +02:00
Goffi
7121b58961 plugin XEP-0047, XEP-0096: In-Band Bystream plugin cleaning:
- some renaming, comments improvments, etc
    - progress callback is no more managed here, as it will be managed by application
    - no more file data is used, beside file_obj
    - a proper Deferred is used instead of success and error callbacks
    - more clean error sending method
    plugin XEP-0096 has been updated to handle changes. Its temporarily partially broken though
2015-09-25 19:19:12 +02:00
Goffi
0c5ec666c2 plugin XEP-0166: (jingle) first draft. Not all actions are managed yet 2015-09-25 19:19:12 +02:00
Goffi
ebf0edb178 plugin XEP-0050: minor parentheses removal 2015-09-25 19:19:10 +02:00
souliane
dda1628f3d plugin XEP-0277, misc_groupblog: move getGroupBlogsAtom to XEP-0277, rename to mbGetAtom 2015-09-10 15:06:01 +02:00
souliane
3da283a698 plugin XEP-0277, quick_frontend: rename mbGetLast to mbGet and add it the parameter "item_ids" 2015-09-10 07:39:09 +02:00
souliane
d42c6a1e77 plugin XEP-0060: fixes a one-line loop 2015-09-10 07:37:14 +02:00
souliane
d747c144cd plugin XEP-0277: clarify a docstring for one complex method argument 2015-09-10 07:35:43 +02:00
souliane
b344feb420 plugin XEP-0055: add "Directory subscription" menu + use the category "Service" for this plugin's menus instead of "Communication" 2015-09-02 14:59:28 +02:00
souliane
c00b54a04a plugin XEP-0055: display the search results using XMLUI JidsListWidget 2015-09-02 13:57:46 +02:00
souliane
bdd5648509 plugin XEP-0055: remove a "debug" break that has been forgotten here 2015-09-02 13:54:57 +02:00
souliane
2eec7f7491 plugin XEP-0050: pre-fill the target server's field with user's host. 2015-09-02 12:47:23 +02:00
souliane
a7535449b4 plugin XEP-0055: add "simple" and "advanced" modes to Jabber search:
- simple search queries the service offered by the user's server, asks for a single input and compile the results of the queries done on each search field
    - advanced allows to select the search service and to perform a "normal" search (the user can fill in all the fields that are implemented by the service)
2015-08-21 19:02:11 +02:00
Goffi
0fd4e7732a plugin XEP-0050: fixed crash on empty node in addAdHocCommand 2015-08-25 20:20:47 +02:00
Goffi
94eaf21945 plugin XEP-0050: return disco for commands only on commands namespace 2015-08-25 20:02:50 +02:00
Goffi
11acf009ee plugin groupblog: item access availability on serveur is checked on profile connection, and getFeatures is filled accordingly (with "available" key) 2015-08-25 16:51:00 +02:00
Goffi
fe5cc0ac0a plugin groupblog: groupblog compatible pubsub service is checked in profileConected + getFeatures implementation 2015-08-21 19:23:14 +02:00
Goffi
3080368825 plugin XEP-0060: implemented getFeatures, data has a "service" key if service is found for this profile 2015-08-21 17:09:43 +02:00
Goffi
135fba2de1 core, plugin watched: new plugin, show an alert when a watched entity goes online 2015-08-20 18:43:56 +02:00
Goffi
3312c3bf97 quick_frontend, primitivus: handling of actionNew signal 2015-08-18 09:01:18 +02:00
Goffi
d12df6c98e plugin XEP-0045: added disco announce 2015-08-18 09:01:18 +02:00
Goffi
a667873b99 plugin XEP-0059: fixed bad disco handling 2015-08-18 09:01:18 +02:00
souliane
71f0f14b36 plugin OTR: fixes a couple of typos 2014-09-03 20:55:54 +02:00
Goffi
0f10526746 core: getProfileName no raise ProfileUnknownError + minor doc fixes 2015-08-16 00:41:58 +02:00
Goffi
b7409e0488 plugins xep-0060, xep-0163, xep-0277, groupblog: bloging improvments (huge patch, sorry):
/!\ not everything is working yet, and specially groupblogs are broken /!\
    - renamed bridge api to use prefixed methods (e.g. psSubscribeToMany instead of subscribeToMany in PubSub)
    - (xep-0060): try to find a default PubSub service, and put it in client.pubsub_service
    - (xep-0060): extra dictionary can be used in bridge method for RSM and other options
    - (xep-0060): XEP_0060.addManagedNode and XEP_0060.removeManagedNode allow to easily catch notifications for a specific node
    - (xep-0060): retractItem manage "notify" attribute
    - (xep-0060): new signal psEvent will be used to transmit notifications to frontends
    - (xep-0060, constants): added a bunch of useful constants
    - (xep-0163): removed personalEvent in favor of psEvent
    - (xep-0163): addPEPEvent now filter non PEP events for in_callback
    - (xep-0277): use of new XEP-0060 plugin's addManagedNode
    - (xep-0277): fixed author handling for incoming blogs: author is the human readable name, author_jid it jid, and author_jid_verified is set to True is the jid is checked
    - (xep-0277): reworked data2entry with Twisted instead of feed, item_id can now be specified, <content/> is changed to  <title/> if there is only content
    - (xep-0277): comments are now managed here (core removed from groupblog)
    - (xep-0277): (comments) node is created if needed, default pubsub service is used if available, else PEP
    - (xep-0277): retract is managed
2015-08-16 00:39:44 +02:00
Goffi
f32b006d54 plugin text-syntaxes: minor variable renaming 2015-08-16 00:06:59 +02:00
Goffi
1e21730bfe plugin XEP-0277: added mBGetFromManyWithComments to have items + comments in one method call 2015-08-15 22:24:38 +02:00