Commit Graph

7371 Commits

Author SHA1 Message Date
ganfra
05ab1500c7 Rust : handle api changes for 0.2.27 2024-06-18 16:30:33 +02:00
Benoit Marty
e4bfc5ef8f 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
57258710f4 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
fcbc095064 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
1bf27aad3e Also fix same issue for analytics. 2024-06-18 11:08:25 +02:00
Benoit Marty
e44de15f94 Iterate on sessionVerificationService.sessionVerifiedStatus and fix tests. 2024-06-18 11:02:19 +02:00
ganfra
93ccf07ad4 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
731ce7b212 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
873eeadb65 ProgressDialog : rename isCancellable param to showCancelButton on the ProgressDialogContent method. 2024-06-18 10:36:19 +02:00
Benoit Marty
83bfa3d9fc Update test after merging develop. 2024-06-18 10:33:07 +02:00
Benoit Marty
1d5970adbc Merge branch 'develop' into feature/bma/fixFdroidNotification 2024-06-18 10:28:04 +02:00
Benoit Marty
038b60a271 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
feef0f6976 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]
b546ae3de6 Update dependency com.posthog:posthog-android to v3.3.2 2024-06-17 19:18:57 +00:00
Benoit Marty
8dbb55180f Remove trailing line. 2024-06-17 18:58:07 +02:00
Benoit Marty
e675692fa4 Cleanup 2024-06-17 18:27:57 +02:00
ElementBot
a9dcdbf2ae Update screenshots 2024-06-17 16:15:43 +00:00
Benoit Marty
ff40b095fe Rather use NoDistributorsAvailable, it has more chance to happen IRL. 2024-06-17 18:03:00 +02:00
Benoit Marty
6ea0fc8d17 Add test about selecting the first provider with a distributor. 2024-06-17 17:54:55 +02:00
Benoit Marty
618c351f9f Fix test issue. 2024-06-17 17:49:01 +02:00
Benoit Marty
ff201c6412 Fix test compilation issue. 2024-06-17 17:38:10 +02:00
Benoit Marty
622cc35616 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
90eeb6cdb1 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
059c0dfe59 Fix back navigation issue, when opening directly the notification troubleshoot screen. 2024-06-17 16:53:21 +02:00
Benoit Marty
2e8b63c006 Add a shortcut to navigate to the notification settings in case of error. 2024-06-17 16:29:10 +02:00
Benoit Marty
4a885769be Add test on DefaultClearCacheUseCase 2024-06-17 16:01:56 +02:00
Benoit Marty
64433ea209 Move InMemoryMigrationScreenStore to a test module. 2024-06-17 15:26:50 +02:00
Benoit Marty
feb6930222 Rename member. 2024-06-17 15:18:22 +02:00
Benoit Marty
f1229c582d Create test module with FakeFtueService 2024-06-17 15:12:08 +02:00
Benoit Marty
cb07ccdeb9 Add test on DefaultFtueService.reset(). 2024-06-17 15:04:20 +02:00
Benoit Marty
2b062f217b Rename method and val. 2024-06-17 14:56:56 +02:00
Benoit Marty
2533dff00c Add Unit test on UserPushStoreDataStore 2024-06-17 14:48:52 +02:00
Benoit Marty
22df215bac Add test on ignoreRegistrationError and setIgnoreRegistrationError 2024-06-17 14:48:52 +02:00
Benoit Marty
4b57c78a57 Rename member. 2024-06-17 14:48:52 +02:00
Benoit Marty
26fd24b341 Move setIgnoreRegistrationError call. 2024-06-17 14:48:51 +02:00
ElementBot
582fa30736 Update screenshots 2024-06-17 11:22:16 +00:00
Benoit Marty
366d6c017d Add ability to not show the pusher registration again. 2024-06-17 11:38:32 +02:00
Benoit Marty
deb0e0aaac Create component ErrorDialogWithDoNotShowAgain 2024-06-17 11:30:24 +02:00
Benoit Marty
e6f6e82ce2 Render an error dialog in case registering a pusher fails. 2024-06-17 11:30:23 +02:00
Benoit Marty
f7b8e0c931 Add pusher status in the state.
It improve the tests and we may want to render errors in the View at some point.
2024-06-17 11:30:23 +02:00
Benoit Marty
3eaf780087 Add test on pusher registration 2024-06-17 11:30:22 +02:00
Benoit Marty
9097d73f38 More log. 2024-06-17 11:30:22 +02:00
Benoit Marty
cf2c8dfe3b Add Timber tag. 2024-06-17 11:30:21 +02:00
Benoit Marty
122841a026 Ensure that the code is not run twice. 2024-06-17 11:30:21 +02:00
Benoit Marty
cb8bd077da Extract function and add more logs. 2024-06-17 11:30:21 +02:00
Benoit Marty
209d4f8fe0 Pusher add more log and change comment to log. 2024-06-17 11:30:20 +02:00
Benoit Marty
da8285b10e Fix typo in log. 2024-06-17 11:30:20 +02:00
Benoit Marty
7322c75a67 Merge pull request #3040 from element-hq/sync-localazy
Sync Strings
2024-06-17 09:53:11 +02:00
bmarty
7b27ba116d Sync Strings from Localazy 2024-06-17 00:23:40 +00:00
renovate[bot]
8e38d941fe Update dependency org.maplibre.gl:android-sdk to v11.0.1 2024-06-15 00:43:08 +00:00