Jorge Martin Espinosa
2efdb3ae45
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
b91d13b466
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.
2024-09-16 13:02:20 +00:00
Benoit Marty
2b016227e9
Migrate license to AGPL.
...
Run script `uv run license-editor --repository ../element-x-android`
2024-09-06 17:19:19 +02:00
bmarty
5765d9bf9f
Sync Strings from Localazy
2024-08-19 00:25:36 +00:00
bmarty
d288ace4bd
Sync Strings from Localazy
2024-07-29 00:26:27 +00:00
ganfra
85d6acfc48
Join Room : makes sure we can join by alias
2024-07-23 21:17:35 +02:00
ElementBot
9522569860
Sync Strings ( #3232 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com >
2024-07-22 08:59:47 +00:00
Benoit Marty
94f38f1af5
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
Benoit Marty
2585f8ba52
Rename interface NotificationDrawerManager to NotificationCleaner since it actually contains only method to remove notifications.
2024-07-16 11:24:41 +02:00
Jorge Martin Espinosa
bb47ff8f49
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
58f2cbf489
Sync Strings from Localazy
2024-07-03 11:21:27 +00:00
Jorge Martin Espinosa
950e502ca6
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
99ae2b9640
Sync Strings from Localazy
2024-07-01 00:22:10 +00:00
Benoit Marty
a606566beb
Fix existing tests.
2024-06-05 14:59:50 +02:00
bmarty
f501f27d27
Sync Strings from Localazy
2024-06-03 00:24:07 +00:00
Benoit Marty
a00ee18f96
Add Konsist test Class with 'ContributeBinding' annotation should have allowed prefix and fix exissting issues.
...
Also remove annotation `DefaultPreferences`, we only have one implementation.
2024-05-31 10:18:08 +02:00
Benoit Marty
0e4b30e58d
Merge pull request #2941 from element-hq/sync-localazy
...
Sync Strings
2024-05-29 16:27:17 +02:00
bmarty
46b6ae6251
Sync Strings from Localazy
2024-05-29 12:44:57 +00:00
Benoit Marty
87689d787e
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
Jorge Martin Espinosa
801f0b955d
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
2024-05-29 08:03:23 +00:00
Benoit Marty
bbb44db297
Translations: pt -> pt-rBR
2024-05-27 14:51:32 +02:00
Benoit Marty
41403b7614
Cleanup
2024-05-22 15:29:27 +02:00
Benoit Marty
e0d95f6d98
isCalledExactly(1) -> isCalledOnce()
2024-05-22 15:26:53 +02:00
bmarty
0241014932
Sync Strings from Localazy
2024-05-20 00:23:05 +00:00
Benoit Marty
b971ac36d3
Merge pull request #2843 from element-hq/feature/bma/joinRoomVia
...
Provide serverNames when available and fix issue around analytics
2024-05-14 17:17:59 +02:00
Benoit Marty
32f31855b5
Provide serverNames when available and fix issue around analytics
2024-05-14 15:58:10 +02:00
bmarty
602b3988e4
Sync Strings from Localazy
2024-05-13 12:47:48 +00:00
Benoit Marty
025c6294c2
Change API MatrixClient.joinRoom(roomId: RoomId): Result<RoomId> to MatrixClient.joinRoom(roomId: RoomId): Result<Unit>
2024-04-19 18:11:13 +02:00
Benoit Marty
fc5606a580
Fix Preview name
2024-04-18 09:07:01 +02:00
Benoit Marty
32949d852a
Use PreviewsDayNight instead of PreviewLightDark in order to generate screenshots.
2024-04-18 01:35:21 +02:00
ganfra
b09269333d
RoomList invites : update and remove tests
2024-04-16 15:45:57 +02:00
ganfra
807bd362fe
Invite : remove invitelist entry points
2024-04-16 11:41:55 +02:00
ganfra
8b80b2859f
Room navigation : some clean up
2024-04-12 15:58:15 +02:00
ganfra
79c6385edb
Room navigation : fix tests on invite after the refactoring
2024-04-11 16:50:09 +02:00
ganfra
9ff0e8eccb
Room navigation : reuse accept/decline presentation logic
2024-04-09 14:16:17 +02:00
ganfra
5b8690d32e
Room navigation : refactor Invites so we can use it in other places
2024-04-08 21:18:25 +02:00
ganfra
28361be6e8
Room navigation : rename module invitelist to invite
2024-04-08 17:22:13 +02:00