Commit Graph

2619 Commits

Author SHA1 Message Date
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
Benoit Marty
c9c0413c40 Ensure Posthog is only used for Element builds. 2024-06-04 17:04:19 +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
bmarty
f501f27d27 Sync Strings from Localazy 2024-06-03 00:24:07 +00: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
e0c55ff4c8 Merge pull request #2957 from element-hq/feature/bma/konsistClassName
Konsist class name
2024-05-31 13:02:01 +02:00
Jorge Martin Espinosa
9ce7009045 Make sure the selection in the plain text editor is inside the text bounds (#2959)
* Make sure the selection in the plain text editor is inside the text bounds

* Add changelog
2024-05-31 12:49:26 +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
Jorge Martin Espinosa
0d82f19cc0 Simplify summary notifications (#2958) 2024-05-31 12:31:09 +02:00
Benoit Marty
212952b208 Add doc on RoomSelectSearchDataSource 2024-05-31 10:56:28 +02:00
Benoit Marty
1eebcc0093 Improve comment 2024-05-31 10:55:13 +02:00
Benoit Marty
417492683d Ensure that room where is user is invited are not listed when forwarding a message. 2024-05-31 10:51:10 +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
a00ee18f96 Add Konsist test Class with 'ContributeBinding' annotation should have allowed prefix and fix exissting issues.
Also remove annotation `DefaultPreferences`, we only have one implementation.
2024-05-31 10:18:08 +02:00
Jorge Martin Espinosa
e6fab7eee2 Fix grouped notifications only displaying the latest message (#2956)
`DefaultActiveNotificationsProvider.getNotificationsForSession(sessionId)` had a broken logic for checking a notification's group and retrieving notifications from the same session.
2024-05-31 10:16:59 +02:00
Benoit Marty
9367f58216 Rename some class from Impl to Default 2024-05-31 09:47:27 +02:00
Benoit Marty
155fd4ab81 Merge pull request #2948 from element-hq/feature/bma/konsistUpgrade
Konsist upgrade
2024-05-31 09:18:43 +02:00
ganfra
e0b96882a8 Merge branch 'develop' into renovate/org.maplibre.gl-android-sdk-11.x 2024-05-30 10:58:08 +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
Benoit Marty
0e4b30e58d Merge pull request #2941 from element-hq/sync-localazy
Sync Strings
2024-05-29 16:27:17 +02:00
ganfra
395b3c4806 Merge branch 'develop' into renovate/org.maplibre.gl-android-sdk-11.x 2024-05-29 15:43:25 +02:00
Benoit Marty
c6e8628bd9 Merge pull request #2936 from element-hq/renovate/io.nlopez.compose.rules-detekt-0.x
Update dependency io.nlopez.compose.rules:detekt to v0.4.3
2024-05-29 15:25:34 +02:00
bmarty
46b6ae6251 Sync Strings from Localazy 2024-05-29 12:44:57 +00:00
Benoit Marty
d37f59c543 Fix small issue introduced in #2924. 2024-05-29 14:25:57 +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
36102cc90b Suppress ContentTrailingLambda for AlertDialogContent( 2024-05-29 12:40:14 +02:00
Benoit Marty
919849acc2 Move content @Composable to the end of the parameter list.
A @Composable `content` parameter should be moved to be the trailing lambda in a composable function.
2024-05-29 12:38:14 +02:00
Benoit Marty
87689d787e Lambda parameters in a composable function should be in present tense, not past tense.
https://mrmans0n.github.io/compose-rules/rules/#naming-parameters-properly
2024-05-29 12:18:23 +02:00
ganfra
45188aea03 Merge pull request #2635 from element-hq/renovate/io.nlopez.compose.rules-detekt-0.x
Update dependency io.nlopez.compose.rules:detekt to v0.4.0
2024-05-29 10:06:37 +02:00
Jorge Martin Espinosa
801f0b955d Notifications: simplify the flow by removing persistence (#2924)
* Notifications: simplify the flow by removing persistence. 
* Bump of minSdk to `24` (Android 7).
* Add migration to remove `notification.bin` file
2024-05-29 08:03:23 +00:00
Benoit Marty
edc589b494 Merge pull request #2928 from element-hq/feature/bma/movePushSetting
Move push provider setting
2024-05-29 00:29:24 +02:00
Benoit Marty
687b30bd5f Render data of blocked users (behind deactivated feature flag). 2024-05-28 14:33:21 +02:00
Benoit Marty
306b779ca5 Change type of NotificationSettingsState.currentPushDistributor from AsyncAction to AsyncData 2024-05-28 14:18:00 +02:00
Benoit Marty
25c20f1734 Set the value of currentDistributorName by reading again the value from the service. 2024-05-28 14:08:20 +02:00
Benoit Marty
8cd392a2b8 Merge branch 'develop' into renovate/io.nlopez.compose.rules-detekt-0.x 2024-05-28 08:59:36 +02:00
Benoit Marty
8967b6c959 Merge pull request #2922 from element-hq/feature/bma/iterateOnPreferenceDesign2
Iterate on preference design
2024-05-28 00:36:28 +02:00
Benoit Marty
a96351643e UseLet 2024-05-28 00:14:23 +02:00
Benoit Marty
b32cebf2c0 supportingContent should be null if there is nothing to display. 2024-05-28 00:11:30 +02:00
Benoit Marty
ea93579b23 trailingContent and supportingContent should be null if there is nothing to display. 2024-05-27 17:33:29 +02:00
Benoit Marty
8339a6f1f3 No Composable if subtitle is null 2024-05-27 17:28:17 +02:00
Benoit Marty
8e1b48d3d5 Add preview without subtitle 2024-05-27 17:27:20 +02:00
Benoit Marty
f2317e9aa5 Remove unused parameter. 2024-05-27 17:25:02 +02:00
Marco Antonio Alvarez
873f57399d Add rich content listener to markdown text input (#2918)
* add rich content listener to markdown text input

Signed-off-by: Marco Antonio Alvarez <surakin@gmail.com>
2024-05-27 16:36:32 +02:00
Benoit Marty
9065e9d2eb Merge pull request #2921 from element-hq/sync-localazy
Sync Strings
2024-05-27 15:52:38 +02:00
Benoit Marty
bbb44db297 Translations: pt -> pt-rBR 2024-05-27 14:51:32 +02:00
Benoit Marty
55824900d2 Fix formatting issue. 2024-05-27 14:19:30 +02:00