Commit Graph

3525 Commits

Author SHA1 Message Date
Benoit Marty
62a6e916a6 Migrate license to AGPL - XML files. 2024-09-06 17:43:35 +02:00
Benoit Marty
2b016227e9 Migrate license to AGPL.
Run script `uv run license-editor --repository ../element-x-android`
2024-09-06 17:19:19 +02:00
ganfra
e5c81db224 Merge pull request #3392 from element-hq/feature/fga/pinned_messages_list
[Feature] Pinned messages list
2024-09-06 16:32:44 +02:00
Benoit Marty
ab3b49c7e9 Merge pull request #3409 from element-hq/feature/bma/recoveryKeyFormatting
Recovery key formatting and wording iteration
2024-09-06 16:30:39 +02:00
Benoit Marty
8ce1687bf5 var -> val for lambda 2024-09-06 14:46:28 +02:00
Benoit Marty
e4a2bfa9f0 Use the local val instead. 2024-09-06 13:54:15 +02:00
Benoit Marty
8705229930 Fix test compilation issue. 2024-09-06 13:52:43 +02:00
Benoit Marty
9693a248f7 Add missing test for AppMigration06 2024-09-06 11:51:59 +02:00
Benoit Marty
c51d098679 Add missing test for AppMigration05 2024-09-06 11:41:13 +02:00
Benoit Marty
b00061263a Do not perform any migration on fresh application installation. 2024-09-06 10:52:39 +02:00
Benoit Marty
76e34ae798 Add an application migration to delete the old log files. 2024-09-06 09:31:14 +02:00
ganfra
a37a6d249f Pinned messages list : improve and fix code after PR review. 2024-09-05 17:40:50 +02:00
Benoit Marty
95c39c5c7f Fix wording issue. We know have a footer to explain that a passphrase will work. 2024-09-05 17:34:04 +02:00
Benoit Marty
1b39155bef RecoveryKey: add previews to check the visual transformation. 2024-09-05 17:31:41 +02:00
Jorge Martin Espinosa
d463b6ba4a Fix Element Call closing automatically on API 34 (#3402)
* Fix Element Call closing automatically on API 34

It seems like registering a user leave hint listener way too early was causing the activity to try to enter PiP erroneously and that led to the activity closing instead.
2024-09-05 14:28:05 +00:00
Benoit Marty
8cc8f1fce1 Merge pull request #3295 from frebib/feat/big-emoji
Big emoji-only messages
2024-09-04 18:36:26 +02:00
Benoit Marty
02e40a9fe0 Remove unnecessary parenthesis 2024-09-04 18:35:26 +02:00
Benoit Marty
f820adfb9a Merge pull request #3395 from element-hq/feature/bma/noDeviceVerifiedAfterRegistration
Skip device verification screen when creating a new account using OIDC
2024-09-04 18:28:30 +02:00
ganfra
ec4aab0c12 Pinned messages list : add more test for better coverage. 2024-09-04 17:43:34 +02:00
Benoit Marty
ec4f2dcfbf Properly skip the FTUE verification screen if verification is not needed. 2024-09-04 16:41:34 +02:00
ganfra
a634350a1b Pinned messages : fix test after merging develop 2024-09-04 15:04:20 +02:00
ganfra
ff3646ead0 Pinned messages: clean code 2024-09-04 14:27:18 +02:00
ganfra
9936dbc464 Merge branch 'develop' into feature/fga/pinned_messages_list 2024-09-04 14:11:53 +02:00
Benoit Marty
e74b3757da Remove the migration screen. #3292 2024-09-04 12:11:31 +02:00
ganfra
5d18b1a8fa Pinned messages list : fix all tests after changes 2024-09-04 12:09:17 +02:00
ganfra
71e13b2aa2 Pinned messages : add comment on PinnedEventsTimelineProvider 2024-09-04 11:42:54 +02:00
ganfra
82d19fd65e Pinned messages list : handle error state (shouldn't really happen) 2024-09-04 11:42:04 +02:00
ganfra
b10472bd6c Pinned messages list : add some ui tests 2024-09-04 11:11:04 +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
ganfra
2c41d4583a Pinned messages list : fix and add tests 2024-09-03 18:21:42 +02:00
ganfra
80f750ae34 Pinned messages list : add loading for pinned messages count and add tests 2024-09-03 14:36:35 +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
ganfra
faae2d1004 Pinned messages list : navigation from room details 2024-09-03 09:41:30 +02: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
ganfra
e7228b9460 Pinned events : add debounce on list 2024-09-02 14:06:05 +02: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
Benoit Marty
5995212777 Remove subtitle. 2024-09-02 12:11:53 +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
93cace6954 Provide distinct cache directory to the Rust SDK. 2024-08-30 18:36:20 +02:00
ganfra
a4e0428403 Pinned events : better navigation from ViewInTimeline or permalink 2024-08-30 18:28:45 +02:00
ganfra
7b64685777 Pinned events : simplify poll content view 2024-08-30 18:27:19 +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
d6d7b100ec Ensure starting PinUnlockActivity does not crash the application.
Fix regression from #3222 fc6436dada
2024-08-30 16:15:54 +02:00
ganfra
3cc749dd0a Pinned events : start displaying actions in timeline 2024-08-30 15:15:22 +02:00
Benoit Marty
022a2fe2bd Increase test coverage of securityBannerState() 2024-08-30 09:15:53 +02:00