Commit graph

8350 commits

Author SHA1 Message Date
Benoit Marty
7254216f36
Merge pull request #3388 from element-hq/feature/bma/pushEndpoint
Unified push endpoint: do not fallback to default endpoint in case of failure and add troubleshoot test.
2024-09-04 18:19:34 +02:00
Benoit Marty
5bd64f0425
Merge pull request #3389 from element-hq/feature/bma/removeMigrationScreen
Remove the migration screen
2024-09-04 18:16:29 +02:00
ganfra
e9b37bd154 Pinned messages list : add more test for better coverage. 2024-09-04 17:43:34 +02:00
ElementBot
7c909c2c8d Update screenshots 2024-09-04 14:53:10 +00:00
Benoit Marty
f32e7c7e02 Properly skip the FTUE verification screen if verification is not needed. 2024-09-04 16:41:34 +02:00
ganfra
91a44f6380 Rust sdk : update to 0.2.42 2024-09-04 16:37:46 +02:00
ganfra
ed9426642f Pinned messages : fix test after merging develop 2024-09-04 15:04:20 +02:00
ElementBot
8a8e87a354 Update screenshots 2024-09-04 12:54:42 +00:00
ganfra
c30398ccc7 Pinned messages: clean code 2024-09-04 14:27:18 +02:00
ElementBot
57a8e3b5a6 Update screenshots 2024-09-04 12:22:08 +00:00
ganfra
12e7e05551
Merge branch 'develop' into feature/fga/pinned_messages_list 2024-09-04 14:11:53 +02:00
Benoit Marty
90af83b3ea Fix the test according to the behavior change. 2024-09-04 12:23:52 +02:00
Benoit Marty
faa2f8108c Remove the migration screen. #3292 2024-09-04 12:11:31 +02:00
ganfra
51f7599c38 Pinned messages list : fix all tests after changes 2024-09-04 12:09:17 +02:00
ganfra
c6e7e7d09e Pinned messages : add comment on PinnedEventsTimelineProvider 2024-09-04 11:42:54 +02:00
Benoit Marty
4b7c13dac8 Let UnifiedPushProvider use UnifiedPushCurrentUserPushConfigProvider 2024-09-04 11:42:40 +02:00
ganfra
9ed9559191 Pinned messages list : handle error state (shouldn't really happen) 2024-09-04 11:42:04 +02:00
Benoit Marty
5b478b3c48 Fix injection issue. 2024-09-04 11:31:46 +02:00
Benoit Marty
afa19f4081 Fix quality issue. 2024-09-04 11:16:20 +02:00
Benoit Marty
79795af723 Imporve logs. 2024-09-04 11:12:21 +02:00
ganfra
cd8a708739 Pinned messages list : add some ui tests 2024-09-04 11:11:04 +02:00
Benoit Marty
e05eefb766 Remove const val PUSH_GATEWAY_PATH, it makes the code more complex for no added value. 2024-09-04 11:09:27 +02:00
Benoit Marty
9e60fa9367 Add missing test on reset methods. 2024-09-04 10:57:14 +02:00
renovate[bot]
35a36c10a5
Update dependency com.android.tools:desugar_jdk_libs to v2.1.2 2024-09-04 08:55:36 +00:00
Jorge Martin Espinosa
2c8b0d0b95
Make sure to save the tokens the Client might return when its session is restored (#3378)
* Use `ClientSessionDelegate` to ensure tokens are always updated.

Refreshed tokens on client restoration might not have been stored to disk if the token refresh happened before `RustMatrixClient` was built and the `ClientDelegate` was set in it.

Using `ClientSessionDelegate` should ensure the tokens refreshed callback is called at any point in time.

* Improve how assigning the Client works, fix docs

* Fix review comments
2024-09-04 10:54:31 +02:00
Benoit Marty
a81448c243 Always use the custom url, even if no Matrix gateway is detected. 2024-09-04 10:48:31 +02:00
renovate[bot]
9fb82a1e86
Update dependency org.matrix.rustcomponents:sdk-android to v0.2.41 (#3384)
* Introduce value class UniqueId.

* Allow reactions on non-sent Event, the SDK can now handle it.

Also the SDK will manage local echo for reactions.

* Update dependency org.matrix.rustcomponents:sdk-android to v0.2.41

* Fixes after SDK upgrade:

- Use `ClientBuilderSlidingSync` to set `SlidingSyncVersionBuilder` in `RustMatrixClientFactory`.
- `Room.toggleReaction(emoji: String, eventId: EventId)` is now `Room.toggleReaction(emoji: String, uniqueId: UniqueId)`, since reactions can now be applied to local echoes too in the SDK.

* Rename exception case

* Fix wrong error case being used in test

---------

Co-authored-by: Benoit Marty <benoit@matrix.org>
Co-authored-by: Benoit Marty <benoitm@matrix.org>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2024-09-03 20:09:33 +02:00
ganfra
fad17f05e3 Pinned messages list : fix and add tests 2024-09-03 18:21:42 +02:00
Jorge Martin Espinosa
5920fd3f45
Make pinned events required state in SlidingSync (#3385)
This is needed to always have the pinned events of a room as soon as we open it.
2024-09-03 17:44:48 +02:00
ganfra
b8ba67454b
Merge pull request #3368 from element-hq/renovate/com.posthog-posthog-android-3.x
Update dependency com.posthog:posthog-android to v3.6.1
2024-09-03 17:42:34 +02:00
ganfra
8c0a0d886c Pinned messages list : add loading for pinned messages count and add tests 2024-09-03 14:36:35 +02:00
Benoit Marty
ae3fd89491
Merge pull request #3366 from element-hq/feature/bma/fixAvatarLoading
Fix avatar sometimes not loading
2024-09-03 10:47:53 +02:00
Benoit Marty
99f48723d4
Merge pull request #3381 from element-hq/feature/bma/ossLicense
Replace OSS licenses plugin with Licensee and some manually done UI.
2024-09-03 10:40:58 +02:00
Benoit Marty
91a81d18e4
Merge pull request #3370 from element-hq/feature/bma/cacheFile
Provide distinct cache directory to the Rust SDK.
2024-09-03 10:27:47 +02:00
renovate[bot]
f52ff61cdf
Update peter-evans/create-pull-request action to v7 2024-09-03 08:18:58 +00:00
Benoit Marty
9f26d90c13
Merge pull request #3367 from element-hq/renovate/mobile-dev-inc-action-maestro-cloud-1.x
Update mobile-dev-inc/action-maestro-cloud action to v1.9.1
2024-09-03 10:16:11 +02:00
Benoit Marty
951dff8951 Fix test compilation issue. 2024-09-03 10:01:45 +02:00
ganfra
e840581247 Pinned messages list : navigation from room details 2024-09-03 09:41:30 +02:00
ElementBot
add197698f Update screenshots 2024-09-02 20:00:50 +00:00
Benoit Marty
965e445d04 Replace OSS licenses plugin with Licensee and some manually done UI.
This should fix both configuration cache and reproducible F-droid builds.

Cleanup and remove gplay/fdroid diff on open source licenses.

Co-authored by @jmartinesp
2024-09-02 21:11:52 +02:00
renovate[bot]
5419fa003a
Update mobile-dev-inc/action-maestro-cloud action to v1.9.1 2024-09-02 15:17:25 +00:00
Jorge Martin Espinosa
94f1388402
Use the right colors for @room mention pills (#3376)
* `@room` mentions the current user, so it should use the same colors as an explicit mention to them

* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-09-02 15:14:54 +00:00
ganfra
4d0e5447a1 Pinned events : add debounce on list 2024-09-02 14:06:05 +02:00
Benoit Marty
941c762cff
Merge pull request #3373 from element-hq/sync-localazy
Sync Strings
2024-09-02 13:22:11 +02:00
Benoit Marty
1cc87cfed1 Fix typo (also fixed on Localazy). 2024-09-02 13:21:14 +02:00
Benoit Marty
c19229b313
Merge pull request #3369 from element-hq/feature/bma/fixPinLockCrash
Ensure starting PinUnlockActivity does not crash the application.
2024-09-02 12:28:36 +02:00
ElementBot
17ca03d76b Update screenshots 2024-09-02 10:19:03 +00:00
Benoit Marty
b043ec8796 Remove subtitle. 2024-09-02 12:11:53 +02:00
Benoit Marty
f03bd282e7 Change the way we do not delete the crypto database. 2024-09-02 11:29:44 +02:00
Benoit Marty
6255a78145 App migration: also move the cache files. 2024-09-02 11:26:59 +02:00