Daniel Gultsch
87f99d3570
Transferables interface needs to differentiate between 0 and null file size
2021-05-17 15:51:21 +02:00
Daniel Gultsch
0f3181555a
FileParams indicate unavailable file size as null
...
since 0 is a valid file size we should use null to indicate absence
2021-05-16 15:32:57 +02:00
Daniel Gultsch
bc58fb0fbd
Always verify hostname/domain
...
There might be corner cases where it is required to use self signed
certificates. However there should be no corner cases where it is
required to use a wrong domain name. This commit swaps out the
MemorizingHostnameVerifier that let users accept wrong domains with the
standard XmppDomainVerifier.
closes #4066
2021-04-30 09:55:22 +02:00
Daniel Gultsch
9a7fc3d9b8
disable omemo by default for *.covid.monal.im domains
2021-03-23 11:52:34 +01:00
Daniel Gultsch
aad34783ad
remove logging from needsUploading()
2021-03-22 19:05:46 +01:00
Daniel Gultsch
739d20428a
optimize imports
2021-03-21 21:39:04 +01:00
Daniel Gultsch
aaac8296b3
only overwrite body in text messages
2021-03-19 19:51:13 +01:00
Daniel Gultsch
e217551a82
migrate to OkHttp instead of HttpUrlConnection
...
OkHttp gives us more fine grained control over the HTTP library and frees us from any platform bugs
2021-03-19 14:57:20 +01:00
Daniel Gultsch
3c60de54cb
minor code clean up
2021-03-16 08:16:07 +01:00
Daniel Gultsch
149224a073
do not deduplicate disco queries
...
Conversations used to deduplicate disco queries based on their hash.
However that relies on the first query to go through (device to actually
respond) and to respond properly (hash matches).
Creating a proper retry behaviour for this is actually quite challanging.
(which one would you try next, how long do you wait?)
2021-02-17 18:14:18 +01:00
Daniel Gultsch
53a038d90e
fix rtp offline discovery
2021-01-30 01:47:03 +01:00
Daniel Gultsch
8ce7bfb95e
automated code clean up
2021-01-23 09:25:34 +01:00
Daniel Gultsch
e711b3d294
remember last rtp capability
2021-01-22 08:24:19 +01:00
Daniel Gultsch
9db0808306
show self contact with display name
2021-01-20 08:15:06 +01:00
Daniel Gultsch
260b203ea3
Revert "just xmpp things"
...
This reverts commit d0a2f1f45f
.
2021-01-19 08:55:22 +01:00
Ferdinand Pöll
453ca7c0ed
Migrate from Android Support Library to AndroidX
...
Unignored gradle.properties since androidX requires additions there
See also https://developer.android.com/jetpack/androidx/migrate
2021-01-18 20:49:35 +01:00
Daniel Gultsch
5b48b4027e
code clean up
2021-01-15 10:45:03 +01:00
Daniel Gultsch
d0a2f1f45f
just xmpp things
2021-01-06 11:46:09 +01:00
Daniel Gultsch
f584179f2f
store avatars in cache folder
2020-12-10 19:05:04 +01:00
Daniel Gultsch
1fafe4287d
don’t send origin-ids to rooms that support stable-ids. fixes #3905
2020-11-14 11:59:35 +01:00
Daniel Gultsch
16c4e3eec7
keep conversation bold (unread) after responding to a call. fixes #3926
2020-11-14 09:55:43 +01:00
Daniel Gultsch
afb2fb1326
use CoW data structure for read markers. fixes #3904
2020-11-13 20:37:32 +01:00
Daniel Gultsch
73dac680e5
show notification if message failed to deliver. closes #3540
2020-09-01 14:04:38 +02:00
Daniel Gultsch
c48499253b
set content description for all avatars
2020-08-31 13:05:10 +02:00
Daniel Gultsch
3dcb36a417
persist presence name (pep, nick in subscribe) to DB. fixes #3856
2020-08-31 09:03:54 +02:00
Daniel Gultsch
9bec186292
ignore RTP session logs when looking for LMC. fixes #3843
2020-07-26 13:46:01 +02:00
Daniel Gultsch
7aeb2b2740
pulled translations from transifex. re-enabled some linter warnings
2020-07-12 10:15:51 +02:00
Daniel Gultsch
590deef8e9
use ctrl+arrow up to correct last message. fixes #3806
2020-07-12 09:45:27 +02:00
Daniel Gultsch
13d8eb1c7e
dismiss notification only if displayed id matches last remote id
2020-06-24 12:12:35 +02:00
Daniel Gultsch
20286ea8d2
fixed concurrent modification when displaying read markers
2020-06-14 19:09:55 +02:00
Daniel Gultsch
400c8461fc
fix feature discovery in jingle file transfer for empty resources
2020-06-13 22:53:24 +02:00
Daniel Gultsch
0dba9f560c
rework quicksy domain checks
2020-06-13 08:26:32 +02:00
Daniel Gultsch
56ea9647cd
null check quicksy domain
2020-06-13 08:10:04 +02:00
Daniel Gultsch
637c208f55
ask for resource and use jingle direct init when JMI is not available. fixes #3751
2020-05-30 14:56:12 +02:00
Daniel Gultsch
8edfc61346
fixed concurrent modification when iterating over presences
2020-05-30 10:57:22 +02:00
Daniel Gultsch
7ca543e42f
replace /me when quoting messages. fixes #3669
2020-05-24 10:52:34 +02:00
Daniel Gultsch
574bccfc59
avoid unnecessary call to Jid.ofDomain()
2020-05-21 07:57:57 +02:00
Daniel Gultsch
df3273a6fc
fix jid.withResource() for domain jids
2020-05-18 09:14:57 +02:00
Daniel Gultsch
a0920b83e2
use Account.getDomain() for direct access to domain jid
2020-05-17 10:24:46 +02:00
Daniel Gultsch
4dd3b0c2aa
allow to pin conversations on top. fixes #3480
2020-05-16 12:10:26 +02:00
Daniel Gultsch
198a7db954
use escaped jid in more places
2020-05-15 18:44:55 +02:00
Daniel Gultsch
b6703dbe38
switch xmpp-addr to jxmpp-jid
2020-05-15 17:06:16 +02:00
Daniel Gultsch
3c3f5d8e6f
mark missed calls as unread (bold) in overview. fixes #3687
2020-05-03 18:07:00 +02:00
Daniel Gultsch
48163a5604
show proposal as ongoing call
2020-05-02 09:50:17 +02:00
Daniel Gultsch
86b2631449
revert commit that attempted to do bare jid matching for LMC
...
That commit never worked because there were other checks in place later down the stream.
Allowing other clients (resources) to correct messages introduces the potential for nasty race conditions.
Furthermore we also have a check in place that would check that the OMEMO fingerprint is the same for security reasons. Removing that check is currently undesirable. Therefor correcting a message from another client would only work for plain text messages (and maybe PGP); this only adds confusion for users for very little benefit.
2020-05-01 07:45:00 +02:00
Daniel Gultsch
8183c54ba0
use stanza-id for display markers in group chats
2020-04-28 08:25:21 +02:00
Daniel Gultsch
418cecad11
remove XEP-0357 support for group chats
2020-04-28 06:50:04 +02:00
Daniel Gultsch
5b98107e9a
put jingle messages in MAM and parse call log during catchup
2020-04-20 15:57:30 +02:00
Daniel Gultsch
3439f40411
show call log messages in conversation stream
2020-04-20 15:57:30 +02:00
Daniel Gultsch
c5da699afe
dont crash when fields names in caps are null
2020-04-20 15:53:52 +02:00