Commit graph libervia-backend/src/plugins
Author SHA1 Message Date
Goffi
2c8b91ee6c core, plugin file: fixed progress id + data is now returned by getProgress, instead of being an argument to fill 2015-11-14 19:20:33 +01:00
Goffi
aaa3c32378 plugins XEP-0096, XEP-0260, file: sendFile method is managed by file plugin, which choose the best available method + progress_id fix 2015-11-14 19:18:05 +01:00
Goffi
f61c88f784 plugin XEP-0065: session cleaning and timeout + log choosed candidate when using SI File Transfer 2015-11-13 16:46:32 +01:00
Goffi
ab910bebfe plugins XEP-0047, XEP-0065, XEP-0096: fixed use of failure.condition insteand of failure.value + removed gettext use for local logs 2015-11-13 16:46:31 +01:00
Goffi
455a7e00f7 plugin XEP-0065: chunk size optimization: 64Kio is used except for proxy were it is set to 4Kio, to avoid wild disconnection by Prosody's proxy 2015-11-11 22:28:48 +01:00
Goffi
a0b81bda7c plugin XEP-0047: some cleaning 2015-11-11 18:21:20 +01:00
Goffi
dc0dbb149c plugins XEP-0020, XEP-0065, XEP-0095, XEP-0096: fixed file copy with Stream Initiation:
/!\ range is not working yet
    /!\ pipe plugin is broken for now
2015-11-11 18:19:49 +01:00
Goffi
9911d60449 plugins IP: getLocalIPs now return localhost IP instead of an empty list if no non-localhost ip can be found 2015-11-11 18:19:49 +01:00
Goffi
674001781f plugins XEP-0234, file: moved human file size conversion to file plugi 2015-11-11 18:19:49 +01:00
Goffi
a022a36b5b plugins XEP-0234, file: moved file request dialog to file plugin 2015-11-11 18:19:47 +01:00
Goffi
af953d89a9 plugins XEP-0234, XEP-0260, XEP-0261: jingle session termination is managed by application (XEP-0234) instead of transport 2015-11-08 14:48:04 +01:00
Goffi
728e15c90c plugins XEP-0260, XEP-0065: proxy handling:
- XEP-0065: Candidate.activate launch proxy activation
    - XEP-0065: a candidate is individually connected with connectCandidate
    - transport-info action handling can now manage candidate and proxy infos
2015-11-08 14:44:33 +01:00
Goffi
a629197419 plugin XEP-0065: fixed CHUNK_SIZE to 4096 to avoid wild disconnection by some proxies (Prosody's proxy65 disconnect if it receive bigger chunks) 2015-11-08 14:44:33 +01:00
Goffi
5e356f28f0 plugins XEP-0234, file: use of SatFile for writing too 2015-11-08 14:44:33 +01:00
Goffi
31c9e0d06e plugins XE0166, XEP-0234, XEP-0260, XEP-0261: renamed session key managing other peer's jid to "peer_jid" instead of "to_jid" 2015-11-08 14:44:33 +01:00
Goffi
1a5f1bd144 plugin ip: implemented XEP-0279 for external ip retrieval + fixed bad exception handling 2015-11-08 14:44:30 +01:00
Goffi
83eef838a6 plugin XEP-0085: renamed "__xxx" methods to "_xxx" 2015-11-06 17:09:45 +01:00
Goffi
04929c74d4 plugin XEP-0085: fixed chatstate blinking following 0632d96f08ad change 2015-11-03 10:23:08 +01:00
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