Commit graph

4762 commits

Author SHA1 Message Date
Daniel Gultsch 7ee3e07946
Introduce XmppConnection v3
The various layers of the app are too intertwined to refactor them in place.

The C3 refactor is going to create a parallel architecture for all classes that
have too strong of a connection to other parts of the app.

This commit introduces XmppConnection v3 that keeps a lot of the logic of the
privous XmppConnection but cuts ties to XmppConnectionService and the very
stateful `entites.Account`. The latter is replaced by a lightweight immutable
account model.

The reconnection logic has been kept but was moved from XmppConnectionService
to a singleton ConnectionPool.
2023-03-01 22:05:35 +01:00
Daniel Gultsch 94dde9f433
initial set of Room entities 2023-03-01 22:05:35 +01:00
gallegonovato 61eab4eac1
Translated using Weblate (Spanish)
Currently translated at 100.0% (962 of 962 strings)

Translation: Conversations/Android App (shared)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-shared/es/
2023-03-01 12:08:21 +00:00
prograde 65562d47c9
Translated using Weblate (Swedish)
Currently translated at 100.0% (962 of 962 strings)

Translation: Conversations/Android App (shared)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-shared/sv/
2023-02-19 15:08:20 +00:00
prograde 1fbb2d32c7
Translated using Weblate (Swedish)
Currently translated at 100.0% (962 of 962 strings)

Translation: Conversations/Android App (shared)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-shared/sv/
2023-02-18 14:15:26 +00:00
gallegonovato d8dbd7c28d
Translated using Weblate (Spanish)
Currently translated at 100.0% (962 of 962 strings)

Translation: Conversations/Android App (shared)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-shared/es/
2023-02-11 13:56:43 +00:00
Daniel Gultsch bcfc70d2c0
increase corner radius for profile pics 2023-02-05 11:13:59 +01:00
Daniel Gultsch 84fa529256
use setText instead of append() 2023-02-05 09:34:29 +01:00
random_r 93cb17834a
Translated using Weblate (Italian)
Currently translated at 100.0% (962 of 962 strings)

Translation: Conversations/Android App (shared)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-shared/it/
2023-02-02 03:43:00 +00:00
tygyh ec8225112a
Translated using Weblate (Swedish)
Currently translated at 91.5% (881 of 962 strings)

Translation: Conversations/Android App (shared)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-shared/sv/
2023-01-26 11:13:20 +00:00
Grzegorz Szymaszek c49fe4c97d
Translated using Weblate (Polish)
Currently translated at 100.0% (962 of 962 strings)

Translation: Conversations/Android App (shared)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-shared/pl/
2023-01-25 09:52:29 +00:00
gallegonovato 05ac548170
Translated using Weblate (Spanish)
Currently translated at 100.0% (962 of 962 strings)

Translation: Conversations/Android App (shared)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-shared/es/
2023-01-25 09:52:29 +00:00
Besnik_b 0092aeaa58
Translated using Weblate (Albanian)
Currently translated at 96.6% (930 of 962 strings)

Translation: Conversations/Android App (shared)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-shared/sq/
2023-01-25 09:52:29 +00:00
Besnik_b 3350df753d
Translated using Weblate (Albanian)
Currently translated at 81.8% (787 of 962 strings)

Translation: Conversations/Android App (shared)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-shared/sq/
2023-01-25 09:52:29 +00:00
random_r 8c99d84826
Translated using Weblate (Italian)
Currently translated at 100.0% (962 of 962 strings)

Translation: Conversations/Android App (shared)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-shared/it/
2023-01-25 09:52:29 +00:00
Anonymous 8f7452c754
Translated using Weblate (Turkish)
Currently translated at 98.7% (950 of 962 strings)

Translation: Conversations/Android App (shared)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-shared/tr/
2023-01-25 09:52:28 +00:00
Anonymous 037b4cc786
Translated using Weblate (French)
Currently translated at 96.7% (931 of 962 strings)

Translation: Conversations/Android App (shared)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-shared/fr/
2023-01-25 09:52:28 +00:00
Daniel Gultsch 42b5cab7a4
Revert "remove support for Google Auto"
This reverts commit ed9318feac.
2023-01-20 08:07:45 +01:00
Daniel Gultsch ed9318feac
remove support for Google Auto
Google Play Store review is extra 'thorough' with that flag enabled

