Commit Graph

990 Commits

Author SHA1 Message Date
Benoit Marty
92bcf9c90e When replying from notification, do not interfere with specialModeEventTimelineItem 2024-06-05 14:59:46 +02:00
Benoit Marty
c547296656 Handle quick reply from notification (still disabled) 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
1eebcc0093 Improve comment 2024-05-31 10:55:13 +02:00
Benoit Marty
ff697f68fc Ensure that we can "not filter" the rooms. 2024-05-31 10:51:09 +02:00
Benoit Marty
da500fdcb2 Update wrong comment 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
ab6c428a61 Fix performance issue reported by Konsist test Sealed interface used in Composable MUST be Immutable or Stable 2024-05-29 18:05:03 +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
Benoit Marty
27e50cf6ad Merge pull request #2911 from element-hq/feature/bma/reproducibleBuild
Reproducible build
2024-05-27 12:46:19 +02:00
Benoit Marty
e632168c34 Merge pull request #2900 from element-hq/feature/bma/fakeClassesQuality
Fake classes name quality
2024-05-27 12:14:50 +02:00
Benoit Marty
7d3cef33a9 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
12fdc2b6e0 Add public device keys to rageshakes 2024-05-23 17:15:15 +02:00
Benoit Marty
c71656df0c Rename class (code quality) 2024-05-23 14:42:06 +02:00
Benoit Marty
d4d12503c6 Rename class (code quality) 2024-05-23 14:38:52 +02:00
Benoit Marty
d9cfecacce Rename class (code quality) 2024-05-23 14:38:52 +02:00
Benoit Marty
4fc3c6f889 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
9762962586 Add test on DefaultFirebaseNewTokenHandler 2024-05-22 18:42:39 +02:00
Benoit Marty
41403b7614 Cleanup 2024-05-22 15:29:27 +02:00
Benoit Marty
e0d95f6d98 isCalledExactly(1) -> isCalledOnce() 2024-05-22 15:26:53 +02:00
Benoit Marty
f95af132cb Add test on DefaultPusherSubscriber 2024-05-22 15:10:55 +02:00
Benoit Marty
bfa238ba0d Add test on UnifiedPushProvider 2024-05-22 11:02:11 +02:00
Benoit Marty
d67c1c6fb9 Merge pull request #2873 from element-hq/feature/bma/pushProviderSwitch
Push provider switch
2024-05-21 16:52:01 +02:00
ganfra
509e080fc2 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
ae9e489400 Unset Http pusher: use SDK API. 2024-05-21 14:45:14 +02:00
Jorge Martin Espinosa
902dd24e72 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
0e05a0e4ed 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
da8d319dea 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
ganfra
7edd854204 Sdk : update to 0.2.19 2024-05-20 17:51:06 +02:00
ganfra
a1081b39bd Pin : clean up after PR review #2692 2024-05-20 16:34:26 +02:00
Benoit Marty
0a0c822d1c 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
d689c778c6 Fix tests. 2024-05-15 11:56:12 +02:00
Benoit Marty
7353381356 Add MatrixRoomInfo.rawName. 2024-05-15 10:06:54 +02:00
Benoit Marty
b971ac36d3 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
32f31855b5 Provide serverNames when available and fix issue around analytics 2024-05-14 15:58:10 +02:00
ganfra
9844a642c0 Timeline : remove some code from main thread 2024-05-14 14:07:17 +02:00
Jorge Martin Espinosa
6257425344 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
Jorge Martin Espinosa
04e6f66a02 Make logs less verbose, especially for sliding sync (#2825)
* Make logs less verbose, especially for sliding sync.

Use the same config as iOS for most targets.

* Make sure we don't try to upload logs that are larger than the max request size of the bug reporter server.

* Display the loading state as soon as the bug reporter starts processing the log files

* Add changelog
2024-05-09 16:39:59 +02:00
Valere
94bbcbf503 Code review - more tests 2024-05-07 09:38:26 +02:00
Benoit Marty
b156097e1a Add support for link generated by matrix.to website. 2024-05-03 11:57:22 +02:00
Benoit Marty
f5060defa1 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
51d87a8309 Merge pull request #2759 from element-hq/feature/fga/permalink_timeline
Permalink timeline
2024-04-30 10:58:33 +02:00
Valere
37fee97c65 test for utd cause 2024-04-30 09:30:05 +02:00
Benoit Marty
c89f4d1596 Fix issue when retrieving Event detail. The wrong method was used. 2024-04-29 17:55:45 +02:00
Benoit Marty
2e2d1277e8 Map all replyTo data and add preview for loading and erorr case. 2024-04-29 17:41:25 +02:00