Benoit Marty
5702b38157
Fix test compilation/execution issue.
...
Happened after concurrent merging of PRs.
2025-10-16 17:13:37 +02:00
Benoit Marty
5037dadf7e
Merge pull request #5532 from element-hq/feature/bma/multiAccountReport
...
Add number of accounts info in the rageshake data.
2025-10-16 10:26:13 +02:00
Jorge Martin Espinosa
5b1bfac6ff
Allow uploading notification push rules in bug reports ( #5538 )
...
* Allow uploading push rules in bug reports
* Improve bug report screen previews
* Update screenshots
---------
Co-authored-by: ElementBot <android@element.io>
2025-10-15 11:45:04 +02:00
Benoit Marty
b043ddcddf
Add number of accounts info in the rageshake data.
2025-10-14 09:49:20 +02:00
ElementBot
8f4cc52ea4
Sync Strings from Localazy ( #5515 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2025-10-13 08:01:58 +02:00
bmarty
cb7186cf69
Sync Strings from Localazy
2025-10-08 10:23:22 +00:00
Benoit Marty
a584a5c1c6
Update Localazy config and sync all the strings.
2025-10-07 15:53:53 +02:00
Benoit Marty
77647a3f11
Let MatrixClient exposes val instead of fun for the services.
2025-10-06 15:12:35 +02:00
ElementBot
7095b460b3
Sync Strings from Localazy ( #5460 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2025-10-06 12:38:51 +02:00
ElementBot
95949e615f
Sync Strings from Localazy ( #5427 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2025-09-29 15:10:21 +00:00
Benoit Marty
74c2ee46d8
Leave space - Add screen to leave a space.
2025-09-26 14:14:00 +02:00
renovate[bot]
5b9ce7a210
Update metro to v0.6.7 ( #5416 )
...
* Update metro to v0.6.7
* Replace `@Inject` with `@AssistedInject` where needed
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2025-09-26 08:16:36 +00:00
Benoit Marty
6355feb96d
Introduce BugReportFlowNode, and remove NavTarget.ViewLogs from RootFlowNode.
2025-09-19 09:09:59 +02:00
Benoit Marty
4d7d0ac8d0
Avoid using AndroidJUnit4 runner to test Entrypoint implementations.
2025-09-16 14:38:32 +02:00
Benoit Marty
a1aeb24f23
Add test on DefaultEntryPoints
2025-09-16 14:38:32 +02:00
Benoit Marty
a575019760
Use DependencyHandlerScope.testCommonDependencies()
2025-09-16 14:38:31 +02:00
Benoit Marty
e88743bd6a
Rename anvil modules to annotations and codegen
2025-09-05 14:26:27 +02:00
bmarty
8027ce9dca
Sync Strings from Localazy
2025-09-05 07:44:19 +00:00
Jorge Martín
e8328858ab
Fixes after rebase
2025-09-04 16:49:21 +02:00
Jorge Martín
4ab62a6a38
Redo DI gradle setup code
2025-09-04 16:49:20 +02:00
Jorge Martín
29a97fc0d9
Fix lint issues and restore commented out code
2025-09-04 16:49:18 +02:00
Jorge Martín
b76a71ebf5
Start migrating Anvil KSP to Metro
2025-09-04 16:48:34 +02:00
Benoit Marty
025131841b
Cleanup tests.
2025-09-01 15:03:41 +02:00
Benoit Marty
75a640b986
Refactor: Move InMemorySessionStore to test module
...
- Delete `libraries/session-storage/impl-memory` module
- Move `InMemorySessionStore.kt` to `libraries/session-storage/test`
2025-09-01 14:47:42 +02:00
ElementBot
02c9549bc0
Sync Strings from Localazy ( #5249 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2025-09-01 12:44:49 +02:00
Jorge Martin Espinosa
8245ad8bc3
Handle preference stores corruption by clearing them ( #5086 )
...
* Handle preference stores corruption by clearing them:
- Use the centralised `PreferenceDataStoreFactory` instead of `preferences by`.
- Add `DefaultPreferencesCorruptionHandlerFactory.replaceWithEmpty` to its `create(name)` method so all preference stores are cleared if they're corrupted.
* Add detekt rule to make sure we use `PreferenceDataStoreFactory` instead of `by preferencesDataStore`
* Remove `@SingleIn` annotations as the annotated class no longer have to be singletons
2025-08-22 06:59:06 +00:00
ElementBot
7c40c87d9a
Sync Strings from Localazy ( #5178 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2025-08-18 11:09:27 +02:00
Benoit Marty
216ba060b4
Merge branch 'develop' into feature/bma/rageshakeConfigStep2
2025-08-11 17:35:06 +02:00
ElementBot
4b12c3f805
Sync Strings ( #5146 )
...
* Sync Strings from Localazy
* Remove unused WelcomeView.
* Remove unused WelcomeView.
---------
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
Co-authored-by: Benoit Marty <benoit@matrix.org>
2025-08-11 12:49:29 +00:00
Benoit Marty
1c9304cac5
Add unit test on DefaultRageshakeFeatureAvailability
2025-08-11 11:18:29 +02:00
Benoit Marty
67e27ab125
Add missing test on CrashDetectionPresenter
2025-08-11 11:10:32 +02:00
Benoit Marty
d9b274b6cf
Let enterprise build be able to override (or disable) the bug report URL.
2025-08-08 17:23:39 +02:00
Benoit Marty
2a67ad4c67
Only change the log folder on enterprise build
2025-08-07 14:02:07 +02:00
Benoit Marty
2d801a0924
Add tests
2025-08-07 12:38:10 +02:00
Benoit Marty
a8ba4751ed
Fix tests
2025-08-07 12:19:26 +02:00
Benoit Marty
2a4fc974ea
Ensure that deleteAllFiles will check all the log files.
2025-08-07 11:40:38 +02:00
Benoit Marty
18c325560b
Store log files in subfolder based on the homeserver domain.
2025-08-07 11:31:05 +02:00
bmarty
ee77c646eb
Sync Strings from Localazy
2025-08-04 00:34:11 +00:00
bmarty
8ffbfd82e8
Sync Strings from Localazy
2025-07-22 20:46:13 +02:00
Benoit Marty
d560e898a3
Fix quality issue.
2025-07-08 12:41:45 +02:00
Benoit Marty
27381bf2e0
Convert BugReporterMultipartBody to Kotlin, and update using latest version of okhttp3.MultipartBody.
...
Adapt to Element code
2025-07-08 12:30:18 +02:00
Benoit Marty
a234f010a0
Fix compilation issue.
2025-07-08 12:30:16 +02:00
ElementBot
d9ede0544c
Sync Strings from Localazy ( #4983 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2025-07-04 14:37:59 +00:00
bmarty
284241a4ec
Sync Strings from Localazy
2025-06-30 00:33:54 +00:00
ElementBot
520c1293b6
Sync Strings from Localazy ( #4842 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2025-06-11 14:13:33 +02:00
renovate[bot]
03b801094b
fix(deps): update coil to v3.2.0 ( #4712 )
...
* fix(deps): update coil to v3.2.0
* Fix compilation issue. Need to provide an image for preview.
https://coil-kt.github.io/coil/compose/#previews
* Improve preview for images.
* Update screenshots
* More cleanup
* Update screenshots
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Benoit Marty <benoit@matrix.org>
Co-authored-by: ElementBot <android@element.io>
2025-06-05 09:49:27 +02:00
Benoit Marty
5f191d9f9c
Fix coroutine scope ( #4820 )
...
* Inject the session scope instead of the application scope where it's possible.
* Create AppCoroutineScope annotation to let developers explicitly choose the appropriate CoroutineScope when injecting one.
2025-06-04 15:33:51 +00:00
Jorge Martin Espinosa
efdc10e60a
Add catchingExceptions method to replace runCatching ( #4797 )
...
- Add `runCatchingExceptions` and `mapCatchingExceptions` to replace `runCatching` and `mapCatching`.
- Make `tryOrNull { ... }` catch only exceptions too.
- Apply the changes to the whole project.
- Add new Rust fakes for tests to handle the code that's now unblocked - previously it just threw an `UnsatisfiedLinkError` which we ignored.
- Add a new `detekt-rules` project with a `RunCatchingRule` to prevent `runCatching` and `mapCatching` usages.
2025-06-04 09:02:26 +02:00
ElementBot
e8f29a38bf
Sync Strings ( #4775 )
2025-05-30 08:47:39 +00:00
ElementBot
847f8fcbf6
Sync Strings from Localazy ( #4648 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2025-04-28 10:59:35 +02:00