Commit graph

688 commits

Author SHA1 Message Date
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
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
ganfra
60d3f24599 Room : introduce RustRoomFactory and be more robust. 2024-06-04 16:23:19 +02:00
ganfra
c135a91e5a matrix : update rust sdk to 0.2.23 2024-06-04 14:34:01 +02:00
Jorge Martin Espinosa
c8bd04ceb1
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
a7a29e954d
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
8005fa6f91 Ensure that we can "not filter" the rooms. 2024-05-31 10:51:09 +02:00
Benoit Marty
ec8cb2e32f Change Test class suffix. 2024-05-30 10:11:18 +02:00
Benoit Marty
7018d72118 Be more specific with the widget permissions 2024-05-29 16:52:36 +02:00
Jorge Martin Espinosa
a1adc7476d
Bump Matrix Rust SDK to v0.2.21 and fix conflicts (#2938) 2024-05-29 13:12:44 +02:00
Valere
bd73f31f97 Add public device keys to rageshakes 2024-05-23 17:15:15 +02:00
Benoit Marty
980a80bcf5 Cleanup 2024-05-22 15:29:27 +02:00
Benoit Marty
fe771a37c2 isCalledExactly(1) -> isCalledOnce() 2024-05-22 15:26:53 +02:00
Benoit Marty
56ca04affa Unset Http pusher: use SDK API. 2024-05-21 14:45:14 +02:00
Jorge Martin Espinosa
3f2413bc95
Session falsely displayed as 'verified' with no internet connection (#2884)
* Session falsely displayed as 'verified' with no internet connection
	- Remove the need to wait for `isReady` for `SessionVerificationService.canVerifySessionFlow` to fix this.
	- Rename `SessionVerificationService.canVerifySessionFlow` to `needsSessionVerification`.
	- Make `isReady` private.
2024-05-21 11:41:18 +00:00
Jorge Martin Espinosa
8bd9880c23
Use member display names in membership timeline item text (#2883)
* Use member display names in membership timeline item text
2024-05-21 08:26:11 +00:00
Benoit Marty
f06a01f894 Replace getRoomPreview by getRoomPreviewFromRoomId.
We do not need `getRoomPreviewFromRoomAlias` since we always resolve the Alias first.
2024-05-17 12:01:57 +02:00
Benoit Marty
12ad232ea8 Add MatrixRoomInfo.rawName. 2024-05-15 10:06:54 +02:00
Benoit Marty
4f74dd4c93
Merge pull request #2843 from element-hq/feature/bma/joinRoomVia
Provide serverNames when available and fix issue around analytics
2024-05-14 17:17:59 +02:00
Benoit Marty
22329b9678 Provide serverNames when available and fix issue around analytics 2024-05-14 15:58:10 +02:00
ganfra
ffdbf799e6 Timeline : remove some code from main thread 2024-05-14 14:07:17 +02:00
Jorge Martin Espinosa
f2f96e0e0a
Bump Rust SDK to v0.2.18 and bump app version (#2836)
* Adapt to changes in SDK:
    - Remove name from MatrixRoom, we should use displayName instead.
    - Remove separate invites room list.
    - Added runBlocking to get the now async NotificationClient from the Rust SDK.
    - Made some other functions suspend.
    - Client.resolveRoomAlias now returns a roomId and via parameters, we pass the roomId.

* Add logs removal migration again as `AppMigration03` to make sure we don't leak private data in existing logs.

* Bump app version to `0.4.12`
2024-05-13 16:48:23 +02:00
Benoit Marty
1bcfa6034c Add support for link generated by matrix.to website. 2024-05-03 11:57:22 +02:00
Benoit Marty
60c8d6e147
Merge pull request #2754 from element-hq/feature/valere/expected_utd_integration
Expected UTDs due to membership support
2024-04-30 11:03:36 +02:00
Benoit Marty
ae8ee8704f
Merge pull request #2759 from element-hq/feature/fga/permalink_timeline
Permalink timeline
2024-04-30 10:58:33 +02:00
Valere
7d2e3d586f test for utd cause 2024-04-30 09:30:05 +02:00
Benoit Marty
a60779a28c Fix issue when retrieving Event detail. The wrong method was used. 2024-04-29 17:55:45 +02:00
Benoit Marty
b7970b2db8 Map all replyTo data and add preview for loading and erorr case. 2024-04-29 17:41:25 +02:00
Benoit Marty
49dd4ad803 Ensure editMessage, enterSpecialMode and replyMessage are called on the current timeline. 2024-04-29 15:50:56 +02:00
Benoit Marty
ddb00a2c51 Add log in case of error. 2024-04-29 15:48:58 +02:00
Benoit Marty
0190d5da45 Remove unnecessary default value. 2024-04-29 14:28:04 +02:00
Benoit Marty
37d0b9c6ef No need to keep innerTimeline as a class member. 2024-04-29 14:27:07 +02:00
Benoit Marty
8eccd1b6e1 Code optimization. 2024-04-29 14:20:46 +02:00
Valere
971f44c0d3 Expected UTDs due to membership support 2024-04-26 17:21:10 +02:00
Benoit Marty
a4c6e6c281 Add mapping on FocusEventException.
Extract FocusRequestState to its own file and add preview.
2024-04-26 16:40:09 +02:00
Benoit Marty
636c024d9a Fix detekt issues 2024-04-26 15:23:24 +02:00
Benoit Marty
300d3e34b1 Format and cleanup files 2024-04-26 13:57:08 +02:00
Benoit Marty
94df7308ab Fix compilation issue (develop has been merged here) 2024-04-26 12:55:08 +02:00
Benoit Marty
2c8abbed0c Merge branch 'develop' into feature/fga/permalink_timeline 2024-04-26 12:50:38 +02:00
Benoit Marty
c1c3227bde Let the SDK manage the file log cleanup, and keep one week of log. 2024-04-26 12:33:20 +02:00
Benoit Marty
42b9c35adb Fix test on UtdTrackerTest 2024-04-26 09:22:08 +02:00
Benoit Marty
93709f33b8 Fix false positive
A single Unit expression is unnecessary and can safely be removed. [OptionalUnit]
2024-04-26 09:17:22 +02:00
Benoit Marty
1a64901ee0 SDK 0.2.16: fix compilation issue 2024-04-26 09:11:30 +02:00
ganfra
7b4fa146e5 Timeline : try to get better forward pagination. 2024-04-25 23:34:04 +02:00