ganfra
aa1a1514aa
fix : use RoomMembershipObserver to close room screen when leaving/declining invite/canceling knock request
2024-11-21 21:37:38 +01:00
ElementBot
156e27a761
Sync Strings ( #3852 )
...
* Sync Strings from Localazy
* Fix tests
---------
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2024-11-11 13:09:30 +01:00
bmarty
b179518962
Sync Strings from Localazy
2024-10-21 00:27:20 +00:00
Benoit Marty
792bc25ca2
Remove FakeLeaveRoomPresenter
2024-10-07 17:46:18 +02:00
Benoit Marty
0a7de7cc7d
Remove dependencies to other presenters to LeaveRoomPresenter.
2024-10-07 17:46:16 +02:00
Jorge Martin Espinosa
eeec7cc785
Centralise the DI code generation logic ( #3562 )
...
* Create Anvil extension helper
* Use the helper everywhere
2024-09-30 12:20:28 +00: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
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
bmarty
cd267249ec
Sync Strings from Localazy
2024-08-26 00:25:40 +00:00
bmarty
3e67448006
Sync Strings from Localazy
2024-08-19 00:25:36 +00:00
bmarty
76804d9e48
Sync Strings from Localazy
2024-07-29 00:26:27 +00:00
ElementBot
1f01bd73c4
Sync Strings ( #3232 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2024-07-22 08:59:47 +00:00
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
2024-07-22 10:39:48 +02:00
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>
2024-07-10 16:28:46 +00:00
jmartinesp
dabaa2d265
Sync Strings from Localazy
2024-07-03 11:21:27 +00:00
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>
2024-07-03 13:05:06 +02:00
bmarty
f3d286911c
Sync Strings from Localazy
2024-06-10 00:17:04 +00:00
Benoit Marty
f886eab582
Remove LeaveRoomPresenterImplModule and use ContributesBinding
2024-05-31 09:51:32 +02:00
Benoit Marty
45598a885e
Rename some class from Impl to Default
2024-05-31 09:47:27 +02:00
Benoit Marty
f5a0e83cb2
Merge pull request #2941 from element-hq/sync-localazy
...
Sync Strings
2024-05-29 16:27:17 +02:00
bmarty
ca5bc71057
Sync Strings from Localazy
2024-05-29 12:44:57 +00:00
Benoit Marty
37d9a9f5a9
Lambda parameters in a composable function should be in present tense, not past tense.
...
https://mrmans0n.github.io/compose-rules/rules/#naming-parameters-properly
2024-05-29 12:18:23 +02:00
Benoit Marty
b3e0f6e843
Translations: pt -> pt-rBR
2024-05-27 14:51:32 +02:00
bmarty
83a8a631f2
Sync Strings from Localazy
2024-05-20 00:23:05 +00:00
bmarty
0910da0a14
Sync Strings from Localazy
2024-05-13 12:47:48 +00:00
bmarty
68fdaef8b8
Sync Strings from Localazy
2024-05-06 00:19:35 +00:00
bmarty
4f82baa2b0
Sync Strings from Localazy
2024-04-29 00:18:59 +00:00
ganfra
11979167c5
Room navigation : some clean up
2024-04-12 15:58:15 +02:00
ganfra
fbb92f0c9a
Room navigation : fix tests on invite after the refactoring
2024-04-11 16:50:09 +02:00
Benoit Marty
e18e5f1cc5
Run ./tools/localazy/downloadStrings.sh --all
2024-04-02 18:12:36 +02:00
bmarty
5809864182
Sync Strings from Localazy
2024-04-01 00:17:18 +00:00
bmarty
3af876b953
Sync Strings from Localazy
2024-03-25 00:18:59 +00:00
bmarty
c021809479
Sync Strings from Localazy
2024-03-12 13:54:03 +00:00
bmarty
5c8be8f61f
Sync Strings from Localazy
2024-02-26 18:17:16 +00:00
Benoit Marty
a7e38f0925
Sync Localazy strings.
...
./tools/localazy/downloadStrings.sh --all
2024-02-23 12:23:11 +01:00
bmarty
a614b0d91e
Sync Strings from Localazy
2024-02-12 00:10:26 +00:00
bmarty
03c95555e3
Sync Strings from Localazy
2024-02-05 00:09:59 +00:00
bmarty
7b0dcbe6a5
Sync Strings from Localazy
2024-01-29 00:09:56 +00:00
bmarty
4914c512fe
Sync Strings from Localazy
2024-01-22 00:10:44 +00:00
Jorge Martin Espinosa
27f55c0bc4
Replace 'leave room' text with 'leave conversation' for DMs ( #2231 )
...
* Replace 'leave room' text with 'leave conversation' for DMs
* Add `isDm` property to both `RoomSummary` and `RoomListRoomSummary`
* Remove redundant `leave_conversation_alert_subtitle_*` texts
* Fix maestro flow
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-01-16 15:49:44 +01:00
ElementBot
6bc080c279
Sync Strings ( #2230 )
...
Co-authored-by: bmarty <bmarty@users.noreply.github.com>
2024-01-15 09:21:04 +01:00
Benoit Marty
5d086ad82d
Fix moar ktlint issues
2024-01-11 10:02:10 +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
Benoit Marty
39cca2ce09
Sync localazy using fixed script
2023-12-08 19:24:35 +01:00
Benoit Marty
24d3981261
Run the script again.
2023-12-05 12:25:59 +01:00
bmarty
fced91addb
Sync Strings from Localazy
2023-12-04 00:09:56 +00:00
Benoit Marty
2257652450
Localazy: move leave_room_alert_ strings to the :features:leaveroom:api module.
2023-11-14 11:26:40 +01:00
Benoit Marty
4338d821e5
Konsist: improve test about no default value for State classes, and fix new detected issues.
2023-10-10 21:42:18 +02:00
Benoit Marty
0bc2020411
Konsist: add test Function which creates Presenter in test MUST be named 'createPresenterName', and fix existing issues
2023-10-10 17:31:04 +02:00
Benoit Marty
10366e7445
Follow naming convention and cleanup the module.
2023-09-29 17:06:58 +02:00