ganfra
73a46dcfc7
knock : use PendingRoom instead of InvitedRoom
1 week ago
bmarty
b179518962
Sync Strings from Localazy
1 week ago
Benoit Marty
03fd7afdd1
AcceptDeclineInviteState: create ConfirmingDeclineInvite to host InviteData when confirming decline of invite.
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
Jorge Martin Espinosa
366db4791b
Upgrade Kotlin to v2.0 ( #3594 )
...
* Bump Kotlin to v2.0
* Fix lots of issues due to the upgrade: lint issues, function signature incompatibilities, broken tests, etc.
---------
Co-authored-by: Benoit Marty <benoit@matrix.org>
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
4 weeks ago
Jorge Martin Espinosa
7238af7f7f
Fix not being able to decline an invite from the room list ( #3466 )
...
* Add `InvitedRoom` to wrap Rust SDK Rooms in 'invited' membership state.
At the moment, this is a wrapper that allows us to call `Room.leave()` without having to initialise the room's timeline (which is impossible).
* Add `MatrixRoom.getInvitedRoom(roomId)` to get one of these rooms.
Also, `RustRoomFactory` now has a `createInvitedRoom` method for this.
* Adapt `AcceptDeclineInvitePresenter` to use the new APIs.
1 month ago
Benoit Marty
f61df38e55
Migrate license to AGPL.
...
Run script `uv run license-editor --repository ../element-x-android`
2 months ago
bmarty
3e67448006
Sync Strings from Localazy
2 months ago
bmarty
76804d9e48
Sync Strings from Localazy
3 months ago
ganfra
aebcc52309
Join Room : makes sure we can join by alias
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
6ea629a4d2
Rename interface `NotificationDrawerManager` to `NotificationCleaner` since it actually contains only method to remove notifications.
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
5b69a03208
Fix existing tests.
5 months ago
bmarty
66636ea967
Sync Strings from Localazy
5 months ago
Benoit Marty
3fa508f1fe
Add Konsist test `Class with 'ContributeBinding' annotation should have allowed prefix` and fix exissting issues.
...
Also remove annotation `DefaultPreferences`, we only have one implementation.
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
Jorge Martin Espinosa
04e503177b
Notifications: simplify the flow by removing persistence ( #2924 )
...
* Notifications: simplify the flow by removing persistence.
* Bump of minSdk to `24` (Android 7).
* Add migration to remove `notification.bin` file
5 months ago
Benoit Marty
b3e0f6e843
Translations: pt -> pt-rBR
5 months ago
Benoit Marty
980a80bcf5
Cleanup
5 months ago
Benoit Marty
fe771a37c2
isCalledExactly(1) -> isCalledOnce()
5 months ago
bmarty
83a8a631f2
Sync Strings from Localazy
5 months ago
Benoit Marty
22329b9678
Provide serverNames when available and fix issue around analytics
6 months ago
bmarty
0910da0a14
Sync Strings from Localazy
6 months ago
Benoit Marty
f29e79d64e
Change API `MatrixClient.joinRoom(roomId: RoomId): Result<RoomId>` to `MatrixClient.joinRoom(roomId: RoomId): Result<Unit>`
6 months ago
Benoit Marty
cd63ae816a
Fix Preview name
7 months ago
Benoit Marty
bc1c93c663
Use `PreviewsDayNight` instead of `PreviewLightDark` in order to generate screenshots.
7 months ago
ganfra
e72983f1b8
RoomList invites : update and remove tests
7 months ago
ganfra
4dbcd072c0
Invite : remove invitelist entry points
7 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
ganfra
6a255a1b10
Room navigation : reuse accept/decline presentation logic
7 months ago
ganfra
7d59884922
Room navigation : refactor Invites so we can use it in other places
7 months ago
ganfra
f586114458
Room navigation : rename module invitelist to invite
7 months ago