Commit graph

1744 commits

Author SHA1 Message Date
Benoit Marty
bcefbb9861 Render body for m.room.message if msgtype is unknown, in timeline and as room list last message. #1539 2023-10-11 16:18:24 +02:00
Benoit Marty
8c2a5f281b MessageContent.type cannot be null 2023-10-11 16:14:15 +02:00
Benoit Marty
632389daa9 Remove not used dependencies to some accompanist libraries. 2023-10-10 13:48:10 +02:00
bmarty
cd120b408f Sync Strings from Localazy 2023-10-09 00:09:28 +00:00
Benoit Marty
35b7b661f2 Code review: improve API. 2023-10-05 15:28:38 +02:00
Benoit Marty
8f660facbf Render emote in the timeline: prefix with sender display name 2023-10-05 11:39:05 +02:00
Benoit Marty
46d5417dd3 avoid else in when statement. 2023-10-05 11:15:26 +02:00
renovate[bot]
1e24e39b2e
Update dependency androidx.compose.material3:material3 to v1.2.0-alpha09 (#1493)
* Update dependency androidx.compose.material3:material3 to v1.2.0-alpha09

* Fix deprecation issues

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2023-10-05 09:57:47 +02:00
Benoit Marty
dea8748907
Merge pull request #1487 from vector-im/feature/bma/uiCleanup
Small cleanup
2023-10-05 09:01:57 +02:00
Benoit Marty
34d05e01eb Fetch edited event in advanced (similar to reply mode). 2023-10-04 17:38:17 +02:00
Benoit Marty
bed135f7c3 Add comment. 2023-10-04 17:25:55 +02:00
Benoit Marty
af6dcadd4a Move InfoListOrganism to the new organisms package. 2023-10-04 09:08:57 +02:00
Benoit Marty
63e5d9c858 Remove useless Mutex. 2023-10-04 09:07:42 +02:00
Benoit Marty
def8c59489
Merge pull request #1478 from vector-im/feature/bma/fixTemplate
Fix template
2023-10-03 17:22:55 +02:00
Benoit Marty
bd1547cb0f Remove previous Suppress and its TODO, in the code and in the template. 2023-10-02 14:02:53 +02:00
Benoit Marty
566f09699e Refactor tests. 2023-10-02 13:51:16 +02:00
Benoit Marty
42be907bb9 Add more tests 2023-10-02 13:25:47 +02:00
Benoit Marty
503c9e79e0 Move appPrompt and confineToRoom to the fragment part of the URL 2023-10-02 13:14:32 +02:00
Benoit Marty
de39179b9d
Merge pull request #1465 from vector-im/feature/bma/codeCoverage
Improve code coverage
2023-10-02 10:18:31 +02:00
bmarty
7e3b9d8d3b Sync Strings from Localazy 2023-10-02 00:09:47 +00:00
jonnyandrew
6bca8be525
Fix composer options bottom sheet position (#1469) 2023-09-29 16:29:57 +00:00
Benoit Marty
10366e7445 Follow naming convention and cleanup the module. 2023-09-29 17:06:58 +02:00
Benoit Marty
5378748911 Add preview for SlidingSyncNotSupportedDialog 2023-09-29 17:06:58 +02:00
Benoit Marty
0ba9d77189 Ensure the preview match the behavior (and improve code coverage) 2023-09-29 16:18:12 +02:00
jonnyandrew
53cf82f025
[Rich text editor] Add full screen mode (#1447)
- Add full screen mode for the rich text editor (RTE). When text formatting options are enabled, the editor can be dragged to full screen.
- Remove `ConstraintLayout` from `textcomposer` module, now made much simpler now the RTE supports being called in multiple layouts matrix-org/matrix-rich-text-editor#822

- Part of vector-im/element-meta#1973
- Includes design from #1315
- Fixes #1293 (through new layout)
- Fixes #1394 (through inclusion of matrix-org/matrix-rich-text-editor#824)
- Fixes #1259 (through inclusion of matrix-org/matrix-rich-text-editor#820)

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-09-29 09:11:18 +00:00
Benoit Marty
a4e656ed1f Update string (from Localazy) 2023-09-29 09:02:10 +02:00
Benoit Marty
b5d4e3d461 Use generic common_verification_cancelled 2023-09-29 09:02:10 +02:00
Benoit Marty
2eed49f041 Use generic action_remove 2023-09-29 09:02:10 +02:00
Benoit Marty
3971e86a64 Add strings for advanced settings into Localazy. 2023-09-28 17:09:08 +02:00
Benoit Marty
6b13d044bb Use generic common_username and common_password 2023-09-28 16:43:05 +02:00
Benoit Marty
9e251f618d Use generic common_people 2023-09-28 16:40:44 +02:00
Benoit Marty
14a8d7b0a1 Use generic action_start 2023-09-28 16:37:57 +02:00
Benoit Marty
1afdb6aa85 Use generic action_continue 2023-09-28 16:21:16 +02:00
Benoit Marty
e86aca2877
Merge pull request #1389 from vector-im/renovate/androidx.compose.material3-material3-1.x
Update dependency androidx.compose.material3:material3 to v1.2.0-alpha08
2023-09-28 15:30:12 +02:00
Benoit Marty
928a60672c Use the AutoMirrored version. 2023-09-28 14:21:27 +02:00
Benoit Marty
1c7db1de85 Ensure http url entered by the user are provided to the SDK without being altered.
Also change values in `LoginConstants`, this was not really correct.
2023-09-28 10:22:08 +02:00
Benoit Marty
971f8cf8b8
Merge pull request #1437 from vector-im/renovate/org.matrix.rustcomponents-sdk-android-0.x
Update dependency org.matrix.rustcomponents:sdk-android to v0.1.58
2023-09-27 11:53:17 +02:00
Benoit Marty
c9c7af6e06 Simplify the management of inReplyToEventTimelineItem 2023-09-27 11:31:12 +02:00
Benoit Marty
161c6d0958
Merge pull request #1434 from vector-im/feature/bma/elementCallTweaks
Element call tweaks
2023-09-27 10:51:04 +02:00
Benoit Marty
a192a8823f Ensure getEventTimelineItemByEventId is called when we enter in reply mode. 2023-09-27 10:48:31 +02:00
Benoit Marty
8e24d5991c
Merge pull request #1436 from vector-im/feature/bma/mutableIntFloat
Mutable int float
2023-09-26 18:31:36 +02:00
Benoit Marty
f607b557ff
Merge pull request #1432 from vector-im/feature/bma/installApk
Install apk from the app - REQUEST_INSTALL_PACKAGES
2023-09-26 18:15:35 +02:00
Benoit Marty
702c137ead Replace mutableStateOf by mutableIntStateOf and mutableFloatStateOf. Use intValue and floatValue to avoid unboxing. 2023-09-26 18:07:53 +02:00
Benoit Marty
3eb112381d Call openFile instead of open and avoid unwrapping the Activity context. 2023-09-26 17:48:26 +02:00
Benoit Marty
bf49078e40 Detekt: fix OptionalUnit issue. 2023-09-26 17:48:26 +02:00
Benoit Marty
3f73443ebb Be able to install APK from Element X. 2023-09-26 17:48:26 +02:00
Benoit Marty
e7ba973e7b Improve default mime type. 2023-09-26 17:48:26 +02:00
Benoit Marty
5d0751de72 Detekt: sentences must end with a period. 2023-09-26 16:48:13 +02:00
Benoit Marty
8cb7c3211c Element call: Pass in custom call URL query parameters 2023-09-26 16:19:38 +02:00
Benoit Marty
f0d5c46eaa Element call URL must have https scheme. 2023-09-26 15:41:31 +02:00