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
0d53626077
Merge branch 'develop' into dla/feature/connect_sdk_to_global_notifications_ui
2023-09-13 13:00:11 +01:00
David Langley
1260272c33
Add tests, mocks and lint
2023-09-13 12:44:22 +01:00
jonnyandrew
8ab391f615
[Rich text editor] Add feature flag for rich text editor ( #1289 )
2023-09-13 08:17:02 +00:00
Benoit Marty
d6a2020bd9
Add contact to OidcConfiguration ( #1250 )
2023-09-12 21:04:57 +02: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
ganfra
5570999951
PR review
...
Co-authored-by: Benoit Marty <benoit@matrix.org>
2023-09-12 09:46:12 +02: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
ganfra
4b6a44db00
TimelineEvent : fix memory leak
2023-09-11 17:47:58 +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
Benoit Marty
0e1d61bc12
rename parameter to match parent name.
2023-09-08 08:22:41 +02:00
ganfra
555f706fbb
Merge branch 'develop' into feature/fga/sync_indicator_api
2023-09-07 21:56:48 +02:00
ganfra
d8478da5e0
Merge pull request #1251 from vector-im/feature/fga/room-list-room-info
...
Use roomInfo instead of individually access roomListItem properties
2023-09-07 21:09:34 +02:00
ganfra
a3940ddc5b
Use roomInfo instead of individually access roomListItem properties
2023-09-07 20:44:26 +02:00
jonnyandrew
f214493c9d
[Rich text editor] Integrate rich text editor library ( #1172 )
...
* Integrate rich text editor
* Also increase swapfile size in test CI
Fixes issue where screenshot tests are terminated due to lack of CI
resources.
See https://github.com/actions/runner-images/discussions/7188#discussioncomment-6750749
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-09-07 15:21:29 +00:00
ganfra
6f86fca2c2
Sync: use the new SyncIndicator api
2023-09-07 17:03:52 +02:00
Yoan Pintas
4a5a01d710
Add room notification settings ( #807 )
...
* Add room notification settings
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
Co-authored-by: Jorge Martín <jorgem@element.io>
Co-authored-by: Benoit Marty <benoit@matrix.org>
Co-authored-by: David Langley <langley.dave@gmail.com>
2023-09-07 10:24:34 +02: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
82f6f358a7
Ensure the sync is started when receiving a Push, to ensure that the encryption loop is running.
...
Fixes notification with endecrypted content (#1178 )
2023-09-04 12:50:37 +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
ccd5f6aaa2
Merge branch 'develop' into yostyle/notifications_global_settings
2023-08-30 16:55:35 +01:00
Benoit Marty
df5643bc1f
Rename file and update tosUri value.
2023-08-30 16:47:40 +02:00
Marco Romano
51bb7febd6
Upgrade rust sdk to v48 ( #1186 )
...
- Sends content instead of string in message reply and edit
- Adds poll response and end APIs
- Adds logoUri to OidcConfiguration
2023-08-30 14:31:37 +00: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
Florian Renaud
48413bd508
Merge pull request #1161 from vector-im/feature/fre/polls_timeline_item_tests
...
[Polls] Add unit tests for TimelineItemContentPollFactory
2023-08-30 08:32:21 +02:00
renovate[bot]
bb75539647
Update kotlin to 1.9.10 ( #1123 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-30 08:28:06 +02:00
Florian Renaud
9c6a5bed54
Add unit tests for TimelineItemContentPollFactory
2023-08-29 16:00:18 +02: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
55255735d7
Merge branch 'develop' into feature/bma/dataObject
2023-08-28 10:56:02 +02:00
Jorge Martín
4b0f9213d3
Fix lint issues
2023-08-24 15:58:23 +02:00
yostyle
9e17d8f468
Fix PR comments
2023-08-24 15:58:23 +02:00
yostyle
85dd36a681
Update notification settings service interface to match rust SDK
2023-08-24 15:58:22 +02:00
yostyle
1c4198db5a
Update dispatcher
2023-08-24 15:58:22 +02:00
yostyle
01a0175d40
Update strings
2023-08-24 15:58:22 +02:00
yostyle
a611766476
Fix edition
2023-08-24 15:58:21 +02:00
yostyle
a3aac9f66a
Rebase on develop
2023-08-24 15:58:21 +02:00
yostyle
856c674361
Update unit tests
2023-08-24 15:58:21 +02:00
yostyle
2c81384894
Rebase on develop
2023-08-24 15:58:21 +02:00
yostyle
83e45adfa5
Add room notification settings
2023-08-24 15:58:21 +02:00
Florian Renaud
e6490b3a89
Merge remote-tracking branch 'origin/develop' into feature/fre/improve_poll_event_timeline_rendering
2023-08-24 14:42:16 +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
Marco Romano
9fb0216272
Surface send poll start API from rust sdk ( #1140 )
...
Rust api added in: https://github.com/matrix-org/matrix-rust-sdk/pull/2391
Closes https://github.com/vector-im/element-meta/issues/2010
2023-08-24 11:54:01 +02:00
Benoit Marty
7083abcf09
migrate object to data object ( #1135 )
2023-08-24 09:32:44 +02:00
renovate[bot]
53840c1009
Update dependency org.matrix.rustcomponents:sdk-android to v0.1.46 ( #1130 )
...
* Update dependency org.matrix.rustcomponents:sdk-android to v0.1.46
* Remove poll end code. The poll end event isn't shown in the timeline anymore.
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Marco Romano <marcor@element.io>
2023-08-24 06:43:05 +00:00
Benoit Marty
c84b1747e7
Handle remarks from PR #1127
2023-08-23 17:23:12 +02:00
Benoit Marty
14c568dea2
Merge pull request #1127 from vector-im/feature/bma/finishOidc
...
Enable OIDC support
2023-08-23 17:01:41 +02:00
Jorge Martin Espinosa
7eb1f1c7bf
When event has no id, just cancel parsing the latest room message ( #1126 )
2023-08-23 12:50:22 +00:00
Benoit Marty
d293cae47f
Implement didRefreshTokens(): update database with updated SessionData.
2023-08-23 14:42:46 +02:00
Benoit Marty
bc57a03a39
Add setting entry point to manage account (OIDC)
2023-08-23 12:54:22 +02:00