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
Valere
d3d6d44665
Post rebase fix
2020-03-17 14:40:05 +01:00
Valere
fc6225a7ac
Gossiping refactoring
2020-03-17 14:40:05 +01:00
Valere
b67735c31a
Incoming Secret Share request support
...
crypto DB migration
2020-03-17 14:40:05 +01:00
Benoit Marty
e420070066
Rename to respect naming convention
2020-03-06 13:40:35 +01:00
Benoit Marty
3425dd0a63
Make the tests compile and pass
2020-03-05 17:28:35 +01:00
Benoit Marty
e326631752
Create asValidObject method - make it compiles #2
2020-03-05 15:39:01 +01:00
Benoit Marty
b1b8513da4
Create fromBase64Safe() to parse data received from external source
2020-02-27 19:17:14 +01:00
Benoit Marty
0a9008a73d
Be robust if other client sends padded base64 in the reciprocate
2020-02-27 18:35:05 +01:00
Benoit Marty
6349f9828d
Optimize import
2020-02-26 16:59:20 +01:00
Benoit Marty
989d396c78
Rename package "sas" to "verification"
2020-02-26 16:52:16 +01:00
Valere
f7c128be3d
Fix tests
2020-02-26 12:20:03 +01:00
Valere
d537abc522
Fix / sign current device after entering xsigning passphrase
2020-02-26 12:20:03 +01:00
Valere
0064934db9
Changed Encryption algorithm of 4S
2020-02-26 12:20:03 +01:00
Benoit Marty
b9b921a4df
Code quality
2020-02-25 09:53:17 +01:00
Benoit Marty
c6b3b1e648
Fix bug on test
2020-02-24 17:27:04 +01:00
Benoit Marty
b680e24938
Fix some tests
2020-02-24 16:16:37 +01:00
Benoit Marty
b3c8b5526d
Each session now have it's proper crypto store
2020-02-24 15:03:12 +01:00
Benoit Marty
1b763fb4c8
Cleanup XSigningTest
2020-02-21 18:52:36 +01:00
Benoit Marty
9ef267cb07
Cleanup after each test
2020-02-21 18:36:13 +01:00
Benoit Marty
d167ff9496
Make KeysBackup test pass (still work to do)
2020-02-21 17:58:04 +01:00
Benoit Marty
ccfa59ad31
Cleanup var -> val
2020-02-21 15:05:48 +01:00
Benoit Marty
a9909b37ba
Update after Valere's review
2020-02-20 19:54:35 +01:00
Benoit Marty
74175ddfa0
Add a test and create extension for Byte to avoid using UByte (still experimental)
2020-02-20 10:12:07 +01:00
Benoit Marty
382fc6f05c
Fix issue with long transactionId
2020-02-19 18:59:39 +01:00
Benoit Marty
e81439d57b
Remove v2 suffix
2020-02-19 18:09:33 +01:00
Benoit Marty
f81eb298cb
Cleanup QRCode v1
2020-02-19 18:06:51 +01:00
Benoit Marty
e00d3ef63d
QrCodeV2 WIP (al tests passing)
2020-02-19 17:34:07 +01:00
Benoit Marty
adc545a93d
Merge pull request #1026 from vector-im/feature/crypto_service_renaming
...
Feature/crypto service renaming
2020-02-17 19:21:02 +01:00
Benoit Marty
67ed86fee5
Rename KeysBackup to DefaultKeysBackupService
2020-02-17 18:51:06 +01:00
ganfra
91cbcebf73
Make test compile
2020-02-17 15:50:42 +01:00
Benoit Marty
7ddea99fc6
Move and improve withOlmDecryption() and withOlmEncryption()
2020-02-14 18:51:27 +01:00
Benoit Marty
4c3b754de4
Use const from DefaultSharedSecretStorageService
2020-02-14 18:33:15 +01:00
Benoit Marty
7878da25b8
Use doSync<>() to reduce boilerplate and add test checks
...
and more cleanup
2020-02-14 18:18:20 +01:00
Benoit Marty
01597a89dc
Avoid code duplication
2020-02-14 17:53:27 +01:00
Valere
f99eca8014
Code review
2020-02-14 10:48:18 +01:00
Valere
e0eede1150
cleaning
2020-02-14 10:48:18 +01:00
Valere
64647cb465
Fix / Save account data after update (local echo)
2020-02-14 10:48:18 +01:00
Valere
def01cca8f
Fix test + changes
2020-02-14 10:48:18 +01:00
Valere
108ebea84e
SSSS service + test
2020-02-14 10:48:18 +01:00
Benoit Marty
6acfab3242
Rename VerificationListener to Listener
2020-02-12 11:39:36 +01:00
Benoit Marty
bf02746d87
Clenaup VerificationService.VerificationListener
2020-02-12 11:39:36 +01:00
Benoit Marty
6ff974b3ea
Fix issue with verification when other client declares it can only show QR code ( #988 )
2020-02-12 11:39:36 +01:00
Benoit Marty
d9c007d017
Merge branch 'develop' into feature/stabilization_2
2020-02-05 12:57:42 +01:00
Benoit Marty
3e9b2e4a06
Use the correct enableEncryption() method
2020-02-04 14:04:48 +01:00
Ganard
1728d31401
Fix some issues and make test passes
2020-02-04 13:19:02 +01:00
Ganard
f454078c6b
Clean code
2020-02-03 16:14:36 +01:00
Ganard
e6cd8a3a86
Merge develop into feature/stabilization_2
2020-02-03 13:59:20 +01:00
Benoit Marty
9dde43f65b
PR Review: var -> val, internal and other cleanup
2020-01-30 23:40:25 +01:00
Ganard
5e1b59f9d3
Timeline: handle an in memory local echo to make the UI snappier
2020-01-30 17:13:44 +01:00
Benoit Marty
e1ddde5501
Make CreateRoomParams a regular data class
2020-01-29 14:23:32 +01:00
Benoit Marty
70b04dbaea
Disable not passing test, to avoid waiting too long when running the test suite
2020-01-29 12:36:38 +01:00
Benoit Marty
b44b6726ed
Also update the tests
2020-01-29 12:29:19 +01:00
Valere
2c568b4de9
clean klint
2020-01-29 09:59:09 +01:00
Benoit Marty
0aaba26f17
Rename classes
2020-01-28 15:53:57 +01:00
Benoit Marty
345824daa2
Keep on renaming
2020-01-28 15:48:09 +01:00
Valere
ca4ed6e1bd
Fix / Error management and clear keys
2020-01-28 15:35:11 +01:00
Ganard
1d8b81bb04
Try reworking events/timeline process [WIP]
2020-01-24 18:43:35 +01:00
Valere
d0addc4c4f
Refactored Verification Classes
2020-01-24 11:29:26 +01:00
Benoit Marty
b3089343ad
Support SCAN method (WIP)
2020-01-23 10:47:29 +01:00
Benoit Marty
37b950897f
Base64 no wrap and extension for the reverse operation
2020-01-23 10:17:07 +01:00
Benoit Marty
81337d1624
Also keep the same parameter order: (userId, deviceId) to avoid silly errors
2020-01-22 17:00:16 +01:00
Valere
a0aa1f34d3
Quick Fix todevice verif broken
...
Added dbg screen for cross signing
2020-01-21 14:58:06 +01:00
Valere
390879e3fd
Added check self keys + force DL after initialize Xsigning
2020-01-21 10:25:57 +01:00
Valere
6ab540045b
Refactoring / deprecation of MXDeviceInfo
...
introduced TrustLevels
2020-01-21 10:25:57 +01:00
Valere
98ba2d39a8
SAS verif, support signing and verification of Cross Signing
2020-01-21 10:25:57 +01:00
Valere
859c75df98
Initial commit
2020-01-21 10:25:57 +01:00
Valere
8400ab6efe
Merge branch 'develop' into cross_signing
2020-01-17 14:57:08 +01:00
Benoit Marty
159c96681f
Improve attachment encryption and decryption code
2020-01-16 10:57:08 +01:00
ganfra
d3415d345f
Merge branch 'develop' into feature/room_profile
2020-01-14 18:35:01 +01:00
Valere
fb9abefe59
Merge branch 'develop' into cross_signing
2020-01-10 18:38:54 +01:00
ganfra
171ec4fbdc
Room member list: group by power level
2020-01-10 17:03:11 +01:00
Benoit Marty
35f011ba37
Fix ktlint issues
2020-01-09 14:20:17 +01:00
Benoit Marty
ed773dbb96
TI: Introduce doSync method
2020-01-09 14:20:17 +01:00
Benoit Marty
fa821826d2
TI: Import ExportEncryption test (passing)
2020-01-09 14:20:17 +01:00
Benoit Marty
293e3e3ce6
TI: Import AttachmentEncryption test (passing)
2020-01-09 14:20:17 +01:00
Benoit Marty
4244c0e48d
TI: Import SAS Test - WIP
2020-01-09 14:20:17 +01:00
Benoit Marty
76e45431da
TI: Import keys backup tests
2020-01-09 14:20:17 +01:00
Benoit Marty
f3fb07079e
Cleanup tests
2020-01-09 14:20:17 +01:00