You shouldn’t text and drive anyway

Trains!
2023-01-13 14:33:23 +01:00
ghose e4d79386c8
Translated using Weblate (Galician)
Currently translated at 100.0% (962 of 962 strings)

Translation: Conversations/Android App (shared)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-shared/gl/
2023-01-12 08:00:42 +00:00
Daniel Gultsch 41cd96e37b
UP: null check transport verification 2023-01-10 17:22:48 +01:00
ewm caa5c519f1
Translated using Weblate (Polish)
Currently translated at 100.0% (962 of 962 strings)

Translation: Conversations/Android App (shared)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-shared/pl/
2023-01-09 11:34:52 +00:00
licaon-kter 0ee82f6135
Translated using Weblate (Romanian)
Currently translated at 100.0% (962 of 962 strings)

Translation: Conversations/Android App (shared)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-shared/ro/
2023-01-09 11:34:51 +00:00
gallegonovato 60308753be
Translated using Weblate (Spanish)
Currently translated at 100.0% (962 of 962 strings)

Translation: Conversations/Android App (shared)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-shared/es/
2023-01-07 13:27:27 +00:00
gallegonovato 3f6ec7e7c1
Translated using Weblate (Spanish)
Currently translated at 99.6% (959 of 962 strings)

Translation: Conversations/Android App (shared)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-shared/es/
2023-01-07 12:36:39 +00:00
hamburger1024 a6eb12588d
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (962 of 962 strings)

Translation: Conversations/Android App (shared)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-shared/zh_Hans/
2023-01-07 08:55:59 +00:00
Grzegorz Szymaszek 20fb420a24
Translated using Weblate (Polish)
Currently translated at 99.8% (961 of 962 strings)

Translation: Conversations/Android App (shared)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-shared/pl/
2023-01-07 08:55:59 +00:00
nautilusx 2b8dad3006
Translated using Weblate (German)
Currently translated at 100.0% (962 of 962 strings)

Translation: Conversations/Android App (shared)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-shared/de/
2023-01-07 08:55:59 +00:00
hamburger1024 c7541cdd37
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (962 of 962 strings)

Translation: Conversations/Android App (shared)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-shared/zh_Hans/
2023-01-06 19:49:24 +00:00
licaon-kter bb298eebd0
Translated using Weblate (Romanian)
Currently translated at 100.0% (962 of 962 strings)

Translation: Conversations/Android App (shared)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-shared/ro/
2023-01-06 19:49:24 +00:00
nautilusx 89d2009e2f
Translated using Weblate (German)
Currently translated at 100.0% (962 of 962 strings)

Translation: Conversations/Android App (shared)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-shared/de/
2023-01-06 19:49:24 +00:00
licaon-kter abb5a732ac
Translated using Weblate (Romanian)
Currently translated at 100.0% (956 of 956 strings)

Translation: Conversations/Android App (shared)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-shared/ro/
2023-01-06 19:49:24 +00:00
mmbd 88d82375a6
Translated using Weblate (Japanese)
Currently translated at 99.4% (951 of 956 strings)

Translation: Conversations/Android App (shared)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-shared/ja/
2023-01-06 19:49:24 +00:00
licaon-kter 20eb80d349
Translated using Weblate (Romanian)
Currently translated at 100.0% (956 of 956 strings)

