J. Ryan Stinnett
a034ca171e
Merge pull request #1631 from SimonBrandner/remove-export
...
Remove export keyword from global.d.ts
2021-03-08 14:11:37 +00:00
Šimon Brandner
f630a9f297
Remove export
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-03-06 16:14:12 +01:00
J. Ryan Stinnett
92032a17a8
Merge pull request #1445 from florianjacob/patch-1
...
Fix IndexedDB store creation example
2021-03-04 16:28:05 +00:00
David Baker
e531456d42
Merge pull request #1613 from SimonBrandner/constraint-cleanup
...
An attempt to cleanup how constraints are handled in calls
2021-03-03 15:03:53 +00:00
Šimon Brandner
f0b2d2fe4d
Null-check screenshareConstraints
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-03-03 15:38:49 +01:00
Šimon Brandner
427500220d
Remove AudioVideo ConstraintsType
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-03-03 15:35:02 +01:00
Šimon Brandner
32e19ead74
Merge branch 'develop' into constraint-cleanup
2021-03-03 15:30:46 +01:00
J. Ryan Stinnett
d11adb6f43
Merge pull request #1628 from matrix-org/jryans/opt-display-name
...
Extract display name patterns to constants
2021-03-03 11:44:30 +00:00
Travis Ralston
f6155a50f6
Merge pull request #1630 from matrix-org/dependabot/npm_and_yarn/pug-code-gen-2.0.3
...
Bump pug-code-gen from 2.0.2 to 2.0.3
2021-03-02 21:55:39 -07:00
dependabot[bot]
4efee9445d
Bump pug-code-gen from 2.0.2 to 2.0.3
...
Bumps [pug-code-gen](https://github.com/pugjs/pug ) from 2.0.2 to 2.0.3.
- [Release notes](https://github.com/pugjs/pug/releases )
- [Commits](https://github.com/pugjs/pug/compare/pug-code-gen@2.0.2...pug@2.0.3 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-03-03 03:35:37 +00:00
J. Ryan Stinnett
20746a433f
Extract display name patterns to constants
...
This changes to constant patterns for calculating display names, which cuts out
~18% of the time spent and reduces GC pressure as well.
2021-03-02 17:52:57 +00:00
J. Ryan Stinnett
31dacc4206
Merge pull request #1627 from matrix-org/jryans/olm-session-deadlock
...
Avoid deadlocks when ensuring Olm sessions for devices
2021-03-02 14:35:04 +00:00
J. Ryan Stinnett
88e5c59a85
Fix lint warning on OTK result variable
2021-03-02 13:03:12 +00:00
J. Ryan Stinnett
cf74920b36
Remove redundant Olm session in progress deletion
...
This removes extra steps that duplicated deletion of an in progress Olm session.
Resolving the promise handles removing the session from the in progress set, so
there's no need to do it again. There's also no need to delete from
`resolveSession`, as it's okay to resolve a promise multiple times.
2021-03-02 12:58:09 +00:00
J. Ryan Stinnett
972c900b58
Remove unused support for rejecting in progress Olm sessions
...
This removes the unused `reject` path for in progress Olm sessions to simplify
understanding the code.
2021-03-02 12:55:43 +00:00
J. Ryan Stinnett
12d5fd79f7
Avoid deadlocks when ensuring Olm sessions for devices
...
This reworks tracking the Olm sessions a particular task is updating to avoid
deadlocks. By ensuring we synchronously mark all sessions a task cares about as
in progress from the start, we know that no other tasks will own updating a
session in common, which avoids deadlocks across multiple tasks that might be
working on a shared set of devices.
Fixes https://github.com/vector-im/element-web/issues/16194
2021-03-02 12:50:49 +00:00
J. Ryan Stinnett
a29f6979b2
Merge pull request #1626 from matrix-org/jryans/replacement-senders
...
Filter out edits from other senders in history
2021-03-02 12:33:21 +00:00
J. Ryan Stinnett
3a7146c77b
Only log claim timeouts when a time was provided
...
This avoids logging immediately on various code paths (including tests) where no
timeout value is supplied.
2021-03-02 12:22:58 +00:00
J. Ryan Stinnett
b178d8f629
Filter out edits from other senders in history
...
We currently don't support edits from other senders, but the server may not
filter them, so we filter them here on the client.
2021-03-02 12:15:27 +00:00
Šimon Brandner
0c94ee62a3
Pass in selectDesktopCapturerSource()
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-03-02 13:00:57 +01:00
Šimon Brandner
e7562898cd
Add getScreenshareContraints()
...
This is nicer since we avoid some async functions
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-03-02 12:58:45 +01:00
RiotRobot
fb73ab6878
Resetting package fields for development
2021-03-01 12:48:30 +00:00
RiotRobot
38f978791d
Merge branch 'master' into develop
2021-03-01 12:48:30 +00:00
RiotRobot
5dd60de57d
v9.8.0
v9.8.0
2021-03-01 12:44:55 +00:00
RiotRobot
5efbfc2dba
Prepare changelog for v9.8.0
2021-03-01 12:44:54 +00:00
J. Ryan Stinnett
fcd1dbad89
Merge pull request #1618 from robintown/fix-content-helpers-export
...
Fix ContentHelpers export
2021-03-01 11:13:10 +00:00
J. Ryan Stinnett
ad521bf4c2
Merge pull request #1621 from matrix-org/jryans/megolm-logs-2021-02-26
...
Add logging to in progress Olm sessions
2021-02-28 17:52:24 +00:00
J. Ryan Stinnett
8152fa44e0
Add more logging scopes to session IDs
...
This uses prefix chaining to correlate several scopes together.
2021-02-28 17:15:07 +00:00
J. Ryan Stinnett
e217bf9e37
Enable prefixed loggers to chain
2021-02-28 17:15:07 +00:00
David Baker
bfad21f811
Merge pull request #1623 from matrix-org/dbkr/ice_candidate_buffer
...
Don't ignore ICE candidates received before offer/answer
2021-02-27 15:11:26 +00:00
David Baker
81e68abce3
Merge pull request #1622 from matrix-org/dbkr/candidate_retries
...
Better handling of send failures on VoIP events
2021-02-27 15:11:00 +00:00
David Baker
7963bb352d
Merge pull request #1620 from matrix-org/dbkr/log_turn_cred_expiry
...
Log when turn creds expire
2021-02-27 15:09:54 +00:00
Michael Telatynski
14d3882059
Merge pull request #1563 from matrix-org/t3chguy/spaces
...
Initial Spaces [MSC1772] support
2021-02-26 22:08:09 +00:00
David Baker
ea39b69f65
Don't ignore ICE candidates received before offer/answer
...
The main bug here was a race on the callee side because we await-ed
on setRemoteDescription before setting the opponent party ID, and
while we were await-ing, the callEventHandler could give us candidate
events which we'd duly ignore because we thought the party ID didn't
match.
This also meant that any candidates that arrived before the answer
would have been ignored. Save these up by party ID and then add the
ones from the party ID that we pick once the answer comes in.
Also fix the confusion on party IDs where we weren't sure whether
we hadn't picked an opponent or we'd picked an opponent without a
party ID. It's now undefined for the former and null for the latter,
as it claims to be in the comment.
2021-02-26 21:25:52 +00:00
David Baker
eafecd36bc
Better handling of send failures on VoIP events
...
Don't leave candidate message sin the queue, abort if we fail to
send the invite.
2021-02-26 18:42:05 +00:00
J. Ryan Stinnett
198c9a2507
Add logging to in progress Olm sessions
...
It seems like this might be where
https://github.com/vector-im/element-web/issues/16194 is deadlocking.
2021-02-26 17:27:06 +00:00
David Baker
d07563013b
Log when turn creds expire
2021-02-26 14:47:27 +00:00
Michael Telatynski
9e967832cd
Update space summary API unstable prefix
2021-02-26 10:37:09 +00:00
Michael Telatynski
bfe1987cd9
Add Spaces event types from MSC1772
2021-02-26 10:35:02 +00:00
Robin Townsend
1045538f1f
Fix ContentHelpers export
...
This was previously exporting a promise, since it called the import
function manually but didn't await the result. However, since we have
Babel we can just use the new export … as … from syntax instead.
Signed-off-by: Robin Townsend <robin@robin.town >
2021-02-25 14:41:48 -05:00
J. Ryan Stinnett
fccf08edcf
Merge pull request #1617 from matrix-org/jryans/crypto-store-logging
...
Add logging to crypto store transactions
2021-02-25 16:58:45 +00:00
J. Ryan Stinnett
f43fe366b5
Add logging to crypto store transactions
...
We churn through a huge number of crypto store transactions during startup,
which may be the cause of the symptoms in
https://github.com/vector-im/element-web/issues/16194 .
2021-02-25 16:49:49 +00:00
Michael Telatynski
0f75f2ef9c
Add base API for Space Summary MSC2946
2021-02-25 13:12:22 +00:00
Michael Telatynski
2cdc68f9c3
Merge pull request #1610 from matrix-org/t3chguy/spaces2
...
Room helper for getting type and checking if it is a space room
2021-02-25 11:30:49 +00:00
RiotRobot
6a7d58e22e
v9.8.0-rc.1
v9.8.0-rc.1
2021-02-24 17:24:17 +00:00
RiotRobot
203829c1cd
Prepare changelog for v9.8.0-rc.1
2021-02-24 17:24:16 +00:00
J. Ryan Stinnett
b55e6c4ef0
Merge pull request #1615 from matrix-org/jryans/megolm-logs-2021-02-22
...
Optimise prefixed logger
2021-02-23 17:46:57 +00:00
J. Ryan Stinnett
8d779e8aec
Optimise prefixed logger
...
Tweak the prefixed logger to only do the setup work the first time.
2021-02-23 16:32:10 +00:00
J. Ryan Stinnett
dd1d48f688
Merge pull request #1614 from matrix-org/jryans/megolm-logs-2021-02-22
...
Add debug logs to encryption prep, take 3
2021-02-23 16:07:39 +00:00
J. Ryan Stinnett
8d14dc9ee3
Add debug logs to encryption prep, take 3
...
This continues adding more logs to work out the root cause of
https://github.com/vector-im/element-web/issues/16194 .
Somehow, we're getting stuck while sharing keys with new sessions.
2021-02-23 14:22:44 +00:00