Benoit Marty
37249261e1
Add test for `MatrixClientsHolder`
12 months ago
ganfra
74735605e4
Room : makes subscribeToSync/unsubscribeFromSync suspendable and makes sure we keep subscription count
12 months ago
Benoit Marty
c9c7af6e06
Simplify the management of `inReplyToEventTimelineItem`
12 months ago
Benoit Marty
a192a8823f
Ensure `getEventTimelineItemByEventId` is called when we enter in reply mode.
12 months ago
Marco Romano
e4c78a2489
Properly format lastMessage when it belongs to a poll. ( #1387 )
...
Takes care of properly formatting a room's last message when it belongs to a poll.
NB: Polls still aren't exposed as a room's `last_message` from the rust SDK, so this code won't actually run yet. This will happen after integrating rust SDK version 0.1.57 which includes: https://github.com/matrix-org/matrix-rust-sdk/pull/2580
1 year ago
David Langley
6497d2184f
Add test.
1 year ago
Benoit Marty
27e567e6f4
Fix the test.
1 year ago
Jorge Martín
98bb91cd27
Create tests
1 year ago
David Langley
7a7cc2692e
Fix test compilation
1 year ago
Benoit Marty
b4546118f9
Account management with OIDC: split account and session management. #1303
1 year ago
David Langley
1260272c33
Add tests, mocks and lint
1 year ago
ganfra
36fdf243cc
Thread decoration: add and branch isThreaded method
1 year ago
jonnyandrew
8ab391f615
[Rich text editor] Add feature flag for rich text editor ( #1289 )
1 year ago
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.
1 year ago
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>
1 year ago
ganfra
6f86fca2c2
Sync: use the new SyncIndicator api
1 year ago
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>
1 year ago
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>
1 year ago
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 )
1 year ago
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
1 year ago
Florian Renaud
9c6a5bed54
Add unit tests for TimelineItemContentPollFactory
1 year ago
Jorge Martín
4b0f9213d3
Fix lint issues
1 year ago
yostyle
85dd36a681
Update notification settings service interface to match rust SDK
1 year ago
yostyle
856c674361
Update unit tests
1 year ago
yostyle
2c81384894
Rebase on develop
1 year ago
yostyle
83e45adfa5
Add room notification settings
1 year ago
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
1 year ago
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
1 year ago
Benoit Marty
bc57a03a39
Add setting entry point to manage account (OIDC)
1 year ago
Benoit Marty
6928dc6e44
Restore OIDC support.
1 year ago
Jorge Martin Espinosa
983b83a56f
Media upload cancellation ( #1058 )
...
* Initial implementation of media upload cancellation
* Add tests
* Add changelog
* Update screenshots
* Add documentation
* Fix lint issues
* Fix review comments
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
1 year ago
ganfra
a911134636
Update rust sdk to 0.1.42 (changes in tracing and sync apis) ( #1055 )
...
* Update rust sdk to 0.1.42 (changes in tracing and sync apis)
* Fix sample compilation
---------
Co-authored-by: ganfra <francoisg@element.io>
1 year ago
ganfra
fa51f6eaa7
Feature/fga/sync states ( #1042 )
...
* Change RoomSummaryDataSource to RoomListService to better reflects the rust api
* Better Sync management
* Sync: improve sync spinner rendering
* Sync: make test compiles
* Sync: add more test for sync spinner
* Sync: more clean-up
* Sync: pr review
---------
Co-authored-by: ganfra <francoisg@element.io>
1 year ago
Jorge Martin Espinosa
2131af28d5
Enable filter push notifications by push rules ( #1041 )
...
* Enable filter push notifications by push rules
* Remove unused `filterByPushRules` parameter
* Use fallback notification only for items not filetered by the push rules
* Fix tests
1 year ago
ganfra
fa9fa69697
Makes sure NotificationService is suspendable
1 year ago
Benoit Marty
82e35cda0d
Allow user with enough power level to redact other's messages ( #969 )
1 year ago
ganfra
e35bb73a86
Rework some MatrixRoom api and fix rust 'destroyed' crash
1 year ago
Benoit Marty
2928073e22
Enable detekt rules `UnusedImports` and cleanup the code.
1 year ago
Benoit Marty
3c9ecec563
Make `SyncState` values match `SyncServiceState` values.
1 year ago
Marco Romano
3c45a5ece4
Send My Location ( #770 )
...
- https://github.com/vector-im/element-meta/issues/1682
1 year ago
ganfra
dfd7f9cc5b
Fix tests
1 year ago
ganfra
669e62e462
PowerLevel: use new api exposed from rust which doesn't need to load members.
1 year ago
ganfra
9b96bd427c
Update rust sdk : start branching new SyncService (wip)
1 year ago
ganfra
f80f6f5bd9
Timeline: fix some tests and a one more
1 year ago
ganfra
9873588d2a
Timeline: avoid pagination when timeline is not ready
1 year ago
Benoit Marty
6e2f645514
Create value class for transactionId. There is no validation on the format, but validation is a bonus for userId, roomId, etc.
...
The main advantage of using value classes instead of Strings everywhere is to detect errors at compilation time.
1 year ago
ganfra
ed779abead
Update rust sdk to 0.1.31: fix build
1 year ago
Benoit Marty
67fd2ebba9
Fix warning (rename the base parameter name).
1 year ago
Benoit Marty
d56c668663
Improve UX on Block/Unblock user action. Add loading and error case. And make the value (a bit more) live.
1 year ago
ganfra
7dbac91cd3
Room : Fix tests as there is less recomposition
1 year ago