Commit graph

5701 commits

Author SHA1 Message Date
Daniel Gultsch 6983aedddc
add IDs.seed() method for random account seed 2023-03-01 22:05:37 +01:00
Daniel Gultsch 27952c00ed
flush credential store file 2023-03-01 22:05:37 +01:00
Daniel Gultsch 944c48e00b
store presence in DB 2023-03-01 22:05:37 +01:00
Daniel Gultsch 26bff8028a
check disco feature on entity 2023-03-01 22:05:37 +01:00
Daniel Gultsch 873644f528
remove XmppConnection.Features helper class in favor of DiscoManager 2023-03-01 22:05:37 +01:00
Daniel Gultsch 199a1cdc64
add code to fetch items and their infos in one go 2023-03-01 22:05:37 +01:00
Daniel Gultsch 43a82e504b
parse caps from presence 2023-03-01 22:05:37 +01:00
Daniel Gultsch a2b21d97eb
use dedicated hash object instead of byte[] for caps
this way we can store the algo alongside the object
2023-03-01 22:05:36 +01:00
Daniel Gultsch 6458c6e9f9
store disco features after fetching them 2023-03-01 22:05:36 +01:00
Daniel Gultsch 1b438117a3
add Entity Caps 2 hash calculation 2023-03-01 22:05:36 +01:00
Daniel Gultsch 78af8cbd87
migrate entity caps 1 calculation to new code 2023-03-01 22:05:36 +01:00
Daniel Gultsch 482dc8cfe9
insert disco items into db 2023-03-01 22:05:36 +01:00
Daniel Gultsch 3e9029dc8f
bump targetSdk; bump room version 2023-03-01 22:05:36 +01:00
Daniel Gultsch 38c612d35d
make name+namespace assignment in xmpp less error prone 2023-03-01 22:05:36 +01:00
Daniel Gultsch 07c1669813
introduce Manager concept to bundle functionality like roster, blocking, … 2023-03-01 22:05:36 +01:00
Daniel Gultsch 20962554a4
retrieve blocklist on bind 2023-03-01 22:05:36 +01:00
Daniel Gultsch 6b232f7a5a
fetch roster. process result 2023-03-01 22:05:36 +01:00
Daniel Gultsch 9e7bbcc272
offer alternative access to elements and children
instead of Element.findChild(name, namespace) we can now use
Element.getExtension(Extension.class) for registered extensions
2023-03-01 22:05:36 +01:00
Daniel Gultsch 49bf92f7ca
wire up MessageAckProcessor with DB 2023-03-01 22:05:35 +01:00
Daniel Gultsch 2c32f9738c
homogenize ID generation 2023-03-01 22:05:35 +01:00
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 bd7ccc9f77
Translated using Weblate (Spanish)
Currently translated at 100.0% (9 of 9 strings)

Translation: Conversations/Android App (Quicksy)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-quicksy/es/
2023-03-01 12:08:21 +00: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 e2de5fd453
Translated using Weblate (Swedish)
Currently translated at 100.0% (9 of 9 strings)

Translation: Conversations/Android App (Quicksy)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-quicksy/sv/
2023-02-18 14:15:26 +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 b46cae4e15
Translated using Weblate (Spanish)
Currently translated at 100.0% (9 of 9 strings)

Translation: Conversations/Android App (Quicksy)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-quicksy/es/
2023-02-11 13:56:43 +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 9a561511d1
Translated using Weblate (Swedish)
Currently translated at 100.0% (9 of 9 strings)

Translation: Conversations/Android App (Quicksy)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-quicksy/sv/
2023-01-26 11:13:20 +00:00
tygyh c3102e2bc2
Translated using Weblate (Swedish)
Currently translated at 100.0% (13 of 13 strings)

Translation: Conversations/Android App (Conversations)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-conversations/sv/
2023-01-26 11:13:20 +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
rex07 17bf39f8e8
Translated using Weblate (Arabic)
Currently translated at 100.0% (9 of 9 strings)

Translation: Conversations/Android App (Quicksy)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-quicksy/ar/
2023-01-26 05:46:58 +00:00
rex07 30fdebc924
Translated using Weblate (Arabic)
Currently translated at 100.0% (13 of 13 strings)

