Commit graph

7395 commits

Author SHA1 Message Date
Benoit Marty
faa40dbb19 Move notification_accent_color from resource file to NotificationConfig 2024-06-19 16:48:00 +02:00
Benoit Marty
2c181e376b Remove unused import. 2024-06-19 15:59:41 +02:00
ElementBot
67caae492d Update screenshots 2024-06-19 11:52:27 +00:00
Benoit Marty
416cbb679b Update test and add test for incoming call when notifications are disabled. 2024-06-19 11:44:08 +02:00
Benoit Marty
8f916eaece Always notify for incoming calls, even if notifications are disabled. 2024-06-19 11:15:49 +02:00
Benoit Marty
7d57144384 Add preview for disabled notifications. 2024-06-19 11:09:57 +02:00
Benoit Marty
bebd344e72 Notification channels: Use NotificationChannelCompat.Builder. 2024-06-19 10:56:29 +02:00
Benoit Marty
ed5eb48159 Notification channels: No need to include the version in the constant name. 2024-06-19 10:40:10 +02:00
Benoit Marty
e66a725f30 Notification channels: Remove unused LISTEN_FOR_EVENTS_NOTIFICATION_CHANNEL_ID 2024-06-19 10:39:03 +02:00
Benoit Marty
02c376b9bf Notification channels: small iteration on old channel deletion. 2024-06-19 10:37:33 +02:00
Benoit Marty
eceb44767c
Merge pull request #3050 from element-hq/feature/bma/concurrencyRefreshTokenfix
Avoid restoring several MatrixClient
2024-06-19 09:14:06 +02:00
Benoit Marty
5420cd01ad Typo 2024-06-19 09:10:41 +02:00
Benoit Marty
0149a7e03f
Merge pull request #3048 from element-hq/feature/fga/update_rust_sdk_0.2.27
Rust : handle api changes for 0.2.27
2024-06-18 18:39:10 +02:00
Benoit Marty
d3ae610c29
Merge pull request #3049 from element-hq/feature/bma/hiddenText
Fix recovery key field hidden when keyboard is opened.
2024-06-18 18:38:20 +02:00
Benoit Marty
874bf5b901 Ensure that process recreation also use the restoreMutex 2024-06-18 18:33:04 +02:00
Benoit Marty
4332357e76 Add import for doc. 2024-06-18 18:13:23 +02:00
Benoit Marty
a8cd659b1f Avoid restoring several MatrixClient 2024-06-18 18:04:30 +02:00
ganfra
420872fed9 Rust : handle api changes for 0.2.27 2024-06-18 17:01:38 +02:00
ElementBot
352a4b5526 Update screenshots 2024-06-18 14:35:04 +00:00
Benoit Marty
cc57652e55 Fix UI test and add missing test. 2024-06-18 16:22:07 +02:00
Benoit Marty
cd9f3ad3fb Use receiver. 2024-06-18 15:54:45 +02:00
Benoit Marty
47856c22ce Allow scroll in the "Enter recovery key" screen. #3042 2024-06-18 15:42:07 +02:00
Benoit Marty
c6f5033661 Add missing preview 2024-06-18 14:47:47 +02:00
Benoit Marty
ef316032f8 Fix toString content 2024-06-18 14:45:13 +02:00
Benoit Marty
2cb2ecb243 Remove dead code. 2024-06-18 14:37:53 +02:00
Benoit Marty
7b5e7c4c00
Merge pull request #3035 from element-hq/feature/bma/fixFdroidNotification
Feature/bma/fix fdroid notification
2024-06-18 12:55:27 +02:00
Benoit Marty
f93601fd84
Merge pull request #3045 from element-hq/renovate/com.posthog-posthog-android-3.x
Update dependency com.posthog:posthog-android to v3.3.2
2024-06-18 12:55:11 +02:00
Jorge Martin Espinosa
2e32adf1f1
Improve how active calls work (#3029)
* Improve how active calls work:

- Sending the `m.call.notify` event is now done in `CallScreenPresenter` once we know the sync is running.
- You can mark a call of both external url or room type as joined.
- Hanging up checks the current active call type and will only remove it if it matches.
2024-06-18 12:07:08 +02:00
Benoit Marty
d69a5ee1a1 Also fix same issue for analytics. 2024-06-18 11:08:25 +02:00
Benoit Marty
bc30aee359 Iterate on sessionVerificationService.sessionVerifiedStatus and fix tests. 2024-06-18 11:02:19 +02:00
ganfra
2b5ea96110
Merge pull request #3037 from element-hq/feature/fga/timeline_cancelable_focus
Feature/fga/timeline cancelable focus
2024-06-18 10:59:54 +02:00
ganfra
52d856bc94
Merge pull request #3038 from element-hq/renovate/org.maplibre.gl-android-sdk-11.x
Update dependency org.maplibre.gl:android-sdk to v11.0.1
2024-06-18 10:42:45 +02:00
ganfra
97ec100e76 ProgressDialog : rename isCancellable param to showCancelButton on the ProgressDialogContent method. 2024-06-18 10:36:19 +02:00
Benoit Marty
f09b77f72f Update test after merging develop. 2024-06-18 10:33:07 +02:00
Benoit Marty
69dbb08034
Merge branch 'develop' into feature/bma/fixFdroidNotification 2024-06-18 10:28:04 +02:00
Benoit Marty
849f64f4aa
Merge pull request #3044 from element-hq/feature/bma/testDefaultClearCacheUseCase
Add test on DefaultClearCacheUseCase
2024-06-18 10:27:45 +02:00
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>
2024-06-18 07:41:10 +00:00
renovate[bot]
192fafbe59
Update dependency com.posthog:posthog-android to v3.3.2 2024-06-17 19:18:57 +00:00
Benoit Marty
9349f1bf6a Remove trailing line. 2024-06-17 18:58:07 +02:00
Benoit Marty
85eae468b7 Cleanup 2024-06-17 18:27:57 +02:00
ElementBot
46f71de5ef Update screenshots 2024-06-17 16:15:43 +00:00
Benoit Marty
d97db21d75 Rather use NoDistributorsAvailable, it has more chance to happen IRL. 2024-06-17 18:03:00 +02:00
Benoit Marty
892a6d5503 Add test about selecting the first provider with a distributor. 2024-06-17 17:54:55 +02:00
Benoit Marty
0908e9b9e4 Fix test issue. 2024-06-17 17:49:01 +02:00
Benoit Marty
e12f723ff7 Fix test compilation issue. 2024-06-17 17:38:10 +02:00
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.
2024-06-17 17:36:39 +02:00
Benoit Marty
f72fc36de8 Update PushProvider API, remove isAvailable(), but instead rely on getDistributors() to eventually return an empty list of Distributors. 2024-06-17 17:25:13 +02:00
Benoit Marty
1f8b525548 Fix back navigation issue, when opening directly the notification troubleshoot screen. 2024-06-17 16:53:21 +02:00
Benoit Marty
5180ce388c Add a shortcut to navigate to the notification settings in case of error. 2024-06-17 16:29:10 +02:00
Benoit Marty
b916aee958 Add test on DefaultClearCacheUseCase 2024-06-17 16:01:56 +02:00