216 Commits

Author SHA1 Message Date
Benoit Marty
6eb5610bcc Add missing test on reset methods. 2024-09-04 10:57:14 +02:00
Benoit Marty
0423c36e08 Always use the custom url, even if no Matrix gateway is detected. 2024-09-04 10:48:31 +02:00
Benoit Marty
393f9c3637 Merge pull request #3294 from element-hq/ci/jme/fix-nightly-reports-firebase
Fix proguard config for nightly and release builds
2024-08-12 12:31:44 +02:00
ElementBot
01617e1c9d Sync Strings (#3297)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2024-08-12 06:03:23 +00:00
Jorge Martín
7bbcc90cab Try removing isMinified instead. This should now be controlled at the app module level. 2024-08-11 12:32:28 +02:00
Jorge Martín
e9d8ba1177 Add proguard file for firebase for release variant too 2024-08-11 10:23:22 +02:00
Jorge Martín
e56c64cb10 Try fixing proguard config for nightly builds 2024-08-11 09:55:24 +02:00
renovate[bot]
9b061ca798 Update android.gradle.plugin to v8.5.2 (#3004)
* Update android.gradle.plugin

* Fix release builds with AGP 8.5 by removing the minification config in each library module. I believe this is now centralised.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2024-08-09 15:04:10 +02:00
bmarty
d288ace4bd Sync Strings from Localazy 2024-07-29 00:26:27 +00:00
jmartinesp
58f2cbf489 Sync Strings from Localazy 2024-07-03 11:21:27 +00:00
Benoit Marty
04fbe6831c Move google_app_id from resource file to build.gradle.kts file and use different values for enterprise build. 2024-07-02 16:32:47 +02:00
bmarty
99ae2b9640 Sync Strings from Localazy 2024-07-01 00:22:10 +00:00
ElementBot
072daa080a Sync Strings (#3077)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2024-06-24 09:29:35 +02:00
Benoit Marty
c798a052cc Avoid restoring several MatrixClient 2024-06-18 18:04:30 +02:00
Benoit Marty
e675692fa4 Cleanup 2024-06-17 18:27:57 +02:00
Benoit Marty
90eeb6cdb1 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
Benoit Marty
e6f6e82ce2 Render an error dialog in case registering a pusher fails. 2024-06-17 11:30:23 +02:00
Benoit Marty
3eaf780087 Add test on pusher registration 2024-06-17 11:30:22 +02:00
ganfra
6d4d9db8a1 Sending queue : fix more tests. 2024-06-13 10:27:57 +02:00
bmarty
f501f27d27 Sync Strings from Localazy 2024-06-03 00:24:07 +00:00
Benoit Marty
a00ee18f96 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
46b6ae6251 Sync Strings from Localazy 2024-05-29 12:44:57 +00: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
c71656df0c Rename class (code quality) 2024-05-23 14:42:06 +02:00
Benoit Marty
4df6d0c038 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
35e14a3d46 Ignore local errors when unregistering UnifiedPush, to not block switching to another push provider. 2024-05-23 10:29:31 +02:00
Benoit Marty
878df55873 No need to use StandardTestDispatcher 2024-05-23 10:20:58 +02:00
Benoit Marty
593673126f No need to use advanceTimeBy 2024-05-23 10:19:06 +02:00
Benoit Marty
16b04afa1f Do not fail un-registration if Firebase token is not known. Fixes #2895 2024-05-23 09:53:51 +02:00
Jorge Martín
70188dcdc7 Simplify RegisterUnifiedPushUseCase, fix test 2024-05-23 09:48:32 +02:00
Benoit Marty
3cae2c05c4 Add missing import 2024-05-23 09:34:31 +02:00
Benoit Marty
4fc3c6f889 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
955b4308ce Clean up 2024-05-23 00:26:28 +02:00
Benoit Marty
5b8c0871e8 Add test on isRelevant 2024-05-23 00:20:24 +02:00
Benoit Marty
0d445cdeb3 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
f0863a10c9 Add test on DefaultUnregisterUnifiedPushUseCase 2024-05-23 00:11:50 +02:00
Benoit Marty
a7ded728bd Add test on UnifiedPushTest.isRelevant 2024-05-22 23:56:25 +02:00
Benoit Marty
8ef97b7a10 Add test on DefaultUnifiedPushNewGatewayHandler 2024-05-22 23:51:10 +02:00
Benoit Marty
80d2f8b924 Add test on DefaultRegisterUnifiedPushUseCase 2024-05-22 23:36:01 +02:00
Benoit Marty
40608d8ac1 Add test on VectorUnifiedPushMessagingReceiver 2024-05-22 19:35:48 +02:00
Benoit Marty
0b3ef10e8c Create interface UnifiedPushNewGatewayHandler 2024-05-22 19:00:55 +02:00
Benoit Marty
a206b799a8 Create interface UnifiedPushGatewayResolver 2024-05-22 18:59:26 +02:00
Benoit Marty
e07a9230d4 Fix test on VectorFirebaseMessagingService 2024-05-22 18:44:25 +02:00
Benoit Marty
9762962586 Add test on DefaultFirebaseNewTokenHandler 2024-05-22 18:42:39 +02:00
Benoit Marty
c0fccae12e Add test on VectorFirebaseMessagingService 2024-05-22 17:57:35 +02:00
Benoit Marty
41403b7614 Cleanup 2024-05-22 15:29:27 +02:00
Benoit Marty
e0d95f6d98 isCalledExactly(1) -> isCalledOnce() 2024-05-22 15:26:53 +02:00
Benoit Marty
1c52697e59 Fix wrong package name. 2024-05-22 14:44:35 +02:00
Benoit Marty
95507df783 Move some classes to the test module. 2024-05-22 14:41:14 +02:00