Commit Graph

449 Commits

Author SHA1 Message Date
bmarty
fed502957b Sync Strings from Localazy 2024-11-04 00:27:46 +00:00
bmarty
8cf5729ece Sync Strings from Localazy 2024-10-28 00:27:09 +00:00
Benoit Marty
6b52dfa1ae Fix preview for ignore user in a DM case. 2024-10-23 13:13:40 +02:00
Benoit Marty
774389474b Change a preview to have a room detail state without any badge. 2024-10-23 13:09:51 +02:00
Benoit Marty
ba16616caa Ensure modifier of BadgeList is used. 2024-10-23 13:06:55 +02:00
Benoit Marty
eddbcb9499 Let roomBadges be a computed val of RoomDetailsState 2024-10-23 12:59:56 +02:00
Benoit Marty
97cd7d3096 Code quality 2024-10-22 14:19:07 +02:00
Benoit Marty
ebb79bb729 Room badge: let the presenter compute the list of badges. 2024-10-22 14:09:38 +02:00
Benoit Marty
75caeaaec2 Change model and create MatrixBadgeRowMolecule 2024-10-22 10:18:43 +02:00
Benoit Marty
86a839ea73 Move RoomBadge to atomic package and rename to MatrixBadge 2024-10-22 10:18:42 +02:00
bmarty
f19ea02390 Sync Strings from Localazy 2024-10-21 00:27:20 +00:00
Benoit Marty
252308f591 Reorder imports. 2024-10-17 16:34:24 +02:00
Benoit Marty
feeddaceb9 Renaming. 2024-10-17 14:24:08 +02:00
Benoit Marty
9b82c6df1c Let RoomMemberDetailsPresenter use UserProfilePresenter to reduce code duplication. 2024-10-17 14:12:18 +02:00
Benoit Marty
f1391a1e9e Merge pull request #3671 from element-hq/bma/improveRoomModeration
Improve room moderation
2024-10-16 17:57:22 +02:00
Benoit Marty
95a49a626d Merge pull request #3574 from element-hq/feature/bma/improveMediaModel
Clarify model for Event with attachment
2024-10-16 14:57:05 +02:00
Benoit Marty
9aafcc7564 The name ConfirmingBanUser was wrong since it was used to confirm a unban action. Better to keep a generic name, in case this class is used for any other action. 2024-10-16 11:58:54 +02:00
Benoit Marty
d468a009d5 Room moderation: make it more reactive and simplify the code. 2024-10-16 11:49:15 +02:00
Benoit Marty
0113cd522d Rename some classes which implement PreviewParameterProvider according to the new naming convention.
`Provider` suffix is enough and more used than `PreviewProvider`, so let's make the codebase more consistent.
2024-10-16 11:17:46 +02:00
Benoit Marty
44b37587cc Merge pull request #3669 from element-hq/feature/bma/reduceIndentation
Ensure selectedRoomMember is not null to reduce code indentation.
2024-10-16 11:16:21 +02:00
Benoit Marty
e72567c4ac Merge pull request #3667 from element-hq/feature/bma/asyncActionConfirmingWithParam
AsyncAction confirming with param
2024-10-15 12:28:03 +02:00
Benoit Marty
d9e3426098 Merge pull request #3670 from element-hq/feature/bma/fixCanInviteRefresh
Fix issue on canInvite refresh.
2024-10-15 09:00:09 +02:00
Benoit Marty
ccaa34de83 Fix issue on canInvite refresh. 2024-10-14 12:16:01 +02:00
Benoit Marty
d7ac725bc2 Ensure selectedRoomMember is not null to reduce code indentation. 2024-10-14 12:08:49 +02:00
Benoit Marty
c248892bab No need to launch a coroutine here. 2024-10-14 12:04:37 +02:00
Benoit Marty
964fbe4de3 Split long lines 2024-10-14 11:35:58 +02:00
Benoit Marty
97fb7bc2fa Let AsyncAction.Confirming be an interface, with a AsyncAction.ConfirmingNoParams data object.
This will allow inheritance of `AsyncAction.Confirming` with parameter(s).
2024-10-14 10:49:55 +02:00
Benoit Marty
f7a3f707fb Improve mapping regarding filename, caption and formattedCaption 2024-10-08 17:12:48 +02:00
Benoit Marty
8fadcaf38d Cleanup 2024-10-07 17:46:17 +02:00
Benoit Marty
62cbff0ffe Remove dependencies to other presenters to RoomMembersModerationPresenter.
Move canDisplayModerationActions from presenter API to the state it emits.
2024-10-07 17:46:16 +02:00
Benoit Marty
7dce60c756 Remove dependencies to other presenters to LeaveRoomPresenter. 2024-10-07 17:46:16 +02:00
bmarty
05291bcf2f Sync Strings from Localazy 2024-10-07 00:28:33 +00:00
ganfra
5bc89f3c7b Merge pull request #3537 from element-hq/feature/fga/fix_image_viewer_glitch
Fix image viewer glitch
2024-09-26 11:28:34 +02:00
renovate[bot]
0dac449fec Update dependency androidx.compose:compose-bom to v2024.09.00 (#3399)
* Update dependency androidx.compose:compose-bom to v2024.09.00

* Adapt code for changes.

* Workaround crash when closing the RTE

* Fix broken bottom sheet colors and shape

* Fix tons of warnings and deprecations

* Fix lint issues

* Fix more M3 update changes

* Update screenshots

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
Co-authored-by: ganfra <francoisg@matrix.org>
Co-authored-by: ElementBot <android@element.io>
2024-09-26 09:30:20 +02:00
ganfra
2691e12a56 media view : use overlay from room details 2024-09-24 16:13:16 +02:00
ganfra
fb694c50fe Pinned messages analytics : branch analytics 2024-09-23 20:10:04 +02:00
bmarty
e0c24c0f1c Sync Strings from Localazy 2024-09-16 18:40:24 +00:00
Jorge Martin Espinosa
03786c1fd2 Add forced logout flow when the proxy is no longer available (#3458)
* Add `MatrixClient.isSlidingSyncProxySupported` function

* Update localazy strings

* Modify `ErrorDialog` to have an `onSubmit` call, which will be used for the submit action.

Also make the title text optional and dismissing the dialog by tapping outside/going back configurable.

* Check if a forced migration to SSS is needed because the proxy is no longer available.

In that case, display the non-dismissable dialog and force the user to log out after enabling SSS.

* Enable native/simplified sliding sync by default.

* Refactor the login to make sure we:

1. Always try native/simplified sliding sync login first, if available.
2. Then, if it wasn't available or failed with an sliding sync not supported error, try with the proxy instead (either discovered proxy or forced custom one).

* Move logic to `LoggedInPresenter` and the UI to `LoggedInView`

* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-09-16 09:13:02 +00:00
Benoit Marty
2b016227e9 Migrate license to AGPL.
Run script `uv run license-editor --repository ../element-x-android`
2024-09-06 17:19:19 +02:00
ganfra
ff3646ead0 Pinned messages: clean code 2024-09-04 14:27:18 +02:00
ganfra
9936dbc464 Merge branch 'develop' into feature/fga/pinned_messages_list 2024-09-04 14:11:53 +02:00
ganfra
80f750ae34 Pinned messages list : add loading for pinned messages count and add tests 2024-09-03 14:36:35 +02:00
ganfra
faae2d1004 Pinned messages list : navigation from room details 2024-09-03 09:41:30 +02:00
bmarty
39ef8b38bb Sync Strings from Localazy 2024-09-02 00:15:17 +00:00
bmarty
1b064a008f Sync Strings from Localazy 2024-08-26 00:25:40 +00:00
bmarty
5765d9bf9f Sync Strings from Localazy 2024-08-19 00:25:36 +00:00
ElementBot
01617e1c9d Sync Strings (#3297)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2024-08-12 06:03:23 +00:00
bmarty
d288ace4bd Sync Strings from Localazy 2024-07-29 00:26:27 +00:00
ElementBot
9522569860 Sync Strings (#3232)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2024-07-22 08:59:47 +00:00
Benoit Marty
0255abe504 Fix quality and test compilation. 2024-07-17 11:36:21 +02:00