Travis Ralston
b360fc8308
Fix test failure
2021-06-02 18:42:52 -06:00
Travis Ralston
bf9ba65ac4
Fix olmVersion types
2021-06-02 13:42:20 -06:00
Travis Ralston
43abfbc537
Upstream build pass 2
2021-06-02 13:42:20 -06:00
Travis Ralston
2700f0acf6
Upstream build pass 1
2021-06-02 13:42:20 -06: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
40f55b2964
Lint pass 4
2021-06-02 13:42:20 -06:00
Travis Ralston
9307f9f345
Build pass 2
2021-06-02 13:42:20 -06:00
Travis Ralston
dfb918adc3
Lint pass 3
2021-06-02 13:42:20 -06:00
Travis Ralston
2f87a4859e
Lint pass 2
2021-06-02 13:42:20 -06:00
Travis Ralston
191f73e0d0
Appease typescript
2021-06-02 13:42:20 -06:00
Travis Ralston
263e55f25d
Build pass 1
2021-06-02 13:42:20 -06:00
Travis Ralston
5c55dce13e
Lint pass 1
2021-06-02 13:42:20 -06:00
Travis Ralston
a1a6ec6dfa
Fix remaining hot paths
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
Travis Ralston
07ee256756
Incorporate https://github.com/matrix-org/matrix-js-sdk/pull/1720
2021-06-02 13:42:20 -06:00
Travis Ralston
48888e530e
Defer types
2021-06-02 13:42:20 -06:00
Travis Ralston
4ef50bef55
define this.identityServer
2021-06-02 13:42:20 -06:00
Travis Ralston
486369e97c
Clean up "base-apis" find&replace
2021-06-02 13:42:20 -06:00
Travis Ralston
67994f7a53
Move new MatrixClient into place
2021-06-02 13:42:20 -06:00
Travis Ralston
f027ddaf35
Autoformat
2021-06-02 13:42:20 -06:00
Travis Ralston
f3b27d1e06
Cleanup
2021-06-02 13:42:20 -06:00
Travis Ralston
92e18b32dc
Import MatrixError
2021-06-02 13:42:20 -06:00
Travis Ralston
4030ec9c8b
Fix easy typing errors
2021-06-02 13:42:20 -06:00
Travis Ralston
497c2dc8df
Bring in BaseApis to MatrixClient
2021-06-02 13:42:20 -06:00
Travis Ralston
8a1d34c419
[Combined] First pass of JS->TS for MatrixClient
2021-06-02 13:42:20 -06:00
Travis Ralston
caab5befaa
Rename client.js -> 1client.ts for future commits
2021-06-02 13:42:20 -06:00
Travis Ralston
0d316e3d3e
Move useful docs to ICreateClientOpts
2021-06-02 13:42:20 -06:00
David Baker
8f9a682d34
Merge pull request #1725 from matrix-org/dbkr/revert_1579
...
Revert 1579 (Fix extra negotiate message in Firefox)
2021-06-02 15:04:17 +01:00
David Baker
102d5acf09
Revert 1579
...
This is causing all sorts of problems, like
https://github.com/vector-im/element-web/issues/17450
and also issues where we fail to respond to negotiates because
we can't adjust a direction of a stopped transceiver. Until
s/inactive/sendonly/ let's live with the minor firefox bug rather
than all this brokenness.
2021-06-02 14:41:55 +01:00
Michael Telatynski
801b4022de
Merge pull request #1720 from matrix-org/t3chguy/fix/17521
...
Switch to stable endpoint/fields for MSC2858
2021-06-01 12:07:25 +01:00
Michael Telatynski
e78fbd1dff
Switch to stable endpoint/fields for MSC2858
2021-06-01 11:01:10 +01:00
Travis Ralston
ff2954839b
Merge pull request #1715 from matrix-org/dependabot/npm_and_yarn/ws-7.4.6
...
Bump ws from 7.4.2 to 7.4.6
2021-05-29 21:44:48 -06:00
dependabot[bot]
1a91b88968
Bump ws from 7.4.2 to 7.4.6
...
Bumps [ws](https://github.com/websockets/ws ) from 7.4.2 to 7.4.6.
- [Release notes](https://github.com/websockets/ws/releases )
- [Commits](https://github.com/websockets/ws/compare/7.4.2...7.4.6 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-05-29 21:09:19 +00:00
Germain
25ec81b6c7
Merge pull request #1712 from matrix-org/gsouquet/fix/17393
...
Make consistent call event type checks
2021-05-28 13:09:35 +01:00
J. Ryan Stinnett
a50802a63f
Merge pull request #1714 from matrix-org/jryans/babel-config
...
Apply new Babel linting config
2021-05-28 13:04:06 +01:00
J. Ryan Stinnett
ce1d374a82
Merge pull request #1709 from matrix-org/dependabot/npm_and_yarn/browserslist-4.16.6
...
Bump browserslist from 4.16.1 to 4.16.6
2021-05-28 11:41:38 +01:00
J. Ryan Stinnett
6dca8ac460
Switch to new Babel lint config
...
This also adjusts the TypeScript project lint config to cover *.ts test files
too.
2021-05-28 11:39:06 +01:00
J. Ryan Stinnett
4dc21674d5
Fix log usage
2021-05-28 11:30:20 +01:00
J. Ryan Stinnett
8805dd8c01
Auto-fix lint errors
2021-05-28 11:15:10 +01:00
David Baker
73b624e761
Merge pull request #1713 from matrix-org/dbkr/user_busy
...
Add user_busy call hangup reason
2021-05-28 09:42:56 +01:00
David Baker
c44fd972b6
Add user_busy call hangup reason
...
And fix hangup reasons in reject events
2021-05-27 18:56:27 +01:00
J. Ryan Stinnett
ff344bc110
Switch lint parsers
2021-05-27 17:51:03 +01:00
J. Ryan Stinnett
b0e2a38325
Auto-fix lint errors
2021-05-27 17:50:16 +01:00
J. Ryan Stinnett
fbb741ab10
Switch to new Babel linting config
2021-05-27 17:49:35 +01: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
Germain Souquet
80722ce145
make consistent call event type checks
2021-05-27 09:55:50 +01:00
J. Ryan Stinnett
cea1a3ff91
Merge pull request #1710 from matrix-org/jryans/hidden-events-reactions
...
Emit relations created when target event added later
2021-05-26 17:34:47 +01: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