Commit Graph

4 Commits

Author SHA1 Message Date
Valere Fedronic d732fa807f Rtc: Let the widget driver decide to fallback to well-known or not for rtc discovery. (#34581)
* rtc: fallback to well-known only if config allows

* Use existing rtc transports cached by client

* post rebase fixes

* post rebase test update

* cleanup callstore tests

* Lint + fmt fixes

* postrebase: update useCall tests

* fixup: fix mocking on useRoomCall task

* fix lint

* fixup lint

* fix missing act in react test

* fix client mocks

* fix test mocking for rtc discovery

* fix test mocking

* fix Callstore testing

* lint:js-fix

* add missing mocks

* Fix duplicate ElementWidgetDriver test cases

* Avoid logging warning about well-known foci when they are undefined

---------

Co-authored-by: Robin <robin@robin.town>
2026-08-14 14:41:24 +00:00
David Baker 8effa81ad8 Set auto on-a-call status (#34306)
* Support for reading m.call status

(well, the prefixed version)

* Abstract the details away in userStatusFromProfile

make the validate functions non-exported

* Write on on-=a-call status

* Add tests

* Move user call status logic to its own listener

* Move tests

* use vi rather than jest

* add more mocks

* call async
2026-07-21 14:58:00 +00:00
David Langley 6aeb5f552b Add config param to disable client wellknown fetch (#34084)
* Add enable_client_well_known_lookups config option

Signed-off-by: David Langley <langley.dave@gmail.com>

* Gate client .well-known poll on enable_client_well_known_lookups

Signed-off-by: David Langley <langley.dave@gmail.com>

* Gate MatrixRTC foci well-known fallback on enable_client_well_known_lookups

Signed-off-by: David Langley <langley.dave@gmail.com>

---------

Signed-off-by: David Langley <langley.dave@gmail.com>
Co-authored-by: David Langley <langley.dave@gmail.com>
2026-07-13 15:27:36 +00:00
Michael Telatynski 91a3cb03c1 mv element.io @types __mocks__/ debian docker module_system/ playwright res src test webapp Dockerfile .dockerignore .eslintignore .stylelintrc.cjs babel.config.cjs recorder-worklet-loader.cjs .modernizr.json components.json config.json config.sample.json package.json project.json tsconfig.json tsconfig.module_system.json jest.config.ts playwright.config.ts webpack.config.ts build_config.sample.yaml apps/web/
mkdir apps/web/scripts
mv scripts/{cleanup.sh,ci_package.sh,copy-res.ts,deploy.py,package.sh} apps/web/scripts

And a couple of gitignore tweaks

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2026-02-24 15:43:58 +00:00