Benoit Marty
6106d7b0ba
Reorder imports.
2 weeks ago
Benoit Marty
c5b0581bca
Renaming.
2 weeks ago
Benoit Marty
9b9255d0e8
Format
2 weeks ago
Benoit Marty
95a7cf643e
Let RoomMemberDetailsPresenter use UserProfilePresenter to reduce code duplication.
2 weeks ago
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.
2 weeks ago
Benoit Marty
598d86607a
Room moderation: make it more reactive and simplify the code.
2 weeks ago
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.
2 weeks ago
Benoit Marty
e5a8180acc
Fix issue on canInvite refresh.
2 weeks ago
Benoit Marty
e697b4c942
Ensure selectedRoomMember is not null to reduce code indentation.
2 weeks ago
Benoit Marty
212e5761ec
No need to launch a coroutine here.
2 weeks ago
Benoit Marty
ca4f906964
Split long lines
2 weeks ago
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).
2 weeks ago
Benoit Marty
920dc2b0d7
Improve mapping regarding filename, caption and formattedCaption
3 weeks ago
Benoit Marty
792bc25ca2
Remove FakeLeaveRoomPresenter
3 weeks ago
Benoit Marty
6cfebc18fa
Cleanup
3 weeks ago
Benoit Marty
2e5450c4b4
Remove dependencies to other presenters to RoomMembersModerationPresenter.
...
Move canDisplayModerationActions from presenter API to the state it emits.
3 weeks ago
Benoit Marty
0a7de7cc7d
Remove dependencies to other presenters to LeaveRoomPresenter.
3 weeks ago
bmarty
e25ba65170
Sync Strings from Localazy
3 weeks ago
Jorge Martin Espinosa
eeec7cc785
Centralise the DI code generation logic ( #3562 )
...
* Create Anvil extension helper
* Use the helper everywhere
1 month ago
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>
1 month ago
ganfra
f1be7ea0a7
media view : use overlay from room details
1 month ago
ganfra
269889da83
Pinned messages analytics : branch analytics
1 month ago
Benoit Marty
6fc801ede6
Use aNotificationData and aNotifiableMessageEvent
...
And cleanup existing tests.
1 month ago
bmarty
bb0a281342
Sync Strings from Localazy
1 month ago
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>
1 month ago
ganfra
aeea99196b
Send failure verified user : fix tests.
2 months ago
Benoit Marty
f61df38e55
Migrate license to AGPL.
...
Run script `uv run license-editor --repository ../element-x-android`
2 months ago
ganfra
c30398ccc7
Pinned messages: clean code
2 months ago
ganfra
8c0a0d886c
Pinned messages list : add loading for pinned messages count and add tests
2 months ago
ganfra
e840581247
Pinned messages list : navigation from room details
2 months ago
bmarty
5ad2764402
Sync Strings from Localazy
2 months ago
bmarty
cd267249ec
Sync Strings from Localazy
2 months ago
bmarty
3e67448006
Sync Strings from Localazy
2 months ago
ElementBot
8bd48fdc60
Sync Strings ( #3297 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
3 months ago
bmarty
76804d9e48
Sync Strings from Localazy
3 months ago
ElementBot
1f01bd73c4
Sync Strings ( #3232 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
3 months ago
Benoit Marty
5bda29ca7e
Rework FakeMatrixRoom so that it contains only lambdas. ( #3229 )
...
* Upgrade lint to 8.7.0-alpha01
* FakeMatrixRoom: lambda everywhere
Fix test compilation issues
3 months ago
Benoit Marty
263c058843
Fix quality and test compilation.
4 months ago
Benoit Marty
10717b5e48
Render errors in room member list view.
4 months ago
Jorge Martin Espinosa
0be7058416
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>
4 months ago
jmartinesp
dabaa2d265
Sync Strings from Localazy
4 months ago
Jorge Martin Espinosa
b0cebf5ca0
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>
4 months ago
bmarty
32c5da898b
Sync Strings from Localazy
4 months ago
Benoit Marty
e999120864
Let role and permissions screens works for invited room members too.
4 months ago
Benoit Marty
5ccaeea286
Rename field of `RoomDetailsType.Dm` for clarity
4 months ago
ElementBot
fd6bcb7857
Sync Strings ( #3077 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
4 months ago
Benoit Marty
8f3fbe70f8
Create TitleAndSubtitle to reduce code duplication and add badges to DM.
4 months ago
Benoit Marty
da1f8cd465
Use DmAvatars in header of DM details.
4 months ago
Benoit Marty
76add1fff1
Extract `MainActionsSection` from the when cases, since this is code duplication.
4 months ago
Benoit Marty
cea7dce432
Create extension `RoomMember.getAvatarData` to avoid code duplication.
4 months ago