Commit Graph

815 Commits

Author SHA1 Message Date
ganfra 2115db7af5 Rust sdk update: make the app compile 2023-06-22 09:50:17 +02:00
ganfra 8e617b427d CanSendEvent default to true and branch refresh mechanism... 2023-06-21 17:43:08 +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
Benoit Marty da110bd2c4 Extract getCanSendEvent to the matrixui module, rename to canSendEventAsState and use produceState. 2023-06-21 10:57:55 +02:00
Benoit Marty f38f1487c5 Merge pull request #626 from vector-im/feature/bma/sonar
Sonar
2023-06-21 10:41:26 +02:00
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>
2023-06-20 17:07:53 +02:00
ganfra c7b2ac5acd Merge pull request #617 from vector-im/feature/fga/fix_media_pre_processing
Feature/fga/fix media pre processing
2023-06-20 16:17:50 +02:00
Benoit Marty 0bb4eba164 Merge pull request #628 from rom4nik/room-regex-dot
Add '.' to MATRIX_ROOM_IDENTIFIER_REGEX
2023-06-19 14:50:07 +02:00
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>
2023-06-19 11:18:01 +00: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
Benoit Marty 2452d8aa91 Fix the 6 issues reported by Sonar. 2023-06-16 18:08:20 +02:00
Benoit Marty 9e4ca42356 Merge pull request #614 from vector-im/feature/bma/optIn2
Iterate on analytics opt in screen
2023-06-16 17:15:50 +02:00
ganfra 15ef9abed6 Merge branch 'develop' into feature/fga/fix_media_pre_processing 2023-06-16 14:05:11 +02:00
ganfra f976291731 Media: fix detekt 2023-06-16 13:59:59 +02:00
ganfra 33c74fb4e5 Fix MediaPreProcessor for images/videos sent as file 2023-06-16 13:52:07 +02:00
Benoit Marty b9ec124af4 Move extension openUrlInChromeCustomTab to :androidutils module. 2023-06-16 10:32:28 +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
Benoit Marty 9701abf15e Extract method about text to the design system module. 2023-06-16 09:40:00 +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 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.
2023-06-15 14:58:18 +02:00
ganfra 65ecfcc681 Merge pull request #599 from vector-im/feature/fga/timeline_media_improvements
Feature/fga/timeline media improvements
2023-06-15 14:36:15 +02:00
Marco Romano 4511fc3805 Inline Async extension functions (#598)
Just a tiny perf improvement.
2023-06-15 12:53:11 +02:00
ganfra e817afef84 Media: introduce a Kind.File so we don't use In-memory bytearray in timeline 2023-06-15 12:06:58 +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
Benoit Marty d557d1fcad Merge pull request #584 from vector-im/feature/fga/fix_work_on_main_thread
Extract fetchDetailsForEvent and use coroutineDispatchers.io
2023-06-13 10:05:01 +02:00
Benoit Marty 0c64921f10 Merge pull request #549 from vector-im/feature/bma/onboardingServer
Onboarding iteration
2023-06-13 09:21:50 +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
Benoit Marty abfdf39029 Fix lint errors manually (a string sync will be needed on develop). 2023-06-12 11:04:53 +02:00
Benoit Marty fde6b0e9bb Add some generated KDoc. 2023-06-09 18:40:31 +02:00
Benoit Marty 445df09411 Always use import io.element.android.libraries.ui.strings.R as StringR 2023-06-09 18:19:00 +02:00
Benoit Marty 4f4d024a9f No need to pass maxLines = 1 if singleline = true anymore. 2023-06-09 18:16:23 +02:00
Benoit Marty 921a352947 Inline the scroll state. 2023-06-09 18:09:09 +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
ganfra 7356898e00 Remove internal state machine library 2023-06-09 17:00: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
Benoit Marty b72cf1dcdd Update strings. 2023-06-09 16:34:22 +02:00
Benoit Marty 4266faa204 Update maestro test regarding the new login flow. 2023-06-09 10:19:49 +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
Benoit Marty 1bc5277bc2 Fix icon tint 2023-06-08 16:56:20 +02:00