Translation: Conversations/Android App (Conversations)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-conversations/ar/
2023-01-26 05:46:58 +00:00
gallegonovato 626596d0e2
Translated using Weblate (Spanish)
Currently translated at 100.0% (9 of 9 strings)

Translation: Conversations/Android App (Quicksy)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-quicksy/es/
2023-01-25 09:52:29 +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
Xstatic d77f6944a3
Added translation using Weblate (Portuguese) 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 e05d6a8e5c
Translated using Weblate (Indonesian)
Currently translated at 100.0% (13 of 13 strings)

Translation: Conversations/Android App (Conversations)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-conversations/id/
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
Besnik_b 3cce3c0256
Translated using Weblate (Albanian)
Currently translated at 100.0% (9 of 9 strings)

Translation: Conversations/Android App (Quicksy)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-quicksy/sq/
2023-01-25 09:52:28 +00:00
Besnik_b 98ca0a7068
Translated using Weblate (Albanian)
Currently translated at 100.0% (9 of 9 strings)

Translation: Conversations/Android App (Quicksy)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-quicksy/sq/
2023-01-25 09:52:28 +00:00
Besnik_b e98aa821f1
Translated using Weblate (Albanian)
Currently translated at 100.0% (13 of 13 strings)

Translation: Conversations/Android App (Conversations)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-conversations/sq/
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
gallegonovato 670fb0c2c0
Translated using Weblate (Spanish)
Currently translated at 100.0% (9 of 9 strings)

Translation: Conversations/Android App (Quicksy)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-quicksy/es/
2023-01-11 07:29:52 +00:00
Besnik_b d5e2b6ff6d
Added translation using Weblate (Albanian) 2023-01-11 07:29:52 +00:00
Besnik_b a5e380a1af
Added translation using Weblate (Albanian) 2023-01-11 07:29:52 +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
Grzegorz Szymaszek d6c693786d
Translated using Weblate (Polish)
Currently translated at 100.0% (9 of 9 strings)

Translation: Conversations/Android App (Quicksy)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-quicksy/pl/
2023-01-09 11:34:51 +00:00
esk0rner ffe0b9ff50
Translated using Weblate (Russian)
Currently translated at 100.0% (13 of 13 strings)

Translation: Conversations/Android App (Conversations)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-conversations/ru/
2023-01-09 11:34:51 +00:00
Grzegorz Szymaszek 528a73741c
Translated using Weblate (Polish)
Currently translated at 100.0% (13 of 13 strings)

Translation: Conversations/Android App (Conversations)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-conversations/pl/
2023-01-09 11:34:51 +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
wiktor 58a8cdd368
Translated using Weblate (Polish)
Currently translated at 100.0% (13 of 13 strings)

Translation: Conversations/Android App (Conversations)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-conversations/pl/
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
gallegonovato c515d30c55
Translated using Weblate (Spanish)
Currently translated at 100.0% (9 of 9 strings)

Translation: Conversations/Android App (Quicksy)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-quicksy/es/
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 bea0be2cfe
Translated using Weblate (Spanish)
Currently translated at 100.0% (13 of 13 strings)

Translation: Conversations/Android App (Conversations)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-conversations/es/
2022-12-29 14:10:12 +00: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
hamburger1024 ceed942876
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (9 of 9 strings)

Translation: Conversations/Android App (Quicksy)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-quicksy/zh_Hans/
2022-12-29 14:10:12 +00:00
nautilusx 034a86de77
Translated using Weblate (German)
Currently translated at 100.0% (9 of 9 strings)

Translation: Conversations/Android App (Quicksy)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-quicksy/de/
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
ghose f89b28c57e
Translated using Weblate (Galician)
Currently translated at 100.0% (9 of 9 strings)

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

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

Translation: Conversations/Android App (Quicksy)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-quicksy/de/
2022-12-29 14:10:12 +00:00
random_r 5bbcecf5a6
Translated using Weblate (Italian)
Currently translated at 100.0% (13 of 13 strings)

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

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

Translation: Conversations/Android App (Conversations)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-conversations/es/
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