RiotRobot
24f9075a84
Prepare changelog for v19.3.0
2022-08-16 15:23:33 +01:00
ElementRobot
d18aae09c8
Fix: Handle parsing of a beacon info event without asset ( #2591 ) ( #2592 )
...
* test case
* handle missing beacon info asset
* default beacon info asset type to self
* make BeaconLocationState.assetType optional
(cherry picked from commit be3e731499 )
Co-authored-by: Kerry <kerrya@element.io >
2022-08-16 14:50:49 +01:00
RiotRobot
a9f2ae6b55
v19.3.0-rc.2
v19.3.0-rc.2
2022-08-12 13:24:20 +01:00
RiotRobot
b254ca7fc8
Prepare changelog for v19.3.0-rc.2
2022-08-12 13:24:19 +01:00
ElementRobot
0e8bd3f02d
Fix finding event read up to if stable private read receipts is missing ( #2585 ) ( #2588 )
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
(cherry picked from commit 478270b225 )
Co-authored-by: Šimon Brandner <simon.bra.ag@gmail.com >
2022-08-11 12:36:54 +00:00
github-actions[bot]
1c9d644a23
Update jsdoc.yml ( #2577 ) ( #2581 )
...
(cherry picked from commit 9ee94c9902 )
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com >
2022-08-10 09:31:02 +01:00
RiotRobot
f576a9f2e9
v19.3.0-rc.1
v19.3.0-rc.1
2022-08-09 17:03:34 +01:00
RiotRobot
fed121b0aa
Prepare changelog for v19.3.0-rc.1
2022-08-09 17:03:34 +01:00
3nprob
3e37c74264
Document where new linting rules go ( #2573 )
2022-08-09 09:59:17 +02:00
Faye Duxovni
3762c20aad
Revert "Always block sending keys to unverified devices of verified users ( #2562 )" ( #2571 )
...
This will be rolled out again later with more accompanying UI adjustments, including clearer error messages and possibly the option to disable it per-room.
2022-08-08 12:27:41 -04:00
Matthew Hodgson
c96f1ba22b
Merge pull request #2569 from matrix-org/matthew/avoid-sync-overlaps
...
Don't load the sync accumulator if there's already a sync persist in flight
2022-08-08 10:18:39 +01:00
Matthew Hodgson
43c81358b2
don't load the sync accumulator if there's already a sync persist in flight
...
this should hopefully reduce chances of
https://github.com/vector-im/element-web/issues/21541 a bit more
as we were incorrectly loading the sync accumulator even
if a sync persist was already in flight, thus wasting RAM
and increasing the chance of the renderer process OOMing
2022-08-07 01:13:06 +01:00
Šimon Brandner
6316a6ae44
Add support for stable prefixes for MSC2285 ( #2524 )
...
Co-authored-by: Travis Ralston <travisr@matrix.org >
2022-08-05 17:33:49 +02:00
David Baker
575b416856
Simplify encryptAndSendToDevices ( #2566 )
...
It went to quite a lot of effort to gather a bunch of information to
return, but the only thing using it already had all that info anyway.
2022-08-05 15:58:33 +01:00
David Baker
7b7f8c1592
Increase timeout to try & avoid flakiness in queueToDevice test ( #2565 )
...
https://github.com/matrix-org/matrix-js-sdk/issues/2561
2022-08-05 15:35:29 +01:00
David Baker
3907d1c28f
Fix output after test finished ( #2564 )
...
* Fix output after test finished
As per comment
* Add more flushes
2022-08-04 17:28:42 +01:00
Robin
c629d2f60e
Emit an event when the client receives TURN servers ( #2529 )
...
* Emit an event when the client receives TURN servers
* Add tests
* Fix lints
2022-08-04 11:44:10 -04:00
Faye Duxovni
43b453804b
Always block sending keys to unverified devices of verified users ( #2562 )
2022-08-04 11:11:12 -04:00
Šimon Brandner
d867affc40
Remove stream-replacement ( #2551 )
2022-08-03 21:45:37 +02:00
Robin
c36bfc821c
Add support for sending user-defined encrypted to-device messages ( #2528 )
...
* Add support for sending user-defined encrypted to-device messages
This is a port of the same change from the robertlong/group-call branch.
* Fix tests
* Expose the method in MatrixClient
* Fix a code smell
* Fix types
* Test the MatrixClient method
* Fix some types in Crypto test suite
* Test the Crypto method
* Fix tests
* Upgrade matrix-mock-request
* Move useRealTimers to afterEach
2022-08-03 16:16:48 +00:00
David Baker
7e784da00a
Retry to-device messages ( #2549 )
...
* Retry to-device messages
This adds a queueToDevice API alongside sendToDevice which is a
much higher-level API that adds the messages to a queue, stored in
persistent storage, and retries them periodically. Also converts
sending of megolm keys to use the new API.
Other uses of sendToDevice are nopt converted in this PR, but could
be later.
Requires https://github.com/matrix-org/matrix-mock-request/pull/17
* Bump matrix-mock-request
* Add more waits to make indexeddb tests pass
* Switch some test expectations to queueToDevice
* Stop straight away if the client has been stopped
Hopefully will fix tests being flakey and logging after tests have
finished.
* Add return types & fix constant usage
* Fix return type
Co-authored-by: Germain <germains@element.io >
* Fix return type
Co-authored-by: Germain <germains@element.io >
* Fix return type
Co-authored-by: Germain <germains@element.io >
* Stop the client in all test cases
Co-authored-by: Germain <germains@element.io >
2022-08-03 13:32:58 +01:00
Germain
b79f469008
Use EventType enum values instead of hardcoded strings ( #2557 )
2022-08-03 08:54:11 +00:00
RiotRobot
cf33569a21
Resetting package fields for development
2022-08-02 17:01:12 +01:00
RiotRobot
fb0a0c66c8
Merge branch 'master' into develop
2022-08-02 17:01:11 +01:00
RiotRobot
aac0023338
v19.2.0
v19.2.0
2022-08-02 16:58:54 +01:00
RiotRobot
e3873ddef5
Prepare changelog for v19.2.0
2022-08-02 16:58:53 +01:00
kegsay
f0991348e2
Merge pull request #2555 from matrix-org/kegan/sync-v3
...
Sliding sync: add missing filters from latest MSC
2022-08-02 14:54:37 +01:00
Kegan Dougal
fa6708c27e
Gracefully handle missing room_ids
2022-08-01 16:34:11 +01:00
Kegan Dougal
4427201326
Sliding sync: add missing filters from latest MSC
2022-08-01 16:30:33 +01:00
Kerry
4a4241806e
test typescriptification - autodiscovery / crypto specs ( #2550 )
...
* spec/unit/autodiscovery.spec.js -> spec/unit/autodiscovery.spec.ts
* fix ts in autodiscovery.spec
* renamed: spec/unit/crypto.spec.js -> spec/unit/crypto.spec.ts
* fix ts in crypto.spec
* fix some strict errors
2022-07-29 09:11:01 +00:00
David Baker
3824f65d15
Prevent double mute status changed events ( #2502 ) ( #2522 )
...
Audio & video mute status were set in separate calls but share a
mute status changed event, so you'd always get two mute status
changed events emitted. We could suppress events where the mute
status didn't change, but this would still get two events saying
the same thing when they both changed. Instead, merge setAudioMuted
& setVideoMuted into a single call that sets either or both.
Port of https://github.com/matrix-org/matrix-js-sdk/pull/2502 from
group call branch
2022-07-28 16:13:00 +01:00
Michael Telatynski
3c17e4a6d6
Use consolidated Renovate config ( #2548 )
...
* Delete renovate.json
* Create renovate.json
2022-07-28 08:13:02 +02:00
Kerry
75513d08de
test typescriptification - misc ( #2547 )
...
* renamed: spec/unit/login.spec.js -> spec/unit/login.spec.ts
* type test client
* renamed: spec/unit/interactive-auth.spec.js -> spec/unit/interactive-auth.spec.ts
* fix ts issues in interactive-auth.spec
* renamed: spec/unit/filter.spec.js -> spec/unit/filter.spec.ts
* fix ts in filter.spec
* renamed: spec/unit/event.spec.js -> spec/unit/event.spec.ts
* ts in event.spec
* renamed: spec/unit/pushprocessor.spec.js -> spec/unit/pushprocessor.spec.ts
* fix ts in pushprocessor.spec
* fix ts in realtime-callbacks.spec
* renamed: spec/unit/content-repo.spec.js -> spec/unit/content-repo.spec.ts
* fix signature for getHttpUriForMxc
* pr fixes
2022-07-28 08:09:21 +02:00
Šimon Brandner
7cb3b40493
Use stable prefixes for MSC3827 ( #2537 )
2022-07-27 20:10:39 +02:00
Kerry
ab89804c55
test typescriptification: unit/crypto/algorithm specs ( #2538 )
...
* typescriptify megolm.spec
* add copyright
* renamed: spec/unit/crypto/algorithms/olm.spec.js -> spec/unit/crypto/algorithms/olm.spec.ts
* fix ts issues in olm.spec
* remove comment
* more types in megolm and olm specs
2022-07-27 17:43:17 +02:00
renovate[bot]
ab6cf93c2b
Lock file maintenance ( #2546 )
...
* Lock file maintenance
* Empty commit to retry CI
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Robin Townsend <robin@robin.town >
2022-07-27 15:17:00 +00:00
Kerry
4c80762e22
test typescriptification - timeline-window, scheduler, etc ( #2539 )
...
* spec/unit/user.spec.js -> spec/unit/user.spec.ts
* fix ts in user.spec
* renamed: spec/unit/timeline-window.spec.js -> spec/unit/timeline-window.spec.ts
* overdo it fixing types in timeline-window.spec
* renamed spec/unit/sync-accumulator.spec.js spec/unit/sync-accumulator.spec.ts
* fix ts in sync-accumalator.spec
* spec/unit/scheduler.spec.js -> spec/unit/scheduler.spec.ts
* fix ts in scheduler.spec
* missed types in timeline-window spec
2022-07-27 15:10:20 +00:00
Michael Telatynski
1f7e80c68d
Require confirmation when doing proper release when intending to make an RC ( #2540 )
2022-07-27 09:12:57 +01:00
renovate[bot]
e91b879a69
Update typescript-eslint monorepo to v5.31.0 ( #2544 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-26 17:45:10 +00:00
renovate[bot]
14885ba7a2
Update dependency @types/jest to v28.1.6 ( #2543 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-26 17:37:13 +00:00
renovate[bot]
0dda187d96
Update all ( #2541 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-26 17:30:10 +00:00
renovate[bot]
680d8cac4d
Update babel monorepo to v7.18.9 ( #2542 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-26 18:16:53 +01:00
RiotRobot
a7fd7fd539
v19.2.0-rc.1
v19.2.0-rc.1
2022-07-26 17:22:49 +01:00
RiotRobot
300d8b026a
Prepare changelog for v19.2.0-rc.1
2022-07-26 17:22:48 +01:00
RiotRobot
d5a15ac275
Resetting package fields for development
2022-07-26 16:12:26 +01:00
RiotRobot
bbb5294b3b
Merge branch 'master' into develop
2022-07-26 16:12:25 +01:00
RiotRobot
7731579796
v19.1.0
v19.1.0
2022-07-26 16:08:28 +01:00
RiotRobot
55ab38a097
Prepare changelog for v19.1.0
2022-07-26 16:08:27 +01:00
Faye Duxovni
5367ee18fb
Re-insert room IDs when decrypting bundled redaction events returned by /sync ( #2531 )
2022-07-21 10:55:20 +00:00
Faye Duxovni
45db39ec88
Rewrite megolm integration tests with async arrow functions ( #2519 )
2022-07-21 10:41:46 +00:00