Commit Graph

123 Commits

Author SHA1 Message Date
Benoit Marty
e130722b13 Test that permission is requested, instead of giving the permission directly. 2023-09-21 15:00:47 +02:00
Benoit Marty
ffcac2a0da Move open system setting to the PermissionsPresenter 2023-09-21 14:20:41 +02:00
Benoit Marty
9b72992d51 Create FakePermissionsPresenterFactory, to reduce boilerplate. 2023-09-21 12:54:15 +02:00
Benoit Marty
b49a4a058d Cleanup 2023-09-21 12:18:41 +02:00
Benoit Marty
f91ca07a5e Resume action once persmission has been granted. 2023-09-21 12:16:30 +02:00
Benoit Marty
378d3ff9ab Open app settings from the permission dialog. 2023-09-21 11:37:59 +02:00
Benoit Marty
676b2cc66b Rename Event for clarity 2023-09-21 11:29:29 +02:00
Benoit Marty
da61b8970a Request Camera permission before launching the external Camera app (#1395) 2023-09-21 10:54:02 +02:00
Benoit Marty
d6ea21da22 Migrate other icons to compound icons. 2023-09-20 16:44:59 +02:00
Benoit Marty
4d7cad592c Merge pull request #1372 from vector-im/feature/bma/dayNightPreview
Day night preview annotation
2023-09-19 14:04:49 +02:00
jonnyandrew
d291622eea [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
e326e49e4c Use DayNightPreview 2023-09-19 11:49:12 +02:00
Benoit Marty
d3d9367feb Localazy sync 2023-09-18 16:42:35 +02:00
Benoit Marty
1bbfad4a8f Fix the test. 2023-09-15 19:24:43 +02:00
Benoit Marty
574e6199fe Cleanup and compact code. Also prefer usage of DayNightPreview. 2023-09-15 18:21:29 +02:00
Jorge Martín
19caf2e7a7 Create tests 2023-09-15 17:26:39 +02:00
Jorge Martín
41e614310f 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
fa277f062f Add preference screen for user profile 2023-09-15 12:16:47 +02:00
Benoit Marty
d85e7e14c4 Merge branch 'develop' into feature/bma/advancedSettings 2023-09-14 20:13:26 +02:00
Benoit Marty
8242654ebd Move developer settings and remove extra dividers. 2023-09-14 19:48:20 +02:00
Benoit Marty
2a217700e7 Add test on AdvancedSettingsPresenterTest 2023-09-14 19:48:20 +02:00
Benoit Marty
33bf410710 Fix typo in fun names. 2023-09-14 19:48:20 +02:00
Benoit Marty
7091ad2e01 Add Advanced Settings screen in the preferences. 2023-09-14 19:46:18 +02:00
Benoit Marty
698a5969f2 Change implementation to testImplementation on a test module. 2023-09-14 19:44:24 +02:00
Benoit Marty
51e663ffdc Account management with OIDC: split account and session management. #1303 2023-09-14 16:38:13 +02:00
David Langley
3c03bd7f71 Fix warning for removed call notification setting code. 2023-09-14 09:51:45 +01:00
David Langley
cf3fd06c7e Merge branch 'develop' into dla/feature/connect_sdk_to_global_notifications_ui 2023-09-13 21:15:03 +01:00
David Langley
ef84996ba3 lint 2023-09-13 21:14:37 +01:00
David Langley
7b8a73096c - Remove call notification toggle 2023-09-13 21:12:16 +01:00
David Langley
a1a9b57df7 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
b860bd30bd GRemove the @JvmField annotation whenever using WarmUpRule. 2023-09-13 15:19:26 +02:00
David Langley
827dd35791 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
d7b820e474 Use CommonStirngs 2023-09-13 13:22:05 +01:00
David Langley
ccd684ea40 Add tests, mocks and lint 2023-09-13 12:44:22 +01:00
David Langley
7d95feadc1 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
2f6f28bfbb 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
bb1b1f0253 Add ConfigureTracingEntryPoint to be able to access the screen from outside the Preference screen. 2023-09-11 09:57:45 +02:00
Benoit Marty
5f77740533 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
301e49c3a3 Reduce test flakiness by warming up molecule tests (#1226) 2023-09-06 10:08:21 +00:00
Benoit Marty
a3adb7deaa 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 74a444966e.

* 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
8a46faeaf8 Fix detekted issues. 2023-09-01 17:39:54 +02:00
Benoit Marty
17f3ed7aa7 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
e4124e93b8 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
604a528544 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
d3d4eedb1a 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
011fa6af67 Merge pull request #1128 from vector-im/feature/bma/cleanupOidc
Cleanup OIDC
2023-08-28 15:08:36 +02:00
Benoit Marty
802c93b98e Fix typo in test class name. 2023-08-28 14:31:36 +02:00
Benoit Marty
bcede44407 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
1a6376e723 Merge branch 'develop' into feature/bma/dataObject 2023-08-28 10:56:02 +02:00
yostyle
a86ec1a8fa Rebase on develop and refactoring 2023-08-24 15:58:23 +02:00