Translation: Conversations/Android App (shared)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-shared/ro/
2023-01-06 19:49:24 +00:00
Daniel Gultsch e996555852
remove footnote in magic create text 2023-01-06 20:32:35 +01:00
Daniel Gultsch b7c7c40b94
send directed presence to transport if endpoints are configured 2023-01-06 17:04:15 +01:00
Daniel Gultsch 0e10ae387a
periodically renew endpoints 2023-01-06 15:44:39 +01:00
Daniel Gultsch 1e0904a48d
use less entropy in SASL2 device id 2023-01-06 12:41:26 +01:00
Daniel Gultsch 4ee5c167be
do not attempt endpoint renewal when account is disabled. renew on bind 2023-01-04 20:59:08 +01:00
Daniel Gultsch b1f95d2e39
integrate UnifiedPush distributor 2023-01-04 10:23:20 +01:00
Daniel Gultsch 1000d927a7
remove work arounds for nimbuzz.com 2023-01-01 12:20:10 +01:00
Daniel Gultsch 97d9cb7dd5
remove work arounds for slack 2023-01-01 12:05:49 +01:00
Daniel Gultsch 41da2a5957
fix client crashing on empty passwords (regression) 2022-12-30 17:14:18 +01:00
Daniel Gultsch 0cec499565
make sure we don’t dispose video source twice 2022-12-30 12:16:19 +01:00
Daniel Gultsch a7fe3e8372
reset stanza count when enabling SM via SASL inline 2022-12-30 12:09:16 +01:00
Daniel Gultsch 01fba162f0
code clean up. use Optional to parse SM’s h attribute 2022-12-30 10:53:49 +01:00
Daniel Gultsch f5b7fbc441
add log when we requested token but didn’t get one 2022-12-30 09:00:42 +01:00
inputmice a52ec4998c
Translated using Weblate (Spanish)
Currently translated at 100.0% (956 of 956 strings)

Translation: Conversations/Android App (shared)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-shared/es/
2022-12-29 14:10:12 +00:00
nautilusx b3d21571fc
Translated using Weblate (German)
Currently translated at 100.0% (956 of 956 strings)

Translation: Conversations/Android App (shared)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-shared/de/
2022-12-29 14:10:12 +00:00
hamburger1024 43742c923d
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (956 of 956 strings)

Translation: Conversations/Android App (shared)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-shared/zh_Hans/
2022-12-29 14:10:12 +00:00
random_r 7261a23e13
Translated using Weblate (Italian)
Currently translated at 100.0% (956 of 956 strings)

Translation: Conversations/Android App (shared)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-shared/it/
2022-12-29 14:10:12 +00:00
ghose 563560bf8a
Translated using Weblate (Galician)
Currently translated at 100.0% (956 of 956 strings)

Translation: Conversations/Android App (shared)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-shared/gl/
2022-12-29 14:10:12 +00:00
gallegonovato 62023a6862
Translated using Weblate (Spanish)
Currently translated at 100.0% (956 of 956 strings)

Translation: Conversations/Android App (shared)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-shared/es/
2022-12-29 14:10:12 +00:00
nautilusx 395301e2a4
Translated using Weblate (German)
Currently translated at 100.0% (956 of 956 strings)

Translation: Conversations/Android App (shared)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-shared/de/
2022-12-29 14:10:12 +00:00
hamburger1024 0c7d694785
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (956 of 956 strings)

Translation: Conversations/Android App (shared)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-shared/zh_Hans/
2022-12-29 14:10:11 +00:00
Daniel Gultsch 13606aae60
add todo item in turn server code 2022-12-29 14:53:05 +01:00
Daniel Gultsch ce0992036a
disable proximity sensor after switching from audio to video 2022-12-29 12:53:59 +01:00
Daniel Gultsch eb51b03d1a change source code links 2022-12-26 14:30:43 +01:00
Daniel Gultsch 0a2d8c48a3 pulled translations from transifex 2022-12-26 10:21:51 +01:00
Daniel Gultsch 07598eab79 remove empty translations 2022-12-26 10:02:56 +01:00
Daniel Gultsch 909aa72b25 catch exception in getSignalingState() 2022-12-24 10:55:16 +01:00
Daniel Gultsch 36efd51a7f fix transports/descriptions not upgraded to jingle ft
fixes #4429
2022-12-20 19:28:47 +01:00
Daniel Gultsch 499c4ddd0a do not detect sm:2 as sm available
the 2.11.0 release removed support for enabling sm:2
unfortunatly sm:2 was still detected as "server supports stream managment"
down the line leading to resend loops.

