ganfra
fa48c29486
RoomList: more rework on RoomSummaryDataSource
2023-06-26 18:02:53 +02:00
Benoit Marty
b6920afb7f
Move cache management to a dedicated class and in the setting module, for clarity.
2023-06-26 11:07:53 +02:00
Benoit Marty
145cd410c7
Idx -> Index
2023-06-26 11:07:53 +02:00
Benoit Marty
35dc9eebfc
Ensure all file about sqlite are deleted.
2023-06-26 11:07:53 +02:00
Benoit Marty
ffa7154e43
Implement missing methods in Fake class.
2023-06-26 11:07:53 +02:00
Benoit Marty
e298670b68
var -> val
2023-06-26 11:07:53 +02:00
Benoit Marty
f9423fc15e
Close the client before removing its data. Probably safer.
2023-06-26 11:07:22 +02:00
Benoit Marty
979ebe4adb
Close the client before deleting data, and ensure the app is restarted, using a cache Index.
2023-06-26 11:07:22 +02:00
Benoit Marty
2a7d252a4e
Display cache size in the developer settings ( #643 )
2023-06-26 11:06:36 +02:00
Benoit Marty
f014f0a3ae
Add clear cache action in the developer settings ( #643 )
2023-06-26 11:06:36 +02:00
ganfra
7ee3c1bf42
Merge branch 'develop' into feature/fga/room_list_api
2023-06-23 18:14:09 +02:00
ganfra
db55644fb8
Rust sdk update: make the project compiling
2023-06-23 17:22:08 +02:00
ganfra
f3e072bdb0
RoomList: try syncing when network is back and inError state
2023-06-23 17:07:27 +02:00
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>
2023-06-23 10:44:47 +02:00
ganfra
ca080fd6af
RoomList: introduces a SyncService
2023-06-22 16:50:53 +02:00
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>
2023-06-22 13:27:59 +02:00
ganfra
ef8dc6ea7a
RoomList: change a bit the api of RoomSummaryDataSource
2023-06-22 12:34:07 +02:00
ganfra
4656af6ce8
RoomList: start/stop sync in resume/pause callbacks
2023-06-22 12:21:10 +02:00
ganfra
01f1f73b96
Merge branch 'develop' into feature/fga/room_list_api
2023-06-22 11:31:49 +02:00
ganfra
2115db7af5
Rust sdk update: make the app compile
2023-06-22 09:50:17 +02:00
ganfra
cb219e6292
Room/Timeline: simplify the apis
2023-06-21 16:25:18 +02:00
Benoit Marty
9df0030967
Merge pull request #631 from vector-im/feature/bma/sendPermission
...
Take into acount send permission (power level)
2023-06-21 11:35:33 +02:00
ganfra
9afadaf406
RoomList: fix timeline api
2023-06-20 23:53:55 +02:00
ganfra
4c0507a757
RoomList: make the main room list working (WIP)
2023-06-20 23:22:58 +02:00
Benoit Marty
9f01d6f66a
Display a banner instead of the composer when user cannot post message to a room ( #602 )
2023-06-19 11:52:34 +02:00
Przemysław Romanik
e44e296984
add '.' to MATRIX_ROOM_IDENTIFIER_REGEX
...
Signed-off-by: Przemysław Romanik <github@rom4nik.pl>
2023-06-17 22:18:53 +02:00
renovate[bot]
8ce27ada26
Update dependency org.matrix.rustcomponents:sdk-android to v0.1.21 ( #610 )
...
* Update dependency org.matrix.rustcomponents:sdk-android to v0.1.21
* Fix `SlidingSyncState` being renamed to `SlidingSyncListLoadingState`
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2023-06-16 09:57:47 +02:00
ganfra
2290b6dba5
Merge pull request #603 from vector-im/feature/fga/update-rust-sdk-0.1.20
...
Matrix rust sdk: update to 0.1.20 (and fix compilation issues)
2023-06-15 16:35:45 +02:00
Benoit Marty
97923af7d8
Merge pull request #591 from vector-im/feature/bma/noDelayInTests
...
No delay in tests
2023-06-15 15:27:41 +02:00
ganfra
d4526e52c6
Matrix rust sdk: update to 0.1.20 (and fix compilation issues)
2023-06-15 15:26:53 +02:00
Jorge Martin Espinosa
31555c4bd0
[Message Actions] Retry sending failed messages ( #596 )
...
* Add `RetrySendMessageMenu` to retry sending failed messages or removing its local echo.
* Fix initial event being retrieved, not the updated one
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-06-15 11:27:37 +02:00
Benoit Marty
9b4b9e9140
Introduce simulateLongTask to ensure that the Presenter State Loading is visible.
...
Also do some cleanup on the tests.
2023-06-15 10:57:05 +02:00
Benoit Marty
4a56d433c6
Unblock develop
2023-06-13 11:11:27 +02:00
ganfra
26746f5e27
Extract fetchDetailsForEvent and use coroutineDispatchers.io
2023-06-12 20:23:58 +02:00
renovate[bot]
f997123f2d
Update dependency org.matrix.rustcomponents:sdk-android to v0.1.17 ( #576 )
...
* Update dependency org.matrix.rustcomponents:sdk-android to v0.1.17
* Fix breaking changes.
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2023-06-12 13:57:55 +02:00
ganfra
511b26b2ab
Merge pull request #566 from vector-im/feature/fga/update-rust-sdk-0.1.16
...
Feature/fga/update rust sdk 0.1.16
2023-06-09 17:26:11 +02:00
Jorge Martin Espinosa
9fa261e393
[Message Actions] Add emoji reactions option ( #568 )
...
* Add logic to send message reactions
* Add emoji library, create EmojiPicker component
* Fix bottom sheet behaviors
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-06-09 16:56:40 +02:00
ganfra
2179c17de8
Verification: integrate with new statemachine library
2023-06-09 16:48:58 +02:00
Jorge Martin Espinosa
688ab3bd5e
[Message Actions] Display debug info for events in the timeline ( #555 )
...
* Display debug info for events in the timeline on debug builds.
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-06-09 06:13:22 +00:00
ganfra
6fa2d7bdbc
Fix tests build issue
2023-06-08 17:19:36 +02:00
ganfra
23e6ccc9c3
Matrix rust sdk : SlidingSync updates
2023-06-08 17:03:21 +02:00
ganfra
1b831d0f4d
Matrix rust sdk : use tempDir in LoadMediaFile
2023-06-08 17:02:45 +02:00
ganfra
d54b8c4733
Matrix rust sdk : update SessionVerificationService to suspend (Async-Uniffi)
2023-06-08 17:02:14 +02:00
Jorge Martin Espinosa
c176eab4a3
[Message actions] New UI for replies ( #545 )
...
* Add 'reply to' UI to the message composer.
* Move the `BlurHashAsyncImage` to `:libraries:designsystem` as it is now used in several modules.
* Create reusable `AttachmentThumbnail` and associated data classes and enums, it's now added to `:libraries:matrixui`.
* Re-use `AttachmentThumbnail` in a `ActionListView` and `TextComposer`.
* Add 'inReplyTo' models and UI.
* Add min size for images
* Create a separate layout for media items with no reply to info. Also, separate `Timeline__Row` components from `TimelineView`, as it was getting too large.
* Added `EqualWidthColumn` to use inside message bubbles. Also fixed some modifiers for media items replying to other messages.
* Disable `inReplyToClicked`.
* Remove unused resources and libraries.
* Remove any traces of `BlurHashAsyncImage` in `:features:messages`, since it was moved to the design system.
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-06-08 12:15:13 +02:00
ganfra
468ed5276f
Media: clean up code
2023-06-06 22:18:13 +02:00
ganfra
c0def1c3dc
Media actions: add more tests
2023-06-06 22:08:57 +02:00
ganfra
438fc6bb99
Merge branch 'develop' into feature/fga/media_viewer_actions
2023-06-06 14:35:25 +02:00
ganfra
c16e4c46bd
Media: prepare downloadMediaFile to use tempDir
2023-06-06 13:44:49 +02:00
Chris Smith
7308428596
Use member count instead of counting members ( #530 )
...
Use member count instead of counting members
For the room details screen, use the member count as supplied by
matrix instead of waiting for the entire member list to be
retrieved and then manually adding up all the relevant users.
This removes the loading state of the member count, relying on
a spinner on the member list itself if the user actually wants
to see the members. (The performance of that will be improved
separately on the rust side in the future)
Closes #505
2023-06-06 10:40:17 +00:00
ganfra
fa63ed1faf
MediaViewer: improve actions (save on disk and share)
2023-06-02 20:13:17 +02:00