Commit Graph

8102 Commits

Author SHA1 Message Date
Benoit Marty
ec4f2dcfbf Properly skip the FTUE verification screen if verification is not needed. 2024-09-04 16:41:34 +02:00
Jorge Martin Espinosa
4fbf98700a 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
renovate[bot]
5ba88dc5b0 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
Jorge Martin Espinosa
08d05647af 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
9b94428702 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
Benoit Marty
0e5ecf2d07 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
200c1ae5c5 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
3efb371d34 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
Benoit Marty
590dee0e9f 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
b062431f1b Fix test compilation issue. 2024-09-03 10:01:45 +02:00
ElementBot
9e186aca64 Update screenshots 2024-09-02 20:00:50 +00:00
Benoit Marty
b9169e6c76 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]
69f6e382e7 Update mobile-dev-inc/action-maestro-cloud action to v1.9.1 2024-09-02 15:17:25 +00:00
Jorge Martin Espinosa
9b27547196 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
Benoit Marty
9c21a96d3d Merge pull request #3373 from element-hq/sync-localazy
Sync Strings
2024-09-02 13:22:11 +02:00
Benoit Marty
6c306ead08 Fix typo (also fixed on Localazy). 2024-09-02 13:21:14 +02:00
Benoit Marty
b6c457fca4 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
3658f07c73 Update screenshots 2024-09-02 10:19:03 +00:00
Benoit Marty
5995212777 Remove subtitle. 2024-09-02 12:11:53 +02:00
Benoit Marty
8213b0a980 Change the way we do not delete the crypto database. 2024-09-02 11:29:44 +02:00
Benoit Marty
06f0fd1f64 App migration: also move the cache files. 2024-09-02 11:26:59 +02:00
bmarty
39ef8b38bb Sync Strings from Localazy 2024-09-02 00:15:17 +00:00
Benoit Marty
40832d7815 Introduce SessionPathsFactory. 2024-08-30 18:42:00 +02:00
Benoit Marty
93cace6954 Provide distinct cache directory to the Rust SDK. 2024-08-30 18:36:20 +02:00
Benoit Marty
9f67c65c2c Merge pull request #3360 from element-hq/feature/bma/sessionVerificationBannerIsBack
Add banner entry point to set up recovery
2024-08-30 16:56:11 +02:00
Benoit Marty
a74dde96e0 Merge pull request #3359 from element-hq/feature/bma/signOutOnIdentityConfirmation
Add a way to sign out when the user is asked to verify the session.
2024-08-30 16:42:23 +02:00
Benoit Marty
d6d7b100ec Ensure starting PinUnlockActivity does not crash the application.
Fix regression from #3222 fc6436dada
2024-08-30 16:15:54 +02:00
renovate[bot]
d34bc4cbc0 Update dependency com.posthog:posthog-android to v3.6.1 2024-08-30 13:16:43 +00:00
ganfra
689e76190d Merge pull request #3358 from element-hq/renovate/com.posthog-posthog-android-3.x
Update dependency com.posthog:posthog-android to v3.6.0
2024-08-30 14:22:47 +02:00
Benoit Marty
3bc1c80659 Merge pull request #3364 from element-hq/renovate/io.nlopez.compose.rules-detekt-0.x
Update dependency io.nlopez.compose.rules:detekt to v0.4.11
2024-08-30 13:17:46 +02:00
Benoit Marty
53dafc706c AvatarData.toMediaRequestData() can be internal. 2024-08-30 13:12:03 +02:00
Benoit Marty
2b201477da CoilMediaFetcher.mediaData cannot be null. 2024-08-30 13:07:39 +02:00
Benoit Marty
cb7ca7c575 Log more errors. 2024-08-30 13:06:26 +02:00
Benoit Marty
1949c2ec0b Rework: extract AvatarFactory and MediaRequestDataFactory from CoilMediaFetcher 2024-08-30 12:57:49 +02:00
Benoit Marty
b1d4e5c206 Merge pull request #3363 from element-hq/renovate/android.gradle.plugin
Update android.gradle.plugin to v8.6.0
2024-08-30 10:45:26 +02:00
renovate[bot]
4e473c9cdd Update dependency io.nlopez.compose.rules:detekt to v0.4.11 2024-08-30 08:29:31 +00:00
Benoit Marty
85eb9e9477 Merge pull request #3362 from element-hq/renovate/dependencyanalysis
Update dependencyAnalysis to v2.0.1
2024-08-30 10:26:18 +02:00
Benoit Marty
022a2fe2bd Increase test coverage of securityBannerState() 2024-08-30 09:15:53 +02:00
renovate[bot]
03c8b03134 Update android.gradle.plugin to v8.6.0 2024-08-29 20:15:09 +00:00
renovate[bot]
7ebb30d454 Update dependencyAnalysis to v2.0.1 2024-08-29 20:15:04 +00:00
ElementBot
9d4a2cfafa Update screenshots 2024-08-29 16:48:33 +00:00
Benoit Marty
f0c2229621 Add banner entry point to set up recovery 2024-08-29 18:34:55 +02:00
ElementBot
50fa209baf Update screenshots 2024-08-29 14:39:56 +00:00
Benoit Marty
a645e9762f Show sign out button only at initial step. 2024-08-29 16:29:30 +02:00
Benoit Marty
20a8862b3f Add a way to sign out when the user is asked to verify the session. 2024-08-29 15:56:08 +02:00
Benoit Marty
4843a802b6 Merge pull request #3357 from element-hq/renovate/com.google.testparameterinjector-test-parameter-injector-1.x
Update dependency com.google.testparameterinjector:test-parameter-injector to v1.17
2024-08-29 15:10:08 +02:00
renovate[bot]
c081695c85 Update dependency com.posthog:posthog-android to v3.6.0 2024-08-29 12:47:43 +00:00
renovate[bot]
e32647a80e Update dependency com.google.testparameterinjector:test-parameter-injector to v1.17 2024-08-29 12:47:38 +00:00
Benoit Marty
82fa369c8b Merge pull request #3320 from element-hq/feature/bma/cleanNotificationOfRedactedEvent
Redact message on displayed notification
2024-08-29 14:46:13 +02:00
Benoit Marty
5b8e4b568f Merge pull request #3355 from element-hq/feature/bma/resetIdentityIteration2
[Identity reset] Remove instruction to reset identity on another client.
2024-08-29 13:17:13 +02:00