Benoit Marty
05fc76822a
Apply dual licenses: AGPL + Element Commercial to file headers.
...
2 replace all actions have been performed:
- "SPDX-License-Identifier: AGPL-3.0-only" to "SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial"
- "Please see LICENSE in the repository root for full details." to "Please see LICENSE files in the repository root for full details."
2025-01-07 10:05:04 +01:00
Benoit Marty
b85d4bac1d
UnifiedPush: extract logic to resolve the gateway url and unit test it.
2024-12-31 10:01:39 +01:00
Benoit Marty
e2cb0173a6
Fix issue with logger.
2024-12-30 13:20:06 +01:00
Benoit Marty
86a44b9035
Ensure that when no Matrix gateway exists, the default one is used.
2024-12-30 13:18:37 +01:00
ElementBot
411895456b
Sync Strings - add translations to Finnish ( #3883 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2024-11-18 11:37:17 +00:00
Benoit Marty
8e3c44b60b
Change signature of getCurrentDistributor.
2024-11-15 15:18:28 +01:00
Benoit Marty
844e0216bd
Properly unregister from the ntfy app when the user logs out.
2024-11-15 12:43:57 +01:00
Benoit Marty
f406433652
UnifiedPush: also invoke UnifiedPush.unregisterApp when endpoint == null || gateway == null
2024-11-15 12:43:55 +01:00
Benoit Marty
1f3a0eb698
UnifiedPush: unregister the application using the correct instance.
2024-11-15 12:43:53 +01:00
Benoit Marty
a6fdb90838
Add quick fix in notification troubleshot test to perform a Firebase token rotation
2024-10-30 11:54:10 +01:00
bmarty
e0c24c0f1c
Sync Strings from Localazy
2024-09-16 18:40:24 +00:00
Benoit Marty
62a6e916a6
Migrate license to AGPL - XML files.
2024-09-06 17:43:35 +02:00
Benoit Marty
2b016227e9
Migrate license to AGPL.
...
Run script `uv run license-editor --repository ../element-x-android`
2024-09-06 17:19:19 +02:00
Benoit Marty
264d1bc694
Let UnifiedPushProvider use UnifiedPushCurrentUserPushConfigProvider
2024-09-04 11:42:40 +02:00
Benoit Marty
3e74fa05d7
Fix injection issue.
2024-09-04 11:31:46 +02:00
Benoit Marty
35b019318e
Imporve logs.
2024-09-04 11:12:21 +02:00
Benoit Marty
90352bd1ad
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
0423c36e08
Always use the custom url, even if no Matrix gateway is detected.
2024-09-04 10:48:31 +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
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
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
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
bbb44db297
Translations: pt -> pt-rBR
2024-05-27 14:51:32 +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
Jorge Martín
70188dcdc7
Simplify RegisterUnifiedPushUseCase, fix test
2024-05-23 09:48:32 +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
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
bfa238ba0d
Add test on UnifiedPushProvider
2024-05-22 11:02:11 +02:00
Benoit Marty
6dcc16fc6b
UnifiedPushGatewayResolver.getGateway cannot return null.
2024-05-22 09:25:57 +02:00
Benoit Marty
39bb6d3ff3
Add test on UnifiedPushGatewayResolver
2024-05-22 09:23:33 +02:00
Benoit Marty
5734050e88
Wait for UnifiedPush pusher to be registered before returning Result.
2024-05-21 14:45:17 +02:00
Benoit Marty
b3793169e9
Update comment
2024-05-21 14:45:17 +02:00
Benoit Marty
dc572af9db
Ensure UnifiedPush endpoint is registered.
2024-05-21 14:45:17 +02:00
Benoit Marty
4bd01b6f4f
Improve API, to avoid ignoring errors
2024-05-21 14:45:16 +02:00
Benoit Marty
eb0dcd6b8c
UnifiedPush: correctly unregister the provider.
2024-05-21 14:45:15 +02:00
Benoit Marty
3d5fdfc22e
Push distributor: ensure the current UnifiedPush distributor is stored
2024-05-21 14:45:15 +02:00
bmarty
0241014932
Sync Strings from Localazy
2024-05-20 00:23:05 +00:00
bmarty
602b3988e4
Sync Strings from Localazy
2024-05-13 12:47:48 +00:00
bmarty
7383ac6678
Sync Strings from Localazy
2024-04-29 00:18:59 +00:00
Benoit Marty
7945297a28
Create dedicated module for notification troubleshoot.
2024-04-02 18:12:36 +02:00