Andy Balaam
c6090325b3
Update id string to reflect spec
2023-01-10 13:29:06 +00:00
Andy Balaam
999e355136
Use Room.getLiveTimeline instead of deprecated this.currentState
2023-01-10 10:16:22 +00:00
Andy Balaam
7de4164444
Factor out a (public) function to find a room's predecessor
2023-01-10 10:16:22 +00:00
Andy Balaam
e2ce379b56
Merge pull request #3038 from andybalaam/andybalaam/tests-for-getVisibleRooms
...
Tests for getVisibleRooms
2023-01-10 10:07:53 +00:00
Andy Balaam
424212cd65
Merge pull request #2915 from matrix-org/madlittlemods/stablize-msc3030-timestamp-to-event
...
Prefer stable `/timestamp_to_event` endpoint first - MSC3030
2023-01-09 17:01:10 +00:00
Andy Balaam
c7c16256df
Update comment to reflect commonality between 404 and 405 status
2023-01-09 16:53:52 +00:00
Andy Balaam
8a4c95ee72
Tests for getVisibleRooms
2023-01-09 12:17:53 +00:00
Clark Fischer
c3d422f5fb
Remove 'qs' dependency ( #3033 )
...
'qs' appears to be unused since 34c5598
(PR #2719 ).
Signed-off-by: Clark Fischer <clark.fischer@gmail.com >
Signed-off-by: Clark Fischer <clark.fischer@gmail.com >
2023-01-06 22:37:05 +00:00
Šimon Brandner
fdb80ad259
Remove video track when muting video ( #3028 )
2023-01-06 12:09:01 -05:00
Andy Balaam
981acf0044
Rename test to fit renamed function.
...
Co-authored-by: Eric Eastwood <erice@element.io >
2023-01-06 16:38:02 +00:00
Andy Balaam
f00f70bfb8
Merge branch 'develop' into madlittlemods/stablize-msc3030-timestamp-to-event
2023-01-06 15:38:08 +00:00
Andy Balaam
12cc7be31c
Test 400, 429 and 502 responses
2023-01-06 15:33:48 +00:00
Andy Balaam
628bcbf33a
Fall back to the unstable endpoint if we receive a 405 status
2023-01-06 15:22:58 +00:00
Andy Balaam
c4ca0b2e07
Refactor timestampToEvent tests
2023-01-06 15:13:44 +00:00
Andy Balaam
d7442147b9
Rename convertQueryDictToMap
2023-01-06 14:21:35 +00:00
Andy Balaam
b1566ee540
Switch to a Map for convertQueryDictToStringRecord
2023-01-06 14:20:24 +00:00
Andy Balaam
ca98d9ff11
Tests for convertQueryDictToStringRecord
2023-01-06 14:20:24 +00:00
Andy Balaam
bba4a35665
Merge pull request #3034 from matrix-org/johannes/poll-start-sent-receipt
...
Make poll start event type available (PSG-962)
2023-01-06 11:10:00 +00:00
Germain
896f6227a0
Fix threaded cache receipt when event holds multiple receipts ( #3026 )
2023-01-06 10:27:35 +00:00
Johannes Marbach
4d10cf3074
Make poll start event type available
2023-01-06 10:17:29 +01:00
Kerry
bb23df9423
Add alt event type matching in Relations model ( #3018 )
...
* allow alt event types in relations model
* remove unneccesary checks on remove relation
* comment
* assert on event emitted
2023-01-05 20:00:12 +00:00
Richard van der Hoff
d02559cf3c
Make error handling in decryptionLoop more generic ( #3024 )
...
Not everything is a `DecryptionError`, and there's no real reason that we
should only do retries for `DecryptionError`s
2023-01-05 15:02:19 +00:00
Richard van der Hoff
ec6272aa3d
Fix outgoing messages for rust-crypto ( #3025 )
...
It turns out that MatrixClient uses a `FetchHttpApi` instance with
`opts.onlyData = true`, so it was returning the json-parsed response rather
than the raw response. Change the way we call `authedRequest` so that we get
the raw body back.
2023-01-05 15:00:37 +00:00
Michael Weimann
695b773f8b
Fix false key requests after verifying new device ( #3029 )
2023-01-05 15:27:09 +01:00
Richard van der Hoff
030abe1563
Pass to-device messages into rust crypto-sdk ( #3021 )
...
We need a separate API, because `ClientEvent.ToDeviceEvent` is only emitted for
successfully decrypted to-device events
2023-01-05 09:54:56 +00:00
Richard van der Hoff
22f10f71b8
indirect decryption attempts via Client ( #3023 )
...
... to reduce the number of things referring to `client.crypto`
2023-01-05 09:54:44 +00:00
renovate[bot]
9ca3e7272e
chore(deps): lock file maintenance ( #3014 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-04 13:44:26 -07:00
Richard van der Hoff
64119ef915
Avoid logical assignment operator ( #3022 )
...
Apparently `??=` was only added to javascript in ES12, and our eleweb build
doesn't support it.
Fixes breakage introduced in #3019 .
2023-01-04 14:17:55 +00:00
Richard van der Hoff
9ac7165e99
Handle outgoing requests from rust crypto SDK ( #3019 )
...
The rust matrix-sdk-crypto has an `outgoingRequests()` method which we need to poll, and make the requested requests.
2023-01-04 12:17:42 +00:00
Hubert Chathi
6168cedf32
Avoid triggering decryption errors when decrypting redacted events ( #3004 )
2023-01-03 11:06:54 -05:00
Richard van der Hoff
7c34deecb6
Pass CryptoBackend into SyncApi ( #3010 )
...
I need to start calling back into the new rust crypto implementation from the /sync loops, so I need to pass it into SyncApi. To reduce the coupling, I've defined a new interface specifying the methods which exist for that purpose. Currently it's only onSyncCompleted.
2023-01-03 15:37:51 +00:00
Ankit
cef5507ab1
Include 'yarn install' . ( #3011 )
2023-01-03 14:07:37 +00:00
Richard van der Hoff
9b372d23ca
Factor SyncApi
options out of IStoredClientOptions
( #3009 )
...
There are a couple of callback interfaces which are currently stuffed into
`IStoredClientOpts` to make it easier to pass them into the `SyncApi`
constructor.
Before we add more fields to this, let's separate it out to a separate object.
2023-01-03 13:38:21 +00:00
renovate[bot]
e9fef19c8f
Update dependency @types/node to v18.11.18 ( #2984 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-03 13:28:02 +00:00
Andy Balaam
9ebc91aa5a
Merge pull request #3017 from andybalaam/andybalaam/use-env-variable-for-ref_name
...
In release.yml use an env section to get ref_name
2023-01-03 13:10:05 +00:00
Andy Balaam
fcb75d547e
Remove unneeded variable in workflow
2023-01-03 12:25:13 +00:00
Andy Balaam
33c9af952e
Reformat release.yml
2023-01-03 10:25:59 +00:00
Andy Balaam
3b66b28e71
In release.yml use an env section to get ref_name
2023-01-03 10:21:40 +00:00
Travis Ralston
7d37bb1edb
Remove usage of v1 Identity Server API ( #3003 )
...
* Remove usage of v1 Identity Server API
It's been deprecated for over a year at this point - everyone should be able to support v2.
* Missed one.
2023-01-03 00:59:12 -07:00
Travis Ralston
0f717a9306
Update comment for m.key.verification.ready
event type definition ( #3006 )
2023-01-03 00:58:55 -07:00
Richard van der Hoff
ce776b9989
Break coupling between Room
and Crypto.trackRoomDevices
( #2998 )
...
`Room` and `Crypto` currently have some tight coupling in the form of a call to
`trackRoomDevices` when out-of-band members are loaded. We can improve this by
instead having Crypto listen out for a `RoomSateEvent.Update` notification.
2022-12-23 11:03:14 +00:00
kegsay
ff1b0e51ea
Merge pull request #3008 from matrix-org/kegan/upload-otks
...
bugfix: upload OTKs in sliding sync mode
2022-12-22 16:26:47 +01:00
Kegan Dougal
21e66a5c34
bugfix: upload OTKs in sliding sync mode
2022-12-22 14:52:16 +00:00
Germain
aead401005
Apply edits discovered from sync after thread is initialised ( #3002 )
2022-12-22 08:54:55 +00:00
Travis Ralston
af9525ed5f
Add device_id
to /account/whoami
types ( #3005 )
...
* Add `device_id` to `/account/whoami` types
https://spec.matrix.org/v1.5/client-server-api/#get_matrixclientv3accountwhoami
* Appease the linter
* Modernize area of code
* Remove unused eslint disable comment
2022-12-21 16:46:10 -07:00
RiotRobot
1ebcac37cc
Resetting package fields for development
2022-12-21 16:49:19 +00:00
RiotRobot
51a4cc5e18
Fix post-release script compatibility with prettier
2022-12-21 16:49:11 +00:00
RiotRobot
48baa6315c
Merge branch 'master' into develop
...
# Conflicts:
# release.sh
# spec/integ/matrix-client-event-timeline.spec.ts
2022-12-21 16:48:43 +00:00
RiotRobot
efc87d8084
v23.0.0
v23.0.0
2022-12-21 16:40:30 +00:00
RiotRobot
aab873fc58
Prepare changelog for v23.0.0
2022-12-21 16:40:28 +00:00