Benoit Marty
00ab22f42e
Reduce the number of fallback notification. Only used now when message cannot be decrypted.
...
Also avoid using `else` in this `when` block.
2023-09-27 10:12:04 +02:00
Benoit Marty
d3d9367feb
Localazy sync
2023-09-18 16:42:35 +02:00
bmarty
6e5e538724
Sync Strings from Localazy
2023-09-18 00:09:19 +00:00
Benoit Marty
d19d485205
Merge pull request #1350 from vector-im/feature/bma/duplicateNotif
...
Investigation of duplicate notification.
2023-09-15 19:31:48 +02:00
Benoit Marty
b7487f9b5b
Share tag with other modules.
2023-09-15 17:03:32 +02:00
Benoit Marty
16defd03d8
Add log tag
2023-09-15 16:43:24 +02:00
Benoit Marty
291f877947
Log param.
2023-09-15 16:42:04 +02:00
Jorge Martin Espinosa
a06bea4d71
Element Call SPA integration ( #1283 )
...
* Integrate Element Call into EX, being able to open its URLs and handle the call in-app.
* Add custom scheme support with format `element:call?url=...`.
* Update androix.webkit
* Silence the foreground service notification.
- Allow foreground service tap action to re-open the ongoing call.
- Unify notification small icons in different modules using a vector one.
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io >
2023-09-15 16:39:44 +02:00
Benoit Marty
f2900de7af
Add Timber tags.
2023-09-15 16:01:28 +02:00
Benoit Marty
f0bb391519
Simplify again the code.
2023-09-15 15:42:55 +02:00
Benoit Marty
e0cef81118
No need to force DefaultNotificationDrawerManager receiver for this private fun.
2023-09-15 15:42:55 +02:00
Benoit Marty
096c935874
Do not render notification if the user has dismiss the notification.
...
It should not change anything, just avoid doing useless notification rendering.
2023-09-15 15:42:55 +02:00
Benoit Marty
3bf8093cca
Notification: log roomId and eventId
2023-09-15 14:45:46 +02:00
ganfra
455d39c629
Sync Strings from Localazy
2023-09-14 14:38:49 +00:00
David Langley
7d95feadc1
Merge branch 'develop' of https://github.com/vector-im/element-x-android into dla/feature/connect_sdk_to_global_notifications_ui
2023-09-12 16:30:36 +01:00
renovate[bot]
29bbb0bfc4
Update core to v1.12.0 ( #1242 )
...
* Update core to v1.12.0
* Fixed now nullable `PendingIntent` creation
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io >
2023-09-12 12:00:29 +02:00
David Langley
2f6f28bfbb
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.
2023-09-12 01:11:13 +01:00
Benoit Marty
a3adb7deaa
SDK 0.1.49: notification decryption is now fully handled by the Rust SDK. ( #1231 )
...
* Revert "Ensure the sync is started when receiving a Push, to ensure that the encryption loop is running."
This reverts commit 74a444966e .
* Integrate SDK from https://github.com/matrix-org/matrix-rust-sdk/pull/2505
* Enable retryDecryption() on the NotificationClient.
* SDK 0.1.49 - Encryption Sync is enabled by default now, and retryDecryption is the default too.
* Remove feature flag `UseEncryptionSync`
* Fix sample project build
* Exclude `DeveloperSettingsPresenter` from kover verification.
* Add changelog
---------
Co-authored-by: Jorge Martín <jorgem@element.io >
2023-09-06 11:33:36 +02:00
Benoit Marty
74a444966e
Ensure the sync is started when receiving a Push, to ensure that the encryption loop is running.
...
Fixes notification with endecrypted content (#1178 )
2023-09-04 12:50:37 +02:00
renovate[bot]
78eb7aea81
Update kotlin to 1.9.10 ( #1123 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-30 08:28:06 +02:00
Benoit Marty
1a6376e723
Merge branch 'develop' into feature/bma/dataObject
2023-08-28 10:56:02 +02:00
Benoit Marty
cd558bc09f
Import strings with Localazy.
2023-08-25 12:15:06 +02:00
Benoit Marty
52853101d9
migrate object to data object ( #1135 )
2023-08-24 09:32:44 +02:00
renovate[bot]
541562ee61
Update kotlin - TO BE MERGED AFTER THE RELEASE ( #789 )
...
* Update kotlin
* Update kotlinc.xml
* Update ksp
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Marco Romano <marcor@element.io >
Co-authored-by: Benoit Marty <benoit@matrix.org >
2023-08-17 08:58:10 +00:00
ElementBot
5ecafeb49f
Sync Strings from Localazy ( #1032 )
...
Co-authored-by: Florian14 <Florian14@users.noreply.github.com >
2023-08-11 14:34:05 +00:00
Jorge Martin Espinosa
4e94d4da6b
Enable filter push notifications by push rules ( #1041 )
...
* Enable filter push notifications by push rules
* Remove unused `filterByPushRules` parameter
* Use fallback notification only for items not filetered by the push rules
* Fix tests
2023-08-09 12:12:39 +00:00
Benoit Marty
d06f86f79d
Merge pull request #967 from vector-im/feature/bma/detektConfig
...
Update detekt config.
2023-07-28 16:47:26 +02:00
Benoit Marty
fbc627c738
Remove other unused resource.
2023-07-27 11:41:10 +02:00
Jorge Martin Espinosa
a9d1a299f5
Prepare update to Rust SDK 0.1.36 ( #966 )
...
* Update to Rust SDK 0.1.36
* Cancel fetching members when the we exit the room
2023-07-26 14:22:09 +00:00
Benoit Marty
b69e01a5f3
Enable detekt rules UseLet and fix existing issues.
2023-07-26 12:12:07 +02:00
Benoit Marty
15ac81d32a
Enable detekt rules UnderscoresInNumericLiterals and fix existing issues.
2023-07-26 11:48:08 +02:00
Benoit Marty
8458a9e937
Enable detekt rules DataClassShouldBeImmutable and fix existing issues.
2023-07-26 11:18:00 +02:00
Benoit Marty
59a66479ab
Merge branch 'develop' into feature/bma/noWarnings
2023-07-21 12:17:50 +02:00
Benoit Marty
c72f1a09a7
Enable detekt rules UnnecessaryParentheses and cleanup the code.
2023-07-20 18:08:08 +02:00
Benoit Marty
bd2826da3a
Enable detekt rules UnusedParameter and UnusedPrivateProperty and cleanup the code.
2023-07-20 17:48:56 +02:00
Benoit Marty
fb587d279c
Stop using deprecated LocalBroadcastManager. We will implement the code when we will work on the troubleshoot notification screen.
2023-07-20 17:39:55 +02:00
Benoit Marty
527f239488
Fix warning (suppress, no sure I want to delete this class right now)
2023-07-20 15:41:44 +02:00
Benoit Marty
b62a174494
Fix warning (comment out dead code due to notification actions not active yet.)
2023-07-20 15:41:09 +02:00
Benoit Marty
201d137e79
Fix warning (suppress, no sure I want to delete this class right now)
2023-07-20 15:37:50 +02:00
Benoit Marty
d1e7f93458
Fix warning (remove dead code)
2023-07-20 15:36:23 +02:00
Benoit Marty
e3f75195c2
Clear all notifications of the session when the user signs out.
2023-07-20 14:53:38 +02:00
Marco Romano
78773b68e7
Make the functions in SystemUtils extensions ( #899 )
...
- They are now all extensions over `Context` or `Activity` (when `Context` is not enough) (some of them already were).
- Allows for IDE completion.
2023-07-18 13:11:11 +00:00
Benoit Marty
b15484933d
Merge branch 'develop' into fix/jme/880-sliding-sync-loop-expires-and-restarts
2023-07-17 22:18:59 +02:00
ganfra
9846db6338
Rework a bit MatrixClientHolder and reintroduce cacheIndex...
2023-07-17 18:34:50 +02:00
Jorge Martin Espinosa
e61af2eb7d
Fix: make sure we ignore notifications for open rooms ( #867 )
...
* Make sure we ignore notifications for open rooms
- Listen to process lifecycle changes in `AppForegroundStateService`. Use initializers to reliable create it.
- Merge `AppNavigationState` with `AppForegroundState`. Renamed the previous `AppNavigationState` to `NavigationState`, created a new `AppNavigationState` which contains both the navigation state and the foreground state.
2023-07-17 17:02:06 +02:00
Jorge Martín
ded1518f0b
Try to centralise session restoration through MatrixClientsHolder
2023-07-17 15:05:13 +02:00
ElementBot
045d957f91
Sync Strings ( #882 )
...
* Sync Strings from Localazy
* Update screenshots
---------
Co-authored-by: bmarty <bmarty@users.noreply.github.com >
2023-07-17 10:22:15 +02:00
Jorge Martín
d69dea6608
Fix sliding sync loop restarts due to expirations
...
Both `NotifiableEventResolver` and `DefaultNotificationDrawerManager` were creating new Rust SDK Clients while processing notifications instead of reusing the already existing one.
2023-07-17 08:05:12 +02:00
Jorge Martin Espinosa
7da59c61cc
Set right timestamp for fallback notifications ( #864 )
2023-07-13 06:02:38 +00:00
Benoit Marty
04890b6f15
Ensure pending intent data are unique.
2023-07-12 17:28:53 +02:00