Commit graph

5275 commits

Author SHA1 Message Date
Christian Schneppe
793a50fb37 provide upgrade path for accounts with publish-options 2017-08-01 13:24:24 +02:00
Christian Schneppe
d7bc205420 use publish-options instead of always pushing node configuration 2017-08-01 13:19:11 +02:00
Christian Schneppe
7e0d6f8460 let hasPendingFetches() return true when fetching device ids 2017-08-01 13:02:01 +02:00
Christian Schneppe
f9429d5fcd fetch required device ids on demand 2017-08-01 13:00:17 +02:00
Christian Schneppe
9b7bcebdec explicitly fetch device ids before building sessions in single mode conversation 2017-08-01 12:53:14 +02:00
Christian Schneppe
6192b511f2 change access model of omemo pep nodes after every publish 2017-08-01 12:50:56 +02:00
Christian Schneppe
e8c191dcd2 fetch device ids for muc members w/o known devices 2017-08-01 12:40:05 +02:00
Christian Schneppe
8b6981c6eb fixed otr jingle file size reporting 2017-08-01 12:28:59 +02:00
Christian Schneppe
0f34c0ab3e use CN-workaround for pre-kitkat 2017-08-01 12:27:41 +02:00
Christian Schneppe
123ab59769 fix regression introduces with OF fix. properly fall back to common name 2017-08-01 12:26:36 +02:00
Christian Schneppe
55a9d56eda check length first in timestamp parser 2017-08-01 12:25:07 +02:00
Christian Schneppe
9326c95bb6 catch IllegalArgumentException caused by invalid custom hostname 2017-08-01 12:24:22 +02:00
Christian Schneppe
506ba0df10 workaround for OpenFire: check CN first in self signed certs
The self signed certificates created by OpenFire (Not sure if other
certs are affected as well) will crash the Java/Android TLS stack when
accessing getSubjectAlternativeNames() on the the peer certificate.

This usually goes unnoticed in other applications since the
DefaultHostnameVerifier checkes the CN first. That however is a
violation of RFC6125 section 6.4.4 which requires us to check for the
existence of SAN first.

This commit adds a work around where in self signed certificates we
check for the CN first as well. (Avoiding the call to
getSubjectAlternativeNames())
2017-08-01 12:20:15 +02:00
Christian Schneppe
30b35c5d76 more migration fixes for updating from 1.6.0 to 1.19.0 2017-08-01 12:17:31 +02:00
Christian Schneppe
37c496d4bc add reminder to remove minidns workarounds once those are fixed 2017-08-01 12:16:41 +02:00
Christian Schneppe
15a7cd4bbe fixed bug in db migrations when going from <15 to something recent 2017-08-01 12:15:45 +02:00
Christian Schneppe
b1f9ccac41 verify with hostname in direct tls connections 2017-08-01 12:13:58 +02:00
Christian Schneppe
b08e5e7a00 prefer DNS servers from VPNs 2017-08-01 12:13:24 +02:00
Christian Schneppe
a3d536b8d6 update strings 2017-08-01 12:12:06 +02:00
Christian Schneppe
efc86927d6 throw state changing exception on failed tls only if no more connection options left 2017-08-01 12:08:57 +02:00
Christian Schneppe
ba4c7923d3 catch runtime exceptions from minidns 2017-08-01 12:07:51 +02:00
Christian Schneppe
ea1a9d898e sync around Conversation.getLatestMessage() 2017-08-01 12:06:46 +02:00
Christian Schneppe
68f8d0ac85 catch all exceptions around minidns :( 2017-08-01 12:04:17 +02:00
Christian Schneppe
c32590697c made DNSEC hostname validation opt-in 2017-08-01 11:53:00 +02:00
Christian Schneppe
8cf22e633d work around idn short comings in minidns 2017-08-01 11:46:11 +02:00
Christian Schneppe
6bb9c9ce3b resolve non-srv domains in resolver class as well 2017-08-01 11:44:23 +02:00
Christian Schneppe
541b7c3f7f prefer ipv4 over ipv6 2017-08-01 11:38:23 +02:00
Christian Schneppe
f28057dd4a fixed fallback to normal DNS query after DNSSEC failed 2017-08-01 11:37:32 +02:00
Christian Schneppe
23752c581f update datebubbles 2017-08-01 11:34:59 +02:00
Christian Schneppe
dbb0cf8ead allow users to send PMs in mucs w/o voice 2017-08-01 10:53:45 +02:00
Christian Schneppe
18dfd6556f set focusable=false instead of enabled=false for rooms w/o voice 2017-08-01 10:52:07 +02:00
Christian Schneppe
b7633e713f catch state changing error when sending timeout to iq callbacks 2017-08-01 10:50:57 +02:00
Christian Schneppe
9946cd074f do not keep files in waiting when file size exceeds http upload limit in groups 2017-08-01 10:49:44 +02:00
Christian Schneppe
e879c6e1c2 refactored retrieval of default preferences 2017-08-01 10:44:14 +02:00
Christian Schneppe
ef6b0b0a02 changed strings 2017-08-01 10:24:32 +02:00
Christian Schneppe
ffd08658e1 put settings defaults into resource file 2017-08-01 10:22:24 +02:00
Christian Schneppe
7b6d679ea2 deduplicate disco items before disco#info 2017-08-01 08:53:04 +02:00
Christian Schneppe
06baecdae2 make scan barcode icon survive rotations 2017-08-01 08:50:30 +02:00
Christian Schneppe
b7b76492f1 show scan button in TrustKeys only if there is something to scan 2017-08-01 08:48:46 +02:00
Christian Schneppe
9a87684689 add publish-options helper class 2017-08-01 08:46:15 +02:00
Christian Schneppe
3831b987f7 use DND instead of XA when phone is silent 2017-08-01 08:41:51 +02:00
Christian Schneppe
6c2479b29c revised resolver strategy 2017-06-27 21:11:40 +02:00
Christian Schneppe
6b38dc4dbc refactored resolver to fall back to DNS and use reliable method 2017-06-26 20:11:35 +02:00
Christian Schneppe
2228f2d076 use ResolverApi.reliable(..) 2017-06-26 20:05:03 +02:00
Christian Schneppe
76e85b1724 deduplicate notifications 2017-06-25 19:32:06 +02:00
Christian Schneppe
e3adf6b264 new resolver fall back to normal dns if dnssec verfication fails 2017-06-25 19:21:19 +02:00
Christian Schneppe
38880f2a15 fixed fingerprint trust (was messed up after library upgrade) 2017-06-25 19:18:07 +02:00
Christian Schneppe
eb7e41ceba fixed patterns source code url 2017-06-25 19:13:11 +02:00
Christian Schneppe
e3c550f731 changed some strings 2017-06-25 19:12:22 +02:00
Christian Schneppe
6f63235934 Added preference to control Heads-up Notifications 2017-06-25 19:12:06 +02:00