Commit graph

16755 commits

Author SHA1 Message Date
Benoit Marty
33911c880c Update documentation after @p1gp1g review. 2022-06-09 15:59:43 +02:00
Benoit Marty
4a54674159 This module now have Kotlin code. 2022-06-09 15:38:31 +02:00
rebok dev
890cc72ea3 Translated using Weblate (Polish)
Currently translated at 77.0% (47 of 61 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/pl/
2022-06-09 13:32:12 +00:00
rebok dev
f4f58703d3 Translated using Weblate (Polish)
Currently translated at 100.0% (2239 of 2239 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2022-06-09 13:32:11 +00:00
Kat Gerasimova
8fb6957bc0 Fix triage automation 2022-06-09 13:17:01 +01:00
Onuray Sahin
f9f1b3e39a Code review fix. 2022-06-09 13:09:10 +03:00
Benoit Marty
2f2ee1b894 Format project (only modified files, there are other fomatting issues). 2022-06-09 10:38:38 +02:00
Benoit Marty
c43122a6f8 Explain why the data are different when received from Firebase and from UnifiedPush.
Author: @p1gp1g
2022-06-09 10:18:06 +02:00
Benoit Marty
2b8d1dd11c Write documentation about UnifiedPush.
Introduction is inspired from #2743.
2022-06-09 10:18:06 +02:00
Benoit Marty
3560ac95d1 Create a Kotlin Config object in vector-config module, for easy configuration. 2022-06-09 10:18:06 +02:00
Benoit Marty
5846ad5768 Inject constructor of BackgroundSyncStarter and FcmHelper 2022-06-09 10:18:06 +02:00
Benoit Marty
3c72ee6e0c Unregister UP when signing out 2022-06-09 10:18:06 +02:00
Benoit Marty
905934b9d4 Rename method for clarity 2022-06-09 10:18:06 +02:00
Benoit Marty
a139756dbc Fix an issue with empty endpoint. It can happen if the endpoint is manually removed from the distributor. 2022-06-09 10:18:06 +02:00
Benoit Marty
87087197e5 shorter code 2022-06-09 10:18:06 +02:00
Benoit Marty
639c570150 Create extension to get app names 2022-06-09 10:18:06 +02:00
Benoit Marty
fc66e5f120 Ignore if no change is done - bugfix 2022-06-09 10:18:06 +02:00
Benoit Marty
a5378d6e94 avoid runBlocking 2022-06-09 10:18:06 +02:00
Benoit Marty
fb7df5bf46 Ignore if no change is done. 2022-06-09 10:18:06 +02:00
Benoit Marty
420144dceb Fix back issue on the dialog.
Should split UI a bit more.
2022-06-09 10:18:06 +02:00
Benoit Marty
110c17e57d No need to have a mutable list here. 2022-06-09 10:18:06 +02:00
Benoit Marty
18b49068c1 Change BuildConfig field to a VectorFeature. 2022-06-09 10:18:06 +02:00
Benoit Marty
80d42f0963 Remove unused methods / clarify API 2022-06-09 10:18:06 +02:00
Benoit Marty
35e0a0af33 Detekt 2022-06-09 10:18:06 +02:00
Benoit Marty
6cc2a36ee1 Add explicit Json names 2022-06-09 10:18:06 +02:00
Benoit Marty
cdfb728a73 Clarify the data classes for the Json parsing 2022-06-09 10:18:06 +02:00
Benoit Marty
45768c5251 Small cleanup 2022-06-09 10:18:06 +02:00
Benoit Marty
bbbeb4b283 Extract storage to its own class. 2022-06-09 10:18:06 +02:00
Benoit Marty
bdb2d29666 Catch 404 2022-06-09 10:18:06 +02:00
Benoit Marty
3f6b5292d4 Add summary to the notification with the current value. 2022-06-09 10:18:06 +02:00
Benoit Marty
76bc6a5e0a Move the setting at the beginning of the section 2022-06-09 10:18:06 +02:00
Benoit Marty
fb8408c3da Small cleanup 2022-06-09 10:18:06 +02:00
Benoit Marty
4018113c88 Better usage of Timber. 2022-06-09 10:18:06 +02:00
Benoit Marty
77601f61fb typo 2022-06-09 10:18:06 +02:00
Benoit Marty
ff6aa1147c VectorPreferences can be injected. 2022-06-09 10:18:06 +02:00
Benoit Marty
ad8cb22863 We need an Activity to display the dialog 2022-06-09 10:18:06 +02:00
Benoit Marty
ddf6a69a69 Small cleanup 2022-06-09 10:18:06 +02:00
Benoit Marty
399e95a247 setOnDismissListener should cover all the cases. 2022-06-09 10:18:06 +02:00
Benoit Marty
cc80bf986c Use plurals 2022-06-09 10:18:06 +02:00
Benoit Marty
12d969b2c0 Prefer using toString() 2022-06-09 10:18:06 +02:00
Benoit Marty
74de9c82c0 Small rework 2022-06-09 10:18:06 +02:00
Benoit Marty
9216d8ba32 Small cleanup 2022-06-09 10:18:06 +02:00
Benoit Marty
f1e57d2970 Use .orEmpty() instead of ?: "" 2022-06-09 10:18:06 +02:00
Benoit Marty
5e10449746 Use the RawService to do network request. 2022-06-09 10:18:06 +02:00
Benoit Marty
674e3a72c4 Make UnifiedPushHelper a regular class and inject the context in the constructor to clean up the API 2022-06-09 10:18:06 +02:00
Benoit Marty
96acb61fa1 Add unifiedpush to the project dict. 2022-06-09 10:16:59 +02:00
Benoit Marty
09a918bac4 Cleanup 2022-06-09 10:16:59 +02:00
Benoit Marty
42811751fb Move ALLOW_EXTERNAL_UNIFIEDPUSH_DISTRIB to defaultConfig and document it. 2022-06-09 10:16:59 +02:00
Benoit Marty
d88d27985e Sort alphabetically. 2022-06-09 10:16:59 +02:00
Benoit Marty
ee7fccf072 Fix compilation issues after rebase 2022-06-09 10:16:59 +02:00