Benoit Marty
c41cb33410
Provide distinct cache directory to the Rust SDK.
2 months ago
Benoit Marty
bc5ab0759c
Use `let`.
2 months ago
Benoit Marty
dfaa350167
Better handling on null reset handler.
...
This is not an error, but in this case, the reset identity is successful.
2 months ago
ganfra
741c3679ea
Timeline : add a mode to differentiate between live/focused/pinned
2 months ago
Benoit Marty
d867a5fe6f
Cleanup notification for redacted event.
2 months ago
ganfra
7310adcf07
Rust sdk : fix tests after api breaks
2 months ago
ganfra
2361b597d9
Rust sdk : handle the remaining changes
2 months ago
ganfra
88a581427c
Rust sdk : refactor LocalSendState to use the new failure states as iOS does
2 months ago
ganfra
e5b21c389e
Rust sdk : use newMessageShield state
2 months ago
Benoit Marty
57d927e9aa
Suggestion for room alias.
...
Rename `Mention` to `IntentionalMention` for clarity
Remove dead code, there is no intentional mention for Room or RoomAlias.
Rename `IntentionalMention.AtRoom` to `IntentionalMention.Room` to match Rust naming
2 months ago
Benoit Marty
faf1e7da9f
Iterate on shield mapping and rendering
...
Also handle click on the timeline and information displayed on long click.
3 months ago
Jorge Martín
7fd0ad09dc
Improve APIs, add tests
3 months ago
Jorge Martín
175bada0df
Improve existing APIs
3 months ago
Jorge Martín
4ab0b1074d
Initial implementation of the reset identity feature
3 months ago
Benoit Marty
01ece74343
Fix formatting and improve comment.
3 months ago
Benoit Marty
683f26c051
Ensure sessionPath is not reused for different homeserver.
3 months ago
Jorge Martin Espinosa
65718b3e96
Update the SDK bindings to `v0.2.39` ( #3288 )
...
- Rework `RoomSyncSubscriber` to work with the new `RoomListService.subscribeToRooms` API.
3 months ago
ganfra
5d2abd0350
timeline : allow rendering m.room.pinned_events
3 months ago
ganfra
80f1574b66
Pinned events : update sdk
3 months ago
ganfra
34fd21f440
Pinned events : introduce pinnedEventsTimeline method.
3 months ago
ganfra
52a643f116
Pin : expose the new rust sdk apis
3 months ago
ganfra
ba123ccee1
Rust sdk update : fix test
3 months ago
ganfra
0149007dd4
Timeline Action : refactor how it's computed and align with iOS
3 months ago
ganfra
eec0e371f6
SSS : enhance getBaseClientBuilder to avoid mistakes.
3 months ago
Valere
524f20bb40
Timeline UI | MessageShield Support
3 months ago
ganfra
a23e5e2400
Edit : fallback to room.edit when timeline item is not found.
3 months ago
ganfra
aebcc52309
Join Room : makes sure we can join by alias
3 months ago
Jorge Martín
ff6ea43237
Don't reset the SSS toggle when logged out.
...
Instead, force a logout when toggling the option so user needs to log in again and create a new session using SSS.
4 months ago
Jorge Martín
b9f4403408
Add simplified sliding sync toggle to developer options
4 months ago
renovate[bot]
05e56e1ebc
Update dependency org.matrix.rustcomponents:sdk-android to v0.2.33 ( #3220 )
...
* Update dependency org.matrix.rustcomponents:sdk-android to v0.2.33
* Fix API breaks
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
4 months ago
Jorge Martin Espinosa
aedbce8e8d
Add logging to help debug forced logout issues ( #3208 )
...
* Add logging to help debug forced logout issues
* Use tags instead of manually adding the values to the logs.
- Also add extension functions to easily get anonymized tokens from `Session`/`SessionData`.
* Make sure only 1 operation related to token persistence can run at the same time
4 months ago
ganfra
f08d30bb62
Performance : call roomFactory.destroy()
4 months ago
ganfra
7fab94fdd7
Performance : rename RustRoomObjects to RustRoomReferences
4 months ago
ganfra
5e6bcbd7ac
Performance : do not trigger back pagination when opening room.
4 months ago
ganfra
ef12408b6e
Performance : add cache on roomListItem and fullRoom
4 months ago
renovate[bot]
530894e875
Update dependency org.matrix.rustcomponents:sdk-android to v0.2.32
4 months ago
Jorge Martin Espinosa
d626660023
Fix crash in the room list after a forced log out in background ( #3180 )
4 months ago
Jorge Martin Espinosa
2ff5fa67fc
Restore intentional mentions in the markdown/plain text editor ( #3193 )
...
* Restore intentional mentions in the markdown/plain text editor
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
4 months ago
ganfra
c508c8bdd0
Performance : subscribe to timeline items only when necessary
4 months ago
Jorge Martin Espinosa
5944f112fb
Subscribe to `RoomListItems` in the visible range ( #3169 )
...
* Subscribe to `RoomListItems` in the visible range
This ensures the room list items always have updated info.
4 months ago
Jorge Martin Espinosa
0be7058416
Unify the way we decide whether a room is a DM or a group room ( #3100 )
...
* Add centralised 'room is DM' check
Also add extension functions for `MatrixRoom` and `MatrixRoomInfo`.
* Use the centralised method and extension functions through the app, including:
- Room list.
- Room details screen.
- Invites.
- Notifications.
Replace most `isDirect` usages with `isDm`.
* Update screenshots
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
4 months ago
renovate[bot]
68efc918ba
Update dependency org.matrix.rustcomponents:sdk-android to v0.2.31 ( #3145 )
...
* Update dependency org.matrix.rustcomponents:sdk-android to v0.2.31
* Use new Rust client side sorting API
* Make `RoomListEntriesUpdate.describe()` an extension function
* Remove `RoomListSummary.Filled` and `RoomListSummary.Empty`
* Fix icon sizes to pass the lint checks
* Update screenshots
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
4 months ago
ganfra
c8a01e38f1
Bugfix : avoid potential NPE on verification service.
4 months ago
Benoit Marty
5529fcc520
Inject constructor.
4 months ago
Benoit Marty
8ec283f2ca
Use SDK to get Element Wellknown content.
4 months ago
ganfra
82df03fc31
Timeline : re-enable edition of local echo
4 months ago
Benoit Marty
6531a39b5a
Introduce UserServerResolver.
4 months ago
ganfra
0348d030a7
Rust sdk : handle api changes (draft and edit)
4 months ago
Jorge Martín
f421f94639
Fix session verification incorrectly displaying as 'not verified' when the user opened the app with no network connection.
...
It turns out `encryptionService.verificationState()` runs a network request that will cause a deadlock when it fails.
Also fixed another deadlock that caused the screen to remain blank sometimes after logging in, because DataStore got stuck when checking the `skipVerification` state for some reason I don't fully understand.
4 months ago
ganfra
e9c995f96d
Auth : fix restore session when there is no network.
4 months ago