Commit Graph

194 Commits

Author SHA1 Message Date
bmarty f549e7bba2 Sync Strings from Localazy 2025-02-17 00:30:17 +00:00
ganfra a73bcb71d5 feature(room preview): Add option to forget room, improve the room preview screen for banned rooms.
Some internal refactoring was done too:
- Remove RoomInfo.isPublic to only use JoinRule.
- Also take into account restricted access rooms for previews.
2025-02-10 19:13:02 +01:00
Benoit Marty 5456f0e38e Merge pull request #4226 from element-hq/feature/bma/themeOverride
Theme override
2025-02-06 16:48:16 +01:00
Jorge Martin Espinosa 3c87fb05b2 Create SyncOrchestrator (#4176)
* Create `SyncOrchestrator` to centralise the sync start/stop flow through the whole app: the decision is based on several inputs: sync state, network available, app in foreground, app in call, app needing to sync an event for a notification.

* Make network monitor return network connectivity status, not internet connectivity

* Don't stop the `SyncService` when network connection is lost, let it fail instead. This prevents an issue when using the offline mode of the SDK, which made the wrong UI states to be shown when the `SyncState` is `Idle` (that is, after the service being manually stopped).

* Rename `NetworkStatus.Online/Offline` to `Connected/Disconnected` so they're not easily mistaken with internet connectivity instead
2025-02-06 16:36:57 +01:00
Benoit Marty 07d4778ae5 Use ElementTheme instead of MaterialTheme 2025-02-06 15:10:15 +01:00
bmarty be91da966a Sync Strings from Localazy 2025-02-03 00:29:01 +00:00
bmarty b016348602 Sync Strings from Localazy 2025-01-27 00:25:38 +00:00
Benoit Marty 97f3be3dc5 Apply dual licenses: AGPL + Element Commercial to file headers.
2 replace all actions have been performed:
- "SPDX-License-Identifier: AGPL-3.0-only" to "SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial"
- "Please see LICENSE in the repository root for full details." to "Please see LICENSE files in the repository root for full details."
2025-01-07 10:05:04 +01:00
bmarty 2758adb646 Sync Strings from Localazy 2024-12-30 10:12:13 +00:00
bmarty 45db2a97ad Sync Strings from Localazy 2024-12-23 00:16:39 +00:00
bmarty ff3fbe9cbf Sync Strings from Localazy 2024-12-16 00:28:36 +00:00
Benoit Marty da272ddb07 Implement month separator for the Gallery.
Improve day separator rendering in the timeline.
Use Today, Yesterday, and the name of the day if less than 7 days and do not render the year for the current year.
Improve date format for the media viewer.
Rework how date and time are computed.
ActionListView: Time can take more space, so update the layout.
2024-12-11 23:57:57 +01:00
bmarty e8218b3a7c Sync Strings from Localazy 2024-12-09 00:30:45 +00:00
bmarty 5f8007d6f1 Sync Strings from Localazy 2024-12-02 00:30:02 +00:00
ElementBot d9f8e9ce58 Sync Strings (#3936)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2024-11-25 09:06:57 +00:00
ElementBot bc59a70043 Sync Strings - add translations to Finnish (#3883)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2024-11-18 11:37:17 +00: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
Benoit Marty 8b21efa32a Ensure the invisible buttons have the correct size. 2024-11-07 18:51:44 +01:00
Benoit Marty 700d4c62af Hide "They don't match" button when verifying. 2024-11-07 18:39:46 +01:00
Benoit Marty 084fa78072 Disable button during the "verifying" step. 2024-11-07 17:05:18 +01:00
Benoit Marty 5311cf28c9 Change action to only "Done" when there is a verification failure. 2024-11-07 15:17:33 +01:00
Benoit Marty fff7c04421 Use test extension 2024-11-07 13:36:36 +01:00
Benoit Marty 153aa6ecea Update test. 2024-11-07 13:34:18 +01:00
Benoit Marty 683b694eec Incoming verification: do not distinguish UI between cancelled and failed state. 2024-11-07 12:46:13 +01:00
Benoit Marty 2b06108574 Update wording for verification cancelled. 2024-11-07 12:43:02 +01:00
Benoit Marty d0a64a16df Session verification: Iterate on the waiting for other device screen. 2024-11-07 12:21:38 +01:00
Benoit Marty b085c1b3d4 Session verification: add new screen to get ready on the other session. 2024-11-07 12:16:05 +01:00
Benoit Marty d462386624 Remove code duplication - no behavior change. 2024-11-07 09:58:29 +01:00
bmarty 0b609db1db Sync Strings from Localazy 2024-11-04 00:27:46 +00:00
Benoit Marty 229f843a2d Move TextWithLabelMolecule to the designsystem module. 2024-10-29 16:43:26 +01:00
Benoit Marty d83c09863f Rename some private composable functions. 2024-10-29 16:41:37 +01:00
Benoit Marty b8b38208f4 Incoming session verification request
Add more log to the state machines
Ensure the block cannot be cancelled, else if the Rust SDK emit a new state during the API execution, the state machine may cancel the api call.
Let VerificationFlowState values match the SDK api for code clarity.
Rename sub interface for clarity.
Migrate tests to the new FakeVerificationService.
2024-10-29 09:26:15 +01:00
bmarty 1856363964 Sync Strings from Localazy 2024-10-28 00:27:09 +00:00
bmarty b179518962 Sync Strings from Localazy 2024-10-21 00:27:20 +00:00
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).
2024-10-14 10:49:55 +02:00
Benoit Marty 10261d406a Quality... 2024-10-10 17:40:56 +02:00
Benoit Marty 99c085fa3e Quality... 2024-10-10 17:35:59 +02:00
Benoit Marty fd819c2381 Add "Learn more" on identity verification first screen. 2024-10-10 17:09:35 +02:00
Benoit Marty 3116c4535e Tweak screens related to crypto. 2024-10-10 16:44:11 +02:00
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>
2024-10-10 08:32:00 +00:00
bmarty e25ba65170 Sync Strings from Localazy 2024-10-07 00:28:33 +00: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
bmarty 1768f24fd0 Sync Strings from Localazy 2024-09-23 00:23:49 +00:00
bmarty 4583ffeaf9 Sync Strings from Localazy 2024-09-17 11:05:35 +00:00
bmarty bb0a281342 Sync Strings from Localazy 2024-09-16 18:40:24 +00:00
bmarty 1035f9ae60 Sync Strings from Localazy 2024-09-16 00:25:04 +00:00
ganfra a7ab8ee843 Self verification : makes sure cancellation works properly 2024-09-09 10:30:35 +02: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
Benoit Marty f32e7c7e02 Properly skip the FTUE verification screen if verification is not needed. 2024-09-04 16:41:34 +02:00
bmarty 5ad2764402 Sync Strings from Localazy 2024-09-02 00:15:17 +00:00