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
63df35e071
Use the right filename for log files so they're sorted in rageshakes ( #3219 )
...
* Use the right filename for log files so they're sorted in rageshakes
* Hide the suffix part so it's not changed by accident
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
Benoit Marty
d6c99870f9
Be more lenient on Matrix pattern to support existing rooms in the wild (will fix crash on debug build).
4 months ago
Benoit Marty
67e09295de
Still need to support both eventId legacy and v4
4 months ago
Benoit Marty
79d29d680b
Add extra test for room alias.
4 months ago
Benoit Marty
5ae4668da5
No need to make the block optional.
4 months ago
Benoit Marty
52900076bd
Add test on MatrixPatterns functions.
4 months ago
Benoit Marty
792667c9a4
Iterate on MatrixPatterns.
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
Benoit Marty
85ceb0296c
When user manually mark a room as read, also dismiss the notifications for this room.
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
Benoit Marty
a4457da213
Remove dead code.
4 months ago
ganfra
0348d030a7
Rust sdk : handle api changes (draft and edit)
4 months ago
Benoit Marty
9196adb8b0
Remove default value for languageTag and theme.
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
Jorge Martin Espinosa
4904c4b751
Bump Rust SDK version and adapt our code ( #3068 )
...
* Use the new SDK version
* Adapt the authentication service to the new Rust SDK APIs
* Remove `Timeline.enterSpecialMode(...)` as it's no longer necessary
4 months ago
ganfra
644b425d71
Draft : code cleanup
4 months ago
Benoit Marty
a9fb4b95ce
Add `isEnterpriseBuild` to BuildMeta
4 months ago
ganfra
e68684815d
Draft : makes sure all existing tests passes
4 months ago
Benoit Marty
e999120864
Let role and permissions screens works for invited room members too.
4 months ago
ganfra
6ac7ab84ce
Draft : branch reply mode
4 months ago
ganfra
5597a1743a
Reply : refactor so we can use ReplyToDetails in Composer and Timeline
4 months ago
Benoit Marty
ac6e56fead
Use heroes only for DMs. #1538
4 months ago
ganfra
f24e87faf1
Timeline : introduce loadReplyDetails api
4 months ago
Benoit Marty
a199a8605f
Add heroes to `RoomSummaryDetails`
4 months ago
ganfra
9aa82b42fd
Draft : introduce DraftService and start using it.
4 months ago
Benoit Marty
14062c687e
Map RoomHero to MatrixRoomInfo.
4 months ago
ganfra
dc331640f9
Draft : expose new apis from sdk
5 months ago
ganfra
0e94771f03
Sending queue : reintroduce failed status for unrecoverable error
5 months ago
Benoit Marty
4332357e76
Add import for doc.
5 months ago
Benoit Marty
a8cd659b1f
Avoid restoring several MatrixClient
5 months ago
ganfra
420872fed9
Rust : handle api changes for 0.2.27
5 months ago