ElementBot
5f6a93cd1a
Sync Strings ( #5562 )
...
* Sync Strings from Localazy
* Sync strings again
---------
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com >
Co-authored-by: Benoit Marty <benoit@matrix.org >
2025-10-20 10:04:46 +00:00
Jorge Martin Espinosa
597c9b473a
Sync notifications using WorkManager ( #5545 )
...
* Initial implementation of notification sync using `WorkManager`
* Use custom `MetroWorkerFactory` to allow assisted injection in WorkManager Workers
* Add tests for `FetchNotificationWorker`. Create `FakeNotificationResolverQueue` to help testing.
* Add more tests, fix Konsist checks
* Add tests for `SyncNotificationWorkManagerRequest`
* Simplify `FakeNotificationResolverQueue`
2025-10-17 09:51:27 +00:00
Benoit Marty
bb104cc96f
Fix test compilation/execution issue.
...
Happened after concurrent merging of PRs.
2025-10-16 17:13:37 +02:00
Benoit Marty
ca7ac0d114
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
7491b5479a
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
38ef6eb40b
Add number of accounts info in the rageshake data.
2025-10-14 09:49:20 +02:00
ElementBot
57e8b47683
Sync Strings from Localazy ( #5515 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com >
2025-10-13 08:01:58 +02:00
bmarty
03ae925f2a
Sync Strings from Localazy
2025-10-08 10:23:22 +00:00
Benoit Marty
8cdc2b1dc3
Update Localazy config and sync all the strings.
2025-10-07 15:53:53 +02:00
Benoit Marty
67c6a1bd5f
Let MatrixClient exposes val instead of fun for the services.
2025-10-06 15:12:35 +02:00
ElementBot
a9912e4a1e
Sync Strings from Localazy ( #5460 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com >
2025-10-06 12:38:51 +02:00
ElementBot
c6d4a367d3
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
bc465d724a
Leave space - Add screen to leave a space.
2025-09-26 14:14:00 +02:00
renovate[bot]
c1cd259ce7
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
acb5cb609b
Introduce BugReportFlowNode, and remove NavTarget.ViewLogs from RootFlowNode.
2025-09-19 09:09:59 +02:00
Benoit Marty
264472ba36
Avoid using AndroidJUnit4 runner to test Entrypoint implementations.
2025-09-16 14:38:32 +02:00
Benoit Marty
e36273b94c
Add test on DefaultEntryPoints
2025-09-16 14:38:32 +02:00
Benoit Marty
4e720cecb1
Rename anvil modules to annotations and codegen
2025-09-05 14:26:27 +02:00
bmarty
676d7f6c8f
Sync Strings from Localazy
2025-09-05 07:44:19 +00:00
Jorge Martín
8f09fd62d9
Fixes after rebase
2025-09-04 16:49:21 +02:00
Jorge Martín
fc3153bd26
Fix lint issues and restore commented out code
2025-09-04 16:49:18 +02:00
Jorge Martín
92a4b8b66b
Start migrating Anvil KSP to Metro
2025-09-04 16:48:34 +02:00
Benoit Marty
a00623e490
Cleanup tests.
2025-09-01 15:03:41 +02:00
Benoit Marty
5f223f3c89
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
a43b907275
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
2f2e886e9f
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
a4cee52815
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
37b50e0139
Merge branch 'develop' into feature/bma/rageshakeConfigStep2
2025-08-11 17:35:06 +02:00
ElementBot
badbc5189e
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
e566bb37ed
Add unit test on DefaultRageshakeFeatureAvailability
2025-08-11 11:18:29 +02:00
Benoit Marty
50809d2adb
Add missing test on CrashDetectionPresenter
2025-08-11 11:10:32 +02:00
Benoit Marty
d7e4e00b5d
Let enterprise build be able to override (or disable) the bug report URL.
2025-08-08 17:23:39 +02:00
Benoit Marty
861758b47d
Only change the log folder on enterprise build
2025-08-07 14:02:07 +02:00
Benoit Marty
0b0eab2281
Add tests
2025-08-07 12:38:10 +02:00
Benoit Marty
0c215f2d1e
Fix tests
2025-08-07 12:19:26 +02:00
Benoit Marty
d71b639ada
Ensure that deleteAllFiles will check all the log files.
2025-08-07 11:40:38 +02:00
Benoit Marty
5577d2ca9b
Store log files in subfolder based on the homeserver domain.
2025-08-07 11:31:05 +02:00
bmarty
a2c8107b44
Sync Strings from Localazy
2025-08-04 00:34:11 +00:00
bmarty
06312b2e4a
Sync Strings from Localazy
2025-07-22 20:46:13 +02:00
Benoit Marty
fdcde8cac8
Fix quality issue.
2025-07-08 12:41:45 +02:00
Benoit Marty
772e060c0f
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
f87597fe9c
Fix compilation issue.
2025-07-08 12:30:16 +02:00
ElementBot
1944004409
Sync Strings from Localazy ( #4983 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com >
2025-07-04 14:37:59 +00:00
bmarty
2e8f8ec057
Sync Strings from Localazy
2025-06-30 00:33:54 +00:00
ElementBot
f32495ee58
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]
96063373b7
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
03e23477b7
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
58a3ea8b1f
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
498cf15d38
Sync Strings ( #4775 )
2025-05-30 08:47:39 +00:00
ElementBot
76c59e2eac
Sync Strings from Localazy ( #4648 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com >
2025-04-28 10:59:35 +02:00