ganfra
1bdb67e4e3
Merge branch 'develop' into feature/fga/safer_callback_flows
2023-07-31 11:36:59 +02:00
ganfra
1571ba9135
Small changes after reviews
2023-07-31 11:36:28 +02:00
Benoit Marty
d06f86f79d
Merge pull request #967 from vector-im/feature/bma/detektConfig
...
Update detekt config.
2023-07-28 16:47:26 +02:00
Benoit Marty
443671e355
Merge pull request #991 from vector-im/feature/bma/redactRegardingPowerLevel
...
Allow user with enough power level to redact other's messages (#969 )
2023-07-28 16:13:54 +02:00
ganfra
ca4bbbc050
No crash when room is already destroyed...
2023-07-28 13:40:18 +02:00
ganfra
271d0db587
Also catch Exception instead of RoomListException
2023-07-27 21:12:07 +02:00
ganfra
632c4ef168
Fix warning
2023-07-27 21:11:34 +02:00
ganfra
b75752e066
Timeline: fetch members only after timeline is ready
2023-07-27 20:49:56 +02:00
ganfra
5547b6278e
Update rust sdk to 0.1.37
2023-07-27 20:49:27 +02:00
Benoit Marty
b2d3368f63
Allow user with enough power level to redact other's messages ( #969 )
2023-07-27 18:42:45 +02:00
Jorge Martin Espinosa
9bd97ad329
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 >
2023-07-26 16:31:26 +02:00
Jorge Martin Espinosa
a9d1a299f5
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
2023-07-26 14:22:09 +00:00
Benoit Marty
15ac81d32a
Enable detekt rules UnderscoresInNumericLiterals and fix existing issues.
2023-07-26 11:48:08 +02:00
Benoit Marty
1d3aa2cd05
Enable detekt rules CascadingCallWrapping and fix existing issues.
2023-07-26 11:07:25 +02:00
Benoit Marty
9e3679cbd6
Enable detekt rule UseCheckOrError and fix existing issues (and a potential crash on MapboxMap?).
2023-07-26 10:18:28 +02:00
ganfra
ba12fbc9e3
Small change after PR review
2023-07-25 18:41:43 +02:00
ganfra
cfd43af45c
Merge branch 'develop' into feature/fga/avoid_deadlocks
2023-07-25 16:09:24 +02:00
ganfra
daf23c5541
Rework some MatrixRoom api and fix rust 'destroyed' crash
2023-07-25 12:06:36 +02:00
Benoit Marty
0ef49ca6ca
Use an AtomicBoolean instead of a MutableStateFlow to atomically init the RustMatrixRoom. Should improve #951 .
2023-07-24 18:04:21 +02:00
ganfra
c0b8388fad
Session.getRoom : suspend the whole method
2023-07-21 14:12:54 +02:00
ganfra
a87ae86398
Deadlock: makes sure timelineListener TaskHandle.cancel is called (and memory is released correctly)
2023-07-21 14:12:28 +02:00
ganfra
ac108c4582
Introduce Disposable extension to destroy all disposable in an Iterable
2023-07-21 10:20:37 +02:00
Benoit Marty
c72f1a09a7
Enable detekt rules UnnecessaryParentheses and cleanup the code.
2023-07-20 18:08:08 +02:00
Benoit Marty
55538c2773
Enable detekt rules UnusedImports and cleanup the code.
2023-07-20 18:00:23 +02:00
Benoit Marty
c882cab67f
Merge pull request #920 from vector-im/feature/bma/slidingSyncState
...
Sliding sync state rendering
2023-07-19 16:26:14 +02:00
Benoit Marty
c04fcfc352
Make SyncState values match SyncServiceState values.
2023-07-19 14:44:53 +02:00
ganfra
4bc6909aa8
TimelineDiff: use firstOrNull even if it shouldn't never be empty
2023-07-19 14:39:23 +02:00
Jorge Martín
f7f6fdc770
Don't blindly retry fetching pending or failed event details
2023-07-19 13:14:45 +02:00
ganfra
babb25d45f
Avoid spamming sync flow by checking item origin
2023-07-19 11:48:05 +02:00
Benoit Marty
494e00dcb1
Merge pull request #901 from vector-im/feature/fga/power_level
...
Feature/fga/power level
2023-07-18 23:39:52 +02:00
ganfra
236ac40942
Merge pull request #907 from vector-im/feature/fga/fix_room_list_scroll_position
...
RoomList: introduce RoomListDataSource
2023-07-18 23:31:34 +02:00
Benoit Marty
2a260a9160
Merge pull request #903 from vector-im/feature/bma/sessionDeleted
...
React to session deletion (from another session)
2023-07-18 23:30:30 +02:00
ganfra
d4ee9fd9d3
Merge branch 'develop' into feature/fga/fix_room_list_scroll_position
2023-07-18 23:07:10 +02:00
Benoit Marty
456f4fba6b
Format files.
2023-07-18 23:05:50 +02:00
ganfra
888ca1c86b
Merge branch 'develop' into feature/fga/power_level
2023-07-18 22:54:33 +02:00
ganfra
c7d0bbc174
Merge pull request #906 from vector-im/feature/fga/update-rust-sdk-0.1.34
...
Feature/fga/update rust sdk 0.1.34
2023-07-18 22:52:48 +02:00
ganfra
cd19436924
RoomList: introduce RoomListDataSource so we keep the data in memory as long as the node is in the backstack.
2023-07-18 22:09:50 +02:00
ganfra
9e4888c4ab
Update rust sdk to 0.1.34
2023-07-18 20:12:51 +02:00
Benoit Marty
2fa7559c1c
React to session deletion (from another session)
2023-07-18 18:00:12 +02:00
ganfra
f7c55f8d04
Merge branch 'develop' into feature/fga/better_media_handling
2023-07-18 15:13:59 +02:00
ganfra
e00462900e
PowerLevel: use new api exposed from rust which doesn't need to load members.
2023-07-18 15:10:44 +02:00
ganfra
1a9f0732e1
Merge branch 'develop' into feature/fga/update-rust-sdk-0.1.32
2023-07-18 10:12:19 +02:00
Jorge Martín
aeaec5cb73
Merge remote-tracking branch 'origin/develop' into feature/fga/better_timeline_scroll
2023-07-18 07:46:02 +02:00
ganfra
92db07ff83
Merge branch 'develop' into feature/fga/better_timeline_scroll
2023-07-17 23:35:41 +02:00
ganfra
ae3c0c7e32
RoomFlowNode: use newRoot instead of safeRoot as in this case it can create a race condition where we end up not switching node
2023-07-17 23:27:18 +02:00
ganfra
c7406de5e2
Update rust sdk : start branching new SyncService (wip)
2023-07-17 22:26:21 +02:00
Benoit Marty
b15484933d
Merge branch 'develop' into fix/jme/880-sliding-sync-loop-expires-and-restarts
2023-07-17 22:18:59 +02:00
Benoit Marty
ddf432bb72
Change return type (mostly for clarity)
2023-07-17 22:03:21 +02:00
Jorge Martin Espinosa
280b7e32e0
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 >
2023-07-17 18:34:36 +02:00
Benoit Marty
c70dedba13
Map ClientException.
2023-07-17 15:50:08 +02:00