Commit graph

2048 commits

Author SHA1 Message Date
Benoit Marty
69e8b85646
Merge pull request #2237 from element-hq/feature/bma/longUserId
Be robust with long userId
2024-01-16 23:16:40 +01:00
Benoit Marty
5ff74fbdff PushClientSecretImpl needs to be a singleton now that it observe the sessions. 2024-01-16 17:33:36 +01:00
Benoit Marty
c821cb5c29 Fix typo 2024-01-16 17:31:26 +01:00
Jorge Martin Espinosa
27f55c0bc4
Replace 'leave room' text with 'leave conversation' for DMs (#2231)
* Replace 'leave room' text with 'leave conversation' for DMs

* Add `isDm` property to both `RoomSummary` and `RoomListRoomSummary`

* Remove redundant `leave_conversation_alert_subtitle_*` texts

* Fix maestro flow

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-01-16 15:49:44 +01:00
Benoit Marty
4b37ea1a2d Ensure client secret is deleted when the user signs out. 2024-01-16 14:34:06 +01:00
Benoit Marty
40e401c599 Also delete the preference file when the store is reset. 2024-01-16 14:14:04 +01:00
Benoit Marty
8490b0c19d Migrate preferencesDataStoreFile to a file using a hash, to fix a crash if the userId is too long. 2024-01-16 14:13:41 +01:00
ElementBot
6bc080c279
Sync Strings (#2230)
Co-authored-by: bmarty <bmarty@users.noreply.github.com>
2024-01-15 09:21:04 +01:00
Jorge Martin Espinosa
4a7b04524a
Hide verbose state events from the timeline (#2225) 2024-01-12 21:23:52 +00:00
Benoit Marty
4ba73c0bb1
Merge pull request #2202 from element-hq/feature/bma/removeReadReceiptFlag
Remove ReadReceipts feature flag.
2024-01-11 17:13:35 +01:00
Benoit Marty
92d8e4f55b
Merge branch 'develop' into feature/bma/sxcludePreviewFromCodeCoverage 2024-01-11 16:02:58 +01:00
Benoit Marty
a83eaede1f Remove ReadReceipts feature flag. 2024-01-11 15:57:59 +01:00
Benoit Marty
d01c70a4fd Fix moar ktlint issues 2024-01-11 11:24:10 +01:00
Benoit Marty
5d086ad82d Fix moar ktlint issues 2024-01-11 10:02:10 +01:00
Benoit Marty
a831f05f6e Fix ktlint issues 2024-01-10 19:33:39 +01:00
Benoit Marty
140a11cf77 Ignore ktlint issue for this particular class. 2024-01-10 19:31:36 +01:00
Benoit Marty
64231044a7 Ignore ktlint issue for this particular object. 2024-01-10 19:31:36 +01:00
Benoit Marty
bac1e3902c Ignore ktlint issue for this particular val. 2024-01-10 19:31:36 +01:00
Benoit Marty
7572968e20 Ignore ktlint issue for this particular class. 2024-01-10 19:31:36 +01:00
renovate[bot]
c8bd362397
Update plugin ktlint to v12.1.0 (#2200)
* Update plugin ktlint to v12.1.0

* Run `./gradlew ktlintFormat` and fix some issues manually.

* Fix other issues reproted by Ktlint

* Limit false positives, KtLint removes unnecessary curly brace in String templates.

* Remove useless Unit

* Minor improvements over ktlint changes

* Restore `AlertDialogContent` behaviour

* Update screenshots

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Benoit Marty <benoit@matrix.org>
Co-authored-by: Jorge Martín <jorgem@element.io>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-01-10 16:22:24 +01:00
Jorge Martin Espinosa
13e8e954d3
Improve rendering of voice messages in the timeline in large displays (#2199)
* Improve rendering of voice messages in the timeline in large displays

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-01-09 18:07:23 +01:00
Benoit Marty
371065bfdd Exclude ContentToPreview from coverage, either by using annotation @ExcludeFromCoverage, or by inlining it. 2024-01-09 17:56:01 +01:00
Benoit Marty
5da6f21447 Remove empty module 2024-01-09 10:45:36 +01:00
Benoit Marty
54e499d0d0 Remove empty test module 2024-01-09 10:45:36 +01:00
Benoit Marty
b6f88f9792
Merge branch 'develop' into feature/bma/sendImageFromKeyboard 2024-01-08 08:59:00 +01:00
ganfra
44b6a97c90 Rename isFetchingSearchResults to showSearchLoader 2024-01-05 15:54:50 +01:00
ganfra
a0ba83c863 Rename SearchBarResultState.Empty to SearchBarResultState.Initial 2024-01-05 15:40:02 +01:00
ganfra
9fcc50e08a Rename UserSearchResults as UserSearchResultState 2024-01-05 15:34:01 +01:00
ganfra
96302da97c Fix MatrixUserRepositoryTest 2024-01-05 15:12:31 +01:00
ganfra
46c7757ab8 Merge branch 'develop' into feature/fga/invite_user_loader 2024-01-05 14:02:58 +01:00
ganfra
109aea5ede MatrixUserRepo : fix tests 2024-01-05 13:44:59 +01:00
Jorge Martin Espinosa
e04780fbf6
Trim whitespace at the end of messages (#2169)
Trim whitespace at the end of messages
2024-01-05 12:40:10 +01:00
Jorge Martin Espinosa
4776fc5452
Fix crashes for extremely long messages with no line breaks (#2163) 2024-01-05 11:11:49 +00:00
ganfra
c6b3387b62 User search : show a loader when fetching results 2024-01-04 21:27:44 +01:00
Benoit Marty
365c423190 Clean up 2024-01-04 18:45:34 +01:00
Benoit Marty
ce97987399 Rename parameter 2024-01-04 18:10:53 +01:00
Benoit Marty
e42005fc52 Rename AsyncView to AsyncActionView 2024-01-04 17:50:52 +01:00
Benoit Marty
7b2341aec7 Rename Async to AsyncData 2024-01-04 16:30:56 +01:00
Benoit Marty
d953c979e1 Introduce AsyncAction with a Confirmation state and use it for logout action. 2024-01-04 15:56:16 +01:00
Benoit Marty
0484b97b01
Merge pull request #2138 from element-hq/sync-localazy
Sync Strings
2024-01-04 09:30:20 +01:00
Jorge Martin Espinosa
4f6c7421bd
Implement ContentAvoidingLayout for timeline items (#2113)
* Implement `ContentAvoidingLayout` for timeline items

* Truncate long mention pills

---------

Co-authored-by: Benoit Marty <benoit@matrix.org>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-01-03 12:32:02 +01:00
Marco Antonio Alvarez
87c8bc133f
[Feature] Render m.sticker events (#2122)
* Render m.sticker events
---------

Signed-off-by: Marco Antonio Alvarez <surakin@gmail.com>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-01-02 16:03:19 +01:00
bmarty
01f77f22aa Sync Strings from Localazy 2024-01-01 00:11:02 +00:00
Benoit Marty
bc6d47b288 Add support for sending images from the keyboard #1977 2023-12-29 15:15:22 +01:00
Jorge Martin Espinosa
7fdba39d6d
Disable vector XML rasterisation on API 23 (#2128)
* Disable vector XML rasterisation on API 23

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-12-29 11:41:08 +00:00
Jorge Martin Espinosa
5a593be997
Merge pull request #2119 from element-hq/misc/jme/add-rte-build-script
Add build script for the RTE library
2023-12-28 18:18:19 +01:00
Benoit Marty
35baaa6209 Add missing test for SecureBackupEnablePresenter 2023-12-28 16:33:53 +01:00
Jorge Martín
bbc36adb39 Fix release build 2023-12-28 15:20:28 +01:00
Jorge Martín
d5c8b62178 Add build script for the RTE library 2023-12-28 12:03:23 +01:00
Benoit Marty
926b147ebe Add missing test case. 2023-12-28 09:31:13 +01:00