Commit graph

156 commits

Author SHA1 Message Date
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
Valere
984575d5c5 fix test 2024-05-23 17:15:16 +02:00
Valere
60e2c5aae8 Improve coverage 2024-05-23 17:15:16 +02:00
Valere
cc5fbc2b64 Review: Cleaning / detekt / improve test 2024-05-23 17:15:16 +02:00
Valere
bd73f31f97 Add public device keys to rageshakes 2024-05-23 17:15:15 +02:00
Benoit Marty
f930796f57 Move FakeBugReporterMode to FakeBugReporter.Mode 2024-05-23 14:38:49 +02:00
Benoit Marty
fe771a37c2 isCalledExactly(1) -> isCalledOnce() 2024-05-22 15:26:53 +02:00
bmarty
83a8a631f2 Sync Strings from Localazy 2024-05-20 00:23:05 +00:00
bmarty
0910da0a14 Sync Strings from Localazy 2024-05-13 12:47:48 +00:00
Jorge Martin Espinosa
1f4b2d3ef3
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
2f19f57aa3
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
68fdaef8b8 Sync Strings from Localazy 2024-05-06 00:19:35 +00:00
Benoit Marty
c1c3227bde Let the SDK manage the file log cleanup, and keep one week of log. 2024-04-26 12:33:20 +02:00
Benoit Marty
7785e45c16 Remove dead code. 2024-04-24 13:28:11 +02:00
Benoit Marty
7bbcb719d5 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
e18e5f1cc5 Run ./tools/localazy/downloadStrings.sh --all 2024-04-02 18:12:36 +02:00
bmarty
5809864182 Sync Strings from Localazy 2024-04-01 00:17:18 +00:00
bmarty
3af876b953 Sync Strings from Localazy 2024-03-25 00:18:59 +00:00
Jorge Martin Espinosa
83861c43de
Add SDK git SHA to user agent (#2548) 2024-03-14 09:59:46 +01:00
bmarty
c021809479 Sync Strings from Localazy 2024-03-12 13:54:03 +00:00
Jorge Martin Espinosa
1d892b4bc8
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
7710876089 Sync Strings from Localazy 2024-02-28 11:33:05 +00:00
Benoit Marty
6d31c7d1d3 Import string again with new post processing. 2024-02-26 21:36:28 +01:00
bmarty
5c8be8f61f Sync Strings from Localazy 2024-02-26 18:17:16 +00:00
Benoit Marty
b9933acf98 Sync Localazy strings - including post treatment.
./tools/localazy/downloadStrings.sh --all
2024-02-23 17:45:22 +01:00
Benoit Marty
5e0b705d44 Sync Localazy strings.
./tools/localazy/downloadStrings.sh --all
2024-02-23 15:42:50 +01:00
Benoit Marty
a7e38f0925 Sync Localazy strings.
./tools/localazy/downloadStrings.sh --all
2024-02-23 12:23:11 +01:00
bmarty
a614b0d91e Sync Strings from Localazy 2024-02-12 00:10:26 +00:00
Benoit Marty
afc2e6c7fe 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
0b3a0fd6a3 Use appName from BuildMeta in the crash detection dialog. 2024-02-07 16:33:48 +01:00
Benoit Marty
07d13fc981 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
d7b6c39eb0 Small rework: create classical createPresenter() method to reduce code duplication. 2024-02-06 08:54:49 +01:00
Benoit Marty
9cef656d20 Fiw formatting error. 2024-02-05 18:33:35 +01:00
Benoit Marty
87f14d8bab 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
bmarty
03c95555e3 Sync Strings from Localazy 2024-02-05 00:09:59 +00:00