Commit graph

730 commits

Author SHA1 Message Date
renovate[bot]
68efc918ba
Update dependency org.matrix.rustcomponents:sdk-android to v0.2.31 (#3145)
* Update dependency org.matrix.rustcomponents:sdk-android to v0.2.31

* Use new Rust client side sorting API

* Make `RoomListEntriesUpdate.describe()` an extension function

* Remove `RoomListSummary.Filled` and `RoomListSummary.Empty`

* Fix icon sizes to pass the lint checks

* Update screenshots

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-07-05 15:25:42 +00:00
ganfra
c8a01e38f1 Bugfix : avoid potential NPE on verification service. 2024-07-04 14:51:14 +02:00
Benoit Marty
37eaa5e094
Merge pull request #3127 from element-hq/feature/bma/elementWellKnown
Let the SDK retrieve and parse Element well known content
2024-07-02 17:16:06 +02:00
Benoit Marty
5529fcc520 Inject constructor. 2024-07-02 13:35:26 +02:00
Benoit Marty
8ec283f2ca Use SDK to get Element Wellknown content. 2024-07-02 13:28:26 +02:00
ganfra
82df03fc31 Timeline : re-enable edition of local echo 2024-07-02 11:42:36 +02:00
Benoit Marty
6531a39b5a Introduce UserServerResolver. 2024-07-02 10:22:56 +02:00
ganfra
0348d030a7 Rust sdk : handle api changes (draft and edit) 2024-07-01 17:50:29 +02:00
Jorge Martín
f421f94639 Fix session verification incorrectly displaying as 'not verified' when the user opened the app with no network connection.
It turns out `encryptionService.verificationState()` runs a network request that will cause a deadlock when it fails.

Also fixed another deadlock that caused the screen to remain blank sometimes after logging in, because DataStore got stuck when checking the `skipVerification` state for some reason I don't fully understand.
2024-06-28 11:35:08 +02:00
ganfra
e9c995f96d Auth : fix restore session when there is no network. 2024-06-27 18:05:47 +02:00
Jorge Martin Espinosa
4904c4b751
Bump Rust SDK version and adapt our code (#3068)
* Use the new SDK version
* Adapt the authentication service to the new Rust SDK APIs
* Remove `Timeline.enterSpecialMode(...)` as it's no longer necessary
2024-06-27 09:44:14 +00:00
ganfra
1b56d1b97a Merge branch 'develop' into feature/fga/draft_support 2024-06-26 15:22:00 +02:00
ganfra
644b425d71 Draft : code cleanup 2024-06-26 12:15:00 +02:00
ganfra
6ac7ab84ce Draft : branch reply mode 2024-06-21 12:40:16 +02:00
ganfra
5597a1743a Reply : refactor so we can use ReplyToDetails in Composer and Timeline 2024-06-21 12:23:17 +02:00
Benoit Marty
ac6e56fead Use heroes only for DMs. #1538 2024-06-20 14:35:12 +02:00
ganfra
f24e87faf1 Timeline : introduce loadReplyDetails api 2024-06-20 13:07:49 +02:00
Benoit Marty
a199a8605f Add heroes to RoomSummaryDetails 2024-06-20 11:59:38 +02:00
ganfra
9aa82b42fd Draft : introduce DraftService and start using it. 2024-06-20 11:28:07 +02:00
Benoit Marty
14062c687e Map RoomHero to MatrixRoomInfo. 2024-06-19 18:18:59 +02:00
ganfra
dc331640f9 Draft : expose new apis from sdk 2024-06-19 15:38:01 +02:00
ganfra
b874d3e38c
Merge branch 'develop' into feature/fga/sending_queue_iteration 2024-06-19 13:54:24 +02:00
ganfra
0e94771f03 Sending queue : reintroduce failed status for unrecoverable error 2024-06-19 11:32:04 +02:00
ganfra
420872fed9 Rust : handle api changes for 0.2.27 2024-06-18 17:01:38 +02:00
ganfra
664e584401 Rust : handle api changes for 0.2.27 2024-06-18 16:30:33 +02:00
Benoit Marty
7b5e7c4c00
Merge pull request #3035 from element-hq/feature/bma/fixFdroidNotification
Feature/bma/fix fdroid notification
2024-06-18 12:55:27 +02:00
Benoit Marty
725c3838af Render an error dialog in case registering a pusher fails. 2024-06-17 11:30:23 +02:00
ganfra
75b1c22197 Timeline : let FocusOnEvent be cancellable and refactor a bit focus states. 2024-06-14 19:07:44 +02:00
ganfra
8783a923d0
Merge branch 'develop' into feature/fga/update_rust_sdk_0.2.25 2024-06-12 16:55:25 +02:00
ganfra
5765a754fc Fix formatting issues 2024-06-12 15:31:59 +02:00
ganfra
9250745333 Sending queue : adjust to match the latest rust api 2024-06-12 15:15:04 +02:00
Jorge Martin Espinosa
55a1ac4bb5
Fix tracing configuration in debug and nightlies (#3019)
* Fix tracing configuration in debug and nightlies:

- Debug will now write the logs to disk too.
- Nightly will be able to customise tracing filters.
- Improved the configure tracing and bug report screens.

* Update screenshots

* Add changelog

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-06-12 10:20:43 +00:00
ganfra
1803e11942 Merge branch 'test/jme/base-path-migration' into feature/fga/update_rust_sdk_0.2.25 2024-06-12 11:44:57 +02:00
ganfra
2ce02c564a Sending queue : disable edition of local echo 2024-06-12 11:36:53 +02:00
ganfra
b927daffe7 Merge branch 'develop' into feature/fga/message_queuing 2024-06-11 17:08:47 +02:00
ganfra
a603855933 Sending queue : code quality 2024-06-11 17:05:12 +02:00
Jorge Martin Espinosa
02d6fa7a92
Add timeline item for m.call.notify events (#2986)
* Add timeline item for `m.call.notify` events

* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-06-10 14:55:37 +00:00
Jorge Martin Espinosa
30a1367714
Element Call ringing notifications (#2978)
- Add `ActiveCallManager` to handle incoming and ongoing calls.
- Add ringing call notifications with full screen intents and missed call ones as part of the 'conversation' notifications.

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-06-10 11:51:19 +02:00
ganfra
32cf20ad47
Merge pull request #2993 from element-hq/feature/fga/timeline_back_pagination_status
Timeline : use the new LiveBackPaginationStatus api
2024-06-07 12:45:24 +02:00
ganfra
a428922007 matrix : update rust sdk to 0.2.24 2024-06-07 11:59:27 +02:00
ganfra
d64b7ff472 Timeline : use the new LiveBackPaginationStatus api 2024-06-07 11:22:55 +02:00
ganfra
350908208f Sliding sync : update RoomSubscription values as per EXI. 2024-06-06 17:50:49 +02:00
ganfra
026a2cd33a Message queuing : branches the enable sending queue mechanism. 2024-06-06 17:09:52 +02:00
Jorge Martín
67f6bf0d2d Add session path migration to SessionData 2024-06-06 17:06:57 +02:00
ganfra
7100a9d619 Message queuing : use redactEvent on timeline instead of room. 2024-06-06 15:23:28 +02:00
ganfra
41e5a6dd40 Message queuing : expose sending queue status on matrix client. 2024-06-05 18:09:36 +02:00
ganfra
0aa3b23677 Message queuing : exposes enableSendingQueue method 2024-06-05 16:44:06 +02:00
ganfra
8e6695c65d Message queuing : introduce redactEvent on timeline object and remove retrySendMessage. 2024-06-05 16:31:51 +02:00
Benoit Marty
3ddec73ac5 When replying from notification, do not interfere with specialModeEventTimelineItem 2024-06-05 14:59:46 +02:00
ganfra
76a646d1b6
Merge pull request #2977 from element-hq/feature/fga/room_factory
Room : introduce RustRoomFactory and be more robust.
2024-06-04 17:53:32 +02:00