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
2a4726e611
Remove FakeLeaveRoomPresenter
2024-10-07 17:46:18 +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
Jorge Martin Espinosa
2efdb3ae45
Centralise the DI code generation logic ( #3562 )
...
* Create Anvil extension helper
* Use the helper everywhere
2024-09-30 12:20:28 +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
Benoit Marty
6e19bc3da7
Merge pull request #3503 from element-hq/bma/invitationWithSender
...
Include inviter in the notification for invitation
2024-09-24 09:40:07 +02:00
ganfra
fb694c50fe
Pinned messages analytics : branch analytics
2024-09-23 20:10:04 +02:00
Benoit Marty
c4d3fcaa35
Use aNotificationData and aNotifiableMessageEvent
...
And cleanup existing tests.
2024-09-20 12:38:49 +02:00
bmarty
e0c24c0f1c
Sync Strings from Localazy
2024-09-16 18:40:24 +00:00
ganfra
60365e46a5
Merge pull request #3461 from element-hq/feature/fga/send_failure_identity_changes
...
Require acknowledgement to send to a verified user if their identity changed or if a device is unverified.
2024-09-16 16:00:18 +02: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
ganfra
ca59e1f51e
Send failure verified user : fix tests.
2024-09-13 18:04:16 +02: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
94f38f1af5
Rework FakeMatrixRoom so that it contains only lambdas. ( #3229 )
...
* Upgrade lint to 8.7.0-alpha01
* FakeMatrixRoom: lambda everywhere
Fix test compilation issues
2024-07-22 10:39:48 +02:00
Benoit Marty
0255abe504
Fix quality and test compilation.
2024-07-17 11:36:21 +02:00
Benoit Marty
9636611ce8
Render errors in room member list view.
2024-07-17 11:00:14 +02:00
Jorge Martin Espinosa
bb47ff8f49
Unify the way we decide whether a room is a DM or a group room ( #3100 )
...
* Add centralised 'room is DM' check
Also add extension functions for `MatrixRoom` and `MatrixRoomInfo`.
* Use the centralised method and extension functions through the app, including:
- Room list.
- Room details screen.
- Invites.
- Notifications.
Replace most `isDirect` usages with `isDm`.
* Update screenshots
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io >
2024-07-10 16:28:46 +00:00
jmartinesp
58f2cbf489
Sync Strings from Localazy
2024-07-03 11:21:27 +00:00
Jorge Martin Espinosa
950e502ca6
Improve screenshot testing with ComposablePreviewScanner ( #3125 )
...
* Use ComposablePreviewScanner to rework how screenshot testing works
* Add test sharding
* Update screenshots
* Fixes for Element Gallery
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io >
Co-authored-by: Benoit Marty <benoit@matrix.org >
2024-07-03 13:05:06 +02:00
bmarty
99ae2b9640
Sync Strings from Localazy
2024-07-01 00:22:10 +00:00
Benoit Marty
4d6a67e4d6
Let role and permissions screens works for invited room members too.
2024-06-24 13:21:46 +02:00
Benoit Marty
2c220d3f92
Merge pull request #3069 from element-hq/feature/bma/avatarCluster_x2
...
Avatar cluster for DM
2024-06-24 10:53:50 +02:00