Benoit Marty
ffedd6fcfa
Fix other warning
2021-09-03 17:02:14 +02:00
Benoit Marty
fc22376050
Ignore warning in test.
...
There is probably a better way than using the GlobalScope, but I'm not sure how to do it now.
2021-09-03 17:02:14 +02:00
Benoit Marty
377c4e00a3
Merge pull request #3954 from vector-im/dependabot/gradle/com.android.tools.build-gradle-7.0.2
...
Bump gradle from 4.2.2 to 7.0.2
2021-09-03 12:11:52 +02:00
Valere
1c7e567187
Fix test compilation (autojoin descoped)
2021-09-02 11:56:16 +02:00
Benoit Marty
616e5b17f0
Fix warning
...
provider#androidx.work.impl.WorkManagerInitializer was tagged at AndroidManifest.xml:16 to remove other declarations but no other declaration present
2021-09-02 09:43:39 +02:00
Valere
69c84a2460
support email invite
2021-08-27 17:30:09 +02:00
Paulo Pinto
e61c8c28bb
Standardise spelling and casing of homeserver
...
Signed-off-by: Paulo Pinto <paulo.pinto@automattic.com>
2021-07-15 15:58:50 +01:00
Valere
682e926965
Dnd enhancement
...
+ klint fix
2021-06-17 15:53:35 +02:00
Valere
944c9641a9
Code review
2021-06-17 14:44:24 +02:00
Valere
a1aad53769
Space top level ordering
2021-06-17 14:44:24 +02:00
ganfra
e368ba606b
Account data: allow querying room account data globally from session)
2021-06-09 18:44:30 +02:00
ganfra
0c6506da8c
Account data : define 2 services
2021-06-09 16:20:21 +02:00
Benoit Marty
ea4b5e19fe
VoIP: add protocols checks and third party lookups
...
Add RoomAccountData and handle RoomSyncAccountData
Virtual rooms: add CallUserMapper, branch onNewInvite and mapping, hide them on sdk side (not ideal solution)
Introduce SessionScopedProperty to handle session dependency in the app
Author: ganfra (rebased by Benoit)
2021-05-27 10:28:32 +02:00
Benoit Marty
8d94b5548d
Merge pull request #3316 from vector-im/feature/bma/secretstoring_migration
...
Feature/bma/secretstoring migration
2021-05-20 15:45:58 +02:00
Benoit Marty
babbcedd87
Fix warning 1.5: 'Char.toByte(): Byte' is deprecated
2021-05-14 12:49:38 +02:00
Benoit Marty
824a8a5c66
Fix copyright
2021-05-11 14:06:49 +02:00
Benoit Marty
91be2b6f3f
Add test and handle system upgrade
2021-05-11 14:06:49 +02:00
Benoit Marty
cef4cf09ec
Create a BuildVersionSdkIntProvider to be able to inject it and do some test
...
To merge with BuildVersionSdkIntProvider
To merge with fix add module
To merge with fix buildVersionSdkIntProvider
2021-05-11 13:52:08 +02:00
Valere
efe5176286
rename activeSpaceId to activeSpaceFilter
2021-05-05 22:36:27 +02:00
Valere
4abfc1fd2b
Fix space test + room history visibility bug
2021-05-05 17:46:58 +02:00
Benoit Marty
61380bf48a
Use Junit import
2021-05-04 15:28:52 +02:00
Valere
7d3d080603
Code review
2021-04-28 11:15:58 +02:00
Valere
7910e84d8e
Fix test compilation
2021-04-28 11:15:58 +02:00
Valere
8a35a786b4
Post rebase fixes
2021-04-28 11:15:58 +02:00
Benoit Marty
66ac298e95
Benoit Review: cleanup 2
2021-04-28 11:15:58 +02:00
Benoit Marty
46290f1ed4
Benoit Review: cleanup
2021-04-28 11:15:58 +02:00
Valere
dda45f1c2a
Fix public space guest access & history visibility
2021-04-28 11:15:58 +02:00
Valere
ea5e48b940
1 depth hierarchy support in space panel
2021-04-28 11:15:58 +02:00
Valere
0c5ca9f51b
Space hierachy SDK updates
2021-04-28 11:15:58 +02:00
Valere
883f70306f
Rebase Fixes
2021-04-28 11:15:58 +02:00
Valere
c8916ee83c
Udpate since msc 1772
2021-04-28 11:15:58 +02:00
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
Benoit Marty
5c7a5fab94
Improve API: rename the method and return empty list instead of null
2020-11-05 15:47:28 +01:00
Onuray Sahin
9ed529b944
Merge branch 'develop' into feature/ons/fix_markdown_formatter
2020-11-04 13:43:26 +03:00
Onuray Sahin
bbc3dc0504
Set br softbreak to html parser.
2020-11-04 13:42:52 +03:00
Onuray Sahin
f24b593349
Update MarkdownParserTest.
2020-11-03 15:56:51 +03:00
Benoit Marty
fca0aa2cc4
KeysBackup: Avoid using !!
, should fix #2262
2020-10-30 17:17:25 +01:00
Benoit Marty
0bcf42dbb8
KeysBackup: some API parameters are mandatory, so stop considering them as optional and avoid using !!
...
Also fix an issue with Json name: `hash` -> `etag`
Add some `internal` modifier (not as much as I would like to)
var -> val
Remove unused code
2020-10-30 16:14:33 +01:00
Benoit Marty
4791eb85af
Merge pull request #2283 from vector-im/feature/bca/crypto_perf
...
Crypto cleaning and perf improvement
2020-10-30 11:11:34 +01:00
Valere
9bf5059631
Fix test helper not working
2020-10-29 12:55:26 +01:00
Benoit Marty
4433436416
Room member profile: Add action to create (or open) a DM ( #2310 )
2020-10-28 18:13:36 +01:00
Benoit Marty
db1f129034
Improve detection of encrypted rooms
2020-10-13 11:27:46 +02:00
Benoit Marty
9dc1034891
Fix some of the non-passing tests
2020-10-13 09:47:34 +02:00
Benoit Marty
68947588d7
Replace deprecated shouldEqual and shouldEqualTo by shouldBeEqualTo
2020-10-12 22:30:18 +02:00
Benoit Marty
0fc92889c1
Fix test compilation issue
2020-10-12 22:14:46 +02:00
Benoit Marty
bc339191ea
Fix Copyright mention
2020-10-08 15:11:01 +02:00
Benoit Marty
44114e66c2
Fix Copyright mention in SDK code
2020-10-08 15:04:55 +02:00
Benoit Marty
ebfee5868e
Remove OkReplay, not compatible to build tools 4.0.1
(and not used)
2020-10-06 13:06:24 +02:00
Benoit Marty
f030e098a8
Fix code quality and compilation test
2020-10-02 17:18:39 +02:00
Onuray Sahin
8759bcca84
Map api response to a domain object.
2020-10-01 14:48:55 +02:00
Onuray Sahin
f1a979caa1
Make SearchTask accessible from room.
2020-10-01 14:48:55 +02:00