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
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
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
David Baker
a8b9d8e3ae
Merge pull request #1612 from matrix-org/dbkr/jitsi_conference_captialised
...
Add functions for upper & lowercase random strings
2021-02-22 17:33:35 +00:00
David Baker
83d1e61b2f
Add functions for upper & lowercase random strings
2021-02-22 16:47:16 +00:00
Michael Telatynski
8e0fc8d460
Room helper for getting type and checking if it is a space room
2021-02-19 14:21:22 +00:00
Michael Telatynski
f547fa732f
Merge pull request #1609 from matrix-org/t3chguy/spaces1
...
Room helpers for invite permissions and join rules
2021-02-18 18:02:31 +00:00
Michael Telatynski
e24b1519a4
Merge pull request #1606 from SimonBrandner/fix-log
...
Fixed wording in "Adding video track with id" log
2021-02-18 18:00:28 +00:00
Michael Telatynski
3028fe9c87
Improve room documentation
2021-02-18 14:52:32 +00:00
Michael Telatynski
0b970b05b6
Wire up helpers for checking if a user can invite to a room and getting its join rule
2021-02-18 14:52:23 +00:00
Šimon Brandner
f7bfb1e49e
Fixed log (audio -> video)
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-02-17 20:51:43 +01:00
J. Ryan Stinnett
371ca009e9
Merge pull request #1605 from matrix-org/jryans/more-megolm-logging
...
Add more debug logs to encryption prep
2021-02-17 13:56:46 +00:00
J. Ryan Stinnett
4a0f848551
Add more debug logs to encryption prep
...
This continues work from https://github.com/matrix-org/matrix-js-sdk/pull/1580
and adds more logging, including specialised logging for a potential cause of
https://github.com/vector-im/element-web/issues/16194 .
So far, it seems clear that something's going wrong in the "sharing keys with
new Olm session" step.
2021-02-17 13:45:26 +00:00
David Baker
5e8b7b2a62
Merge pull request #1604 from matrix-org/dbkr/ice_candidate_pool_size
...
Add option to set ice candidate pool size
2021-02-16 16:01:53 +00:00
David Baker
0f27b703bd
Should be optional
2021-02-16 15:51:10 +00:00
David Baker
61e19c30cb
Add option to set ice candidate pool size
2021-02-16 15:47:48 +00:00
RiotRobot
c82bc35202
Resetting package fields for development
2021-02-16 10:58:15 +00:00
RiotRobot
65934227c3
Merge branch 'master' into develop
2021-02-16 10:58:15 +00:00
RiotRobot
7519becd43
v9.7.0
v9.7.0
2021-02-16 10:55:42 +00:00
RiotRobot
fe83c15bc6
Prepare changelog for v9.7.0
2021-02-16 10:55:41 +00:00
J. Ryan Stinnett
07e6b47fa7
Merge pull request #1601 from SimonBrandner/cancel-call-if-no-source
...
Cancel call if no source was selected
2021-02-11 12:29:57 +00:00
RiotRobot
b026e1c2f7
v9.7.0-rc.1
v9.7.0-rc.1
2021-02-10 15:54:02 +00:00
RiotRobot
f8194d9418
Prepare changelog for v9.7.0-rc.1
2021-02-10 15:54:01 +00:00
Šimon Brandner
1ecd7f274f
Cancel call if no source was selected
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-02-10 07:49:03 +01:00
David Baker
66bf0ec7af
Merge pull request #1600 from SimonBrandner/handle-undefined-peerconn
...
Handle undefined peerconn
2021-02-09 16:29:46 +00:00
Šimon Brandner
1b22df2b7b
Handle undefined peerconn
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-02-09 14:42:34 +01:00
David Baker
9f993f1f67
Merge pull request #1599 from matrix-org/dbkr/reemitter_dont_throw_if_no_error_handler
...
ReEmitter: Don't throw if no error handler is attached
2021-02-08 19:44:03 +00:00
David Baker
975518bd88
ReEmitter: Don't throw if no error handler is attached
...
As hopefully explained by lengthy comment
Fixes https://github.com/matrix-org/matrix-js-sdk/issues/1569
2021-02-08 19:37:17 +00:00
David Baker
66a863456c
Merge pull request #1598 from matrix-org/dbkr/reemitter_ts
...
Convert ReEmitter to TS
2021-02-08 19:15:08 +00:00
David Baker
91290c0d25
Actually add the test
2021-02-08 19:09:32 +00:00
David Baker
8a23e89c87
Convert ReEmitter to TS
...
And also add a test so I can be confident it's actually doing the
same thing.
NB. There was some logic there previously to reduce the number of
bound functions that had to be kept around, but it subsequently
started adding the source object as the last arg, at which point
there's now one bound function in memory per re-emitted event name
(plus the previous per-event-name handlers). This reduces it so it's
just one per re-emitted event name, so still could be quite a few,
but fewer than before.
2021-02-08 19:04:23 +00:00
Michael Telatynski
9e9cf85ba1
Merge pull request #1597 from rherrmann/patch-1
...
Fix typo in main readme
2021-02-08 17:18:29 +00:00