Commit graph

83 commits

Author SHA1 Message Date
bmarty
bb0a281342 Sync Strings from Localazy 2024-09-16 18:40:24 +00:00
Benoit Marty
375ac25d8d Migrate license to AGPL - XML files. 2024-09-06 17:43:35 +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
90af83b3ea Fix the test according to the behavior change. 2024-09-04 12:23:52 +02:00
Benoit Marty
4b7c13dac8 Let UnifiedPushProvider use UnifiedPushCurrentUserPushConfigProvider 2024-09-04 11:42:40 +02:00
Benoit Marty
5b478b3c48 Fix injection issue. 2024-09-04 11:31:46 +02:00
Benoit Marty
afa19f4081 Fix quality issue. 2024-09-04 11:16:20 +02:00
Benoit Marty
79795af723 Imporve logs. 2024-09-04 11:12:21 +02:00
Benoit Marty
e05eefb766 Remove const val PUSH_GATEWAY_PATH, it makes the code more complex for no added value. 2024-09-04 11:09:27 +02:00
Benoit Marty
9e60fa9367 Add missing test on reset methods. 2024-09-04 10:57:14 +02:00
Benoit Marty
a81448c243 Always use the custom url, even if no Matrix gateway is detected. 2024-09-04 10:48:31 +02:00
ElementBot
8bd48fdc60
Sync Strings (#3297)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2024-08-12 06:03:23 +00:00
bmarty
76804d9e48 Sync Strings from Localazy 2024-07-29 00:26:27 +00:00
jmartinesp
dabaa2d265 Sync Strings from Localazy 2024-07-03 11:21:27 +00:00
bmarty
32c5da898b Sync Strings from Localazy 2024-07-01 00:22:10 +00:00
ElementBot
fd6bcb7857
Sync Strings (#3077)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2024-06-24 09:29:35 +02:00
Benoit Marty
a8cd659b1f Avoid restoring several MatrixClient 2024-06-18 18:04:30 +02:00
Benoit Marty
85eae468b7 Cleanup 2024-06-17 18:27:57 +02:00
Benoit Marty
f72fc36de8 Update PushProvider API, remove isAvailable(), but instead rely on getDistributors() to eventually return an empty list of Distributors. 2024-06-17 17:25:13 +02:00
bmarty
66636ea967 Sync Strings from Localazy 2024-06-03 00:24:07 +00:00
Benoit Marty
3fa508f1fe Add Konsist test Class with 'ContributeBinding' annotation should have allowed prefix and fix exissting issues.
Also remove annotation `DefaultPreferences`, we only have one implementation.
2024-05-31 10:18:08 +02:00
bmarty
ca5bc71057 Sync Strings from Localazy 2024-05-29 12:44:57 +00: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
7911fda1fa Rename class (code quality) 2024-05-23 14:42:06 +02:00
Benoit Marty
85c8a26f8a
Merge pull request #2901 from element-hq/feature/bma/fixUnregisteringPusherLocalError
Fix unregistering pusher local error
2024-05-23 14:38:07 +02:00
Benoit Marty
3796def1c9 Ignore local errors when unregistering UnifiedPush, to not block switching to another push provider. 2024-05-23 10:29:31 +02:00
Benoit Marty
788d9e0631 No need to use StandardTestDispatcher 2024-05-23 10:20:58 +02:00
Benoit Marty
b716482e43 No need to use advanceTimeBy 2024-05-23 10:19:06 +02:00
Jorge Martín
0639bc6a5b Simplify RegisterUnifiedPushUseCase, fix test 2024-05-23 09:48:32 +02:00
Benoit Marty
f04253287f Introduce lambdaError instead of using TODO, to handle error when a lambda is invoked and it should not. 2024-05-23 09:12:40 +02:00
Benoit Marty
c71c491302 Clean up 2024-05-23 00:26:28 +02:00
Benoit Marty
cf3b2bba91 Add test on isRelevant 2024-05-23 00:20:24 +02:00
Benoit Marty
4e7f5c46b8 Refactor: change signature to always have clientSecret first, since it's acting as a key. 2024-05-23 00:16:56 +02:00
Benoit Marty
0a2d87f6b1 Add test on DefaultUnregisterUnifiedPushUseCase 2024-05-23 00:11:50 +02:00
Benoit Marty
02fa405b8e Add test on UnifiedPushTest.isRelevant 2024-05-22 23:56:25 +02:00
Benoit Marty
f974cdd12a Add test on DefaultUnifiedPushNewGatewayHandler 2024-05-22 23:51:10 +02:00
Benoit Marty
f304c1f65a Add test on DefaultRegisterUnifiedPushUseCase 2024-05-22 23:36:01 +02:00
Benoit Marty
50b7f2c2c1 Add test on VectorUnifiedPushMessagingReceiver 2024-05-22 19:35:48 +02:00
Benoit Marty
09b2b2c476 Create interface UnifiedPushNewGatewayHandler 2024-05-22 19:00:55 +02:00
Benoit Marty
738bb831fa Create interface UnifiedPushGatewayResolver 2024-05-22 18:59:26 +02:00
Benoit Marty
fe771a37c2 isCalledExactly(1) -> isCalledOnce() 2024-05-22 15:26:53 +02:00
Benoit Marty
707a530752 Fix wrong package name. 2024-05-22 14:44:35 +02:00
Benoit Marty
08f70b9cfd Move some classes to the test module. 2024-05-22 14:41:14 +02:00
Benoit Marty
1bf38e96ae Add test on UnifiedPushProvider 2024-05-22 11:02:11 +02:00
Benoit Marty
86eceb3cbc UnifiedPushGatewayResolver.getGateway cannot return null. 2024-05-22 09:25:57 +02:00
Benoit Marty
50004e37cf Add test on UnifiedPushGatewayResolver 2024-05-22 09:23:33 +02:00
Benoit Marty
d459c0806b Wait for UnifiedPush pusher to be registered before returning Result. 2024-05-21 14:45:17 +02:00
Benoit Marty
2a20044cc7 Update comment 2024-05-21 14:45:17 +02:00
Benoit Marty
68708837d8 Ensure UnifiedPush endpoint is registered. 2024-05-21 14:45:17 +02:00