Commit graph

2529 commits

Author SHA1 Message Date
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
Benoit Marty
538c2b05a3 Create FakeIsPlayServiceAvailable 2024-05-22 11:11: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
71763e3fed
Merge pull request #2873 from element-hq/feature/bma/pushProviderSwitch
Push provider switch
2024-05-21 16:52:01 +02:00
ganfra
ac123bdcd8
Merge pull request #2874 from element-hq/feature/fga/fix_2692
Fix modal contents overlapping screen lock pin #2692
2024-05-21 15:53:51 +02:00
Benoit Marty
ada777e45c Add test for push distributor change. 2024-05-21 14:45:20 +02:00
Benoit Marty
82a2992ab3 Cleanup 2024-05-21 14:45:19 +02:00
Benoit Marty
495be55755 Add missing methods. 2024-05-21 14:45:18 +02:00
Benoit Marty
ff61eaa6a7 Fix bug, was not looking at the current PushProvider. 2024-05-21 14:45:18 +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
Benoit Marty
7f9a30a033 Improve code and display error. 2024-05-21 14:45:16 +02:00
Benoit Marty
a65c290dd3 Improve API, to avoid ignoring errors 2024-05-21 14:45:16 +02:00
Benoit Marty
ad63f2b0c5 UnifiedPush: correctly unregister the provider. 2024-05-21 14:45:15 +02:00
Benoit Marty
d2fbff09b8 Push distributor: ensure the current UnifiedPush distributor is stored 2024-05-21 14:45:15 +02:00
Benoit Marty
56ca04affa Unset Http pusher: use SDK API. 2024-05-21 14:45:14 +02:00
Jorge Martin Espinosa
880ebb4de8
Plain text editor implementation based on markdown input (#2840)
* Add plain text editor based on markdown input
- Fix autofocus of message composer.
- Remove `Message` data class, fetch the details in `MessagesPresenter` instead.
- Remove `enable rich text` option from advanced settings, set it as a build configuration instead.
* Fix MentionSpanProvider
* Bump RTE library to released `v2.37.3`

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-05-21 13:58:53 +02:00
Jorge Martin Espinosa
3f2413bc95
Session falsely displayed as 'verified' with no internet connection (#2884)
* Session falsely displayed as 'verified' with no internet connection
	- Remove the need to wait for `isReady` for `SessionVerificationService.canVerifySessionFlow` to fix this.
	- Rename `SessionVerificationService.canVerifySessionFlow` to `needsSessionVerification`.
	- Make `isReady` private.
2024-05-21 11:41:18 +00:00
Jorge Martin Espinosa
8bd9880c23
Use member display names in membership timeline item text (#2883)
* Use member display names in membership timeline item text
2024-05-21 08:26:11 +00:00
Benoit Marty
d2d835080e
Merge pull request #2877 from element-hq/sync-localazy
Sync Strings
2024-05-21 09:22:16 +02:00
ganfra
bc46706e11 Sdk : update to 0.2.19 2024-05-20 17:51:06 +02:00
ganfra
73905fa695 Pin : clean up after PR review #2692 2024-05-20 16:34:26 +02:00
bmarty
83a8a631f2 Sync Strings from Localazy 2024-05-20 00:23:05 +00:00
Benoit Marty
f06a01f894 Replace getRoomPreview by getRoomPreviewFromRoomId.
We do not need `getRoomPreviewFromRoomAlias` since we always resolve the Alias first.
2024-05-17 12:01:57 +02:00
Benoit Marty
9d4cfd8e20
Merge pull request #2849 from element-hq/feature/bma/roomNameEdition
Improve room setting edition
2024-05-16 09:32:42 +02:00
Jorge Martin Espinosa
69d5b564da
Fix crash when creating an EncryptedFile in Android 6 (#2853) 2024-05-15 16:10:16 +00:00
Benoit Marty
5ab96c3bdc Do not use MutableState in Composable function parameter. 2024-05-15 18:05:08 +02:00
Benoit Marty
4278c24784 Extract content lambda. 2024-05-15 17:05:45 +02:00
Benoit Marty
193081a554 Migrate AvatarActionBottomSheet to Material3 BottomSheet
Also correctly handle the back press when this bottom sheet is opened, previously it was leaving the room edition screen.
ModalBottomSheetLayout can now be deleted.
2024-05-15 16:20:47 +02:00
Benoit Marty
1710671f06 Add UI test on RoomDetailsEditView 2024-05-15 15:19:46 +02:00
Benoit Marty
04537bc684 Fix tests. 2024-05-15 11:56:12 +02:00
Benoit Marty
e6badb1e04 Use rawName instead of displayName in RoomDetailsEditPresenter #2844 2024-05-15 11:24:09 +02:00
Benoit Marty
12ad232ea8 Add MatrixRoomInfo.rawName. 2024-05-15 10:06:54 +02:00
Benoit Marty
0b9724af84 EditUserProfileState.userId cannot be null.
It simplifies a bit the codebase.
2024-05-15 09:46:01 +02:00