Commit graph libervia-backend/src/plugins/plugin_misc_file.py
Author SHA1 Message Date
Goffi
348be27934 copyright update 2016-01-03 16:28:30 +01:00
Goffi
78a86f7440 plugin file: fixed bad method call 2015-11-25 12:13:03 +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
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
Goffi
2494387bf5 plugin file: added "Action/send" file menu 2015-11-20 01:57:18 +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
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
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
b419399ba2 plugin file: 'size' key is not added anymore in progress'data if size is 0 or not specified in SatFile 2015-11-15 23:11:38 +01:00
Goffi
de85e24577 core (xmlui), plugin file: added action_extra param to deferXMLUI/deferDialog which is merged to the action data dict when actionNew is called 2015-11-15 23:11:27 +01:00
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
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
5e356f28f0 plugins XEP-0234, file: use of SatFile for writing too 2015-11-08 14:44:33 +01:00
Goffi
c557eba2e2 fixed bad inheritance of SatFile 2015-11-02 22:02:41 +01: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