summaryrefslogtreecommitdiff
path: root/plugins/upload.py
AgeCommit message (Collapse)Author
2022-04-06Make /upload work in Flatpakxdg-desktop-portalEmmanuel Gil Peyrot
When /upload isn’t given an argument, it will instead open a file chooser and block poezio until the user selected a file. This will make poezio timeout from all rooms until the user is done choosing a file, but I didn’t find a good way to integrate GLib’s main loop with asyncio for now, and this can be fixed in a latter commit.
2022-03-23plugins/upload: use correct tab attribute nameMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-23plugins/upload: send encrypted if e2ee enabled on tabMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2021-12-14/upload to original tab and not current tab (thanks jonas)"Maxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2021-12-11Replace asyncio.ensure_future() with asyncio.create_task()Emmanuel Gil Peyrot
The latter function got introduced in Python 3.7, which is conveniently our MSPV, so let’s use that.
2020-05-12plugins/upload: handle more exceptionsMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-04-12plugins/upload: Use embed directly instead of populating input fieldMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-12-16Work around /upload not working in direct tabs (similar to #3449)Georg Lukas
2018-10-13upload: add user friendly error when upload service not foundMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-08-15yapf -rip on pluginsmathieui
2018-07-28plugins: Switch exec and upload to async/await.Emmanuel Gil Peyrot
2018-03-11upload plugin: Don’t insert invalid URL after HTTP upload failed.Emmanuel Gil Peyrot
2018-03-09Add a check for slixmpp xep_0363 plugin.Emmanuel Gil Peyrot
2018-03-08Add HTTP File Upload support.Emmanuel Gil Peyrot