bmarty
b179518962
Sync Strings from Localazy
1 week ago
Benoit Marty
792bc25ca2
Remove FakeLeaveRoomPresenter
3 weeks ago
Benoit Marty
0a7de7cc7d
Remove dependencies to other presenters to LeaveRoomPresenter.
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
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
Benoit Marty
f61df38e55
Migrate license to AGPL.
...
Run script `uv run license-editor --repository ../element-x-android`
2 months ago
bmarty
cd267249ec
Sync Strings from Localazy
2 months ago
bmarty
3e67448006
Sync Strings from Localazy
2 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
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
f3d286911c
Sync Strings from Localazy
5 months ago
Benoit Marty
f886eab582
Remove LeaveRoomPresenterImplModule and use ContributesBinding
5 months ago
Benoit Marty
45598a885e
Rename some class from `Impl` to Default
5 months ago
bmarty
ca5bc71057
Sync Strings from Localazy
5 months ago
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
5 months ago
Benoit Marty
b3e0f6e843
Translations: pt -> pt-rBR
5 months ago
bmarty
83a8a631f2
Sync Strings from Localazy
5 months ago
bmarty
0910da0a14
Sync Strings from Localazy
6 months ago
bmarty
68fdaef8b8
Sync Strings from Localazy
6 months ago
bmarty
4f82baa2b0
Sync Strings from Localazy
6 months ago
ganfra
11979167c5
Room navigation : some clean up
7 months ago
ganfra
fbb92f0c9a
Room navigation : fix tests on invite after the refactoring
7 months ago
Benoit Marty
e18e5f1cc5
Run `./tools/localazy/downloadStrings.sh --all`
7 months ago
bmarty
5809864182
Sync Strings from Localazy
7 months ago
bmarty
3af876b953
Sync Strings from Localazy
7 months ago
bmarty
c021809479
Sync Strings from Localazy
8 months ago
bmarty
5c8be8f61f
Sync Strings from Localazy
8 months ago
Benoit Marty
a7e38f0925
Sync Localazy strings.
...
./tools/localazy/downloadStrings.sh --all
8 months ago
bmarty
a614b0d91e
Sync Strings from Localazy
9 months ago
bmarty
03c95555e3
Sync Strings from Localazy
9 months ago
bmarty
7b0dcbe6a5
Sync Strings from Localazy
9 months ago
bmarty
4914c512fe
Sync Strings from Localazy
9 months ago
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>
10 months ago
ElementBot
6bc080c279
Sync Strings ( #2230 )
...
Co-authored-by: bmarty <bmarty@users.noreply.github.com>
10 months ago
Benoit Marty
5d086ad82d
Fix moar ktlint issues
10 months ago
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>
10 months ago
Benoit Marty
39cca2ce09
Sync localazy using fixed script
11 months ago
Benoit Marty
24d3981261
Run the script again.
11 months ago
bmarty
fced91addb
Sync Strings from Localazy
11 months ago
Benoit Marty
2257652450
Localazy: move `leave_room_alert_` strings to the `:features:leaveroom:api` module.
12 months ago
Benoit Marty
4338d821e5
Konsist: improve test about no default value for State classes, and fix new detected issues.
1 year ago
Benoit Marty
0bc2020411
Konsist: add test Function which creates Presenter in test MUST be named 'createPresenterName', and fix existing issues
1 year ago
Benoit Marty
10366e7445
Follow naming convention and cleanup the module.
1 year ago
Benoit Marty
0e4c146e87
Detekt: Rename `DayNightPreviews` to `PreviewsDayNight` to follow naming convention.
...
MultiPreview annotations should start with `Previews` as prefix
1 year ago
Benoit Marty
2819448cd4
Use `DayNightPreview`
1 year ago
Marco Romano
7fdd83bf91
GRemove the @JvmField annotation whenever using `WarmUpRule`.
1 year ago