Benoit Marty
585b6a94f3
Delete temporary created files.
2024-11-08 10:11:06 +01:00
Benoit Marty
13ec1838c0
MediaPreProcessor: remove default value of parameter deleteOriginal. No functional change here.
2024-11-08 10:11:06 +01:00
Benoit Marty
58e66963d8
Hide the join call button if the user is already in the call.
...
This is at the account level so if the user has joined the call on another device, the join button will be hidden.
Extract room call state presenter to its own module and update RoomCallState model.
Let RoomDetailsPresenter use the new RoomCallStatePresenter
2024-11-06 09:14:47 +01:00
Benoit Marty
af78197a8f
Merge pull request #3798 from element-hq/sync-localazy
...
Sync Strings
2024-11-04 09:59:03 +01:00
bmarty
0b609db1db
Sync Strings from Localazy
2024-11-04 00:27:46 +00:00
Benoit Marty
7146a6c0d6
Use MimeTypes.Jpeg
2024-10-31 12:49:31 +01:00
bmarty
1856363964
Sync Strings from Localazy
2024-10-28 00:27:09 +00:00
Benoit Marty
67efecdec6
Fix preview for ignore user in a DM case.
2024-10-23 13:13:40 +02:00
Benoit Marty
f516c09d3b
Change a preview to have a room detail state without any badge.
2024-10-23 13:09:51 +02:00
Benoit Marty
2eec17fec7
Ensure modifier of BadgeList is used.
2024-10-23 13:06:55 +02:00
Benoit Marty
35867f9837
Let roomBadges be a computed val of RoomDetailsState
2024-10-23 12:59:56 +02:00
Benoit Marty
3c23555eb7
Code quality
2024-10-22 14:19:07 +02:00
Benoit Marty
ecbf6b7e7c
Room badge: let the presenter compute the list of badges.
2024-10-22 14:09:38 +02:00
Benoit Marty
1ca8c5131b
Change model and create MatrixBadgeRowMolecule
2024-10-22 10:18:43 +02:00
Benoit Marty
77b87af52a
Move RoomBadge to atomic package and rename to MatrixBadge
2024-10-22 10:18:42 +02:00
bmarty
b179518962
Sync Strings from Localazy
2024-10-21 00:27:20 +00:00
Benoit Marty
6106d7b0ba
Reorder imports.
2024-10-17 16:34:24 +02:00
Benoit Marty
c5b0581bca
Renaming.
2024-10-17 14:24:08 +02:00
Benoit Marty
9b9255d0e8
Format
2024-10-17 14:16:29 +02:00
Benoit Marty
95a7cf643e
Let RoomMemberDetailsPresenter use UserProfilePresenter to reduce code duplication.
2024-10-17 14:12:18 +02:00
Benoit Marty
f95ab1fb06
Merge pull request #3671 from element-hq/bma/improveRoomModeration
...
Improve room moderation
2024-10-16 17:57:22 +02:00
Benoit Marty
7ece687740
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
b33b423a19
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
598d86607a
Room moderation: make it more reactive and simplify the code.
2024-10-16 11:49:15 +02:00
Benoit Marty
6e27266988
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
d7ca0c13c8
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
a4966ef896
Merge pull request #3667 from element-hq/feature/bma/asyncActionConfirmingWithParam
...
AsyncAction confirming with param
2024-10-15 12:28:03 +02:00
Benoit Marty
b2ea39ebbe
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
e5a8180acc
Fix issue on canInvite refresh.
2024-10-14 12:16:01 +02:00
Benoit Marty
e697b4c942
Ensure selectedRoomMember is not null to reduce code indentation.
2024-10-14 12:08:49 +02:00
Benoit Marty
212e5761ec
No need to launch a coroutine here.
2024-10-14 12:04:37 +02:00
Benoit Marty
ca4f906964
Split long lines
2024-10-14 11:35:58 +02:00
Benoit Marty
fb52657b12
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
920dc2b0d7
Improve mapping regarding filename, caption and formattedCaption
2024-10-08 17:12:48 +02:00
Benoit Marty
792bc25ca2
Remove FakeLeaveRoomPresenter
2024-10-07 17:46:18 +02:00
Benoit Marty
6cfebc18fa
Cleanup
2024-10-07 17:46:17 +02:00
Benoit Marty
2e5450c4b4
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
0a7de7cc7d
Remove dependencies to other presenters to LeaveRoomPresenter.
2024-10-07 17:46:16 +02:00
bmarty
e25ba65170
Sync Strings from Localazy
2024-10-07 00:28:33 +00:00
ganfra
71c0eb19b2
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]
9756afc5d1
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
f1be7ea0a7
media view : use overlay from room details
2024-09-24 16:13:16 +02:00
Benoit Marty
12fa376649
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
269889da83
Pinned messages analytics : branch analytics
2024-09-23 20:10:04 +02:00
Benoit Marty
6fc801ede6
Use aNotificationData and aNotifiableMessageEvent
...
And cleanup existing tests.
2024-09-20 12:38:49 +02:00
bmarty
bb0a281342
Sync Strings from Localazy
2024-09-16 18:40:24 +00:00
ganfra
47d0c505b5
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
663362ac7f
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
aeea99196b
Send failure verified user : fix tests.
2024-09-13 18:04:16 +02:00
Benoit Marty
f61df38e55
Migrate license to AGPL.
...
Run script `uv run license-editor --repository ../element-x-android`
2024-09-06 17:19:19 +02:00