Commit Graph

157 Commits

Author SHA1 Message Date
Jorge Martin Espinosa
6def355b6e Use IO dispatcher for cleanup in bug reporter (#3092) 2024-06-25 09:26:18 +00:00
Benoit Marty
69ffed5e2b Fix formatting issue. 2024-06-13 18:20:19 +02:00
Benoit Marty
580622da9a Move MAX_LOG_UPLOAD_SIZE to RageshakeConfig 2024-06-13 18:20:19 +02:00
Benoit Marty
a6fe0ddc9b Move rageshake configuration from resource file to Kotlin RageshakeConfig 2024-06-13 18:20:19 +02:00
ganfra
6d4d9db8a1 Sending queue : fix more tests. 2024-06-13 10:27:57 +02:00
Jorge Martin Espinosa
54845866a6 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
57510316ec Sync Strings from Localazy 2024-06-10 00:17:04 +00:00
Benoit Marty
e6329ae6d9 Fix Formatting issue and rename class. 2024-06-04 17:31:28 +02:00
Benoit Marty
39e95496cb Simplify DefaultBugReporter and ensure response is closed #2905 2024-06-04 16:13:29 +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
Benoit Marty
9065e9d2eb Merge pull request #2921 from element-hq/sync-localazy
Sync Strings
2024-05-27 15:52:38 +02:00
Benoit Marty
bbb44db297 Translations: pt -> pt-rBR 2024-05-27 14:51:32 +02:00
Benoit Marty
e632168c34 Merge pull request #2900 from element-hq/feature/bma/fakeClassesQuality
Fake classes name quality
2024-05-27 12:14:50 +02:00
Valere
5e4073257f more coverage 2024-05-23 18:28:39 +02:00
Valere
c6f8360949 More coverage 2024-05-23 17:47:53 +02:00
Valere
92151adc90 fix test 2024-05-23 17:15:16 +02:00
Valere
15cd05ebff Improve coverage 2024-05-23 17:15:16 +02:00
Valere
6ec2b74982 Review: Cleaning / detekt / improve test 2024-05-23 17:15:16 +02:00
Valere
12fdc2b6e0 Add public device keys to rageshakes 2024-05-23 17:15:15 +02:00
Benoit Marty
9ddefc08c5 Move FakeBugReporterMode to FakeBugReporter.Mode 2024-05-23 14:38:49 +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
bmarty
602b3988e4 Sync Strings from Localazy 2024-05-13 12:47:48 +00:00
Jorge Martin Espinosa
c64ead11c8 Upload app id and clean version to bug reports (#2829)
* Upload app id and clean version to bug reports

* Add changelog
2024-05-10 12:15:33 +02:00
Jorge Martin Espinosa
04e6f66a02 Make logs less verbose, especially for sliding sync (#2825)
* Make logs less verbose, especially for sliding sync.

Use the same config as iOS for most targets.

* Make sure we don't try to upload logs that are larger than the max request size of the bug reporter server.

* Display the loading state as soon as the bug reporter starts processing the log files

* Add changelog
2024-05-09 16:39:59 +02:00
bmarty
d2eb0d9820 Sync Strings from Localazy 2024-05-06 00:19:35 +00:00
Benoit Marty
9f2e8d44ce Let the SDK manage the file log cleanup, and keep one week of log. 2024-04-26 12:33:20 +02:00
Benoit Marty
b71a967c0e Remove dead code. 2024-04-24 13:28:11 +02:00
Benoit Marty
f6b5b8419b Implement a migration mechanism to handle internal stuff which need to occur during application upgrade.
Remove VectorFileLogger, it was dead code.
2024-04-24 11:17:23 +02:00
Benoit Marty
75f1d2fdc0 Run ./tools/localazy/downloadStrings.sh --all 2024-04-02 18:12:36 +02:00
bmarty
1e334891ab Sync Strings from Localazy 2024-04-01 00:17:18 +00:00
bmarty
4d68f193a1 Sync Strings from Localazy 2024-03-25 00:18:59 +00:00
Jorge Martin Espinosa
90304a268e Add SDK git SHA to user agent (#2548) 2024-03-14 09:59:46 +01:00
bmarty
0c0c36c393 Sync Strings from Localazy 2024-03-12 13:54:03 +00:00
Jorge Martin Espinosa
b64d7a267e Add extra params to bug reports (#2490)
* Add extra params to bug reports

- `local_time`: the time in the device's timezone.
- `utc_time`: the time in UTC.
- `sdk_sha`: the commit SHA that was used to build the Rust SDK
2024-03-05 17:21:47 +01:00
bmarty
7fd358166d Sync Strings from Localazy 2024-02-28 11:33:05 +00:00
Benoit Marty
66aa342d73 Import string again with new post processing. 2024-02-26 21:36:28 +01:00
bmarty
54ef435d9c Sync Strings from Localazy 2024-02-26 18:17:16 +00:00
Benoit Marty
c746a0acc5 Sync Localazy strings - including post treatment.
./tools/localazy/downloadStrings.sh --all
2024-02-23 17:45:22 +01:00
Benoit Marty
37e85b4db0 Sync Localazy strings.
./tools/localazy/downloadStrings.sh --all
2024-02-23 15:42:50 +01:00
Benoit Marty
9119a7b7fb Sync Localazy strings.
./tools/localazy/downloadStrings.sh --all
2024-02-23 12:23:11 +01:00
bmarty
0224d036c7 Sync Strings from Localazy 2024-02-12 00:10:26 +00:00
Benoit Marty
a1f78372d6 Remove LogCompositions.
It was used at the beginning of the project, but is not useful anymore.
2024-02-07 16:33:48 +01:00
Benoit Marty
8f3bb607da Use appName from BuildMeta in the crash detection dialog. 2024-02-07 16:33:48 +01:00
Benoit Marty
796fb9b483 Fix test now that the send button is always enabled but can fail if description is too short. 2024-02-06 09:01:59 +01:00
Benoit Marty
021509ad17 Small rework: create classical createPresenter() method to reduce code duplication. 2024-02-06 08:54:49 +01:00
Benoit Marty
5e44bc9878 Fiw formatting error. 2024-02-05 18:33:35 +01:00
Benoit Marty
3e80629f6b Make the button to send problem enable, but show an error if the decription is too short to prevent users from being blocked. 2024-02-05 16:00:29 +01:00