ganfra
1d97412523
Fix warning
1 year ago
ganfra
6cd764dc1f
Timeline: fetch members only after timeline is ready
1 year ago
ganfra
69c42a3cbc
Update rust sdk to 0.1.37
1 year ago
Benoit Marty
82e35cda0d
Allow user with enough power level to redact other's messages ( #969 )
1 year ago
Jorge Martin Espinosa
dbec1a0a60
Improve fetch members performance, relax regexes for validating ids ( #964 )
...
* Fetched `RoomMembers` are mapped in parallel
* Add horizontal padding to room/user name in room details screen
* Relax User & Event id regex matches
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
1 year ago
Jorge Martin Espinosa
05f7037939
Prepare update to Rust SDK 0.1.36 ( #966 )
...
* Update to Rust SDK 0.1.36
* Cancel fetching members when the we exit the room
1 year ago
Benoit Marty
b3cf0d2cf1
Enable detekt rules `UnderscoresInNumericLiterals` and fix existing issues.
1 year ago
Benoit Marty
e0255777c0
Enable detekt rules `CascadingCallWrapping` and fix existing issues.
1 year ago
Benoit Marty
b5a5118160
Enable detekt rule `ThrowingExceptionsWithoutMessageOrCause` and fix existing issues.
1 year ago
Benoit Marty
73347deaaf
Enable detekt rule `UseCheckOrError` and fix existing issues (and a potential crash on MapboxMap?).
1 year ago
ganfra
506b473d4d
Small change after PR review
1 year ago
ganfra
e35bb73a86
Rework some MatrixRoom api and fix rust 'destroyed' crash
1 year ago
Benoit Marty
832fd69153
Use an AtomicBoolean instead of a MutableStateFlow to atomically init the RustMatrixRoom. Should improve #951 .
1 year ago
ganfra
5089dd0dda
Session.getRoom : suspend the whole method
1 year ago
ganfra
0a59e974ae
Deadlock: makes sure timelineListener TaskHandle.cancel is called (and memory is released correctly)
1 year ago
ganfra
1583899261
Introduce Disposable extension to destroy all disposable in an Iterable
1 year ago
Benoit Marty
c75eabbcb0
Enable detekt rules `UnnecessaryParentheses` and cleanup the code.
1 year ago
Benoit Marty
2928073e22
Enable detekt rules `UnusedImports` and cleanup the code.
1 year ago
Benoit Marty
86756dbc09
Enable detekt rules `UnusedParameter` and `UnusedPrivateProperty` and cleanup the code.
1 year ago
Benoit Marty
a88ac632f6
Fix warning (comment out temporary dead code)
1 year ago
Benoit Marty
3c9ecec563
Make `SyncState` values match `SyncServiceState` values.
1 year ago
ganfra
5f225ce3b7
TimelineDiff: use firstOrNull even if it shouldn't never be empty
1 year ago
Jorge Martín
243a39d6de
Don't blindly retry fetching pending or failed event details
1 year ago
Marco Romano
3c45a5ece4
Send My Location ( #770 )
...
- https://github.com/vector-im/element-meta/issues/1682
1 year ago
ganfra
9bf388eb1a
Avoid spamming sync flow by checking item origin
1 year ago
Benoit Marty
c5629b3a32
Format files.
1 year ago
Benoit Marty
3eff873d48
Fix typo in comments.
1 year ago
ganfra
dfd7f9cc5b
Fix tests
1 year ago
ganfra
bb12338583
RoomList: introduce RoomListDataSource so we keep the data in memory as long as the node is in the backstack.
1 year ago
ganfra
614f97543e
Update rust sdk to 0.1.34
1 year ago
Benoit Marty
e8b1f2681a
React to session deletion (from another session)
1 year ago
ganfra
669e62e462
PowerLevel: use new api exposed from rust which doesn't need to load members.
1 year ago
ganfra
207a20b67c
RoomFlowNode: use newRoot instead of safeRoot as in this case it can create a race condition where we end up not switching node
1 year ago
ganfra
9b96bd427c
Update rust sdk : start branching new SyncService (wip)
1 year ago
Benoit Marty
48277d095a
Change return type (mostly for clarity)
1 year ago
ganfra
2b679710d2
Rework a bit MatrixClientHolder and reintroduce cacheIndex...
1 year ago
Jorge Martin Espinosa
2488432805
Hide encryption history + FTUE flow ( #839 )
...
* First attempt at implementing encrypted history banner and removing old UTDs
* Get the right behavior in the timeline
* Implement the designs
* Extract post-processing logic, add tests
* Add encryption banner to timeline screenshots
* Create FTUE feature to handle welcome screen and analytics
* Move classes to their own packages, add tests for `DefaultFtueState`.
* Remove unnecessary private MutableStateFlow
* Move some FTUE related methods and classes back to the `impl` module
* Handle back press at each FTUE step
* Remove unneeded `TestScope` receiver for `createState` in tests.
* Use light & dark previews for the banner view.
* Move color customization from `TextStyle` to `Text` component.
* Rename `InfoList` design components, use them in `AnalyticsOptInView` too.
* Cleanup MatrixClient.
* Fix copy&paste error
Co-authored-by: Benoit Marty <benoit@matrix.org>
* Fix typo
* Fix Maestro tests
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
Co-authored-by: Benoit Marty <benoit@matrix.org>
1 year ago
Benoit Marty
abe7e952a3
Map ClientException.
1 year ago
Jorge Martín
e2549a8308
Try to centralise session restoration through `MatrixClientsHolder`
1 year ago
ganfra
3d0e6a4130
Media: render audio content
1 year ago
ganfra
f80f6f5bd9
Timeline: fix some tests and a one more
1 year ago
ganfra
dc4e36147d
Timeline: introduce origin on timeline items
1 year ago
ganfra
a92fa391e5
Timeline: rename file
1 year ago
ganfra
e334100b75
Timeline: split the initial item list in small chunks to post items asap
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
ganfra
6622889b09
Update rust sdk to 0.1.31: new app service
1 year ago
ganfra
1472a29441
Update rust sdk to 0.1.31: new notification api
1 year ago
ganfra
beb10cbfc4
Update rust sdk to 0.1.31: new uniqueId on timeline
1 year ago