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
573de1c168
Improve rendering of cache size (and fix compilation issue)
1 year ago
Benoit Marty
c847ac3a98
Improve FileSizeFormatter.format API.
1 year ago
Benoit Marty
529720079a
Move FileSizeFormatter to a new module for injectable Android utilities.
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
Benoit Marty
4f269d37dd
Improve PreferenceText rendering, in particular center the test on the right vertically, add padding in add more previews.
1 year ago
bmarty
874739ece9
Sync Strings from Localazy
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
cf2723ac7f
[Message Actions] Copy events to clipboard ( #665 )
...
* Add `Copy` action for text events
* Remove 'Copy' action from the list for non-text events
* Use `@ContributesBinding` to inject `AndroidClipboardHelper`.
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
Marco Romano
e1bb5684cd
Expose new `windowInsets` param from `ModalBottomSheet` ( #662 )
...
Part of new public API in compose.material3:1.1.1
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
8e617b427d
CanSendEvent default to true and branch refresh mechanism...
1 year ago
ganfra
cb219e6292
Room/Timeline: simplify the apis
1 year ago
Benoit Marty
da110bd2c4
Extract `getCanSendEvent` to the `matrixui` module, rename to `canSendEventAsState` and use produceState.
1 year ago
ganfra
9afadaf406
RoomList: fix timeline api
1 year ago
ganfra
4c0507a757
RoomList: make the main room list working (WIP)
1 year ago
Jorge Martin Espinosa
3e9475c8ab
Set max lines to 2 in replies for composer ( #645 )
...
* Set `maxLines = 2` for the composer message preview in replies
* Update screenshots
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
1 year ago
github-actions[bot]
fe5524bae4
Sync Strings ( #630 )
...
* Sync Strings from Localazy
* Update strings, remove broken German translation
* Update screenshots
---------
Co-authored-by: bmarty <bmarty@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
1 year ago
Benoit Marty
9f01d6f66a
Display a banner instead of the composer when user cannot post message to a room ( #602 )
1 year ago
Przemysław Romanik
e44e296984
add '.' to MATRIX_ROOM_IDENTIFIER_REGEX
...
Signed-off-by: Przemysław Romanik <github@rom4nik.pl>
1 year ago
Benoit Marty
2452d8aa91
Fix the 6 issues reported by Sonar.
1 year ago
ganfra
f976291731
Media: fix detekt
1 year ago
ganfra
33c74fb4e5
Fix MediaPreProcessor for images/videos sent as file
1 year ago
Benoit Marty
b9ec124af4
Move extension `openUrlInChromeCustomTab` to :androidutils module.
1 year ago
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>
1 year ago
Benoit Marty
9701abf15e
Extract method about text to the design system module.
1 year ago
ganfra
d4526e52c6
Matrix rust sdk: update to 0.1.20 (and fix compilation issues)
1 year ago
Jorge Martin Espinosa
244306545f
Move logic of different BottomSheets in `MessagesView` to presenters ( #600 )
...
* Move bottom sheet logic in `MessagesView` to presenters.
* Make the block inside `SheetState.hide` suspend.
1 year ago
Marco Romano
4511fc3805
Inline Async extension functions ( #598 )
...
Just a tiny perf improvement.
1 year ago
ganfra
e817afef84
Media: introduce a Kind.File so we don't use In-memory bytearray in timeline
1 year ago
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>
1 year ago
Benoit Marty
9b4b9e9140
Introduce `simulateLongTask` to ensure that the Presenter State `Loading` is visible.
...
Also do some cleanup on the tests.
1 year ago
Benoit Marty
4a56d433c6
Unblock develop
1 year ago
ganfra
26746f5e27
Extract fetchDetailsForEvent and use coroutineDispatchers.io
1 year ago
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>
1 year ago
Benoit Marty
abfdf39029
Fix lint errors manually (a string sync will be needed on develop).
1 year ago
Benoit Marty
fde6b0e9bb
Add some generated KDoc.
1 year ago
Benoit Marty
445df09411
Always use `import io.element.android.libraries.ui.strings.R as StringR`
1 year ago
Benoit Marty
4f4d024a9f
No need to pass `maxLines = 1` if `singleline = true` anymore.
1 year ago
Benoit Marty
921a352947
Inline the scroll state.
1 year ago
ganfra
7356898e00
Remove internal state machine library
1 year ago
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>
1 year ago