Commit Graph

32 Commits

Author SHA1 Message Date
Philipp Hörist
6d50313fa4 [httpupload] Dont allow insecure transport 2017-06-09 23:35:32 +02:00
Philipp Hörist
0393f8d2d1 [httpupload] Satisfy pylint 2017-06-09 23:35:32 +02:00
Philipp Hörist
c406ebb55c [httpupload] Move method to the top 2017-06-09 23:35:32 +02:00
Philipp Hörist
378964fe20 [httpupload] Remove encryption logic from plugin
Call the `encrypt_file` method of the encryption plugin instead
2017-06-09 23:35:24 +02:00
Philipp Hörist
a10ffe4bb6 [httpupload] Use new encryption API 2017-05-07 20:02:37 +02:00
Philipp Hörist
bd4cdf8fae [httpupload] Make sure httpupload is last
Else it could happen that we add the oob tag to a message
that gets later encrypted
2017-04-06 17:35:56 +02:00
Philipp Hörist
8f0c6a6b77 [httpupload] Add url oob tag also in groupchat 2017-04-06 17:33:48 +02:00
Philipp Hörist
c5e927ebc1 [httpupload] Add oob tag with url data
This will only be added on not encrypted Messages
2017-04-05 19:34:46 +02:00
Philipp Hörist
1bfad56821 [httpupload] Fail on missing python-cryptography
Show an error message when OMEMO is activated,
but python-cryptography is missing
2017-04-05 19:34:32 +02:00
Philipp Hörist
65e2f437a5 [httpupload] Catch URLError error message 2017-03-20 17:36:53 +01:00
Philipp Hörist
623a3767dc [httpupload] Dont set conn object in init 2017-03-01 18:03:01 +01:00
Philipp Hörist
c373a2961e [httpupload] Import certifi only on windows 2017-03-01 14:31:47 +01:00
Philipp Hörist
fe8d23e4e0 [httpupload] Fix and simplify encryption 2017-02-27 23:04:24 +01:00
Philipp Hörist
ff135beec1 [httpupload] Clean up and satisfy pylint 2017-02-27 23:04:23 +01:00
Philipp Hörist
5b42455918 [httpupload] Better exception handling 2017-02-27 23:04:23 +01:00
Philipp Hörist
361ff561aa [httpupload] Refactor ProgressWindow 2017-02-27 23:04:22 +01:00
Philipp Hörist
54eeb183e6 [httpupload] Refactor upload methods 2017-02-27 23:04:22 +01:00
Philipp Hörist
d7fa0de8aa [httpupload] Add request_received() methode 2017-02-27 19:57:14 +01:00
Philipp Hörist
0faed4c358 [httpupload] Add File object 2017-02-27 19:57:08 +01:00
Philipp Hörist
2cc6f200db [httpupload] Add request_slot() methode 2017-02-27 18:38:46 +01:00
Philipp Hörist
07edf439f4 [httpupload] Refactor encryption_activated() 2017-02-27 18:22:05 +01:00
Philipp Hörist
d6ed9c4fd3 [httpupload] Refactor FileChooserDialog 2017-02-27 18:19:58 +01:00
Philipp Hörist
b0831d3546 [httpupload] Refactor HttpUploadPlugin Class
- There is no need for discovery code, Gajim does this already
- Generate only one Base instance per account
- Use less global vars and simplify code
2017-02-27 18:19:58 +01:00
Philipp Hörist
6423e6c95a [httpupload] Remove Image Button 2017-02-27 18:19:57 +01:00
Philipp Hörist
6065fa67d0 Add encrypted file upload for windows 2016-09-08 00:55:30 +02:00
tmolitor
92a05deb37 added missing png files back (must have been lost in the py2 to py3 conversion process) 2016-09-04 23:55:49 +02:00
Philipp Hörist
561295805d Add license and change authors 2016-09-02 22:40:47 +02:00
Linus Heckemann
9457a18016 httpupload: Fix GTK warnings
Episode 2: no core changes required
2016-08-22 15:27:42 +02:00
Linus Heckemann
7f5c144892 httpupload: Improve error handling
- An error during the upload now no longer hangs everything (GUI changes placed
   in main thread)
 - Some formatting changes
 - Update version in manifest (I think a new minor version is in order for GTK3
   support!)
 - Add self to authors in manifest (shameless plugs, whoop whoop)
 - Remove claim of supporting older versions of gajim
2016-08-20 00:30:17 +02:00
Linus Heckemann
db68897e78 httpupload: thumbnailing improvements
- Move thumbnailing code into separate module
 - Port GdkPixbuf thumbnailer to gtk3
 - Make GdkPixbuf thumbnailer more efficient
 - Better exception logging
 - Some code reformatting
2016-08-20 00:09:14 +02:00
Linus Heckemann
17dfa9de94 Fix httpupload for GTK3
Not perfect yet, some layout issues remain, but it works.
2016-08-18 20:00:57 +02:00
Linus Heckemann
4ce02573cf Add back HTTP upload 2016-08-18 19:52:31 +02:00