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
4dc21674d5
Fix log usage
2021-05-28 11:30:20 +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
Germain Souquet
cb91c4292c
Merge branch 'develop' into gsouquet/pr-review-linting-rules
2021-05-27 16:00:12 +01:00
J. Ryan Stinnett
ac8fa58845
Merge pull request #1705 from uhoreg/olm_3.2.2
...
Bump libolm version and update package name.
2021-05-24 16:22:15 +01:00
Hubert Chathi
56a2eeac77
Bump libolm version and update package name.
2021-05-21 16:04:54 -04:00
Michael Telatynski
d104f2f4a7
Merge pull request #1703 from matrix-org/t3chguy/uploadContent
...
Fix uploadContent not rejecting promise when http status code >= 400
2021-05-20 18:43:12 +01:00
Michael Telatynski
e8367ad241
fix httpStatus being resolved when response is undefined
2021-05-20 18:33:17 +01:00
Michael Telatynski
f17cd142d5
Fix uploadContent not rejecting promise when http status code >= 400
2021-05-20 15:43:22 +01:00
J. Ryan Stinnett
e8edc554a6
Merge pull request #1702 from matrix-org/jryans/test-noise
...
Reduce noise in tests
2021-05-20 13:42:31 +01:00
J. Ryan Stinnett
bd8aca83ac
Reduce noise in tests
...
This disables a common log message to cut down the test log size and make it
easier to read messages specific to each test.
2021-05-20 13:41:54 +01:00
J. Ryan Stinnett
7ebc1cfac5
Merge pull request #1700 from matrix-org/matthew/kill-invite-logspam
...
Only log once if a Room lacks an m.room.create event
2021-05-20 12:02:32 +01:00
Germain Souquet
6c98c3c662
Remove reference to room name in utils
2021-05-20 10:58:20 +01:00
Germain Souquet
1d1310f034
Cache normalized room name
2021-05-20 10:44:47 +01:00
Matthew Hodgson
52c031f160
Only log once if a Room lacks an m.room.create event
...
Currently my account is logging ~20,000 warnings a minute about getType() being called
on invites which have no m.room.create events, which crashes my inspector and makes
my console unusable. We still want the logline though, as it helps diagnose
space invite problems. So instead, log this only once. (Untested).
2021-05-19 19:02:31 +01:00
Germain Souquet
0c47412c75
move startEventCallHandler to MatrixClient prototype
2021-05-19 17:15:44 +01:00
Germain Souquet
ea1ef3dbec
listen to call event handlers when sync is prepared
2021-05-19 17:05:20 +01:00
Germain Souquet
61fd62ff81
Merge branch 'develop' into gsouquet/fix-call-handlers
2021-05-19 16:51:29 +01:00
Germain Souquet
32197ea903
Change call event handlers to adapt to undecrypted events
2021-05-19 15:45:21 +01: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
Germain
40cd4629db
Decrypt relations before applying them to target event ( #1696 )
2021-05-18 17:21:06 +01:00
J. Ryan Stinnett
2d5857f145
Merge pull request #1690 from SimonBrandner/fix/glare/17250
...
Fix regressed glare
2021-05-17 11:11:39 +01:00
Travis Ralston
91af9a411d
Null-guard power level object usage ( #1694 )
2021-05-14 08:36:44 +01:00
Germain
9a9ed124f5
Use native Object and Array methods ( #1693 )
2021-05-13 17:20:09 +01:00
Michael Telatynski
b5fa54f91e
Add m.reaction to EventType enum
2021-05-13 10:57:02 +01:00
Germain
2246aede4b
Merge pull request #1684 from matrix-org/gsouquet/cache-decrypt
2021-05-12 12:19:59 +01:00
Šimon Brandner
4b2d409c69
Fix glare
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-05-12 07:47:48 +02:00
Michael Telatynski
e3583dd04e
Merge pull request #1679 from matrix-org/t3chguy/spaces-stable
...
Switch from MSC1772 unstable prefixes to stable
2021-05-11 13:39:47 +01:00
Germain Souquet
e484a2ebb5
add missing coma to appease linter
2021-05-11 13:02:42 +01:00
Germain Souquet
5caf05cfa1
Apply new linting rules
2021-05-11 11:25:43 +01:00
Germain Souquet
874cb3b779
make attemptDecryption backwards compatible
2021-05-11 10:02:32 +01:00
Germain
f21e0228b4
Update documentation wording
...
Co-authored-by: Travis Ralston <travpc@gmail.com >
2021-05-11 09:20:14 +01:00
Germain Souquet
d2a6a8b283
Merge branch 'develop' into gsouquet/cache-decrypt
2021-05-10 17:35:05 +01:00
Germain Souquet
f242e460ed
fix tests
2021-05-10 17:28:00 +01:00
Germain Souquet
95e08253a6
Appease linter
2021-05-10 16:59:54 +01:00
Germain Souquet
202a4fa6f1
Better document new room methods
2021-05-10 15:55:16 +01:00
Germain Souquet
576f46cb88
Add flag to prevent emitting event.decrypted
2021-05-10 15:25:07 +01:00
Germain Souquet
91eee8587e
extract shouldAttemptDecryption to event model
2021-05-07 15:16:04 +01:00
Germain Souquet
e9132abc25
Do not attempt to decrypt already clear events
2021-05-07 12:58:53 +01:00
Germain Souquet
444eac5c6e
consolidate critical event decryption implementation
2021-05-07 11:23:59 +01:00
Germain Souquet
19d6dbaa52
Use read receipt instead of read marker
2021-05-06 14:07:38 +01:00
Germain Souquet
8820619e82
Pass decrypt flag to event mapper
2021-05-06 12:34:21 +01:00
Germain Souquet
fb33bc7e07
Lazily decrypt event on room view
2021-05-06 11:46:14 +01:00
J. Ryan Stinnett
57d1fa8410
Merge pull request #1660 from SimonBrandner/feed
...
Support for multiple streams (not MSC3077)
2021-05-06 11:19:52 +01:00
Michael Telatynski
fc29056530
Tweak missing m.room.create errors to describe their source
2021-05-05 23:58:40 +01:00
Travis Ralston
3fdc25777d
Revert "Raise logging dramatically to chase pending event errors"
2021-05-02 19:10:47 -06:00
Michael Telatynski
e2d2249686
Switch from MSC1772 unstable prefixes to stable
2021-04-30 11:33:45 +01:00