Commit Graph

2034 Commits

Author SHA1 Message Date
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 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
Benoit Marty 3e1388cac7 Add test for MembershipChange.NONE 2023-12-26 16:57:34 +01:00
Benoit Marty ac7d46cfb7 Handle MembershipChange.NONE rendering in the timeline #2102
And avoid `else` in the when statement.
2023-12-26 16:57:34 +01:00
bmarty e6f4a7364f Sync Strings from Localazy 2023-12-26 09:39:48 +01:00
Benoit Marty b9b746bea7 Attempt to fix test on CI.
The test is failing on CI with this error:
expected instance of: io.element.android.libraries.architecture.Async$Success
but was instance of : io.element.android.libraries.architecture.Async$Loading
with value          : Loading(prevData=null)
2023-12-26 08:32:18 +01:00
Jorge Martín c5c920cfa6 Revert "Merge pull request #2071 from element-hq/feature/bma/fixTests"
This reverts commit 19edf067fa, reversing
changes made to fb766f5176.
2023-12-22 12:01:42 +01:00
Jorge Martin Espinosa cbf34929af Revert "Room list badges" 2023-12-22 11:02:07 +01:00
Benoit Marty fac04034f1 Enable Chat backup, Mentions and Read Receipt in release.
Also change default for debug to enabled, but keep `isFinished = false` for now, so that they are still disableable.
2023-12-21 16:44:54 +01:00
Benoit Marty 3bb27a662a Merge pull request #2080 from element-hq/feature/bma/roomListBadges
Room list badges
2023-12-21 16:44:10 +01:00
Benoit Marty 91027f82e9 Fix test. 2023-12-21 16:11:03 +01:00
Benoit Marty 7273abd42b Merge pull request #2041 from element-hq/feature/fga/fix_timeline_back_pagination_loop
Fix timeline back pagination loop in encrypted room.
2023-12-21 15:42:23 +01:00
Benoit Marty f2c989cbd6 Iterate on indicators on room list #2079 2023-12-21 14:51:31 +01:00
Benoit Marty 6316dd2c15 Remove unused import and format. 2023-12-20 17:33:49 +01:00
Benoit Marty a7c5e620a4 Use icon from library and move and rename retry.xml to the library.
Also fix contentDescription for pause button.
2023-12-20 17:33:49 +01:00
Benoit Marty 9ae521dd0b Use Edit icon from Compound and delete ic_edit_solid 2023-12-20 17:33:49 +01:00