ElementBot
1f01bd73c4
Sync Strings ( #3232 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
3 months ago
Benoit Marty
5bda29ca7e
Rework FakeMatrixRoom so that it contains only lambdas. ( #3229 )
...
* Upgrade lint to 8.7.0-alpha01
* FakeMatrixRoom: lambda everywhere
Fix test compilation issues
3 months ago
Benoit Marty
756e04493e
Remove `PushBindsModule` and use `ContributesBinding`.
4 months ago
Benoit Marty
6ea629a4d2
Rename interface `NotificationDrawerManager` to `NotificationCleaner` since it actually contains only method to remove notifications.
4 months ago
Benoit Marty
83051d7231
Update documentation
4 months ago
Jorge Martin Espinosa
0be7058416
Unify the way we decide whether a room is a DM or a group room ( #3100 )
...
* Add centralised 'room is DM' check
Also add extension functions for `MatrixRoom` and `MatrixRoomInfo`.
* Use the centralised method and extension functions through the app, including:
- Room list.
- Room details screen.
- Invites.
- Notifications.
Replace most `isDirect` usages with `isDm`.
* Update screenshots
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
4 months ago
jmartinesp
dabaa2d265
Sync Strings from Localazy
4 months ago
Jorge Martin Espinosa
05df1f2065
Fix crash when getting the system ringtone for ringing calls ( #3131 )
4 months ago
bmarty
32c5da898b
Sync Strings from Localazy
4 months ago
ElementBot
fd6bcb7857
Sync Strings ( #3077 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
4 months ago
Benoit Marty
faa40dbb19
Move `notification_accent_color` from resource file to `NotificationConfig`
4 months ago
Benoit Marty
2c181e376b
Remove unused import.
4 months ago
Benoit Marty
416cbb679b
Update test and add test for incoming call when notifications are disabled.
4 months ago
Benoit Marty
8f916eaece
Always notify for incoming calls, even if notifications are disabled.
4 months ago
Benoit Marty
bebd344e72
Notification channels: Use `NotificationChannelCompat.Builder`.
4 months ago
Benoit Marty
ed5eb48159
Notification channels: No need to include the version in the constant name.
4 months ago
Benoit Marty
e66a725f30
Notification channels: Remove unused `LISTEN_FOR_EVENTS_NOTIFICATION_CHANNEL_ID`
4 months ago
Benoit Marty
02c376b9bf
Notification channels: small iteration on old channel deletion.
4 months ago
Jorge Martin Espinosa
b741c32e91
Add full screen intent permissions banner ( #3024 )
...
* Add full screen intent permissions banner, creating `:libraries:fullscreenintent` modules.
* Add it to notification settings too:
- Create `libraries:fullscreenintent` modules for the permission presenter and associated data.
- Add the presenter and states to `NotificationSettingsPresenter` and `NotificationSettingsView`.
* Use the right API to check for full screen intent permissions.
- Use the right package name for `:libraries:permission` contents.
* Fix broken tests (flaky?)
* Ignore coverage verification for fake and small presenters
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
5 months ago
Benoit Marty
b4b407a69e
Store the first provider even if no distributor is available, else error in troubleshoot test will not be accurate.
...
Also when registering for the first time, pick the fist available provider with at least one distributor.
5 months ago
Benoit Marty
f72fc36de8
Update PushProvider API, remove `isAvailable()`, but instead rely on `getDistributors()` to eventually return an empty list of Distributors.
5 months ago
Benoit Marty
eb07ae2855
Add test on `ignoreRegistrationError` and `setIgnoreRegistrationError`
5 months ago
Benoit Marty
64930e4435
Add ability to not show the pusher registration again.
5 months ago
Benoit Marty
725c3838af
Render an error dialog in case registering a pusher fails.
5 months ago
Benoit Marty
148177f24e
Fix typo in log.
5 months ago
bmarty
9288b90ac6
Sync Strings from Localazy
5 months ago
Benoit Marty
6491405b76
Remove TODO.
5 months ago
Benoit Marty
0fa662175d
Un-deprecate `screen_room_retry_send_menu_send_again_action` and sync string again.
5 months ago
Jorge Martin Espinosa
f07ec61ecc
Notify of ringing call when there's an active call ( #3003 )
...
* Add `CallNotificationEventResolver` to be able to force the new ringing notification to be non-ringing given an existing ringing one.
5 months ago
Jorge Martin Espinosa
30a1367714
Element Call ringing notifications ( #2978 )
...
- Add `ActiveCallManager` to handle incoming and ongoing calls.
- Add ringing call notifications with full screen intents and missed call ones as part of the 'conversation' notifications.
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
5 months ago
bmarty
f3d286911c
Sync Strings from Localazy
5 months ago
Benoit Marty
acefbbc7d8
Fix formatting issues.
5 months ago
Benoit Marty
afe5c33f33
Add test on NotificationBroadcastReceiverHandler
5 months ago
Benoit Marty
4db9b5ee11
Use getStringExtra
5 months ago
Benoit Marty
d8c68e5b19
Remove unused actions and fix comment
5 months ago
Benoit Marty
6eaa6a6b99
Extract NotificationBroadcastReceiverHandler to its own file
5 months ago
Benoit Marty
cface66f20
Do not provide the context, but use the StringProvider.
5 months ago
Benoit Marty
37d9d42eb7
NotificationBroadcastReceiver now delegate treatment to NotificationBroadcastReceiverHandler to be able to unit test the logic
5 months ago
Benoit Marty
61b3709970
Let NotificationBroadcastReceiver inject NotificationDrawerManager instead of implementation
5 months ago
Benoit Marty
3ddec73ac5
When replying from notification, do not interfere with `specialModeEventTimelineItem`
5 months ago
Benoit Marty
7c559363a4
Handle quick reply from notification (still disabled)
5 months ago
bmarty
66636ea967
Sync Strings from Localazy
5 months ago
Jorge Martin Espinosa
025d913b6e
Simplify summary notifications ( #2958 )
5 months ago
Jorge Martin Espinosa
8b85cc0160
Fix grouped notifications only displaying the latest message ( #2956 )
...
`DefaultActiveNotificationsProvider.getNotificationsForSession(sessionId)` had a broken logic for checking a notification's group and retrieving notifications from the same session.
5 months ago
bmarty
ca5bc71057
Sync Strings from Localazy
5 months ago
Benoit Marty
8c3bb043ab
Fix small issue introduced in #2924 .
5 months ago
Jorge Martin Espinosa
a1adc7476d
Bump Matrix Rust SDK to `v0.2.21` and fix conflicts ( #2938 )
5 months ago
Jorge Martin Espinosa
04e503177b
Notifications: simplify the flow by removing persistence ( #2924 )
...
* Notifications: simplify the flow by removing persistence.
* Bump of minSdk to `24` (Android 7).
* Add migration to remove `notification.bin` file
5 months ago
Benoit Marty
b3e0f6e843
Translations: pt -> pt-rBR
5 months ago
bmarty
f24e537580
Sync Strings from Localazy
5 months ago