Daniel Gultsch
51a2645349
synchronize packetCallbacks
2015-08-16 12:12:22 +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
d30515a85a
report wrong file size in otr encrypted jingle file transfers to be compatible with conversations > 1.6
2015-08-10 12:55:37 +02:00
Daniel Gultsch
b7f00ddac3
fixed image preview in notfications for images that arrived over jingle
2015-08-08 17:19:40 +02:00
Daniel Gultsch
efdf3b6c1c
removed dead code
2015-08-08 13:13:23 +02:00
Daniel Gultsch
cac577fa4e
don't request ack for iq stanzas before stream managment is initialized
...
fixes #1322
2015-08-08 10:26:36 +02:00
Daniel Gultsch
53ce5d223e
request server-ACKs for iq stanzas
2015-08-06 20:48:55 +02:00
Daniel Gultsch
6694af8fca
fail old/invalid iq stanzas on bind
2015-08-06 14:54:37 +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
9c94c9ad8f
rewrote dns fallback
2015-07-24 19:06:47 +02:00
Daniel Gultsch
c32162c280
switch/case can't deal with null pointers
2015-07-23 14:02:25 +02:00
Andreas Straub
92b5081b5e
Add INACTIVE state for removed keys
...
We introduce a new trust state: INACTIVE. This state is intended for
old keys that have been removed.
When a TRUSTED device is removed from the PEP devicelist, it's status
will be set to INACTIVE. INACTIVE keys are shown in the UI as greyed
out, non-interactible key rows. Messages are not encrypted for INACTIVE
devices.
When an INACTIVE device reappears in PEP, or a message is received from
an INACTIVE device, it is set back to trusted.
2015-07-21 14:24:59 +02:00
Daniel Gultsch
504ef0b72e
rely on refreshUi/refreshUiReal and make sure it is being used everywhere
2015-07-20 15:48:58 +02:00
Andreas Straub
012f036840
Optimize imports
2015-07-20 14:26:29 +02:00
Andreas Straub
14010bf5a6
Ask for key trust when sending messages
...
If the contact (or the own account) has keys that have UNDECIDED trust,
we now drop the user into the new TrustKeysActivity, where they have to
decide for each new key whether it should be TRUSTED or UNTRUSTED.
2015-07-19 22:27:26 +02:00
Andreas Straub
77619b55e4
Added PEP and message protocol layers
...
Can now fetch/retrieve from PEP, as well as encode/decode messages
2015-07-19 21:32:26 +02:00
Daniel Gultsch
9b70c7e68c
bugfix: don't crash if aes key could not be set before jingle transfer
2015-07-19 14:51:04 +02:00
Daniel Gultsch
1f43115544
increased ibb block size
2015-07-17 13:06:51 +02:00
Daniel Gultsch
ce79f4bbe3
renamed downloadable to transferable
2015-07-10 15:11:03 +02:00
Daniel Gultsch
7eac30d1f4
catch number format exception in server ack
2015-07-10 12:09:59 +02:00
Daniel Gultsch
9eb9a52205
initial http upload support
...
be careful: little error handling and no encryption
2015-06-29 15:21:41 +02:00
Daniel Gultsch
5a48afdd4d
don't perform dns lookups on domain parts that obviously look like ip addresses
2015-06-19 16:25:08 +02:00
Daniel Gultsch
3eab3291de
properly calculate remaining size. should fix #1243
2015-06-03 03:05:20 +02:00
Daniel Gultsch
a577ec7c31
let dns library take care of no-srv style hosts as well
2015-05-28 17:31:46 +02:00
Daniel Gultsch
f579602456
Merge branch 'master' into development
2015-05-25 11:15:14 +02:00
Daniel Gultsch
36034815ee
use same sm check inside xmppconnection and out
2015-05-25 04:54:11 +02:00
Daniel Gultsch
d261feda74
rewrote parser code. mam id and possible other stuff still missing. also massivly untested
2015-05-20 03:48:14 +02:00
Daniel Gultsch
e32f380dae
provide helper function for getting the content of a child directly
2015-05-20 03:48:14 +02:00
Daniel Gultsch
a0575c81ab
use same socket time out for jingle and xmpp connections
2015-05-18 08:48:08 +02:00
Daniel Gultsch
1446a59fa5
use a 20s timeout on socks5 connections
2015-05-18 08:46:04 +02:00
Daniel Gultsch
fbc43a8d38
don't offer initiator his own candidates
2015-05-18 08:45:50 +02:00
Daniel Gultsch
d672d578c9
fixed crash on failed account registry
2015-05-17 12:32:04 +02:00
Daniel Gultsch
4151b72a6e
let jingle connection and manager handle message status
2015-05-16 04:12:53 +02:00
Andreas Straub
b69ee7125d
Force Nameprepping of JID domain parts
...
The IDN.toAscii()/IDN.toUnicode() family only namepreps the original
domain passed to it if it contained non-ASCII characters. This means
that for all-ASCII domains, no canonicalization is performed, which
leads to issues like case-sensitivity. This workaround explicitly
namepreps domain parts before calling IDN.toAscii() on them, in order to
get a canonicalized representation (most notably, case invariance). A
basic DB migration is also included.
2015-05-14 15:52:55 +02:00
Daniel Gultsch
8d472157a4
always log reason for failed file transfer
2015-05-14 11:57:51 +02:00
Daniel Gultsch
c4a4dd2392
throw proper exception before changing account into error state
2015-05-08 06:30:06 +02:00
Daniel Gultsch
e0653c0371
fixed encrypted ibb file transfer which was broken with ART. fixes #1172
2015-05-07 14:19:51 +02:00
Daniel Gultsch
d74e8a8a0e
fixed npe when missing instructions on failed register
2015-05-06 04:33:21 +02:00
Daniel Gultsch
db726a59b8
fwiw don't allow stanza count to go over MAX_INT
2015-05-06 04:29:45 +02:00
Daniel Gultsch
5136bf9832
r/o support for vcard avatars. pep avatars will be prefered
2015-05-05 06:17:34 +02:00
Daniel Gultsch
c4bfffe6a9
mark account with incompatible server when no sasl mechansim could be found
2015-05-02 12:10:56 +02:00
Daniel Gultsch
bcdfdb9ccf
added config option to be a bit more verbose about stanza counts
2015-04-29 16:15:07 +02:00
Daniel Gultsch
e11d658f5e
use xmppserviceconnection to send iq packets in jingle connection
2015-04-26 20:27:30 +02:00
Daniel Gultsch
5ea1c547d5
fixed service discovery by properly storing and checking identities
2015-04-25 18:24:10 +02:00
Daniel Gultsch
d07baccf97
cleaned up file handling
2015-04-25 14:08:24 +02:00
iNPUTmice
c4daa08170
fixed a bug in DNS helper code. fixes #1130
2015-04-16 21:56:03 +02:00
iNPUTmice
65e760aefd
some bug fixes concerning 0byte files. fixes #1126
2015-04-15 15:36:16 +02:00
iNPUTmice
332fe0fd19
don't resume old session when changing resource
2015-04-09 12:46:54 +02:00