Šimon Brandner
74a875aa23
Add MockMediaDeviceInfo
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-10-10 08:19:29 +02:00
Travis Ralston
eab0c54663
Appease the linter
2021-09-25 20:47:59 -06:00
Travis Ralston
82a254b7bd
Implement file versioning for tree spaces
...
The diff isn't super clear on how this works, but the general idea is that the MSC3089Branches (files) now know which directory they came from, and the directories (MSC3089TreeSpace) can tell when files are triggering uploads referencing themselves so it can add all the replacement metadata onto the event.
There's a few challenges with how relations work in the js-sdk which has shaped the API surface exposed by this change. Specifically, there is a `getVersionHistory()` function instead of a function to get a certain prior version: the js-sdk doesn't track parent events in the relation structures so cannot determine what the event could have replaced.
In order to trigger the built-in relations structures, we must trigger decryption with `emit: true`. This is so an internal listener in the relations system can pick up `Event.decrypted`.
2021-09-25 20:44:17 -06:00
Germain Souquet
f8ec445ff0
Fix addLiveEvent with 'replace' strategy
2021-09-22 17:14:18 +01:00
Šimon Brandner
6addc7dd3d
Add MockMediaStream
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-09-18 12:27:08 +02:00
Travis Ralston
799606b73c
Merge pull request #1909 from matrix-org/travis/fsdk/locking
...
Add file locking to MSC3089 branches
2021-09-14 12:39:41 -06:00
Travis Ralston
c048f5d357
Merge pull request #1910 from matrix-org/travis/fsdk/tests
...
Add missing tests for MSC3089 implementation
2021-09-14 12:37:54 -06:00
RiotRobot
8ca3a071f9
Merge branch 'master' into develop
2021-09-14 15:51:45 +01:00
David Baker
32d7272939
Tests for key sharing security fix
...
Tests for 894c24880d
2021-09-14 15:24:15 +01:00
Travis Ralston
d9f8710758
Add missing tests for MSC3089 implementation
...
Fixes https://github.com/vector-im/element-web/issues/18461
2021-09-10 14:44:50 -06:00
Travis Ralston
3a9d5439a2
Add tests
2021-09-10 14:18:11 -06:00
Michael Telatynski
3bbb7df72d
fix tests private field access
2021-09-08 12:57:12 +01:00
Michael Telatynski
0830a30498
Fix tests
2021-09-07 14:36:10 +01:00
Travis Ralston
4e2ee3b3a8
It helps to fix the other tests too
2021-08-11 15:18:24 -06:00
Travis Ralston
1f9fab9a0c
Fix conditional on returning file tree spaces
...
If a tree space was deleted then it'll still hold a Room object for us, which is not much help if we're effectively trying to get the joined trees.
2021-08-11 15:11:13 -06:00
Germain Souquet
026260502b
Fix linting issues in TypeScript test files
2021-08-05 11:37:27 +02:00
Šimon Brandner
2d25150a21
Write tests for recursivelyAssign()
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-07-28 17:57:16 +02:00
Šimon Brandner
23ab3e3ec0
Test mute metadata gets mapped onto feeds
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-07-28 15:29:28 +02:00
David Baker
a69d9a9f20
Merge pull request #1685 from SimonBrandner/fix/12652/screen-share
...
Support for screen-sharing using multi-stream VoIP (MSC3077)
2021-07-27 15:36:40 +01:00
Brad Murray
4f8c20ddae
Fix reattempting decryption check
2021-07-26 07:49:42 -04:00
Šimon Brandner
019abc7ad8
Merge remote-tracking branch 'upstream/develop' into fix/12652/screen-share
2021-07-25 08:13:23 +02:00
Christian Paul
afa67688f8
Add test for service member who is not a room member
2021-07-20 12:51:08 +02:00
Christian Paul
b8c2a57829
Add test with multiple service_members
2021-07-19 18:17:39 +02:00
Christian Paul
324cd886a2
Merge remote-tracking branch 'origin/develop' into j94/functional-members
2021-07-19 18:00:59 +02:00
Christian Paul
4cf655785e
Add tests
2021-07-19 17:59:11 +02:00
Šimon Brandner
1607ad2111
Merge remote-tracking branch 'upstream/develop' into fix/12652/screen-share
2021-07-16 20:11:39 +02:00
Hubert Chathi
ef8e4d6d35
fix the tests that got broken by the last commit
2021-07-08 11:19:46 -04:00
Hubert Chathi
9f4c5af665
fix test
2021-07-07 20:19:23 -04:00
Hubert Chathi
17dc1bda19
Merge branch 'develop' into symmetric_backup
2021-07-07 19:19:56 -04:00
Šimon Brandner
641c852ee2
Merge remote-tracking branch 'upstream/develop' into fix/12652/screen-share
2021-07-07 10:43:23 +02:00
Michael Telatynski
a99c1e96d6
fix field accesses in tests and default params
2021-07-01 21:05:58 +01:00
J. Ryan Stinnett
e3a00c2cb4
Merge pull request #1754 from aaronraimist/string-pl
...
Do not honor string power levels
2021-06-30 16:39:44 +01:00
Aaron Raimist
047180edc9
Merge branch 'develop' into string-pl
2021-06-28 22:17:55 -05:00
Michael Telatynski
40aa6ba96a
Even moar typescriptification
2021-06-24 19:19:41 +01:00
Hubert Chathi
8c9799d64c
add tests and some fixes
2021-06-23 18:20:00 -04:00
Michael Telatynski
3a5e4ffa91
Fix yet more underscored accesses
2021-06-23 15:54:48 +01:00
Michael Telatynski
e9007429dd
fix more underscored accesses
2021-06-23 15:02:01 +01:00
Michael Telatynski
5a8299f1a5
Convert more of js-sdk crypto and fix underscored field accesses
2021-06-23 14:47:25 +01:00
Aaron Raimist
b18f0ff738
Do not honor string power levels
...
Signed-off-by: Aaron Raimist <aaron@raim.ist >
2021-06-22 22:34:34 -05:00
Travis Ralston
75719c3e0f
Merge pull request #1744 from matrix-org/travis/keyshare-file-trees
...
Add keysharing on invites to File Tree Spaces
2021-06-22 10:48:57 -06:00
Michael Telatynski
2fb033b5ba
Merge pull request #1746 from matrix-org/t3chguy/ts/5
2021-06-22 17:41:26 +01:00
Travis Ralston
36bd4b5408
Merge remote-tracking branch 'origin/develop' into travis/event-fixes
2021-06-18 11:15:00 -06:00
Michael Telatynski
9dd00c7731
Fix tests and tweak some optional types
2021-06-18 17:40:04 +01:00
Michael Telatynski
cbce2f46c3
Fix position of invite_room_state on the event
2021-06-18 15:30:30 +01:00
Michael Telatynski
2c6858f149
Merge pull request #1742 from matrix-org/t3chguy/ts/5
2021-06-18 09:49:00 +01:00
Travis Ralston
c1bff0b2ea
delint
2021-06-17 17:38:57 -06:00
Travis Ralston
39892c98f9
Add keysharing on invites to File Tree Spaces
2021-06-17 17:36:49 -06:00
Travis Ralston
b15487ec03
Misc lint
2021-06-17 14:24:39 -06:00
Michael Telatynski
b1b7522b80
Fix tests by updating private field names and spies
2021-06-17 15:18:52 +01:00
Travis Ralston
fe5bfbf76f
The linter needed appeasing
2021-06-16 20:27:03 -06:00