Travis Ralston
d924617672
Add invite retries to file trees
2021-06-16 20:24:48 -06:00
Travis Ralston
13c9c4bea5
Add functions to assist in immutability of Event objects
2021-06-15 14:23:27 -06:00
Travis Ralston
d7b23a8634
liiiinttteeerrrr
2021-06-14 13:37:19 -06:00
Travis Ralston
6db7972f04
preset
2021-06-14 13:35:20 -06:00
Travis Ralston
991a255041
Fix average on .5
2021-06-14 11:55:41 -06:00
Travis Ralston
cfef635e1b
Appease the linter
2021-06-14 10:41:32 -06:00
Travis Ralston
d3027e1fe8
Offset the alphabet by 1
2021-06-14 10:28:26 -06:00
Travis Ralston
9af214007e
APPEASE. THE. LINTER.
2021-06-11 11:37:44 -06:00
Travis Ralston
0541b7f3c5
Remove a layer of indirection
2021-06-11 11:36:52 -06:00
Travis Ralston
63fa774af7
Another round of appeasement
2021-06-11 11:34:37 -06:00
Travis Ralston
4b19b36de1
Crude JS->TS conversion on utils test because of linter and BigInt
2021-06-11 11:27:46 -06:00
Travis Ralston
5715df6b18
BigInt, rollover, and developer lint
2021-06-11 11:18:18 -06:00
Travis Ralston
f1e270ca9d
appease the linter
2021-06-10 15:54:56 -06:00
Travis Ralston
f535e7535c
Update string averaging utils
2021-06-10 15:38:49 -06:00
Travis Ralston
e41a2beb65
de-lint
2021-06-09 22:09:26 -06:00
Travis Ralston
bcccc909c5
Pre-lint format
2021-06-09 21:55:06 -06:00
Travis Ralston
b3a11030f2
Early file management APIs
2021-06-09 21:54:17 -06:00
Travis Ralston
baaf76668f
Early directory management
2021-06-09 21:54:17 -06:00
Travis Ralston
9084b4e7aa
Early implementation of MSC3089 (file trees)
...
MSC: https://github.com/matrix-org/matrix-doc/pull/3089
Includes part of MSC3088 (room subtyping): https://github.com/matrix-org/matrix-doc/pull/3088
The NamespacedValue stuff is borrowed from the Extensible Events implementation PR in the react-sdk as a useful thing to put here. When/if the MSCs become stable, we'd convert the values to enums and drop the constants (or keep them for migration purposes, but switch to stable).
This flags the whole thing as unstable because it's highly subject to change.
2021-06-08 14:43:20 -06:00
Šimon Brandner
0e05f9fd73
Styling
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-06-04 11:41:35 +02:00
Šimon Brandner
ef7595bb06
Merge remote-tracking branch 'upstream/develop' into fix/12652/screen-share
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-06-04 11:38:13 +02:00
J. Ryan Stinnett
220061f022
Merge remote-tracking branch 'origin/develop' into jryans/semi-linting
2021-06-04 10:22:06 +01:00
Šimon Brandner
090c2c0891
Merge remote-tracking branch 'upstream/develop' into fix/12652/screen-share
2021-06-04 08:27:46 +02:00
Travis Ralston
c2fae3bad8
Fix missed conversion fallout
2021-06-03 19:02:46 -06:00
Travis Ralston
f53a32a6b4
Merge branch 'develop' into travis/ts-mtxcli
2021-06-03 18:49:08 -06:00
Hubert Chathi
e22ecc6b6d
Merge branch 'develop' into backup_refactor
2021-06-03 18:43:46 -04:00
Travis Ralston
9156bed961
Tests pass 2
2021-06-02 13:42:20 -06:00
Travis Ralston
71dc0bac56
Tests pass 1
2021-06-02 13:42:20 -06:00
Travis Ralston
e1edd84700
Early pass to fix runtime/build errors
2021-06-02 13:42:20 -06:00
J. Ryan Stinnett
e2ec8952e3
Fix semicolons in TS files
...
This updates the linting config to include the semi fix in
https://github.com/matrix-org/eslint-plugin-matrix-org/pull/8 . The various semi
errors have been auto-fixed.
2021-06-02 11:49:39 +01:00
Hubert Chathi
c543358826
add unit test and minor fixes
2021-05-31 21:52:20 -04:00
Šimon Brandner
5724462c2c
Delint
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-05-28 17:45:52 +02:00
Šimon Brandner
0a0489750c
Add missing space
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-05-28 17:37:55 +02:00
Šimon Brandner
f46190509a
Merge remote-tracking branch 'upstream/develop' into fix/12652/screen-share
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-05-28 17:37:17 +02:00
J. Ryan Stinnett
8805dd8c01
Auto-fix lint errors
2021-05-28 11:15:10 +01:00
Šimon Brandner
4aa2c03ff0
Merge branch 'develop' into fix/12652/screen-share
2021-05-27 18:23:22 +02:00
Germain
3a3be36f4c
Merge pull request #1688 from matrix-org/gsouquet/pr-review-linting-rules
2021-05-27 16:03:36 +01:00
Germain Souquet
cb91c4292c
Merge branch 'develop' into gsouquet/pr-review-linting-rules
2021-05-27 16:00:12 +01:00
Hubert Chathi
07bfa5532e
fix more unit tests
2021-05-26 18:18:30 -04:00
J. Ryan Stinnett
270be2df7a
Emit relations created when target event added later
...
This changes the "relations created" event to ensure it is properly emitted even
if the target event is added to the timeline after the relation event. There was
perhaps always a risk of this happening in the past, but is seems more likely to
bite now with delayed decryption.
Part of https://github.com/vector-im/element-web/issues/17461
2021-05-26 16:35:49 +01:00
Hubert Chathi
98e2154f0f
fix unit tests
2021-05-25 21:59:08 -04:00
Šimon Brandner
c2da4376e0
Merge remote-tracking branch 'upstream/develop' into fix/12652/screen-share
2021-05-19 15:21:00 +02:00
J. Ryan Stinnett
4b0db6c472
Guard against duplicates in Relations
model
...
The `Relations` model was relying on object reference equality to prevent
duplicates, which breaks down if we ever have two objects that represent the
same event.
This fixes things to additionally track event IDs we've seen before and discard
any attempts to add them twice.
Fixes https://github.com/vector-im/element-web/issues/11161
2021-05-19 13:20:40 +01:00
Šimon Brandner
78ebf8f117
Merge remote-tracking branch 'upstream/develop' into fix/12652/screen-share
2021-05-19 08:46:54 +02:00
Germain
9a9ed124f5
Use native Object and Array methods ( #1693 )
2021-05-13 17:20:09 +01:00
Germain Souquet
5caf05cfa1
Apply new linting rules
2021-05-11 11:25:43 +01:00
Šimon Brandner
ff60bbac9d
Remove import that was a mistake
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-05-10 07:35:25 +02:00
Šimon Brandner
1e0d6b9d4a
Jest: should fallback to replaceTrack() if the other side doesn't support SPDStreamMetadata
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-05-08 15:50:20 +02:00
Šimon Brandner
b67cd94ee2
Jest: should map SDPStreamMetadata to feeds
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-05-08 15:39:11 +02:00
David Baker
bca8568d64
missing semicolon
2021-04-20 12:58:33 +01:00