Commit Graph

353 Commits

Author SHA1 Message Date
ganfra
85125aa854 Fix warning and yield 2023-09-19 18:06:56 +02:00
ganfra
3706b3cc5c Fix room member infinite loop 2023-09-19 16:10:27 +02:00
ganfra
d9113448b6 Merge pull request #1371 from vector-im/feature/fga/fix_anr
RoomList : fix ANR (#1370)
2023-09-19 14:17:37 +02:00
ganfra
1004366d95 RoomList : fix ANR (#1370) 2023-09-19 14:01:43 +02:00
Marco Romano
52bbede960 Upgrade rust sdk to .55 (#1365)
Accomodates breaking changes.
2023-09-19 13:33:03 +02:00
David Langley
8605673ca1 Merge branch 'develop' into dla/feature/room_list_decoration 2023-09-18 10:34:32 +01:00
ganfra
2b583f6e51 Merge pull request #1358 from vector-im/feature/fga/fix_invalidated_room_summary
Fix RoomSummary: RoomListEntry.Invalidated
2023-09-18 11:08:15 +02:00
Benoit Marty
7bdfd2905c Merge pull request #1351 from vector-im/feature/jme/1302-allow-users-to-change-their-avatars
Add preference screen for user profile
2023-09-18 10:58:42 +02:00
ganfra
cdbfa4a0ce RoomSummary: RoomListEntry.Invalidated should not build empty room summary 2023-09-18 10:56:29 +02:00
ganfra
200446adc3 Update rust-sdk to 0.1.54 2023-09-18 10:29:52 +02:00
Benoit Marty
574e6199fe Cleanup and compact code. Also prefer usage of DayNightPreview. 2023-09-15 18:21:29 +02:00
Benoit Marty
a6eaef70d8 Log the tag if present. 2023-09-15 16:52:46 +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
David Langley
b87e88d2f2 Use userDefinedNotificationMode. 2023-09-15 10:42:54 +01:00
David Langley
a3ef7c791e Merge branch 'develop' of https://github.com/vector-im/element-x-android into dla/feature/room_list_decoration 2023-09-15 10:26:24 +01:00
ganfra
6c45945f57 Update rust sdk to 0.1.53 2023-09-15 10:27:57 +02:00
David Langley
fc487ba9da Merge branch 'develop' of https://github.com/vector-im/element-x-android into dla/feature/room_list_decoration 2023-09-14 19:30:02 +01:00
ganfra
54b290d630 Merge pull request #1298 from vector-im/feature/fga/timeline_thread_decoration
Feature/fga/timeline thread decoration
2023-09-14 18:45:33 +02:00
ganfra
b60b481ee0 Merge branch 'develop' into feature/fga/timeline_thread_decoration 2023-09-14 16:57:20 +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
2a7a46841e Show a room list decoration for notification setting applied
- Add the UI
- Rebuild room summaries when push rules change or when user disables notifications(hide them all)
2023-09-14 14:24:13 +01:00
David Langley
f6f55acbff Merge branch 'develop' into dla/feature/connect_sdk_to_global_notifications_ui 2023-09-14 09:52:07 +01:00
Jorge Martin Espinosa
3699b516ea Fix possible memory leak in EventMessageMapper. (#1326) 2023-09-14 08:30:41 +02:00
David Langley
91cf00a3c4 Merge branch 'develop' into dla/feature/connect_sdk_to_global_notifications_ui 2023-09-13 13:00:11 +01:00
David Langley
ccd684ea40 Add tests, mocks and lint 2023-09-13 12:44:22 +01:00
ganfra
b6be989884 Thread decoration: add and branch isThreaded method 2023-09-13 12:05:50 +02:00
jonnyandrew
d5b01ac0b4 [Rich text editor] Add feature flag for rich text editor (#1289) 2023-09-13 08:17:02 +00:00
Benoit Marty
d9225d4465 Add contact to OidcConfiguration (#1250) 2023-09-12 21:04:57 +02: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
ganfra
8da433884e PR review
Co-authored-by: Benoit Marty <benoit@matrix.org>
2023-09-12 09:46:12 +02: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
ganfra
4196b973f4 TimelineEvent : fix memory leak 2023-09-11 17:47:58 +02:00
Benoit Marty
a759e08d18 rename parameter to match parent name. 2023-09-08 08:22:41 +02:00
ganfra
b10932b2dd Merge branch 'develop' into feature/fga/sync_indicator_api 2023-09-07 21:56:48 +02:00
ganfra
b29a339003 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
30b2ab52f1 Use roomInfo instead of individually access roomListItem properties 2023-09-07 20:44:26 +02:00
jonnyandrew
11c1fca92e [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
423c7d6444 Sync: use the new SyncIndicator api 2023-09-07 17:03:52 +02:00
Yoan Pintas
4a870fc4a5 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
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
74a444966e 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
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
2c16e8d9e2 Merge branch 'develop' into yostyle/notifications_global_settings 2023-08-30 16:55:35 +01:00
Benoit Marty
0ee57c83a9 Rename file and update tosUri value. 2023-08-30 16:47:40 +02:00
Marco Romano
023bfc2ffa 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
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
renovate[bot]
78eb7aea81 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
Jorge Martín
9fdeb81e50 Fix lint issues 2023-08-24 15:58:23 +02:00
yostyle
a78f3430e2 Fix PR comments 2023-08-24 15:58:23 +02:00