Commit Graph

88 Commits

Author SHA1 Message Date
Dominic Fischer
7ee87a0d4b Merge branch 'develop' into suspend_functions_1
# Conflicts:
#	matrix-sdk-android/src/main/java/org/matrix/android/sdk/api/session/room/RoomService.kt
#	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/room/DefaultRoomService.kt
#	vector/src/main/java/im/vector/app/features/home/room/list/RoomListViewModel.kt
2021-04-10 16:50:30 +01:00
Benoit Marty
923715aeb3 Add method for name fallback when there is only one member 2021-04-07 15:19:33 +02:00
Benoit Marty
15c51cad17 Improve interface, name are not nullable 2021-04-07 15:17:02 +02:00
Benoit Marty
2d4866cdc5 Add better support for empty room name fallback 2021-04-06 09:57:33 +02:00
Dominic Fischer
55e8f519df Convert RoomService to suspend functions
Signed-off-by: Dominic Fischer <dominicfischer7@gmail.com>
2021-04-02 11:02:32 +01:00
Benoit Marty
0a0c8cde34 Cleanup the test 2021-03-31 11:26:23 +02:00
Benoit Marty
f49df59e10 Convert Room API to suspend (#24499) 2021-03-31 11:26:23 +02:00
Benoit Marty
79bee63515
Merge pull request #3079 from Dominaezzz/suspend_functions_9
Convert SharedSecretStorageService and AccountDataService to suspend functions
2021-03-31 09:28:20 +02:00
Benoit Marty
67c2b58f85
Merge pull request #3080 from Dominaezzz/suspend_functions_10
Convert MembershipService to suspend functions
2021-03-30 11:56:51 +02:00
Dominic Fischer
bc68075ae3 Convert MembershipService to suspend functions
Signed-off-by: Dominic Fischer <dominicfischer7@gmail.com>
2021-03-29 20:10:41 +01:00
Dominic Fischer
b70585016c Convert SharedSecretStorageService to suspend functions
Signed-off-by: Dominic Fischer <dominicfischer7@gmail.com>
2021-03-28 11:50:59 +01:00
Dominic Fischer
8f67511b22 Convert VerificationService to suspend functions
Signed-off-by: Dominic Fischer <dominicfischer7@gmail.com>
2021-03-27 19:20:16 +00:00
Benoit Marty
5cd86c685d Copyright 2021-03-22 18:29:06 +01:00
Benoit Marty
d85d44bf4b Add ApiInterceptor.removeListener() 2021-03-22 18:09:42 +01:00
Benoit Marty
f6e43a5305 Add Android test on ApiInterceptor 2021-03-22 17:13:16 +01:00
Benoit Marty
663fc28cd5 Fix copyright 2021-03-03 19:51:11 +01:00
Benoit Marty
68364e0a82 Fix test compilation issue 2021-03-03 18:50:21 +01:00
Valere
533a7bb180 Code Review 2021-03-02 18:52:32 +01:00
Onuray Sahin
fae484cb95 Create test for ensureOutboundSession function. 2021-03-02 18:50:43 +01:00
Benoit Marty
1294d211d6
Merge branch 'develop' into feature/bma/fix_redirection 2021-02-19 14:43:01 +01:00
Benoit Marty
9443b80811 Fix test: ensure the session is open 2021-02-18 18:46:23 +01:00
Benoit Marty
73e93e7d3d Doc and method signature 2021-02-18 17:56:05 +01:00
Benoit Marty
c76ced68e0 Make the code a bit easier to understand (no other change) 2021-02-18 17:47:11 +01:00
Benoit Marty
dea76fd81b Fix test compilation 2021-02-18 15:36:51 +01:00
Valere
e976100f1a Fix test compilation error 2021-02-03 14:48:43 +01:00
Valere
697b551b9b Cleaning / Code review 2021-02-02 23:10:14 +01:00
Benoit Marty
d6a5b9fb48 fulfill assertion about eventId 2021-01-25 16:42:53 +01:00
Benoit Marty
f64db7f5f3 Fix test compilation 2021-01-25 16:03:31 +01:00
Benoit Marty
c75eb050df Cleanup and fix test compilation 2021-01-20 16:32:41 +01:00
Valere
4ee34126bd Persist outbound group session 2021-01-05 10:04:34 +01:00
Benoit Marty
3d291c04c9 const -> companion 2020-12-18 16:53:26 +01:00
Benoit Marty
00b16db7cc Simplification of code 2020-12-18 16:06:30 +01:00
Benoit Marty
ff8a208012 Change to immutable list 2020-12-18 16:04:46 +01:00
Onuray Sahin
42a5680374 Fix copyright. 2020-12-18 16:00:32 +01:00
Onuray Sahin
7b97981bb5 Make sure to load all members in the room before sending the event. 2020-12-18 16:00:32 +01:00
Onuray Sahin
b263273c87 Improve test with detailed CryptoError message. 2020-12-18 16:00:32 +01:00
Onuray Sahin
427dc784fe Support testing a room with many members. 2020-12-18 16:00:32 +01:00
Onuray Sahin
7e4725c091 Update CryptoTestData to handle more than 3 sessions. 2020-12-18 16:00:32 +01:00
Onuray Sahin
9b332f7a32 Test message decryption in a room with 3 members. 2020-12-18 16:00:32 +01:00
Valere
03428ea9f5 Social Login
And new custom homeserver completion (and remember history)
2020-12-14 14:05:57 +01:00
Benoit Marty
5b74eb3bca
Merge branch 'develop' into feature/state_service_coroutines 2020-12-11 16:54:41 +01:00
aqulu
416f57b1d7 Fix failing test compilation
Signed-off-by: aqulu <dev@aqu.lu>
2020-12-08 22:25:19 +09:00
Benoit Marty
c2c9e37a36 PreviewUrl: fix layout issue and add more tests 2020-12-04 14:36:11 +01:00
Benoit Marty
be20f9b455 PreviewUrl: extract url from Content 2020-12-03 19:09:33 +01:00
Benoit Marty
dd150c6d7e Remove unnecessary non-null assertion 2020-12-03 19:09:33 +01:00
Dominic Fischer
a32d7f78bb Convert SearchService to suspend functions
Signed-off-by: Dominic Fischer <dominicfischer7@gmail.com>
2020-11-18 12:23:40 +00:00
Dominic Fischer
3ce8deec07 Convert RoomCryptoService to suspend functions
Signed-off-by: Dominic Fischer <dominicfischer7@gmail.com>
2020-11-11 13:01:46 +00:00
Dominic Fischer
0da4ff7b02 Run ktlint 2020-11-06 19:20:23 +00:00
Dominic Fischer
983e02888c Remove incorrect comment
Signed-off-by: Dominic Fischer <dominicfischer7@gmail.com>
2020-11-06 19:17:45 +00:00
Dominic Fischer
35768ff7e8 Convert AccountService to suspend functions
Signed-off-by: Dominic Fischer <dominicfischer7@gmail.com>
2020-11-06 16:49:51 +00:00