Richard van der Hoff
c61d53eed0
Element-R: implement {get,set}TrustCrossSignedDevices ( #3281 )
...
A precursor to https://github.com/vector-im/element-web/issues/25092
2023-04-18 10:28:47 +00:00
Hugh Nimmo-Smith
59784aa9fe
Support for MSC3882 revision 1 ( #3228 )
...
* Support for MSC3882 revision 1
* Additional comments
* Revised field names
* Use UnstableValue for capability
2023-04-05 16:12:29 +00:00
Michael Weimann
9a504af18e
Changes for v24.0.0
2023-03-28 11:22:02 +01:00
Michael Telatynski
d70ffdbc02
Improve types ( #3175 )
...
* Improve types
* Add test
2023-02-22 17:39:37 +00:00
Eric Eastwood
c67325ba07
Add matrix-org/jest linting ( #2973 )
2023-02-10 12:05:40 +01:00
Germain
c142232f4d
Stop labelling threads as experimental ( #3064 )
2023-01-30 11:25:27 +00:00
Travis Ralston
185ded4ebc
Remove extensible events v1 field population on legacy events ( #3040 )
...
* Remove extensible events v1 field population on legacy events
With extensible events v2, affected events are now gated by a room version, so we don't need this code anymore.
The proposal has generally moved away from mixing m.room.message with extensible fields as well.
* Run prettier
* Remove unstable identifier from tests too
* Run prettier again
2023-01-10 09:19:55 -07: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
Michael Weimann
349c2c2587
Apply prettier formatting
2022-12-09 09:38:20 +01:00
Richard van der Hoff
a9e7a46c56
Upload device keys during initCrypto ( #2872 )
...
Rather than waiting for the application to call `.startClient`, upload the
device keys during `initCrypto()`. Element-R is going to approach this slightly
differently (it wants to manage the decision on key uploads itself), so this
lays some groundwork by collecting the libolm-specific bits together.
2022-12-07 13:48:41 +00:00
Michael Telatynski
8d018f9c2d
Enable noImplicitAny ( #2895 )
...
* Stash noImplicitAny work
* Enable noImplicitAny
* Update olm
* Fun
* Fix msgid stuff
* Fix tests
* Attempt to fix Browserify
2022-12-06 18:21:44 +00:00
Marco Bartelt
6611cfa253
add-privileged-users-in-room ( #2892 )
2022-11-29 19:23:57 +00:00
Michael Telatynski
007b7dd242
Fix 3pid invite acceptance not working due to mxid being sent in body ( #2907 )
2022-11-25 09:22:10 +00:00
Michael Telatynski
9f2f08dfd3
Fix more typescript --strict violations ( #2795 )
...
* Stash tsc fixes
* Iterate
* Iterate
* Iterate
* Fix tests
* Iterate
* Iterate
* Iterate
* Iterate
* Add tests
2022-10-25 18:31:40 +01:00
RiotRobot
f2ae3bc8ef
Merge branch 'master' into develop
2022-10-25 17:05:28 +01:00
Michael Telatynski
867a0ca7ee
Apply more strict typescript around the codebase ( #2778 )
...
* Apply more strict typescript around the codebase
* Fix tests
* Revert strict mode commit
* Iterate strict
* Iterate
* Iterate strict
* Iterate
* Fix tests
* Iterate
* Iterate strict
* Add tests
* Iterate
* Iterate
* Fix tests
* Fix tests
* Strict types be strict
* Fix types
* detectOpenHandles
* Strict
* Fix client not stopping
* Add sync peeking tests
* Make test happier
* More strict
* Iterate
* Stabilise
* Moar strictness
* Improve coverage
* Fix types
* Fix types
* Improve types further
* Fix types
* Improve typing of NamespacedValue
* Fix types
2022-10-21 11:44:40 +01:00
ElementRobot
63f4bf571e
[Backport staging] Fix POST data not being passed for registerWithIdentityServer ( #2770 )
...
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com >
2022-10-18 15:03:40 +00:00
Michael Telatynski
0231d40277
Fix POST data not being passed for registerWithIdentityServer ( #2769 )
2022-10-18 15:58:17 +01:00
Michael Telatynski
bbece73346
Improve MatrixError message ( #2749 )
2022-10-13 09:07:15 +01:00
Michael Telatynski
34c5598a3f
Modernize http-api - move from browser-request to fetch ( #2719 )
2022-10-12 18:59:04 +01:00
Kerry
a1b046b5d8
test typescriptification - spec/integ ( #2714 )
...
* renamed: spec/integ/devicelist-integ.spec.js -> spec/integ/devicelist-integ.spec.ts
* fix ts issue in devicelist-integ.spec
* renamed: spec/integ/matrix-client-event-emitter.spec.js -> spec/integ/matrix-client-event-emitter.spec.ts
* ts issues in matrix-client-event-emitter integ
* strict fixes
* renamed: spec/integ/matrix-client-methods.spec.js -> spec/integ/matrix-client-methods.spec.ts
* fix ts issues
* renamed: spec/integ/matrix-client-opts.spec.js -> spec/integ/matrix-client-opts.spec.ts
* ts fixes in matrix-client-methods / matrix-client-opts
* renamed: spec/integ/matrix-client-room-timeline.spec.js -> spec/integ/matrix-client-room-timeline.spec.ts
* most ts fixes in matrix-client-room-timeline
* remove obsoleted prev_events from mockenvents
* make xmlhttprequest ts
* strict errors in matrix-client-event-timeline spec
* strict in devicelist
* strict fixes in matrix-client-crypto.spec
* strict fixes in spec/integ/matrix-client-room-timeline
* strict issues in matrix-client-opts.specc
* strict issues in matrix-client-syncing
* strict issues in spec/integ/megolm
* strict fixes in spec/integ/matrix-client-retrying.spec
* strict fixes for spec/integ/sliding-sync
* eslint fixes
* more strict errors sneaking in from develop
* kill al httpbackends
* kill matrix-client-methods.spec httpbackend properly
2022-10-06 08:11:25 +02:00