Commit Graph

722 Commits

Author SHA1 Message Date
Jorge Martín
16545ce60e 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
2ef29c7538 Auth : fix restore session when there is no network. 2024-06-27 18:05:47 +02:00
Jorge Martin Espinosa
cdbb46fa22 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
a77e5edef4 Merge branch 'develop' into feature/fga/draft_support 2024-06-26 15:22:00 +02:00
ganfra
cb6074fb2a Draft : code cleanup 2024-06-26 12:15:00 +02:00
ganfra
1b1b556aa4 Draft : branch reply mode 2024-06-21 12:40:16 +02:00
ganfra
71667dc235 Reply : refactor so we can use ReplyToDetails in Composer and Timeline 2024-06-21 12:23:17 +02:00
Benoit Marty
99becc0ae6 Use heroes only for DMs. #1538 2024-06-20 14:35:12 +02:00
ganfra
5724c62c67 Timeline : introduce loadReplyDetails api 2024-06-20 13:07:49 +02:00
Benoit Marty
99c43a175d Add heroes to RoomSummaryDetails 2024-06-20 11:59:38 +02:00
ganfra
f821fa5862 Draft : introduce DraftService and start using it. 2024-06-20 11:28:07 +02:00
Benoit Marty
3aed09ef4d Map RoomHero to MatrixRoomInfo. 2024-06-19 18:18:59 +02:00
ganfra
d1e11f5c33 Draft : expose new apis from sdk 2024-06-19 15:38:01 +02:00
ganfra
e93a41a5b5 Merge branch 'develop' into feature/fga/sending_queue_iteration 2024-06-19 13:54:24 +02:00
ganfra
a92ce8d004 Sending queue : reintroduce failed status for unrecoverable error 2024-06-19 11:32:04 +02:00
ganfra
1b67068b0b Rust : handle api changes for 0.2.27 2024-06-18 17:01:38 +02:00
ganfra
05ab1500c7 Rust : handle api changes for 0.2.27 2024-06-18 16:30:33 +02:00
Benoit Marty
e4bfc5ef8f 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
e6f6e82ce2 Render an error dialog in case registering a pusher fails. 2024-06-17 11:30:23 +02:00
ganfra
56251f805c Timeline : let FocusOnEvent be cancellable and refactor a bit focus states. 2024-06-14 19:07:44 +02:00
ganfra
8ab388ee04 Merge branch 'develop' into feature/fga/update_rust_sdk_0.2.25 2024-06-12 16:55:25 +02:00
ganfra
05786cedc3 Fix formatting issues 2024-06-12 15:31:59 +02:00
ganfra
cd18e5a981 Sending queue : adjust to match the latest rust api 2024-06-12 15:15:04 +02:00
Jorge Martin Espinosa
54845866a6 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
aaf8fda9c1 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
1b411c3c4b Sending queue : disable edition of local echo 2024-06-12 11:36:53 +02:00
ganfra
71b6482094 Merge branch 'develop' into feature/fga/message_queuing 2024-06-11 17:08:47 +02:00
ganfra
bbd8e5d8dc Sending queue : code quality 2024-06-11 17:05:12 +02:00
Jorge Martin Espinosa
a16dff14f8 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
6f8de0b2c6 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
a3b64f3bb2 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
24c5f7a068 matrix : update rust sdk to 0.2.24 2024-06-07 11:59:27 +02:00
ganfra
01ad7abe32 Timeline : use the new LiveBackPaginationStatus api 2024-06-07 11:22:55 +02:00
ganfra
290961ebd0 Sliding sync : update RoomSubscription values as per EXI. 2024-06-06 17:50:49 +02:00
ganfra
80af40fb87 Message queuing : branches the enable sending queue mechanism. 2024-06-06 17:09:52 +02:00
Jorge Martín
841558c3b4 Add session path migration to SessionData 2024-06-06 17:06:57 +02:00
ganfra
25fca70047 Message queuing : use redactEvent on timeline instead of room. 2024-06-06 15:23:28 +02:00
ganfra
e8996efa37 Message queuing : expose sending queue status on matrix client. 2024-06-05 18:09:36 +02:00
ganfra
ba4abe3de7 Message queuing : exposes enableSendingQueue method 2024-06-05 16:44:06 +02:00
ganfra
102cd5769e Message queuing : introduce redactEvent on timeline object and remove retrySendMessage. 2024-06-05 16:31:51 +02:00
Benoit Marty
92bcf9c90e When replying from notification, do not interfere with specialModeEventTimelineItem 2024-06-05 14:59:46 +02:00
ganfra
9d147d19fa 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
ganfra
1bfca52142 Room : introduce RustRoomFactory and be more robust. 2024-06-04 16:23:19 +02:00
ganfra
39d7977918 matrix : update rust sdk to 0.2.23 2024-06-04 14:34:01 +02:00
Jorge Martin Espinosa
35702c04e9 Sign in with QR code (#2793)
* Add QR code login.
* Add FF to disable it in release mode.
* Force portrait orientation on the login flow.
* Create `NumberedList` UI components.
* Improve camera permission dialog.
* Make nodes in qrcode feature use `QrCodeLoginScope` instead of `AppScope`
* Bump SDK version.
* Fix maestro tests

---------

Co-authored-by: Benoit Marty <benoit@matrix.org>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-05-31 14:38:27 +02:00
Benoit Marty
7bdf48d81d Merge pull request #2947 from element-hq/feature/bma/widgetPermission
Be more specific with the widget permissions
2024-05-31 12:41:32 +02:00
Benoit Marty
ff697f68fc Ensure that we can "not filter" the rooms. 2024-05-31 10:51:09 +02:00
Benoit Marty
cdf6f48112 Change Test class suffix. 2024-05-30 10:11:18 +02:00
Benoit Marty
f17aafb432 Be more specific with the widget permissions 2024-05-29 16:52:36 +02:00
Jorge Martin Espinosa
3d52071c45 Bump Matrix Rust SDK to v0.2.21 and fix conflicts (#2938) 2024-05-29 13:12:44 +02:00