Commit graph

3532 commits

Author SHA1 Message Date
ganfra
74c02cc2d3 Timeline : remove the encrypted history banner for now. 2024-09-09 11:20:50 +02:00
Benoit Marty
6251cb9269
Merge pull request #3422 from element-hq/feature/bma/agpl
Change license to AGPL
2024-09-06 20:40:28 +02:00
Benoit Marty
375ac25d8d Migrate license to AGPL - XML files. 2024-09-06 17:43:35 +02:00
Benoit Marty
f61df38e55 Migrate license to AGPL.
Run script `uv run license-editor --repository ../element-x-android`
2024-09-06 17:19:19 +02:00
Benoit Marty
5bffe82e3e
Merge pull request #3419 from element-hq/feature/bma/fixElementCall
Ensure Call is not hang up when user is asked to grant system permissions
2024-09-06 17:15:09 +02:00
ganfra
87dbed98ea
Merge pull request #3415 from element-hq/feature/fga/pinned_messages_banner_indicators
Pinned messages banner : adjust indicator to match design.
2024-09-06 16:57:08 +02:00
ganfra
b802a196fc
Merge pull request #3392 from element-hq/feature/fga/pinned_messages_list
[Feature] Pinned messages list
2024-09-06 16:32:44 +02:00
ganfra
18eadb6933 Pinned messages banner : reformat. 2024-09-06 16:32:29 +02:00
Benoit Marty
9b791b651a
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
467c63fd15 Ensure Call is not hang up when user is asked to grant system permissions. 2024-09-06 16:17:21 +02:00
Benoit Marty
148c49cb9a var -> val for lambda 2024-09-06 14:46:28 +02:00
Benoit Marty
5befb9b290 Use the local val instead. 2024-09-06 13:54:15 +02:00
Benoit Marty
2ed6abb532 Fix test compilation issue. 2024-09-06 13:52:43 +02:00
Benoit Marty
9d91cc6184 Add missing test for AppMigration06 2024-09-06 11:51:59 +02:00
Benoit Marty
56fd455d44 Add missing test for AppMigration05 2024-09-06 11:41:13 +02:00
ganfra
d6fe736b75 Pinned messages banner : adjust indicator to match design. 2024-09-06 11:20:25 +02:00
Benoit Marty
54dc8e7c54 Do not perform any migration on fresh application installation. 2024-09-06 10:52:39 +02:00
Benoit Marty
5b13a51b0c Add an application migration to delete the old log files. 2024-09-06 09:31:14 +02:00
ganfra
d3420da599 Pinned messages list : improve and fix code after PR review. 2024-09-05 17:40:50 +02:00
Benoit Marty
4c274302c7 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
b37daba638 RecoveryKey: add previews to check the visual transformation. 2024-09-05 17:31:41 +02:00
Jorge Martin Espinosa
9f2db3e52d
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
e8d15989bb
Merge pull request #3295 from frebib/feat/big-emoji
Big emoji-only messages
2024-09-04 18:36:26 +02:00
Benoit Marty
23001d6751
Remove unnecessary parenthesis 2024-09-04 18:35:26 +02:00
Benoit Marty
f9af2b8d19
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
e9b37bd154 Pinned messages list : add more test for better coverage. 2024-09-04 17:43:34 +02:00
Benoit Marty
f32e7c7e02 Properly skip the FTUE verification screen if verification is not needed. 2024-09-04 16:41:34 +02:00
ganfra
ed9426642f Pinned messages : fix test after merging develop 2024-09-04 15:04:20 +02:00
ganfra
c30398ccc7 Pinned messages: clean code 2024-09-04 14:27:18 +02:00
ganfra
12e7e05551
Merge branch 'develop' into feature/fga/pinned_messages_list 2024-09-04 14:11:53 +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
ganfra
9ed9559191 Pinned messages list : handle error state (shouldn't really happen) 2024-09-04 11:42:04 +02:00
ganfra
cd8a708739 Pinned messages list : add some ui tests 2024-09-04 11:11:04 +02: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
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
ganfra
8c0a0d886c Pinned messages list : add loading for pinned messages count and add tests 2024-09-03 14:36:35 +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
ganfra
e840581247 Pinned messages list : navigation from room details 2024-09-03 09:41:30 +02: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
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
Benoit Marty
b043ec8796 Remove subtitle. 2024-09-02 12:11:53 +02:00
Benoit Marty
6255a78145 App migration: also move the cache files. 2024-09-02 11:26:59 +02:00
bmarty
5ad2764402 Sync Strings from Localazy 2024-09-02 00:15:17 +00:00