Commit Graph

52 Commits

Author SHA1 Message Date
Philipp Hörist b175d47e5b [httpupload] Update manifest.ini 2017-11-06 23:55:44 +01:00
Philipp Hörist 8da65017e8 [httpupload] Add oob_url to additional data
- This is needed so url_image_preview works
2017-11-06 23:55:05 +01:00
Philipp Hörist 26519101ad [httpupload] Update manifest.ini 2017-10-21 15:51:45 +02:00
Philipp Hörist f90b27b2b7 [httpupload] Prepare for new ChatControl design 2017-10-21 15:51:08 +02:00
Philipp Hörist 18a5477f79 [httpupload] Update manifest.ini 2017-10-03 00:35:32 +02:00
Philipp Hörist 588e101fad [httpupload] Adapt to UI changes in Gajim 2017-10-03 00:34:57 +02:00
Philipp Hörist 4ea2f8e24c [httpupload] Update manifest.ini 2017-09-29 03:06:48 +02:00
Philipp Hörist 115afe9b87 [httpupload] Add ConfigDialog
- Add a option that allows to disable HTTPS verification
2017-09-29 02:51:36 +02:00
Philipp Hörist 1ea5bf8f01 [httpupload] Dont catch all disco results 2017-09-29 00:26:02 +02:00
Philipp Hörist bdf13ef7e8 [httpupload] Update manifest.ini 2017-09-01 19:25:04 +02:00
Marc Schink 21f941266f [httpupload] Do not request upload slots for too large files 2017-09-01 19:04:26 +02:00
Marc Schink 9baa857a68 [httpupload] Use 'max-file-size' value for error message
If a file is too large, use the 'max-file-size' value to generate an
error message rather than using the error message provided by the XMPP
server. This enables easy i18n of the error message and a
human-readable file size.
2017-09-01 19:04:23 +02:00
Philipp Hörist 9ce1c5b961 Use absolute imports on all plugins
This is necessary because Gajim is with 0.16.11 a python package
2017-08-18 21:35:29 +02:00
Philipp Hörist 507bf9a933 [httpupload] Update manifest.ini 2017-08-17 21:53:19 +02:00
Philipp Hörist 01a8fbf99e [httpupload] Send content-length in header 2017-08-17 21:52:38 +02:00
Philipp Hörist c4f2c658d7 [httpupload] Update manifest.ini 2017-06-09 23:35:32 +02:00
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 315318a738 [httpupload] Update manifest.ini 2017-05-07 20:05:59 +02:00
Philipp Hörist 8a7bd7fa04 [httpupload] Remove unused code 2017-05-07 20:05:27 +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 24400fea56 [httpupload] Update manifest.ini 2017-03-01 14:32:16 +01:00
Philipp Hörist c373a2961e [httpupload] Import certifi only on windows 2017-03-01 14:31:47 +01:00
Philipp Hörist 6b1ad59ef9 [httpupload] Update manifest.ini 2017-02-27 23:04:24 +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