Daniel Gultsch
4f12cf06ed
revert back to 16 byte IVs for omemo since ChatSecure doesn’t support 12 byte
2018-10-17 20:46:57 +02:00
Daniel Gultsch
de0741bdf7
show cancelled instead of delivery failed if user requested to abort transfer
2018-10-07 14:59:08 +02:00
Daniel Gultsch
f608fb349a
refactored file encryption to give access to inner stream
...
Conscrypt on some plattforms doesn’t like when we close the CipherInputStream. Therefor we refactor the api to give us access to the inner stream so we can close that independently.
2018-10-03 18:14:45 +02:00
Daniel Gultsch
4c08ba8d03
use 12 byte IV for omemo and http upload
2018-10-03 17:44:48 +02:00
Daniel Gultsch
9ca636589c
remove more legacy otr decryption code
2018-10-03 12:50:54 +02:00
Daniel Gultsch
ae35593f65
catch all exceptions when checking file size
2018-07-16 20:42:40 +02:00
Daniel Gultsch
b9bdb3df55
use Tor on http upload is account uses onion domain. fixes #3075
2018-06-16 18:31:55 +02:00
Daniel Gultsch
4626bdf8d8
show p1s3 attchments with download button
2018-05-25 13:18:25 +02:00
Daniel Gultsch
70d95c7903
upload files using p1s3 - sending part
2018-05-25 12:24:23 +02:00
Daniel Gultsch
d5a187bafb
use Tor to download map tiles if configured to do so
2018-05-11 12:42:39 +02:00
Daniel Gultsch
4a706aad03
catch dead object exceptions when acquiring wake locks
2018-04-15 18:31:58 +02:00
Daniel Gultsch
25a49a28ce
disable caches in HttpUrlConnections
2018-03-13 11:59:32 +01:00
Daniel Gultsch
1accf9d961
migrate to xmpp-addr
2018-03-07 22:30:36 +01:00
Daniel Gultsch
a3f3cfa0bb
only allow a number of white listed headers according to http upload v0.5
2018-02-16 11:14:16 +01:00
Daniel Gultsch
64928d0ff1
http upload: do not crash on invalid slot responses
2018-02-11 17:54:59 +01:00
Daniel Gultsch
e48788e821
support new http upload namespace
2018-01-28 14:17:42 +01:00
moparisthebest
197352b669
Read support for 12-byte IVs in addition to 16-byte IVs
2017-08-09 23:42:35 -04:00
Daniel Gultsch
b925f436fd
add more logging to http download connection and reset file params after setting expected size
2017-08-04 11:58:12 +02:00
Daniel Gultsch
f67baab983
revised strategy for http upload read timeout
2017-06-18 16:32:01 +02:00
Daniel Gultsch
a1fe8f1c87
make http upload read timeout depend on file size
2017-06-14 16:27:38 +02:00
Daniel Gultsch
3889c0eb01
use application/pgp-encrypted mime type when necessary for http upload
2017-06-01 07:35:18 +02:00
cijo-saju
3467a67e75
Removed unused imports from entire project.
2017-04-12 20:24:36 +05:30
Daniel Gultsch
26badb7f4c
send urls pointing to pgp encrypted files directly in body+oob
2017-04-05 21:01:29 +02:00
Daniel Gultsch
401329caaa
use aesgcm:// uri scheme for omemo encrypted http upload
2017-04-05 18:46:56 +02:00
Daniel Gultsch
c740386297
rename the Xmlns class to Namespace
2017-03-01 13:01:46 +01:00
Daniel Gultsch
b050ff2576
only call UI thread from downloading thread every 250ms
2017-01-12 16:02:09 +01:00
Daniel Gultsch
8557120ef8
add error message to failed messages. accessible via context menu
2016-10-26 12:26:04 +02:00
Daniel Gultsch
61f58b3dbd
add timeouts to HTTPUrlConnections and allow cancelation of all sending files
2016-09-20 20:02:25 +02:00
Daniel Gultsch
e0575642b5
log all fail reasons
2016-06-15 12:33:59 +02:00
Daniel Gultsch
1838023c88
log failure reason in http upload on wrong response code
2016-05-31 17:19:56 +02:00
Daniel Gultsch
a9b66e3ea5
allow to delete attachments. fixes #1539
2016-03-23 19:23:22 +01:00
Daniel Gultsch
281cb65046
only add image files to media scanner
2016-03-23 12:20:09 +01:00
Daniel Gultsch
f0b1761ec3
initial tor support
2015-12-01 12:00:50 +01:00
Daniel Gultsch
5a5e0e7121
use Conversations 1.x.y as user agent string in http upload and download
2015-09-23 18:05:51 +02:00
Daniel Gultsch
b5719fd747
work around a NPE caused by arace condition in the http upload
2015-09-15 22:49:43 +02:00
Daniel Gultsch
dad90762b4
do not touch pictures that are already in the right format
...
fixed #522
2015-08-11 16:50:00 +02:00
Daniel Gultsch
fd81491b05
put wake locks on out of band file transfers
2015-08-10 19:48:36 +02:00
Daniel Gultsch
5529337da3
use content-type in http slot request and stick with during upload
2015-08-01 22:37:17 +02:00
Daniel Gultsch
f9dec7cf86
fixed calculated file size in http slot request
2015-08-01 22:23:58 +02:00
Daniel Gultsch
60cd307f73
enable axolotl encryption for jingle supported file transfers
2015-08-01 01:19:16 +02:00
Daniel Gultsch
58d80f58be
use gcm for file encryption over http
2015-07-29 23:45:37 +02:00
Daniel Gultsch
8924c448d1
changed logging. (work around logcat null pointer
2015-07-28 22:26:29 +02:00
Daniel Gultsch
e79f82ca72
attempt to fix the delay problem
2015-07-20 18:11:33 +02:00
Andreas Straub
012f036840
Optimize imports
2015-07-20 14:26:29 +02:00
Andreas Straub
ec0aff4ed7
Encrypt files for HTTP upload in encrypted chats
2015-07-19 22:24:05 +02:00
Daniel Gultsch
0166ced46c
bugfix: accept status code 201 on http upload
2015-07-19 13:36:02 +02:00
Daniel Gultsch
ce79f4bbe3
renamed downloadable to transferable
2015-07-10 15:11:03 +02:00
Daniel Gultsch
925801c14e
get file upload ready to work with https
2015-07-10 14:14:45 +02:00
Daniel Gultsch
aca9d8036c
made httpconnection (download) ready all kind of files
2015-06-30 17:15:02 +02:00
Daniel Gultsch
0030bbf472
untested pgp support for http upload
2015-06-29 15:38:16 +02:00