fixes #4426
2022-12-16 08:07:46 +01:00
Daniel Gultsch c0b4ae8416 pulled translations from transifex 2022-12-12 11:07:09 +01:00
Daniel Gultsch 4ef4207593 show switch to video only if other party has caps
fixes #4421
2022-12-12 10:15:13 +01:00
Daniel Gultsch 2093aa76ad code clean up in ContactChooserTargetService 2022-12-11 20:13:09 +01:00
Daniel Gultsch bb52962f0d delay candidates until after session-init/accept 2022-12-05 15:40:07 +01:00
Daniel Gultsch a27f6210df pulled translations from transifex 2022-12-05 09:45:56 +01:00
Daniel Gultsch 542afe2cb0 pulled translations from transifex 2022-12-02 19:40:11 +01:00
Daniel Gultsch 2c7c44e957 null PeerConnection reference before disposing; otherwise getState() might be issued against disposed object 2022-12-01 20:46:18 +01:00
Daniel Gultsch 80d195d35e avoid race condition when restarting ICE 2022-11-30 17:32:46 +01:00
Daniel Gultsch b374feccbd pulled translations from transifex 2022-11-30 11:55:11 +01:00
Daniel Gultsch c178e9ad33 add switch to video menu item to call 2022-11-28 11:39:26 +01:00
Daniel Gultsch 4e8ceadfbf prepare JingleRtpConnection for content-adds 2022-11-28 08:59:23 +01:00
Daniel Gultsch 63501adc45 trim xmpp address after user input 2022-11-25 08:50:58 +01:00
Daniel Gultsch f4be142e4d add helper methods for content modification to RtpContentMap 2022-11-22 10:13:48 +01:00
Daniel Gultsch e2f98f6bbc ensure cc-ed proceed is equivalent to accept 2022-11-22 10:13:07 +01:00
Daniel Gultsch 9897fa3a45 rename initiateIceRestart to renegotiate to handle content adds 2022-11-21 09:10:01 +01:00
Daniel Gultsch 304205b2e3 take senders attr into account when converting to and from sdp 2022-11-20 17:00:40 +01:00
Daniel Gultsch 59ea66ca78 make sure VideoSourceWrapper is stored in property 2022-11-19 14:19:07 +01:00
Daniel Gultsch 27d8da2ab4 refactor WebRTCWrapper to allow for track adds 2022-11-19 13:03:34 +01:00
Daniel Gultsch 8fb2c11771 use plurals for missed call strings 2022-11-19 08:14:50 +01:00
Daniel Gultsch 6b9ebb3abf remove TODO 2022-11-18 10:40:16 +01:00
Daniel Gultsch c3410bae82 pulled translations from transifex 2022-11-18 10:34:29 +01:00
Daniel Gultsch 109a20ca40 do not expect stream features after inline resume 2022-11-17 10:52:30 +01:00
Daniel Gultsch 29461edf40 process challenge only on secure connection 2022-11-17 07:48:09 +01:00
Daniel Gultsch 44bfff7e49 fall back to regular authentication if fast fails 2022-11-16 11:00:43 +01:00
Daniel Gultsch 6ececb4d2b refactor webrtc video source + capture code 2022-11-12 13:37:56 +01:00
Daniel Gultsch 5dbd86155f show help button only if Config.HELP is set 2022-11-10 07:55:05 +01:00
Daniel Gultsch dac2e17133 disable quick start if fast is available but we didn’t use fast 2022-11-01 18:06:32 +01:00
Daniel Gultsch 35ee01cb28 reset fast token on login failure 2022-11-01 16:44:36 +01:00
Daniel Gultsch a29c7c725e modify scram mechanisms to use guava hashing 2022-10-24 13:11:30 +02:00
Daniel Gultsch e2b9f0e77a add support for HashedToken channel binding 2022-10-15 20:53:59 +02:00
Daniel Gultsch 24badda4c9 do quick start with HT-SHA-256-NONE 2022-10-15 18:56:31 +02:00
Daniel Gultsch c13787873c request fast token 2022-10-15 12:27:38 +02:00
Daniel Gultsch 3378447f60 parse hash token names 2022-10-15 00:09:29 +02:00
Daniel Gultsch 0cd416298d ensure we only select channel binding methods available for tls version 2022-10-14 20:00:36 +02:00
Daniel Gultsch 7eb160386d enable SM if it wasn’t enabled in bind 2 2022-10-14 13:29:59 +02:00
Daniel Gultsch 9a0c90f066 read new stream features directly after success 2022-10-14 13:13:21 +02:00
Daniel Gultsch 3d6c7bbf1c fix display glitch in username mode 2022-10-13 09:51:56 +02:00