Benoit Marty
52c039d676
Rename `UserPushStoreFactory.create` to `UserPushStoreFactory.getOrCreate` for code clarity.
6 months ago
Benoit Marty
5ff74fbdff
PushClientSecretImpl needs to be a singleton now that it observe the sessions.
8 months ago
Benoit Marty
c821cb5c29
Fix typo
8 months ago
Benoit Marty
4b37ea1a2d
Ensure client secret is deleted when the user signs out.
8 months ago
Benoit Marty
40e401c599
Also delete the preference file when the store is reset.
8 months ago
Benoit Marty
8490b0c19d
Migrate preferencesDataStoreFile to a file using a hash, to fix a crash if the userId is too long.
8 months ago
Benoit Marty
5d086ad82d
Fix moar ktlint issues
8 months ago
renovate[bot]
c8bd362397
Update plugin ktlint to v12.1.0 ( #2200 )
...
* Update plugin ktlint to v12.1.0
* Run `./gradlew ktlintFormat` and fix some issues manually.
* Fix other issues reproted by Ktlint
* Limit false positives, KtLint removes unnecessary curly brace in String templates.
* Remove useless Unit
* Minor improvements over ktlint changes
* Restore `AlertDialogContent` behaviour
* Update screenshots
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Benoit Marty <benoit@matrix.org>
Co-authored-by: Jorge Martín <jorgem@element.io>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
8 months ago
David Langley
a0ac324e3f
Implement Notification Settings
...
- Add UI and logic to inform the user of mismatched notification settings and help them correct it.
- Display a warning when the system notification settings are disabled and a link out to the app settings.
- A toggle to disable notifications for the device
- A screen for editing the group and direct chat notification defaults.
- A toggle for switching on/off atRoom and call notifications.
1 year ago
Benoit Marty
a6c96af731
Use ConcurrentHashMap to manage synchronization.
1 year ago
Benoit Marty
a2975ec094
Add a test to cover fix of #950
1 year ago
Benoit Marty
94bc2ce53d
getOrPut is not thread safe, so ensure that no multiple instance will be created per data store ( #950 )
1 year ago
Florian Renaud
719dd20555
Remove useless OptIn in tests
1 year ago
Jorge Martin Espinosa
fae3417181
Validate several ids in constructors ( #336 )
...
* Validate ids in constructors.
* Remove redundant `.value` usage in string interpolation.
* Make a distinction between `SessionId` and `UserId` in `TestData`.
1 year ago
Benoit Marty
eb6276e09d
Improve asXId and make tests pass in release and debug mode.
1 year ago
Benoit Marty
dd71517abe
Cleanup store.
1 year ago
Benoit Marty
20370656cd
UnifiedPush WIP
1 year ago
Benoit Marty
287fca5438
UnifiedPush WIP
1 year ago
Benoit Marty
7333995630
Split push module into several modules: Firebase, UnifiedPush, store
1 year ago