Commit graph

1,654 commits

Author SHA1 Message Date
Goffi
4cbcb931fe plugin command export: fixed severity for a debug message 2015-11-23 23:30:41 +01:00
souliane
04bb8beaae plugin misc_account: add method asyncConnectWithXMPPCredentials 2015-11-23 18:50:02 +01:00
souliane
3fa1ea0376 memory: fixes asyncCreateProfile to not overwrite the personal key 2015-11-23 18:51:15 +01:00
Goffi
cb27db7cdf core: fixed getStringParamA 2015-11-23 17:50:23 +01:00
Goffi
8e9ef84243 quick frontend (blog): fixed group blog panels (displaying only, sending is not working yet) 2015-11-23 16:21:32 +01:00
Goffi
9b3f0514a6 plugin XEP-0277: fixed entries in atom feed 2015-11-23 15:51:19 +01:00
Goffi
3c2446e078 plugin XEP-0277: fixed unsecure blog feed 2015-11-23 14:58:18 +01:00
Goffi
66739d9dfc core (param), plugin file: set security_limit for acount changes, backend (dis)connection, and put a higher one for file send 2015-11-23 13:19:42 +01:00
Goffi
f1864a7dfa plugin file: deferred XMLUI now use security limit 2015-11-22 21:25:09 +01:00
Goffi
6b7272c5b3 core (xmlui): fixed security_limit in deferXMLUI 2015-11-22 21:24:23 +01:00
Goffi
8002971b77 core: fixed session cleaning after actionNew timeout 2015-11-22 21:23:14 +01:00
Goffi
45d6db1063 jp (file): new file/upload command 2015-11-22 17:37:47 +01:00
Goffi
11d7dfa8fe jp (base): progressStarted signals are cached until progress_id is known, this avoid missing the progression if we have the signal before the id. 2015-11-22 17:37:19 +01:00
Goffi
698dcc2415 jp (base): fixed verbose option + there is a new line on ProgressErrorHandler only if the progress bar is actually displayed 2015-11-22 17:35:32 +01:00
Goffi
6ee923f9ef plugin XEP-0363, upload: File upload (through HTTP upload only for now):
- HTTP upload implementation
    - if the upload link is HTTPS, certificate is checked (can be disabled on demand)
    - file can be uploaded directly, or a put/get slot can be requested without actual upload.
        The later is mainly useful for distant frontends like Libervia
    - upload plugin manage different upload methods, in a similar way as file plugin
    - download url is sent in progressFinished metadata on successful upload
2015-11-22 17:33:30 +01:00
Goffi
d9be6f85c7 plugin file[SatFile]: auto_end_signals flag can be False if the progressFinished and progressError signals are managed by caller. 2015-11-22 17:27:27 +01:00
souliane
323006d216 quick_frontend (quick_blog): retrieve and set the tags from/to microblog data 2015-11-21 13:58:30 +01:00
Goffi
435a3fcb90 primivitus: fixed crash when self.target is a full jid 2015-11-20 11:46:26 +01:00
Goffi
4ffbce51c3 primitivus: fixed progress panel 2015-11-20 01:57:18 +01:00
Goffi
2494387bf5 plugin file: added "Action/send" file menu 2015-11-20 01:57:18 +01:00
Goffi
fc9b4fb02c primitivus: removed all file menu + temporary workaround to send full jid on C.MENU_SINGLE menu action. 2015-11-20 01:57:18 +01:00
Goffi
51a5b7c56f quick frontend: added progressIdHandler to managed progress id on action result + ignore meta_* action results 2015-11-20 01:57:16 +01:00
Goffi
1c86c2b9b4 primitivus: fixed showDialog 2015-11-19 22:31:06 +01:00
Goffi
6e9b6aeb58 plugin XEP-0260, XEP-0261: fallback from S5B to IBB is implemented 2015-11-19 18:15:35 +01:00
Goffi
a0a7ca9fd7 plugin XEP-0166: transport replacement:
- actions transport-replace, transport-accept and transport-reject are now handled
    - transportReplace can be used from an other plugin
    - new A_DESTROY action, used to clean a transport before its replacement
2015-11-19 18:15:35 +01:00
Goffi
b41188822d plugin XEP-0065: renamed _killSession to killSession as it make sense to kill a session from an other plugin 2015-11-19 18:15:35 +01:00
Goffi
9dcb6d266a plugin 0047: increased timeout to 120s 2015-11-19 18:15:27 +01:00
Goffi
7c340bb518 jp (base, file): use of new progress API. Progress callbacks are managed through CommandBase.onProgress* method instead of host attributes. 2015-11-19 18:13:26 +01:00
Goffi
55c75bc304 core, plugins file, XEP-0234, bridge: progression api enhancement:
- progressStarted have a new metadata parameter, useful to know the kind of progression, direction, etc. Check bridge doc
    - progressGetAllMetadata can be used to retrieve this data and discover on currently running progressions
    - progressFinished also have a new metadata parameter, used to e.g. indicate that hash is checked
    - core: fixed progressGetAll
    - file, XEP-0234: implemented the API modifications,  hash is returned on progressFinished
    - file: SatFile.checkSize allows to check size independently of close (be sure that all the data have been transfered though)
