Commit graph

7222 commits

Author SHA1 Message Date
Daniel Gultsch 359ef330df
get rid of upsert in favor of update and insert
upsert seems to only work with primary keys and not other
unique constraints.
2023-03-01 22:05:38 +01:00
Daniel Gultsch de06bfb8f0
retrieve Extensions not Elements from extension map 2023-03-01 22:05:38 +01:00
Daniel Gultsch 1e6aed759b
check caps hash after retrieving them 2023-03-01 22:05:37 +01:00
Daniel Gultsch 1a09b3ed05
use empty string instead of null for 'no node' and 'no resource' 2023-03-01 22:05:37 +01:00
Daniel Gultsch 90e613f94e
fix parsing error in Legacy caps 2023-03-01 22:05:37 +01:00
Daniel Gultsch 09db9e574b
do not return NodeHash if no valid hash mech is found 2023-03-01 22:05:37 +01:00
Daniel Gultsch f5faa8fc4d
try with resources in CredentialStore 2023-03-01 22:05:37 +01:00
Daniel Gultsch bfa61d56af
use annotations processor to create extensions 2023-03-01 22:05:37 +01:00
Daniel Gultsch da65960fd1
reconnect account after adding to ConnectionPool 2023-03-01 22:05:37 +01:00
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
Daniel Gultsch 5d79cfbf0d
add spotless plugin 2023-03-01 22:05:35 +01:00
Daniel Gultsch 80d97c3fcc
bump version to 3.0.0-alpha. modify appId 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 4ca16e61cb
Translated using Weblate (Swedish)
Currently translated at 19.5% (9 of 46 strings)

Translation: Conversations/App Store Metadata
Translate-URL: https://translate.codeberg.org/projects/conversations/app-store-metadata/sv/
2023-02-18 14:15:26 +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
nautilusx a4fc2027a9
Translated using Weblate (German)
Currently translated at 100.0% (46 of 46 strings)

Translation: Conversations/App Store Metadata
Translate-URL: https://translate.codeberg.org/projects/conversations/app-store-metadata/de/
2023-02-12 07:20:00 +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 153ec13da8
update link to issue tracker 2023-02-10 16:12:08 +01:00
Licaon_Kter e6dc16da0c Add latest fastlane changelog 2023-02-09 11:21:28 +00:00
Daniel Gultsch 73dc65308f
bump agp 2023-02-09 11:01:25 +01:00
Daniel Gultsch 93e4bca037
version bump to 2.12.2 + changelog 2023-02-05 17:15:33 +01: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