Commit graph

2565 commits

Author SHA1 Message Date
Marco Antonio Alvarez
a9835e0dd1
Add rich content listener to markdown text input (#2918)
* add rich content listener to markdown text input

Signed-off-by: Marco Antonio Alvarez <surakin@gmail.com>
2024-05-27 16:36:32 +02: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
436a876317
Merge pull request #2911 from element-hq/feature/bma/reproducibleBuild
Reproducible build
2024-05-27 12:46:19 +02:00
Benoit Marty
afa90b827f
Merge pull request #2900 from element-hq/feature/bma/fakeClassesQuality
Fake classes name quality
2024-05-27 12:14:50 +02:00
bmarty
f24e537580 Sync Strings from Localazy 2024-05-27 00:17:53 +00:00
Benoit Marty
3c3703cba3 Read versionCode from the Manifest, since BuildConfig.VERSION_CODE does not contain the correct last digit. 2024-05-24 15:06:47 +02:00
Valere
bd73f31f97 Add public device keys to rageshakes 2024-05-23 17:15:15 +02:00
Jorge Martin Espinosa
72ab632233
Restore MarkdownTextInput contents (#2902)
* Restore `MarkdownTextInput` contents: create a `MarkdownTextInputStateSaver` and use it to save and restore the text and selection.

* Add default text flags to the markdown composer
2024-05-23 14:59:08 +02:00
Benoit Marty
7911fda1fa Rename class (code quality) 2024-05-23 14:42:06 +02:00
Benoit Marty
6f44ef7a8f Rename class (code quality) 2024-05-23 14:38:52 +02:00
Benoit Marty
6fe461f346 Rename class (code quality) 2024-05-23 14:38:52 +02:00
Benoit Marty
6e4c9d3171 Rename class (code quality) 2024-05-23 14:38:51 +02:00
Benoit Marty
8215661ada Rename class (code quality) 2024-05-23 14:38:50 +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
Benoit Marty
d066f03eab Add logs on pusher registration 2024-05-23 09:58:29 +02:00
Benoit Marty
ce23135e4a Do not fail un-registration if Firebase token is not known. Fixes #2895 2024-05-23 09:53:51 +02:00
Jorge Martín
0639bc6a5b Simplify RegisterUnifiedPushUseCase, fix test 2024-05-23 09:48:32 +02:00
Benoit Marty
b8b66b3570 Add missing import 2024-05-23 09:34:31 +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
5c68956e6c Fix test on VectorFirebaseMessagingService 2024-05-22 18:44:25 +02:00
Benoit Marty
b38c144f46 Add test on DefaultFirebaseNewTokenHandler 2024-05-22 18:42:39 +02:00
Benoit Marty
90a14ce056 Change to lambda 2024-05-22 18:16:53 +02:00
Benoit Marty
eafa713995 Add test on VectorFirebaseMessagingService 2024-05-22 17:57:35 +02:00
Benoit Marty
b2a3b9653e Add test on DefaultPushHandler 2024-05-22 17:04:54 +02:00
Benoit Marty
5b074dc0ba Create interface for NotifiableEventResolver 2024-05-22 15:44:50 +02:00
Benoit Marty
980a80bcf5 Cleanup 2024-05-22 15:29:27 +02:00
Benoit Marty
fe771a37c2 isCalledExactly(1) -> isCalledOnce() 2024-05-22 15:26:53 +02:00
Benoit Marty
3bde744d76 Add test on DefaultTestPush 2024-05-22 15:22:03 +02:00
Benoit Marty
97530e752f Add test on DefaultPusherSubscriber 2024-05-22 15:10:55 +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
505f6d4dae Add test on DefaultPushService 2024-05-22 14:29:35 +02:00
Benoit Marty
dc6e62a324 Add test on PushGatewayNotifyRequest 2024-05-22 12:21:33 +02:00
Benoit Marty
20880b01da Extract testPush to its own class and rename PushersManager to DefaultPusherSubscriber 2024-05-22 11:55:10 +02:00
Benoit Marty
b70c5915f7 Remove unused code notificationStyleChanged()
We may properly add it again later if necessary.
2024-05-22 11:31:56 +02:00
Benoit Marty
008797285f Add test for FirebasePushProvider 2024-05-22 11:27:20 +02:00