2015-11-19 18:13:26 +01:00
souliane
9b2055bd3f quick_frontend: add quick_list_manager.py and the QuickTagList class 2015-11-19 11:15:06 +01:00
Goffi
ad973c6a2c core: fixed launchAction:
- getClient now raise a NotFound error if client is not available
    - errors ConnectedProfileError, NotConnectedProfileError anf ProfileKeyUnknownError renamed for consistency (all profile error must prefixed by Profile)
    - launchAction fixed, the case where client is not available is handled
    - kept actions are actuall1y removed on launchAction
2015-11-18 11:06:24 +01:00
Goffi
09619e6723 jp: use the new actionsGet method 2015-11-17 21:29:03 +01:00
Goffi
a42452ff57 core, bridge: actionsGet:
- added a new mechanism to keep actions until they are answered (or timeout-ed)
    - keep_id must be explicitly used on actionNew
    - actionsGet is used to retrive these actions
    - the mechanism is used in deferXMLUI
2015-11-17 21:28:58 +01:00
Goffi
c0b1f1a86e jp (file): print a message and quit if progress_id is not received 2015-11-17 20:18:51 +01:00
Goffi
51aecd012a plugin XEP-0234: hash checksum proper handling 2015-11-17 20:13:27 +01:00
Goffi
ed8d3db308 plugin file: 'data_cb' key can be used in file_data to specified a callback used on each read/write 2015-11-17 19:51:52 +01:00
Goffi
8d9418b6ad plugin XEP-0300: implemented hashing:
- parseHashElt do what it says
    - calculateHashElt can calculate a whole hash in a non-blocking way
    - or getHasher can be used for progressive hashing
    - getBestPeerAlgo return the best available hashing algorithm of an entity
2015-11-17 19:48:19 +01:00
Goffi
c3301733fb plugin XEP-0166: added delayedContentTerminate to terminate a content inside a handler 2015-11-17 19:41:30 +01:00
Goffi
a66843a884 plugin XEP-0166: session-info action handling 2015-11-17 19:40:37 +01:00
Goffi
ee65aa7f3c jingle XEP-0166: fixed session creation on non session-initiate actions 2015-11-17 19:39:08 +01:00
Goffi
2f561bec34 plugin XEP-0166: sendError now manage jingle conditions 2015-11-17 19:37:09 +01:00
Goffi
706b814e3f quick_frontend(profile manager): fixed alert messages 2015-11-17 12:39:38 +01:00
Goffi
e847a9f001 primitivus: fixed showDialog and XMLUI message dialog 2015-11-17 12:28:45 +01:00
Goffi
5702b2a849 core (params): removed resource from default JabberID (example value), as it is best practive to have resource binded by server. Advanced used can force it if needed though. 2015-11-16 11:58:11 +01:00
Goffi
fd271b69ba primitivus (xmlui): fixed closing on popup panel "OK" button press 2015-11-16 09:25:05 +01:00
Goffi
909a54995e primitivus: fixed alert case + alert in profileManager 2015-11-16 08:57:36 +01:00
Goffi
5226e6ef6b frontends (xmlui): fixed widget closing on submit 2015-11-16 08:57:02 +01:00
Goffi
7f8dc5849f plugin file: progressFinished and progressError are now sent on SatFile.close. eof Deferred attribute is removed, as it is not used and bring unnecessary complication 2015-11-16 00:24:49 +01:00
Goffi
6d2df889a1 jp (base, file): file command and progress fixes and adaptation to new API:
- progress use new API, and signals to monitor progression and avoid use of progressGet before progress is actually started
    - progress behaviour on event is managed by callbacks which are Jp attributes
    - progress with unknown or 0 size don't show the progress bar
    - better handling of errors
    - CommandAnswering is update to manage actions instead of the deprecated askConfirmation
    - managed actions use callback easy to associate with an action type.
    - file command is updated to manage these changes and the recent changes in backend behaviour
    - verbosity is used to display more or less message when sending/receiving a file
    - destination path can be specified in file receive
    - file receive doesn't stop yet, still need some work in the backend
2015-11-15 23:42:21 +01:00
Goffi
4233150d7b jp (base): added a self.disp method which manage verbosity and stderr + verbosity property 2015-11-15 23:25:58 +01:00