renovate[bot]
8a2335f7aa
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 >
2024-07-19 13:33:27 +02:00
Jorge Martin Espinosa
896b1a3e60
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
2024-07-18 13:16:20 +00:00
ganfra
8550680adf
Merge pull request #3186 from element-hq/feature/fga/investigate_performance_issue
...
Performance : improve time to open a room.
2024-07-17 19:18:03 +02:00
ganfra
303f46852a
Performance : call roomFactory.destroy()
2024-07-17 17:23:15 +02:00
ganfra
dc36634f1c
Performance : rename RustRoomObjects to RustRoomReferences
2024-07-17 17:22:56 +02:00
ganfra
79812f8ee4
Performance : do not trigger back pagination when opening room.
2024-07-17 15:49:11 +02:00
ganfra
e93378e7de
Performance : add cache on roomListItem and fullRoom
2024-07-17 14:45:14 +02:00
ganfra
27226e382a
Merge pull request #3202 from element-hq/renovate/org.matrix.rustcomponents-sdk-android-0.x
...
Update dependency org.matrix.rustcomponents:sdk-android to v0.2.32
2024-07-16 18:01:07 +02:00
renovate[bot]
d660a859b6
Update dependency org.matrix.rustcomponents:sdk-android to v0.2.32
2024-07-16 17:22:13 +02:00
Jorge Martin Espinosa
61b6970a6b
Fix crash in the room list after a forced log out in background ( #3180 )
2024-07-16 11:17:04 +00:00
Jorge Martin Espinosa
89ec904c4a
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 >
2024-07-15 18:27:59 +02:00
ganfra
0fbab53943
Performance : subscribe to timeline items only when necessary
2024-07-12 18:11:36 +02:00
Jorge Martin Espinosa
176755ac33
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.
2024-07-11 10:54:56 +02:00
Jorge Martin Espinosa
bb47ff8f49
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 >
2024-07-10 16:28:46 +00:00
renovate[bot]
8aa4fbdade
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 >
2024-07-05 15:25:42 +00:00
ganfra
8a3d33c350
Bugfix : avoid potential NPE on verification service.
2024-07-04 14:51:14 +02:00
Benoit Marty
150c077a70
Merge pull request #3127 from element-hq/feature/bma/elementWellKnown
...
Let the SDK retrieve and parse Element well known content
2024-07-02 17:16:06 +02:00
Benoit Marty
85e969ed0c
Inject constructor.
2024-07-02 13:35:26 +02:00
Benoit Marty
b709984582
Use SDK to get Element Wellknown content.
2024-07-02 13:28:26 +02:00
ganfra
b5b89b7e98
Timeline : re-enable edition of local echo
2024-07-02 11:42:36 +02:00
Benoit Marty
cfa3035f4c
Introduce UserServerResolver.
2024-07-02 10:22:56 +02:00
ganfra
2a7154b53e
Rust sdk : handle api changes (draft and edit)
2024-07-01 17:50:29 +02:00
Jorge Martín
16545ce60e
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.
2024-06-28 11:35:08 +02:00
ganfra
2ef29c7538
Auth : fix restore session when there is no network.
2024-06-27 18:05:47 +02:00
Jorge Martin Espinosa
cdbb46fa22
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
2024-06-27 09:44:14 +00:00
ganfra
a77e5edef4
Merge branch 'develop' into feature/fga/draft_support
2024-06-26 15:22:00 +02:00
ganfra
cb6074fb2a
Draft : code cleanup
2024-06-26 12:15:00 +02:00
ganfra
1b1b556aa4
Draft : branch reply mode
2024-06-21 12:40:16 +02:00
ganfra
71667dc235
Reply : refactor so we can use ReplyToDetails in Composer and Timeline
2024-06-21 12:23:17 +02:00
Benoit Marty
99becc0ae6
Use heroes only for DMs. #1538
2024-06-20 14:35:12 +02:00
ganfra
5724c62c67
Timeline : introduce loadReplyDetails api
2024-06-20 13:07:49 +02:00
Benoit Marty
99c43a175d
Add heroes to RoomSummaryDetails
2024-06-20 11:59:38 +02:00
ganfra
f821fa5862
Draft : introduce DraftService and start using it.
2024-06-20 11:28:07 +02:00
Benoit Marty
3aed09ef4d
Map RoomHero to MatrixRoomInfo.
2024-06-19 18:18:59 +02:00
ganfra
d1e11f5c33
Draft : expose new apis from sdk
2024-06-19 15:38:01 +02:00
ganfra
e93a41a5b5
Merge branch 'develop' into feature/fga/sending_queue_iteration
2024-06-19 13:54:24 +02:00
ganfra
a92ce8d004
Sending queue : reintroduce failed status for unrecoverable error
2024-06-19 11:32:04 +02:00
ganfra
1b67068b0b
Rust : handle api changes for 0.2.27
2024-06-18 17:01:38 +02:00
ganfra
05ab1500c7
Rust : handle api changes for 0.2.27
2024-06-18 16:30:33 +02:00
Benoit Marty
e4bfc5ef8f
Merge pull request #3035 from element-hq/feature/bma/fixFdroidNotification
...
Feature/bma/fix fdroid notification
2024-06-18 12:55:27 +02:00
Benoit Marty
e6f6e82ce2
Render an error dialog in case registering a pusher fails.
2024-06-17 11:30:23 +02:00
ganfra
56251f805c
Timeline : let FocusOnEvent be cancellable and refactor a bit focus states.
2024-06-14 19:07:44 +02:00
ganfra
8ab388ee04
Merge branch 'develop' into feature/fga/update_rust_sdk_0.2.25
2024-06-12 16:55:25 +02:00
ganfra
05786cedc3
Fix formatting issues
2024-06-12 15:31:59 +02:00
ganfra
cd18e5a981
Sending queue : adjust to match the latest rust api
2024-06-12 15:15:04 +02:00
Jorge Martin Espinosa
54845866a6
Fix tracing configuration in debug and nightlies ( #3019 )
...
* Fix tracing configuration in debug and nightlies:
- Debug will now write the logs to disk too.
- Nightly will be able to customise tracing filters.
- Improved the configure tracing and bug report screens.
* Update screenshots
* Add changelog
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io >
2024-06-12 10:20:43 +00:00
ganfra
aaf8fda9c1
Merge branch 'test/jme/base-path-migration' into feature/fga/update_rust_sdk_0.2.25
2024-06-12 11:44:57 +02:00
ganfra
1b411c3c4b
Sending queue : disable edition of local echo
2024-06-12 11:36:53 +02:00
ganfra
71b6482094
Merge branch 'develop' into feature/fga/message_queuing
2024-06-11 17:08:47 +02:00
ganfra
bbd8e5d8dc
Sending queue : code quality
2024-06-11 17:05:12 +02:00