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
bc57a03a39
Add setting entry point to manage account (OIDC)
2023-08-23 12:54:22 +02:00
Benoit Marty
6928dc6e44
Restore OIDC support.
2023-08-23 12:18:42 +02:00
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>
2023-08-17 09:02:03 +00:00
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>
2023-08-11 21:32:31 +00:00
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>
2023-08-09 12:37:43 +00:00
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
2023-08-09 12:12:39 +00:00
ganfra
f1d438e701
Merge pull request #997 from vector-im/feature/fga/remove_from_main_thread
...
Feature/fga/remove from main thread
2023-07-31 13:39:06 +02:00
ganfra
fa9fa69697
Makes sure NotificationService is suspendable
2023-07-28 17:56:17 +02:00
Benoit Marty
82e35cda0d
Allow user with enough power level to redact other's messages ( #969 )
2023-07-27 18:42:45 +02:00
ganfra
e35bb73a86
Rework some MatrixRoom api and fix rust 'destroyed' crash
2023-07-25 12:06:36 +02:00
Benoit Marty
2928073e22
Enable detekt rules UnusedImports and cleanup the code.
2023-07-20 18:00:23 +02:00
Benoit Marty
8b97d50050
Merge pull request #920 from vector-im/feature/bma/slidingSyncState
...
Sliding sync state rendering
2023-07-19 16:26:14 +02:00
Benoit Marty
3c9ecec563
Make SyncState values match SyncServiceState values.
2023-07-19 14:44:53 +02:00
Marco Romano
3c45a5ece4
Send My Location ( #770 )
...
- https://github.com/vector-im/element-meta/issues/1682
2023-07-19 09:58:13 +00:00
ganfra
1d2fd52ce6
Merge branch 'develop' into feature/fga/power_level
2023-07-18 22:54:33 +02:00
ganfra
dfd7f9cc5b
Fix tests
2023-07-18 22:27:44 +02:00
ganfra
669e62e462
PowerLevel: use new api exposed from rust which doesn't need to load members.
2023-07-18 15:10:44 +02:00
ganfra
7cefff8610
Merge branch 'develop' into feature/fga/update-rust-sdk-0.1.32
2023-07-18 10:12:19 +02:00
ganfra
8f01e8133f
Merge branch 'develop' into feature/fga/better_timeline_scroll
2023-07-17 23:35:41 +02:00
ganfra
9b96bd427c
Update rust sdk : start branching new SyncService (wip)
2023-07-17 22:26:21 +02:00
Benoit Marty
6fd5ac6655
Merge pull request #859 from vector-im/feature/bma/transactionId
...
Create value class for transactionId
2023-07-17 11:28:42 +02:00
ganfra
f80f6f5bd9
Timeline: fix some tests and a one more
2023-07-13 17:09:20 +02:00
ganfra
732a4eb5fa
Merge pull request #863 from vector-im/feature/fga/timeline_pagination
...
Feature/fga/timeline pagination
2023-07-13 11:58:10 +02:00
ganfra
9873588d2a
Timeline: avoid pagination when timeline is not ready
2023-07-12 22:43:35 +02:00
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.
2023-07-12 18:15:17 +02:00
ganfra
c8776f9806
Merge branch 'develop' into feature/fga/update-rust-sdk-0.1.31
2023-07-12 17:36:05 +02:00
Benoit Marty
1e45235c64
Merge pull request #850 from vector-im/feature/bma/fixTests
...
Ensure CI run all the tests.
2023-07-12 16:59:37 +02:00
ganfra
ed779abead
Update rust sdk to 0.1.31: fix build
2023-07-12 16:50:40 +02:00
Benoit Marty
67fd2ebba9
Fix warning (rename the base parameter name).
2023-07-12 14:11:26 +02:00
Benoit Marty
d56c668663
Improve UX on Block/Unblock user action. Add loading and error case. And make the value (a bit more) live.
2023-07-11 17:48:31 +02:00
ganfra
10c2859fac
Merge branch 'develop' into feature/fga/waiting_ss_room
2023-07-07 11:34:45 +02:00
ganfra
7dbac91cd3
Room : Fix tests as there is less recomposition
2023-07-06 19:58:06 +02:00
Jorge Martin Espinosa
c133a6e606
Fix displaying reaction row in message action list ( #788 )
...
* Fix displaying reaction row in message action list
* Rename `sendState` to `localSendState` and make it nullable.
Create an `isRemote` helper to detect if an event comes from the server instead.
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-07-06 16:51:51 +00:00
Jorge Martin Espinosa
78a26c034e
Fix actions for redacted, not sent and media messages ( #771 )
...
* Fix actions for redacted, not sent and media messages
* Make `EventDebugInfoView` sections fill max width
* Don't display action list if there are no actions to display
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-07-05 14:08:17 +00:00
ganfra
2dcd94076f
Room: remove bestName and use displayName instead of name where it makes sense
2023-07-05 12:01:51 +02:00
ganfra
d59f59e9f6
Await room: first attempt to wait for a room to be ready
2023-07-04 18:19:06 +02:00
Marco Romano
ae054b7130
Adds new optional parameters to MatrixRoom.sendLocation() ( #767 )
...
For location sharing.
2023-07-04 13:57:19 +00:00
Benoit Marty
34f4078d5f
Move BuildMeta fake to common test module.
2023-07-03 17:09:04 +02:00
Benoit Marty
a2a5d251d1
Merge pull request #731 from vector-im/feature/fga/timeline_back_pagination
...
Feature/fga/timeline back pagination
2023-06-30 09:27:36 +02:00
ganfra
3aa5cce8dc
Timeline: use val instead of fun for flows
2023-06-29 18:03:12 +02:00
ganfra
84fce4bcc7
Merge pull request #721 from vector-im/feature/fga/media_upload_progress
...
Feature/fga/media upload progress
2023-06-29 18:01:50 +02:00
ganfra
2bd325620c
Fix coverage and address PR review comment.
2023-06-29 17:40:19 +02:00
Jorge Martin Espinosa
469b54f204
Send read receipts ( #713 )
...
* Send read receipts
* Add changelog
* Add tests.
* Optimise how sending read receipts work in the timeline.
* Move the check for send read receipts to the presenter
Also improve the way we find the first visible `Event` if we have `Virtual` ones in the timeline.
2023-06-29 10:08:19 +00:00
Chris Smith
f4e17cf12d
Merge pull request #696 from vector-im/feature/cjs/leaving-dms
...
Show a prompt to reinvite other party in a DM
2023-06-29 10:42:35 +01:00
Marco Romano
354374ed49
MatrixRoom API refinement ( #719 )
...
- `syncUpdateFlow` becomes a `val` and always returns the same instance of the underlying `StateFlow` instead of different `Flow` instances to allow consumers not to remember the `Flow` and not to specify an unneeded initial value.
- `timeline` becomes a `val` as it already always returns the same instance.
- Amends calling code accordingly
- Removes a few unneeded `val`s in `RustMatrixClient
- Fixes a small bug in `MessagesPresenter` that allowed to sometime show a newly created room's name as "Empty room" (changes `LaunchedEffect(syncUpdateFlow)` to `LaunchedEffect(syncUpdateFlow.value)`)
2023-06-29 10:48:55 +02:00
Chris Smith
53861fedb6
Show a prompt to reinvite other party in a DM
...
If you are looking at a DM where the other party has left then
when you focus the composer for the first time we'll show a
dialog asking if you want to reinvite the other party.
Closes #590
2023-06-28 17:20:51 +01:00
ganfra
8e5c2a749a
Merge branch 'develop' into feature/fga/room_list_api
2023-06-28 15:14:06 +02:00
jonnyandrew
366a800a2c
Toggle reactions from the timeline ( #707 )
2023-06-28 13:02:04 +00:00