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
Onuray Sahin
c46f0a7430
Simple integration test implementation for searching messages in a room.
2020-10-01 14:48:55 +02:00
Benoit Marty
b14d22550b
PR Review
...
Cleanup and Add command line to run the UI tests
2020-09-29 15:12:25 +02:00
Benoit Marty
d1fed08764
Rename tryThis
to tryOrNull
2020-09-21 18:26:35 +02:00
Benoit Marty
43f34f6330
Fix issue on test compilation
2020-09-16 20:40:05 +02:00
Benoit Marty
82bf0dcae9
Create a RawService SDK side, to avoid that the SDK manage client needs
2020-09-16 16:17:10 +02:00
Valere
e0c5377968
Merge branch 'develop' into feature/enhance_big_files
2020-09-03 17:09:40 +02:00
Valere
7c638798c7
Code review
2020-09-03 14:53:13 +02:00
Valere
8340d5e71f
Fix tests
2020-09-03 09:38:40 +02:00
Benoit Marty
be3157b6f5
Do not strip new lines. Many tests are not passing, we should work more on it...
2020-09-03 09:24:44 +02:00
Benoit Marty
ae9afcc393
Add test to cover line break
2020-09-03 09:16:37 +02:00
Benoit Marty
e73480c0ef
Riot -> Element
2020-09-03 09:06:12 +02:00
Benoit Marty
8c801ae078
API change: encrypted files are now decrypted internally, no need to expose decryptStream() anymore
2020-09-02 19:01:26 +02:00
Benoit Marty
484fd61706
Make MarkdownParserTest tests pass again
2020-09-02 09:04:16 +02:00
Benoit Marty
6c943571fc
Remove useless TextContentRenderer
2020-09-01 22:22:27 +02:00
Valere
dd09c4a72d
post rebase fix
2020-08-31 16:21:27 +02:00
Valere
bfcbb9ff4f
Rebase post matrix sdk package renaming
2020-08-31 16:21:27 +02:00
Benoit Marty
ee9c73fde1
Sonar: rename variables and parameter to follow naming convention
2020-08-28 08:58:57 +02:00
Tobias Preuss
ed98613b2d
Use File extension functions to make code more concise.
...
+ This change replaces a few usages of ByteArrayInputStream, FileInputStream,
FileOutputStream with their equivalent Kotlin extension functions.
2020-08-24 18:01:30 +02:00
Benoit Marty
11b5512cb8
Rename package of SDK modules
2020-08-13 12:50:58 +02:00
ganfra
1436477a14
Rework a bit user account data (and avoid blocking syncs)
2020-07-20 19:52:24 +02:00
Benoit Marty
aba8a3fed1
Fix test compilation issue
2020-07-11 22:49:29 +02:00
Benoit Marty
e097bd8117
Rename CreateRoomParamsBuilder to CreateRoomParams for clarity
2020-07-11 22:15:26 +02:00
Benoit Marty
4b3a6a883d
CreateRoomParams has been replaced by CreateRoomParamsBuilder, to be able to invite 3pids
2020-07-11 22:10:52 +02:00
Valere
668967546c
Fix / if listener is not removed messages could be duplicated
2020-06-30 17:36:24 +02:00
Valere
5bd448405b
Fix test compilation
2020-06-30 17:36:24 +02:00
Valere
a9191b8fad
klint
2020-06-30 17:36:24 +02:00
Valere
3fa2647e92
Send with held code on key requests
2020-06-30 17:36:24 +02:00
Valere
102b8f88d0
Persist shared session info (enhance key reshare)
2020-06-30 17:36:24 +02:00
Valere
4ca0c23e2a
Mock Http requests for test
2020-06-30 17:36:24 +02:00
Valere
dbe78f160b
WithHeld key support initial commit
2020-06-30 17:35:24 +02:00
Benoit Marty
0d9a10f5fa
Fix test compilation
2020-06-26 21:33:47 +02:00
Tobias Preuss
25f45da195
Use indexing operator.
2020-06-23 18:25:37 +02:00
Tobias Preuss
3e79da6a79
Infer type.
2020-06-22 12:08:49 +02:00
Benoit Marty
af8ab57e60
Rename methods and variables for code clarity
2020-06-22 09:14:59 +02:00
Benoit Marty
b29c2b2de4
Send plain text in the body
...
According to https://matrix.org/docs/spec/client_server/latest#m-room-message-msgtypes , the plain text version of the HTML should be provided in the body.
Also create MarkdownParser class to be able to unit test it.
2020-06-03 18:44:35 +02:00
Benoit Marty
ca37895619
Merge pull request #1374 from vector-im/feature/sas_v2
...
support new key agreement method for SAS
2020-05-20 18:32:01 +02:00
ganfra
e1c6542e03
Merge branch 'develop' into feature/forward_pagination
2020-05-19 15:25:33 +02:00
ganfra
01484978bd
Fix lint
2020-05-19 15:24:36 +02:00
ganfra
cad14c93d0
Timeline: fix tests and add message order check
2020-05-19 14:39:42 +02:00
Valere
e0977dd97b
Add new key agreement protocol
2020-05-19 09:55:45 +02:00
Benoit Marty
4c31e52892
Add facilities and Javadoc on SessionParams data class
2020-05-18 17:23:33 +02:00
Benoit Marty
3aa6de7cf5
Identity: progressing
2020-05-18 17:21:59 +02:00
Benoit Marty
a4b8dc9400
Fix test compilation issue
2020-05-05 11:49:03 +02:00
Benoit Marty
ffeae7ec83
Fix timeline navigation when opening an event in a previous lastForward chunk.
...
In this case, we do not have a nextToken, but there are more event to load. So we perform a GET /context on the last known event.
Not sure it is correct to do that though...
2020-05-05 02:41:32 +02:00
Benoit Marty
2b9d3960b3
Improve tests
2020-05-05 02:41:32 +02:00
Benoit Marty
92befcde5d
Add test to cover previous last forward case (passing)
2020-05-05 02:41:32 +02:00
Benoit Marty
697eaec197
TI: After jump to unread, newer messages are never loaded ( #1008 )
2020-05-05 02:41:32 +02:00
Benoit Marty
bfd847179f
Wait more
2020-05-05 00:14:57 +02:00
Benoit Marty
7e955ef0e4
Add possibility to create clear room
2020-05-05 00:14:57 +02:00
ganfra
8942ce964a
Fix android test not compiling
2020-04-28 19:09:20 +02:00
Benoit Marty
af0b798ef1
Ensure Timber log output when running tests
...
to squash
2020-04-24 13:38:28 +02:00
Benoit Marty
51be8d5ed5
Remove previous temporary solution
2020-04-24 13:26:25 +02:00
Benoit Marty
4ee13b6fa1
Merge branch 'develop' into feature/unwedging
2020-04-23 18:20:09 +02:00
Valere
e37dd547b8
code review
2020-04-22 18:50:59 +02:00
Valere
9b320ed3c7
Fix unwedging
2020-04-22 15:40:59 +02:00
Benoit Marty
5755d5bfaa
Deactivate account: unit test and cleanup
2020-04-22 14:36:01 +02:00
Benoit Marty
c39a0e4fd5
timout -> timeout
2020-04-21 00:29:44 +02:00
Benoit Marty
c1acb1af66
Add integration test for change password feature
2020-04-21 00:23:01 +02:00
Benoit Marty
a6368c473e
Restart broken Olm sessions ([MSC1719]( https://github.com/matrix-org/matrix-doc/pull/1719 ))
2020-04-20 18:07:14 +02:00
Benoit Marty
ddb00ba23a
Enable Timber log in integration tests
2020-04-20 18:07:14 +02:00
Benoit Marty
5900245018
Make the test fail before unwedging implementation
2020-04-20 18:07:14 +02:00
Benoit Marty
00c239bc42
cleanup
2020-04-20 18:07:14 +02:00
Benoit Marty
0cb43eef51
Add test for Unwedging (before implementing it)
2020-04-20 18:07:14 +02:00
Benoit Marty
a8641ef879
Split KeysBackup to several files. No other change.
2020-04-20 18:07:14 +02:00
Valere
0edc562120
Fix / test compilation
2020-04-16 11:30:10 +02:00
Valere
12abca1b80
Fix / Send gossip request on other done received
2020-04-07 19:09:56 +02:00
Valere
d4d73db5ae
keybackup gossip test
2020-04-07 15:15:45 +02:00
Valere
cfcec04029
code cleaning
2020-03-24 14:57:51 +01:00
Valere
e36367c040
Fix / sending secret encryption + refactoring
2020-03-23 16:27:17 +01:00
Valere
4f70c40b1a
Refactor + share secret window implementation
2020-03-23 11:13:33 +01:00
Valere
6fe77eba72
code review
2020-03-18 11:25:49 +01:00
Valere
286a5081ff
Verif / handle concurrent start
...
Fixes #794
2020-03-18 10:07:57 +01:00
Valere
8051d9e3be
cleaning
2020-03-17 14:40:05 +01:00