Commit Graph

195 Commits

Author SHA1 Message Date
bmarty f549e7bba2 Sync Strings from Localazy 2025-02-17 00:30:17 +00: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
bmarty be91da966a Sync Strings from Localazy 2025-02-03 00:29:01 +00:00
ganfra 599972adea change(tracing) : update bug reporter tracing form data. 2025-01-17 16:59:31 +01:00
ganfra 7d27e6581b change(tracing) : change how tracing is configured (ui and logic) 2025-01-17 09:52:32 +01: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
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
ganfra acc6eb736b design : adjust some designs after textfield changes 2024-11-08 16:28:09 +01:00
ganfra 3910c42855 design : TextField2 is now TextField 2024-11-08 15:37:10 +01:00
ganfra e378b20868 design : removes usage of OutlinedTextField 2024-11-08 15:15:08 +01:00
ganfra 7aa1a338e7 bugfix: do not remove logs after sending them 2024-10-31 11:42:14 +01:00
Benoit Marty e9e4963373 Remove dependencies to other presenters from DeveloperSettingsPresenter 2024-10-07 17:45:17 +02:00
Benoit Marty f99081fd47 Remove dependencies to other presenters from RootPresenter 2024-10-07 17:45:16 +02:00
bmarty e25ba65170 Sync Strings from Localazy 2024-10-07 00:28:33 +00:00
Jorge Martin Espinosa 1d5509e2eb Don't delete uploaded logs (#3540) 2024-10-01 13:31:34 +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
bmarty 1768f24fd0 Sync Strings from Localazy 2024-09-23 00:23:49 +00:00
Benoit Marty 5de84f6ad8 Use aSessionData() from the test module.
And fix typo.
2024-09-18 17:16:06 +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 2ed6abb532 Fix test compilation issue. 2024-09-06 13:52:43 +02:00
Benoit Marty 5b13a51b0c Add an application migration to delete the old log files. 2024-09-06 09:31:14 +02:00
Benoit Marty 91a81d18e4 Merge pull request #3370 from element-hq/feature/bma/cacheFile
Provide distinct cache directory to the Rust SDK.
2024-09-03 10:27:47 +02:00
bmarty 5ad2764402 Sync Strings from Localazy 2024-09-02 00:15:17 +00:00
Benoit Marty c41cb33410 Provide distinct cache directory to the Rust SDK. 2024-08-30 18:36:20 +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
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
Benoit Marty 6c4e7ec85e Merge pull request #3025 from element-hq/feature/bma/elementEnterprise
Element enterprise (EE) foundations
2024-07-01 17:08:40 +02:00
bmarty 32c5da898b Sync Strings from Localazy 2024-07-01 00:22:10 +00:00
Benoit Marty 0e3821c9b2 Add 'Enterprise' label to rageshake 2024-06-26 11:59:47 +02:00
Jorge Martin Espinosa 40b7736fcf Use IO dispatcher for cleanup in bug reporter (#3092) 2024-06-25 09:26:18 +00:00
Benoit Marty f096485d9d Fix formatting issue. 2024-06-13 18:20:19 +02:00
Benoit Marty ea679cc108 Move MAX_LOG_UPLOAD_SIZE to RageshakeConfig 2024-06-13 18:20:19 +02:00
Benoit Marty 816d60b6ce Move rageshake configuration from resource file to Kotlin RageshakeConfig 2024-06-13 18:20:19 +02:00
ganfra ccf7efe9b1 Sending queue : fix more tests. 2024-06-13 10:27:57 +02:00
Jorge Martin Espinosa 55a1ac4bb5 Fix tracing configuration in debug and nightlies (#3019)
* Fix tracing configuration in debug and nightlies:

- Debug will now write the logs to disk too.
- Nightly will be able to customise tracing filters.
- Improved the configure tracing and bug report screens.

* Update screenshots

* Add changelog

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-06-12 10:20:43 +00:00
bmarty f3d286911c Sync Strings from Localazy 2024-06-10 00:17:04 +00:00
Benoit Marty 1f62abb1e9 Fix Formatting issue and rename class. 2024-06-04 17:31:28 +02:00
Benoit Marty ced4c38ec5 Simplify DefaultBugReporter and ensure response is closed #2905 2024-06-04 16:13:29 +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 3a39e2a3ec Merge pull request #2921 from element-hq/sync-localazy
Sync Strings
2024-05-27 15:52:38 +02:00
Benoit Marty b3e0f6e843 Translations: pt -> pt-rBR 2024-05-27 14:51:32 +02:00
Benoit Marty afa90b827f Merge pull request #2900 from element-hq/feature/bma/fakeClassesQuality
Fake classes name quality
2024-05-27 12:14:50 +02:00
Valere 141e835dbc more coverage 2024-05-23 18:28:39 +02:00
Valere 74c25fd717 More coverage 2024-05-23 17:47:53 +02:00