Dominik Henneke
913660c818
Correct the dir parameter of MSC3715 ( #2745 )
2022-10-12 16:56:50 +02:00
Germain
62007ec673
Fix sync init when thread unread notif is not supported ( #2739 )
...
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com >
2022-10-07 10:38:53 +00:00
Šimon Brandner
6e5326f9c8
Add custom notification handling for MSC3401 call events ( #2720 )
2022-10-06 16:40:30 +02: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
Janne Mareike Koschinski
3a3dcfb254
Load Thread List with server-side assistance (MSC3856) ( #2602 )
...
* feature detection code for thread list api
* fix bug where createThreadsTimelineSets would sometimes return nothing
* initial implementation of thread listing msc
* tests for thread list pagination
2022-10-05 23:10:42 +02:00
Germain
21a6f61b7b
Add support for unread thread notifications ( #2726 )
2022-10-05 10:37:45 +01:00
Michael Telatynski
887e15aac5
Fix IDB initial migration handling causing spurious lazy loading upgrade loops ( #2718 )
2022-09-30 10:41:04 +00:00
Stanislav Demydiuk
9bb5afe5c0
Fix issue in sync when crypto is not supported by client ( #2715 )
...
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com >
2022-09-30 08:12:31 +00:00
Robin Townsend
935517746a
Merge branch 'develop' into robertlong/group-call
2022-09-28 14:13:45 -04:00
Faye Duxovni
f410e71bfa
Fix missing return when receiving an invitation without shared history ( #2710 )
2022-09-28 17:36:09 +01:00
Faye Duxovni
4ba083e6af
Bump IDB crypto store version ( #2705 )
...
* Bump IDB crypto store version
* lint fix
2022-09-28 15:39:37 +01:00
RiotRobot
14aa7846a5
Merge branch 'master' into develop
2022-09-28 14:05:21 +01:00
RiotRobot
a587d7c360
Resolve multiple CVEs
...
CVE-2022-39249
CVE-2022-39250
CVE-2022-39251
CVE-2022-39236
2022-09-28 13:55:15 +01:00
Germain
209a101be7
Add local notification settings capability ( #2700 )
2022-09-27 11:41:20 +01:00
Šimon Brandner
ab39ee37d6
Add more MatrixCall
tests ( #2697 )
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2022-09-26 12:02:41 +02:00
Šimon Brandner
af6f9d49f4
Add CallEventHandler
tests ( #2696 )
...
* Add `CallEventHandler` tests
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Avoid tests hanging
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2022-09-26 12:02:19 +02:00
Šimon Brandner
a2981efac3
Add MatrixClient
group call tests ( #2692 )
...
Co-authored-by: Robin <robin@robin.town >
2022-09-23 18:33:31 +02:00
Šimon Brandner
6f7a72d69e
Merge remote-tracking branch 'upstream/develop' into SimonBrandner/task/gc-merge
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2022-09-23 15:36:44 +02:00
Hugh Nimmo-Smith
caadc6f95b
Implementation of MSC3882 login token request ( #2687 )
2022-09-22 16:36:37 +01:00
Šimon Brandner
2a0ffe1223
Fix group call tests getting stuck ( #2689 )
2022-09-22 17:06:01 +02:00
Šimon Brandner
72a6ec0dd3
Add a few group call event handler tests ( #2679 )
2022-09-22 17:05:51 +02:00
Germain
516f52c5a4
Support to remotely toggle push notifications ( #2686 )
2022-09-22 08:37:54 +00:00
Michael Telatynski
8599a98b47
Fix backpagination at end logic being spec non-conforming ( #2680 )
2022-09-21 16:35:07 +01:00
Germain
2967ee6309
Read receipts for threads ( #2635 )
2022-09-21 07:50:44 +00:00
Šimon Brandner
72b89fde6e
Add test for call transfers ( #2677 )
2022-09-20 19:41:03 +02:00
Šimon Brandner
c400dd4ff8
Add a few new GroupCall
tests ( #2678 )
...
Co-authored-by: Robin <robin@robin.town >
2022-09-20 19:40:47 +02:00
Kerry
9ff11d1f32
test typescriptification - last few unit test files ( #2675 )
...
* renamed: spec/unit/crypto/verification/sas.spec.js -> spec/unit/crypto/verification/sas.spec.ts
* ts issues in sas.spec
* renamed: spec/unit/crypto/verification/secret_request.spec.js -> spec/unit/crypto/verification/secret_request.spec.ts
* ts issues in secret_request.spec
* renamed: spec/unit/crypto/verification/verification_request.spec.js -> spec/unit/crypto/verification/verification_request.spec.ts
* ts fix verification_req.spec
* renamed: spec/browserify/sync-browserify.spec.js -> spec/browserify/sync-browserify.spec.ts
* fix strict
* formatting
2022-09-16 16:00:40 +00:00
Robin
de694459be
Target widget actions at a specific room ( #2670 )
...
Otherwise, the RoomWidgetClient class can end up accidentally sending and receiving events from rooms it didn't intend to, if it's an always-on-screen widget.
2022-09-16 10:26:03 -04:00
Kerry
41ab3337b5
test typescriptification - spec/unit/crypto/verification ( #2673 )
...
* renamed: spec/unit/crypto/verification/request.spec.js -> spec/unit/crypto/verification/request.spec.ts
* renamed: spec/unit/crypto/verification/qr_code.spec.js -> spec/unit/crypto/verification/qr_code.spec.ts
* renamed: spec/unit/crypto/verification/InRoomChannel.spec.js -> spec/unit/crypto/verification/InRoomChannel.spec.ts
* fix ts issues in InRoomChannel.spec
* renamed: spec/unit/crypto/verification/util.js -> spec/unit/crypto/verification/util.ts
* fix ts issues in util.t
* fix strict errors in util.ts
* js lint
2022-09-16 10:46:56 +02:00
David Baker
6fc9827b10
Add tests for ice candidate sending ( #2674 )
2022-09-16 09:26:37 +01:00
David Baker
c05cb3ad2b
Merge branch 'develop' into robertlong/group-call
2022-09-14 09:51:43 +01:00
David Baker
586a313c8d
Add tests for call answering / candidate sending ( #2666 )
...
* Add tests for call answering / candidate sending
* Remopve unused stuff
* Capitalise
Co-authored-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Capitalisation
* Capitalise
* Fix typescript strict error
* Actually fix TS strict error(?)
* TS strict mode try 3
Co-authored-by: Šimon Brandner <simon.bra.ag@gmail.com >
2022-09-14 09:42:57 +01:00
David Baker
41cee6f1cc
Fix race in creating calls ( #2662 )
...
* Fix race in creating calls
We ran an async function between checking for an existing call and
adding the new one to the map, so it would have been possible to
start creating another call while we were placing the first call.
This changes the code to add the call to the map as soon as we've
created it.
Also adds more logging.
* Switch to logger.debug
* Fix unit tests
2022-09-13 16:30:34 +01:00
Šimon Brandner
fb565f301b
Remove support for unstable private read receipts ( #2624 )
2022-09-12 18:04:14 +02:00
David Baker
276849f068
Merge branch 'develop' into robertlong/group-call
2022-09-12 10:03:48 +01:00
David Baker
37118991f5
Add test for removing RTX codec ( #2660 )
...
* Add test for removing RTX codec
* Use mocked to cast
2022-09-12 09:40:28 +01:00
Hugh Nimmo-Smith
a57c430b09
Implementation of MSC3824 to add action= param on SSO login ( #2398 )
...
Co-authored-by: Šimon Brandner <simon.bra.ag@gmail.com >
2022-09-11 21:18:33 +00:00
David Baker
00629e6dc9
Test fallback screensharing ( #2659 )
...
* Test fallback screensharing
* Test replacetrack is called
* Unused import
* Return type
* Fix other test after new track IDs
2022-09-09 21:15:34 +01:00
David Baker
02f6a09bcf
Test active speaker events ( #2658 )
...
Fixes https://github.com/vector-im/element-call/issues/527
2022-09-09 18:57:25 +01:00
Robin
b22c671fee
Add a property aggregating all names of a NamespacedValue ( #2656 )
...
For convenience
2022-09-09 09:55:17 -04:00
David Baker
aebe26db96
GroupCallEventhandler Tests ( #2654 )
...
* GroupCallEventhandler Tests
Fixes https://github.com/vector-im/element-call/issues/545
* Fix long line
* Fix strict mode error
Co-authored-by: Robin <robin@robin.town >
* Fix typo
Co-authored-by: Robin <robin@robin.town >
Co-authored-by: Robin <robin@robin.town >
2022-09-08 21:46:28 +01:00
David Baker
d950cda05c
Merge branch 'develop' into robertlong/group-call
2022-09-08 15:03:55 +01:00
David Baker
83c848093f
MediaHandler Tests ( #2646 )
...
* MediaHandler Tests, part 1
Haven't got through all the methods yet
For https://github.com/vector-im/element-call/issues/544
* Didn't need these in the end
* Rest of the media handler tests
* getUserMediaStream takes args
* use mockResolvedValue
* Add .off & reuse the mock we already made
* Re-use mock handler again
* Move updateLocalUsermediaStream to beforeEach
* add .off
* Add types
* Add more .offs
2022-09-07 15:56:38 +01:00
kegsay
d87e53858b
Merge pull request #2628 from matrix-org/kegan/ss-member-counts
...
sliding sync: add invited|joined_count
2022-09-07 11:22:47 +02:00
David Teller
917e8c01d8
Base support for MSC3847: Ignore invites with policy rooms ( #2626 )
...
* Base support for MSC3847: Ignore invites with policy rooms
Type: enhancement
* Base support for MSC3847: Ignore invites with policy rooms
Type: enhancement
* WIP: Applying feedback
* WIP: Applying feedback
* WIP: CI linter gives me different errors, weird
* WIP: A little more linting
2022-09-06 22:17:42 -06:00
Michael Telatynski
8aee884d03
Fix handling of remote echoes doubling up ( #2639 )
...
* Fix handling of remote echoes doubling up
* Simplify code
* Make TSC strict happier
* Update `timelineWasEmpty` to match type
* Add tests
* Add tests
* Add lowly `!`
2022-09-06 13:27:24 +01:00
David Baker
aca51fd8a3
Test call mute status set on call state chnage ( #2638 )
2022-09-05 17:06:49 +01:00
David Baker
c78631bdee
Test that calls in a group call are retried ( #2637 )
...
* Test that calls in a group call are retried
* Add new flushpromises file
2022-09-05 09:45:32 +01:00
Kerry
37187ef347
Test typescriptification - room-member and room-state ( #2601 )
...
* renamed: spec/MockStorageApi.js -> spec/MockStorageApi.ts
* renamed: spec/olm-loader.js -> spec/olm-loader.t
* renamed: spec/unit/room-state.spec.js -> spec/unit/room-state.spec.ts
* ts fixes in room-state.spec
* renamed: spec/unit/room-member.spec.js -> spec/unit/room-member.spec.ts
* ts fixes in room-member.spec
* strict mode fixes for MockStorageApi
* strict ts fixes in room-state
* strict errors
2022-09-05 10:38:05 +02:00
David Baker
0d6a93b5f6
Refactor the group call placing calls test ( #2636 )
...
Add some types & use mock-typed versions directly - it's clearer which
client we're making assertions about.
2022-09-02 15:33:22 +01:00