Commit graph

412 commits

Author SHA1 Message Date
Benoit Marty
8ec283f2ca Use SDK to get Element Wellknown content. 2024-07-02 13:28:26 +02:00
Benoit Marty
6531a39b5a Introduce UserServerResolver. 2024-07-02 10:22:56 +02:00
Benoit Marty
6c4e7ec85e
Merge pull request #3025 from element-hq/feature/bma/elementEnterprise
Element enterprise (EE) foundations
2024-07-01 17:08:40 +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
Benoit Marty
a9fb4b95ce Add isEnterpriseBuild to BuildMeta 2024-06-26 11:59:45 +02:00
ganfra
6ac7ab84ce Draft : branch reply mode 2024-06-21 12:40:16 +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
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
Benoit Marty
0149a7e03f
Merge pull request #3048 from element-hq/feature/fga/update_rust_sdk_0.2.27
Rust : handle api changes for 0.2.27
2024-06-18 18:39:10 +02:00
ganfra
420872fed9 Rust : handle api changes for 0.2.27 2024-06-18 17:01:38 +02:00
Benoit Marty
2cb2ecb243 Remove dead code. 2024-06-18 14:37:53 +02:00
Benoit Marty
bc30aee359 Iterate on sessionVerificationService.sessionVerifiedStatus and fix tests. 2024-06-18 11:02:19 +02:00
Benoit Marty
b916aee958 Add test on DefaultClearCacheUseCase 2024-06-17 16:01:56 +02:00
ganfra
9250745333 Sending queue : adjust to match the latest rust api 2024-06-12 15:15:04 +02:00
ganfra
b927daffe7 Merge branch 'develop' into feature/fga/message_queuing 2024-06-11 17:08:47 +02:00
ganfra
452e5681a9 Sending queue : rename fake and add tests 2024-06-11 16:50:53 +02:00
Jorge Martin Espinosa
f07ec61ecc
Notify of ringing call when there's an active call (#3003)
* Add `CallNotificationEventResolver` to be able to force the new ringing notification to be non-ringing given an existing ringing one.
2024-06-10 15:03:06 +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
026a2cd33a Message queuing : branches the enable sending queue mechanism. 2024-06-06 17:09:52 +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
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
436a876317
Merge pull request #2911 from element-hq/feature/bma/reproducibleBuild
Reproducible build
2024-05-27 12:46:19 +02:00
Benoit Marty
afa90b827f
Merge pull request #2900 from element-hq/feature/bma/fakeClassesQuality
Fake classes name quality
2024-05-27 12:14:50 +02:00
Benoit Marty
3c3703cba3 Read versionCode from the Manifest, since BuildConfig.VERSION_CODE does not contain the correct last digit. 2024-05-24 15:06:47 +02:00
Valere
bd73f31f97 Add public device keys to rageshakes 2024-05-23 17:15:15 +02:00
Benoit Marty
7911fda1fa Rename class (code quality) 2024-05-23 14:42:06 +02:00
Benoit Marty
6f44ef7a8f Rename class (code quality) 2024-05-23 14:38:52 +02:00
Benoit Marty
6fe461f346 Rename class (code quality) 2024-05-23 14:38:52 +02:00
Benoit Marty
f04253287f Introduce lambdaError instead of using TODO, to handle error when a lambda is invoked and it should not. 2024-05-23 09:12:40 +02:00
Benoit Marty
b38c144f46 Add test on DefaultFirebaseNewTokenHandler 2024-05-22 18:42:39 +02:00
Benoit Marty
97530e752f Add test on DefaultPusherSubscriber 2024-05-22 15:10:55 +02:00
Benoit Marty
1bf38e96ae Add test on UnifiedPushProvider 2024-05-22 11:02:11 +02:00
Benoit Marty
71763e3fed
Merge pull request #2873 from element-hq/feature/bma/pushProviderSwitch
Push provider switch
2024-05-21 16:52:01 +02:00
ganfra
ac123bdcd8
Merge pull request #2874 from element-hq/feature/fga/fix_2692
Fix modal contents overlapping screen lock pin #2692
2024-05-21 15:53:51 +02:00
Benoit Marty
56ca04affa Unset Http pusher: use SDK API. 2024-05-21 14:45:14 +02:00
Jorge Martin Espinosa
880ebb4de8
Plain text editor implementation based on markdown input (#2840)
* Add plain text editor based on markdown input
- Fix autofocus of message composer.
- Remove `Message` data class, fetch the details in `MessagesPresenter` instead.
- Remove `enable rich text` option from advanced settings, set it as a build configuration instead.
* Fix MentionSpanProvider
* Bump RTE library to released `v2.37.3`

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-05-21 13:58:53 +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
ganfra
73905fa695 Pin : clean up after PR review #2692 2024-05-20 16:34:26 +02: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
04537bc684 Fix tests. 2024-05-15 11:56:12 +02:00
Benoit Marty
12ad232ea8 Add MatrixRoomInfo.rawName. 2024-05-15 10:06:54 +02:00
Benoit Marty
22329b9678 Provide serverNames when available and fix issue around analytics 2024-05-14 15:58:10 +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