ganfra
f64c491805
RoomDetailsFRoomList: don't use full room except for invites
1 year ago
ganfra
348f99970b
Update rust sdk to 0.1.27
1 year ago
ganfra
61dff7570c
RoomList: prepare code to not fetch fullRoom
1 year ago
Benoit Marty
73b1ffd7d0
Replace CurrentUserProvider by an extension on MatrixClient.
1 year ago
Benoit Marty
34f4078d5f
Move BuildMeta fake to common test module.
1 year ago
Benoit Marty
e1b528e861
Show current user in the settings and extract code in CurrentUserProvider.
1 year ago
ganfra
3aa5cce8dc
Timeline: use val instead of fun for flows
1 year ago
ganfra
2bd325620c
Fix coverage and address PR review comment.
1 year ago
Chris Smith
1e17d2943f
Show location events in timeline
...
Not in scope: interacting with the timeline items,
reply formatting. These will be implemented separately.
Closes #689
1 year ago
Benoit Marty
011f7a1064
Rename `ElementX` to `Element X`. Only for user facing value. In the doc I prefer to keep `ElementX`.
1 year ago
Benoit Marty
9bd4aff1e7
Provide the user agent to RustMatrixAuthenticationService
1 year ago
Benoit Marty
b553c73a9b
Add TODO for the remaining case.
1 year ago
Benoit Marty
f4b4e4d316
Configure user agent for all network request ( #677 )
1 year ago
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.
1 year ago
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)`)
1 year ago
renovate[bot]
d6780b1107
Update kotlin
1 year ago
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
1 year ago
ganfra
0631830059
RoomListService: enable encryption
1 year ago
ganfra
f25314f7f7
Coroutine: create extension method to create childScope
1 year ago
jonnyandrew
366a800a2c
Toggle reactions from the timeline ( #707 )
1 year ago
Benoit Marty
43b7acc64e
Iterate on reactions ( #668 )
1 year ago
ganfra
f6a1db44a6
Fix some code quality/formatting
1 year ago
ganfra
812880a148
RoomList: fix tests and sample
1 year ago
ganfra
d9559af2cf
RoomList: branch invites
1 year ago
ganfra
8f5fb64ba5
RoomList/Timeline: makes sure initial values are set before computing diff/update
1 year ago
Marco Romano
4fe7bb6809
Add `sendLocation` API to Rust Room ( #681 )
...
Will be used by the location sharing feature.
1 year ago
renovate[bot]
32332deaf4
Update dependency org.matrix.rustcomponents:sdk-android to v0.1.24 ( #675 )
...
* Update dependency org.matrix.rustcomponents:sdk-android to v0.1.24
* Add new `filterByPushRules`.
Only existing usage of this API will set this param to `true` in order to not change the current behavior.
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Marco Romano <marcor@element.io>
1 year ago
ganfra
eb00ef3c06
RoomList: fix small error in update processing
1 year ago
ganfra
7c76a74a30
RoomList/Timeline : Add Buffer(Unlimited) to avoid blocking rust listener thread
1 year ago
ganfra
19e2c104af
RoomList: update LoadingState and fix a crash
1 year ago
ganfra
8c66924be9
Timeline: refactor a bit
1 year ago
ganfra
fa48c29486
RoomList: more rework on RoomSummaryDataSource
1 year ago
Benoit Marty
b6920afb7f
Move cache management to a dedicated class and in the setting module, for clarity.
1 year ago
Benoit Marty
145cd410c7
`Idx` -> `Index`
1 year ago
Benoit Marty
35dc9eebfc
Ensure all file about sqlite are deleted.
1 year ago
Benoit Marty
ffa7154e43
Implement missing methods in Fake class.
1 year ago
Benoit Marty
e298670b68
var -> val
1 year ago
Benoit Marty
f9423fc15e
Close the client before removing its data. Probably safer.
1 year ago
Benoit Marty
979ebe4adb
Close the client before deleting data, and ensure the app is restarted, using a cache Index.
1 year ago
Benoit Marty
2a7d252a4e
Display cache size in the developer settings ( #643 )
1 year ago
Benoit Marty
f014f0a3ae
Add clear cache action in the developer settings ( #643 )
1 year ago
ganfra
db55644fb8
Rust sdk update: make the project compiling
1 year ago
ganfra
f3e072bdb0
RoomList: try syncing when network is back and inError state
1 year ago
Jorge Martin Espinosa
9251cbf536
[Message Actions] Report messages ( #642 )
...
* Add report messages feature
* Try to improve how snackbars are delivered
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
1 year ago
ganfra
ca080fd6af
RoomList: introduces a SyncService
1 year ago
Jorge Martin Espinosa
42827206b3
[Message Actions] Forward messages ( #635 )
...
* Add forwarding messages base
* Make forwarding single-selection
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
1 year ago
ganfra
ef8dc6ea7a
RoomList: change a bit the api of RoomSummaryDataSource
1 year ago
ganfra
4656af6ce8
RoomList: start/stop sync in resume/pause callbacks
1 year ago
ganfra
2115db7af5
Rust sdk update: make the app compile
1 year ago
ganfra
cb219e6292
Room/Timeline: simplify the apis
1 year ago