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
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
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
Florian Renaud
e599777b89
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]
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
Florian Renaud
c710cb7432
Add unit tests for TimelineItemContentPollFactory
2023-08-29 16:00:18 +02: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
1a6376e723
Merge branch 'develop' into feature/bma/dataObject
2023-08-28 10:56:02 +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
yostyle
122d5e4239
Update notification settings service interface to match rust SDK
2023-08-24 15:58:22 +02:00
yostyle
7f06c321cc
Update dispatcher
2023-08-24 15:58:22 +02:00
yostyle
4ce6f3d4ad
Update strings
2023-08-24 15:58:22 +02:00
yostyle
6895f8bcae
Fix edition
2023-08-24 15:58:21 +02:00
yostyle
bfb6bd9d08
Rebase on develop
2023-08-24 15:58:21 +02:00
yostyle
3e8a536c0d
Update unit tests
2023-08-24 15:58:21 +02:00
yostyle
ad6f772a62
Rebase on develop
2023-08-24 15:58:21 +02:00
yostyle
d930f4130e
Add room notification settings
2023-08-24 15:58:21 +02:00
Florian Renaud
ebf6a98c34
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
39ef780fe7
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
f5fd505bc2
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
52853101d9
migrate object to data object ( #1135 )
2023-08-24 09:32:44 +02:00
renovate[bot]
f9057029cf
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
7278fae142
Handle remarks from PR #1127
2023-08-23 17:23:12 +02:00
Benoit Marty
6941bc69f6
Merge pull request #1127 from vector-im/feature/bma/finishOidc
...
Enable OIDC support
2023-08-23 17:01:41 +02:00
Jorge Martin Espinosa
80aaa8b8ab
When event has no id, just cancel parsing the latest room message ( #1126 )
2023-08-23 12:50:22 +00:00
Benoit Marty
10e8517766
Implement didRefreshTokens(): update database with updated SessionData.
2023-08-23 14:42:46 +02:00
Benoit Marty
79aa128377
Add setting entry point to manage account (OIDC)
2023-08-23 12:54:22 +02:00
Benoit Marty
06a9b129d0
Restore OIDC support.
2023-08-23 12:18:42 +02:00
Florian Renaud
8e40224bf1
Do not handle poll end event
2023-08-22 10:55:18 +02:00
Florian Renaud
00752d851a
Update UI for poll in the timeline
2023-08-22 10:55:17 +02:00
ganfra
2e6077e7fe
Merge pull request #1108 from vector-im/feature/fga/fix_memory_leak_room_members
...
Fix memory leak on room members
2023-08-21 18:16:04 +02:00
ganfra
6a32a66a7a
Fix memory leak : parallelMap can be cancelled so all members were not destroyed
2023-08-21 17:49:39 +02:00
ganfra
9d8db2ff9e
Update rust sdk to 0.1.44
2023-08-21 17:47:03 +02:00
Jorge Martin Espinosa
814c8edc4f
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 >
2023-08-17 09:02:03 +00:00
renovate[bot]
541562ee61
Update kotlin - TO BE MERGED AFTER THE RELEASE ( #789 )
...
* Update kotlin
* Update kotlinc.xml
* Update ksp
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Marco Romano <marcor@element.io >
Co-authored-by: Benoit Marty <benoit@matrix.org >
2023-08-17 08:58:10 +00:00
Florian Renaud
f2d1658ffa
"View only" polls in the timeline ( #1031 )
...
* Handle poll events from the sdk
* Render started poll event in the timeline
* Create poll module
* Check poll kind before revealing the results
* Check if user has voted before revealing the results
* Add active poll previews
* Minor cleanup
* Update todos
* Fix CI
* Remove hardcoded string
* Update preview
* changelog file
* Update screenshots
* Use CommonPlurals
* Set poll root view as selectableGroup
* Improve poll result rendering
* Update screenshots
* Add missing showkase processor
* Update screenshots
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io >
2023-08-16 14:19:12 +00:00
ganfra
c15483828d
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 >
2023-08-11 21:32:31 +00:00
ganfra
226a3dbf28
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 >
2023-08-09 12:37:43 +00:00
Jorge Martin Espinosa
4e94d4da6b
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
2023-08-09 12:12:39 +00:00
ganfra
3f1d241b48
Feature/fga/rust sdk tracing ( #1036 )
...
* Align TracingConfiguration with iOS
* Create TracingTree from rust sdk
* tracing: create a working configuration with RustTracingTree
* Tracing: WIP implementation of new api
* Tracing: clean up
* Tracing: use the latest api
* Tracing: some more clean up
* Remove generated logcat file after compressing it
---------
Co-authored-by: ganfra <francoisg@element.io >
Co-authored-by: Jorge Martín <jorgem@element.io >
2023-08-09 10:18:49 +00:00
ganfra
f15817447c
Update rust sdk to 0.1.41 (just make it compiles) ( #1040 )
...
Co-authored-by: ganfra <francoisg@element.io >
2023-08-09 09:16:47 +00:00