Benoit Marty
375ac25d8d
Migrate license to AGPL - XML files.
2 months ago
Benoit Marty
f61df38e55
Migrate license to AGPL.
...
Run script `uv run license-editor --repository ../element-x-android`
2 months ago
Jorge Martin Espinosa
0ec19ec566
Fix new logins with Simplified SS using the proxy ( #3417 )
...
* Fix new logins with Simplified SS using the proxy
* Make sure `ClientBuilderSlidingSync.Restored` is always used for restored sessions
2 months ago
Benoit Marty
9d91cc6184
Add missing test for AppMigration06
2 months ago
Benoit Marty
56fd455d44
Add missing test for AppMigration05
2 months ago
ganfra
d3420da599
Pinned messages list : improve and fix code after PR review.
2 months ago
ganfra
91a44f6380
Rust sdk : update to 0.2.42
2 months ago
ganfra
c30398ccc7
Pinned messages: clean code
2 months ago
Benoit Marty
90af83b3ea
Fix the test according to the behavior change.
2 months ago
ganfra
51f7599c38
Pinned messages list : fix all tests after changes
2 months ago
Benoit Marty
4b7c13dac8
Let UnifiedPushProvider use UnifiedPushCurrentUserPushConfigProvider
2 months ago
Benoit Marty
5b478b3c48
Fix injection issue.
2 months ago
Benoit Marty
afa19f4081
Fix quality issue.
2 months ago
Benoit Marty
79795af723
Imporve logs.
2 months ago
Benoit Marty
e05eefb766
Remove `const val PUSH_GATEWAY_PATH`, it makes the code more complex for no added value.
2 months ago
Benoit Marty
9e60fa9367
Add missing test on reset methods.
2 months ago
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
2 months ago
Benoit Marty
a81448c243
Always use the custom url, even if no Matrix gateway is detected.
2 months ago
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>
2 months ago
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.
2 months ago
Benoit Marty
951dff8951
Fix test compilation issue.
2 months ago
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>
2 months ago
Benoit Marty
f03bd282e7
Change the way we do not delete the crypto database.
2 months ago
bmarty
5ad2764402
Sync Strings from Localazy
2 months ago
Benoit Marty
8b65cf2f4b
Introduce SessionPathsFactory.
2 months ago
Benoit Marty
c41cb33410
Provide distinct cache directory to the Rust SDK.
2 months ago
ganfra
2193b9a300
Pinned events : start displaying actions in timeline
2 months ago
Benoit Marty
e35ba7af8f
`AvatarData.toMediaRequestData()` can be internal.
2 months ago
Benoit Marty
34ba0a5e98
CoilMediaFetcher.mediaData cannot be null.
2 months ago
Benoit Marty
cef31d3704
Log more errors.
2 months ago
Benoit Marty
a9ab32c8e3
Rework: extract AvatarFactory and MediaRequestDataFactory from CoilMediaFetcher
2 months ago
Benoit Marty
bc5ab0759c
Use `let`.
2 months ago
Benoit Marty
dfaa350167
Better handling on null reset handler.
...
This is not an error, but in this case, the reset identity is successful.
2 months ago
ganfra
1101c8db65
Fix maplibre annotation plugins dependency
2 months ago
ganfra
4ecc9f46b6
Fix maplibre annotation plugins dependency
2 months ago
Benoit Marty
61c66073e6
Fix formatting error
2 months ago
ganfra
741c3679ea
Timeline : add a mode to differentiate between live/focused/pinned
2 months ago
Benoit Marty
e524c6cc64
Add missing test on null redacted eventId.
2 months ago
Benoit Marty
ea2957797a
Add test on DefaultOnRedactedEventReceived
2 months ago
Benoit Marty
d55bb57fa4
Improve FakeActiveNotificationsProvider.
2 months ago
Benoit Marty
46106c96f7
Remove unused method ActiveNotificationsProvider.getAllNotifications()
2 months ago
Benoit Marty
d867a5fe6f
Cleanup notification for redacted event.
2 months ago
Benoit Marty
43d619217c
NotifiableEvent does not need to be Serializable anymore.
2 months ago
Benoit Marty
19bca0775a
Remove usage of `with(notificationDataFactory)` for code clarity.
2 months ago
Benoit Marty
68e3e0d2b2
Format file
2 months ago
ganfra
7310adcf07
Rust sdk : fix tests after api breaks
2 months ago
Benoit Marty
ad646c9098
Remove feature flag `PictureInPicture`
2 months ago
ganfra
2361b597d9
Rust sdk : handle the remaining changes
2 months ago
ganfra
88a581427c
Rust sdk : refactor LocalSendState to use the new failure states as iOS does
2 months ago
ganfra
e5b21c389e
Rust sdk : use newMessageShield state
2 months ago