Commit graph

115 commits

Author SHA1 Message Date
Benoit Marty
d531e71cd8 Migrate other icons to compound icons. 2023-09-20 16:44:59 +02:00
Benoit Marty
f808dcd6ea
Merge pull request #1372 from vector-im/feature/bma/dayNightPreview
Day night preview annotation
2023-09-19 14:04:49 +02:00
jonnyandrew
ee8d27e927
[Rich text editor] Add link functionality to rich text editor (#1309)
* Add link functionality to rich text editor
* Add 'list dialog' component compound design library
* Add 'text field list item' component to compound design library
2023-09-19 11:20:07 +00:00
Benoit Marty
2819448cd4 Use DayNightPreview 2023-09-19 11:49:12 +02:00
Benoit Marty
0453ea5904 Localazy sync 2023-09-18 16:42:35 +02:00
Benoit Marty
27e567e6f4 Fix the test. 2023-09-15 19:24:43 +02:00
Benoit Marty
f7f9a78101 Cleanup and compact code. Also prefer usage of DayNightPreview. 2023-09-15 18:21:29 +02:00
Jorge Martín
98bb91cd27 Create tests 2023-09-15 17:26:39 +02:00
Jorge Martín
2ccafec564 Changes:
- Improve UI to match designs.
- Extract `EditableAvatarView` component.
- Create `LabelledOutlinedTextField`.
- Get strings from Localazy.
2023-09-15 14:04:21 +02:00
Jorge Martín
149677a2e6 Add preference screen for user profile 2023-09-15 12:16:47 +02:00
Benoit Marty
e058402a64
Merge branch 'develop' into feature/bma/advancedSettings 2023-09-14 20:13:26 +02:00
Benoit Marty
c01cc4aeb4 Move developer settings and remove extra dividers. 2023-09-14 19:48:20 +02:00
Benoit Marty
93da8d419e Add test on AdvancedSettingsPresenterTest 2023-09-14 19:48:20 +02:00
Benoit Marty
32f4141480 Fix typo in fun names. 2023-09-14 19:48:20 +02:00
Benoit Marty
2d9cdd1acf Add Advanced Settings screen in the preferences. 2023-09-14 19:46:18 +02:00
Benoit Marty
6ff9e802fc Change implementation to testImplementation on a test module. 2023-09-14 19:44:24 +02:00
Benoit Marty
b4546118f9 Account management with OIDC: split account and session management. #1303 2023-09-14 16:38:13 +02:00
David Langley
f6b6a0a1e2 Fix warning for removed call notification setting code. 2023-09-14 09:51:45 +01:00
David Langley
62dedbb320
Merge branch 'develop' into dla/feature/connect_sdk_to_global_notifications_ui 2023-09-13 21:15:03 +01:00
David Langley
3907067b7f lint 2023-09-13 21:14:37 +01:00
David Langley
79c70d68c9 - Remove call notification toggle 2023-09-13 21:12:16 +01:00
David Langley
004abd16dc Address PR review comments.
- use util startNotificationSettingsIntent.
- add documentation.
- use remember with userPushStoreFactory for recomposition.
2023-09-13 21:03:52 +01:00
Marco Romano
7fdd83bf91 GRemove the @JvmField annotation whenever using WarmUpRule. 2023-09-13 15:19:26 +02:00
David Langley
5e8cb958f8 Enabled NotificationSettings by default, Fix spacing, use activeMemberCount for isOneToOne.
- Enabled Notification Settings by default
- Fix spacing
- Use activeMemberCount for isOneToOne
2023-09-13 14:18:28 +01:00
David Langley
ebde39055c Use CommonStirngs 2023-09-13 13:22:05 +01:00
David Langley
1260272c33 Add tests, mocks and lint 2023-09-13 12:44:22 +01:00
David Langley
c3fbac4678 Merge branch 'develop' of https://github.com/vector-im/element-x-android into dla/feature/connect_sdk_to_global_notifications_ui 2023-09-12 16:30:36 +01:00
David Langley
a0ac324e3f Implement Notification Settings
- Add UI and logic to inform the user of mismatched notification settings and help them correct it.
- Display a warning when the system notification settings are disabled and a link out to the app settings.
- A toggle to disable notifications for the device
- A screen for editing the group and direct chat notification defaults.
- A toggle for switching on/off atRoom and call notifications.
2023-09-12 01:11:13 +01:00
Benoit Marty
a30af97ecd Add ConfigureTracingEntryPoint to be able to access the screen from outside the Preference screen. 2023-09-11 09:57:45 +02:00
Benoit Marty
5059d67238 Iterate on tracing configuration
- Add targets matrix_sdk, matrix_sdk::client and matrix_sdk::oidc
- introduce default log level.
2023-09-11 08:57:09 +02:00
jonnyandrew
9e5b46200b
Reduce test flakiness by warming up molecule tests (#1226) 2023-09-06 10:08:21 +00:00
Benoit Marty
128c4a7b09
SDK 0.1.49: notification decryption is now fully handled by the Rust SDK. (#1231)
* Revert "Ensure the sync is started when receiving a Push, to ensure that the encryption loop is running."

This reverts commit 82f6f358a7.

* Integrate SDK from https://github.com/matrix-org/matrix-rust-sdk/pull/2505

* Enable retryDecryption() on the NotificationClient.

* SDK 0.1.49 - Encryption Sync is enabled by default now, and retryDecryption is the default too.

* Remove feature flag `UseEncryptionSync`

* Fix sample project build

* Exclude `DeveloperSettingsPresenter` from kover verification.

* Add changelog

---------

Co-authored-by: Jorge Martín <jorgem@element.io>
2023-09-06 11:33:36 +02:00
Benoit Marty
73b5ce5fe3 Fix detekted issues. 2023-09-01 17:39:54 +02:00
Benoit Marty
a32e5df1ab Developer setting: add entry point to configure the Tracing.
Developer setting: add screen to configure log level.

Give the custom trace filter to the SDK.
2023-09-01 16:26:39 +02:00
Jorge Martin Espinosa
199f578e4a
Re-enable SyncService.withEncryptionSync to improve decryption of notifications (#1199)
* Re-enable `SyncService.withEncryptionSync` to improve decryption of notifications.

* Add feature flag
2023-08-31 13:37:20 +02:00
David Langley
171f6db338 Hide Notification Settings with feature flag and lint
- Hide Notification Settings with feature flag
- lint
2023-08-30 16:54:59 +01:00
David Langley
5e2ec8b504 Merge branch 'develop' of https://github.com/vector-im/element-x-android into yostyle/notifications_global_settings 2023-08-30 15:02:59 +01:00
Benoit Marty
5d889afd21
Merge pull request #1128 from vector-im/feature/bma/cleanupOidc
Cleanup OIDC
2023-08-28 15:08:36 +02:00
Benoit Marty
35835a876d Fix typo in test class name. 2023-08-28 14:31:36 +02:00
Benoit Marty
5f7c1e9545 Move module features.analytics.test to services.analytics.test. FakeAnalyticsService was not implemented at the correct location. 2023-08-28 14:31:36 +02:00
Benoit Marty
55255735d7
Merge branch 'develop' into feature/bma/dataObject 2023-08-28 10:56:02 +02:00
yostyle
69905afbd9 Rebase on develop and refactoring 2023-08-24 15:58:23 +02:00
yostyle
d1f147d675 Add view 2023-08-24 15:58:21 +02:00
yostyle
a4d99f3c2d Prepare node 2023-08-24 15:58:21 +02:00
yostyle
aac6fb2c91 Refactoring 2023-08-24 15:58:21 +02:00
yostyle
5ef53a99f2 Update string 2023-08-24 15:58:21 +02:00
yostyle
e8b80b9a55 Add Notifications section in app settings 2023-08-24 15:58:21 +02:00
Jorge Martin Espinosa
c670fc9e9c
Prevent verification while initial sync is in progress (#1138)
* Prevent verification while initial sync is in progress

* Add `canVerifySessionFlow` to simplify the check
2023-08-24 11:43:36 +00:00
Benoit Marty
7083abcf09 migrate object to data object (#1135) 2023-08-24 09:32:44 +02:00
Benoit Marty
c84b1747e7 Handle remarks from PR #1127 2023-08-23 17:23:12 +02:00