Commit graph libervia-backend/src
Author SHA1 Message Date
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
2e70b01b28 core: more robust plugins loading:
- avoid stopping loading remaining plugins when a plugin raise an error
    - new error exceptions.MissingModule allows to detect a missing third party module, and to give instructions to get it
    - error during instanciation are catched too
2015-09-29 17:54:23 +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
Goffi
68ae6a407e core: removed forgotten breakpoint 2015-09-29 17:54:21 +02:00
souliane
28b031468d plugin tmp_demo_directory: removed 2015-09-14 08:52:00 +02:00
Goffi
c0bc337c40 core (xmlui): fixed submit_id returning None when its value is '' 2015-09-26 18:39:05 +02:00
Goffi
ea0eb492d5 core (XMLUI): restorer submit_id:
- submit_id was missing due to a previous change in commit a2e4b976e707
    - XMLUI.submit_id can now be None (not set) or empty string in addition to normal values
    fix bug 102
2015-09-26 15:00:27 +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
66ad169227 core: progression handling improvments:
- getProgress has been renamed to progressGet to follown new naming convention
    - new signals: progressStarted, progressFinished and progressError to indicate state of progressing events
    - new method progressGetAll to get all progressing events of all profile (or only one profile)
2015-09-25 19:19:12 +02:00
Goffi
9e6646949a core (xmlui): deferDialog can now manage additional dialog options through the "options" argument 2015-09-25 19:19:12 +02:00
Goffi
ea2a3e584d core (contants): added PROF_KEY_ALL en PLUG_TYPE_* constants 2015-09-25 19:19:12 +02:00
Goffi
74d91860ad core (memory, params): minor docstrings updates 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
c831e8f851 tmp (wokkel): fixes RSM when maxItems is 0 2015-09-10 15:04:16 +02:00
souliane
536d1131e0 tmp (wokkel): fixes changeset 91631837ce5c (rev 1510) 2015-09-10 09:07:32 +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
af2014df91 tmp (wokkel): fixes RSM implementation to fit sat_pubsub answer when in "unrestricted" mode 2015-09-10 07:33:13 +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
9dad292328 tools (xml_tools): split dataFormResult2AdvancedList in dataFormResult2XMLUIData and XMLUIData2AdvancedList 2015-09-02 13:56:34 +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
Goffi
22808f8c63 core (xmlui): added helper method to easily manage dialogs with a deferred 2015-08-27 17:59:22 +02:00
Goffi
8deee28320 core (plugins): detect import_name conflicts 2015-08-27 17:59:15 +02:00
Goffi
e8c3e3500d core (utils): added a method to generate XEP-0082 style dates 2015-08-27 17:59:11 +02:00
souliane
56dc4840a6 tools (xml_tools): keeps data form result headers sorted 2015-08-26 12:24:38 +02:00
souliane
822798d965 tools (xml_tools): fixes JidElement.__init__ 2015-08-26 12:23:55 +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
souliane
95c7e2b809 core (params): fixes jid_list to use node's default value when no user value is defined 2015-08-22 10:28:07 +02:00
Goffi
456ff0ab6c core (params): fixed exception on empty jids list 2015-08-25 20:20:53 +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
f41aed19af core (disco): use of failure.Failure when raising FeatureNotFound to avoid a jump in debugger in debug mode 2015-08-25 16:52:18 +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
9895ceb32f core (disco): added checkFeatures to check several features at once + identities are now managed with a tuple in findFeaturesSet and checkFeatures 2015-08-25 16:05:01 +02:00
Goffi
2319ce59fb core (xmlui): reverted change from 039d96e131be: we should be able to recreate the same container with changeContainer 2015-08-25 15:39:16 +02:00
souliane
ab6b04b898 tools (xmlui): changeContainer do not create a new one when the current one already fits 2015-08-21 14:58:42 +02:00