Commit graph

2634 commits

Author SHA1 Message Date
Benoit Marty
d06656d6bf
Merge pull request #2984 from element-hq/feature/bma/incomingShare
Incoming share
2024-06-06 13:31:54 +02:00
Benoit Marty
e619fefb7f Add a flag to enable or disable incoming share 2024-06-06 12:34:05 +02:00
Benoit Marty
eef45309be Use functions from IntentCompat 2024-06-06 09:56:36 +02:00
Benoit Marty
9ae0107172 Incoming share 2024-06-05 18:08:14 +02:00
Benoit Marty
acefbbc7d8 Fix formatting issues. 2024-06-05 15:13:04 +02:00
Benoit Marty
afe5c33f33 Add test on NotificationBroadcastReceiverHandler 2024-06-05 14:59:51 +02:00
Benoit Marty
2f2605dc76 Use lambdaError() and val instead of var. 2024-06-05 14:59:50 +02:00
Benoit Marty
4db9b5ee11 Use getStringExtra 2024-06-05 14:59:49 +02:00
Benoit Marty
d8c68e5b19 Remove unused actions and fix comment 2024-06-05 14:59:49 +02:00
Benoit Marty
6eaa6a6b99 Extract NotificationBroadcastReceiverHandler to its own file 2024-06-05 14:59:49 +02:00
Benoit Marty
cface66f20 Do not provide the context, but use the StringProvider. 2024-06-05 14:59:48 +02:00
Benoit Marty
37d9d42eb7 NotificationBroadcastReceiver now delegate treatment to NotificationBroadcastReceiverHandler to be able to unit test the logic 2024-06-05 14:59:48 +02:00
Benoit Marty
61b3709970 Let NotificationBroadcastReceiver inject NotificationDrawerManager instead of implementation 2024-06-05 14:59:47 +02:00
Benoit Marty
3ddec73ac5 When replying from notification, do not interfere with specialModeEventTimelineItem 2024-06-05 14:59:46 +02:00
Benoit Marty
7c559363a4 Handle quick reply from notification (still disabled) 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
Benoit Marty
9567119e31 Ensure Posthog is only used for Element builds. 2024-06-04 17:04:19 +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
bmarty
66636ea967 Sync Strings from Localazy 2024-06-03 00:24:07 +00: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
e29f919abc
Merge pull request #2957 from element-hq/feature/bma/konsistClassName
Konsist class name
2024-05-31 13:02:01 +02:00
Jorge Martin Espinosa
19b6b924d9
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
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
Jorge Martin Espinosa
025d913b6e
Simplify summary notifications (#2958) 2024-05-31 12:31:09 +02:00
Benoit Marty
c37d9ca6a4 Add doc on RoomSelectSearchDataSource 2024-05-31 10:56:28 +02:00
Benoit Marty
a997289e7e Improve comment 2024-05-31 10:55:13 +02:00
Benoit Marty
73b2e925b5 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
8005fa6f91 Ensure that we can "not filter" the rooms. 2024-05-31 10:51:09 +02:00
Benoit Marty
1444436d3e Update wrong comment 2024-05-31 10:51:09 +02:00
Benoit Marty
3fa508f1fe 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
8b85cc0160
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
45598a885e Rename some class from Impl to Default 2024-05-31 09:47:27 +02:00
Benoit Marty
c2471693c9
Merge pull request #2948 from element-hq/feature/bma/konsistUpgrade
Konsist upgrade
2024-05-31 09:18:43 +02:00
ganfra
f96b0bee7c
Merge branch 'develop' into renovate/org.maplibre.gl-android-sdk-11.x 2024-05-30 10:58:08 +02:00
Benoit Marty
ec8cb2e32f Change Test class suffix. 2024-05-30 10:11:18 +02:00
Benoit Marty
7348f74702 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
7018d72118 Be more specific with the widget permissions 2024-05-29 16:52:36 +02:00
Benoit Marty
f5a0e83cb2
Merge pull request #2941 from element-hq/sync-localazy
Sync Strings
2024-05-29 16:27:17 +02:00
ganfra
232c8de702
Merge branch 'develop' into renovate/org.maplibre.gl-android-sdk-11.x 2024-05-29 15:43:25 +02:00
Benoit Marty
72c51666e0
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
ca5bc71057 Sync Strings from Localazy 2024-05-29 12:44:57 +00:00
Benoit Marty
8c3bb043ab Fix small issue introduced in #2924. 2024-05-29 14:25:57 +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
Benoit Marty
c6f4c9e12a Suppress ContentTrailingLambda for AlertDialogContent( 2024-05-29 12:40:14 +02:00
Benoit Marty
e97e21e785 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
37d9a9f5a9 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
3080dac220
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
04e503177b
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
17678add86
Merge pull request #2928 from element-hq/feature/bma/movePushSetting
Move push provider setting
2024-05-29 00:29:24 +02:00