* No longer skip the prejoin screen in video rooms
* Enable joining with specific devices
* Start widget API listeners earlier
so that they're instantly ready for use, rather than being stuck behind
the config loading
* Revert "Start widget API listeners earlier"
This reverts commit 2c1bb08832.
* Tell the client when the Jitsi wrapper is ready to receive events
* Fix video rooms getting stuck on Jitsi Meet's prejoin screen
We no longer have implicit imports which would have called this path, so manually call it. We have to disable lint as it doesn't like us doing this, but we only end up with a single entry point.
* Document voice rooms labs flag
Signed-off-by: Robin Townsend <robin@robin.town>
* Add join and mute handlers to Jitsi wrapper
Signed-off-by: Robin Townsend <robin@robin.town>
* Document voice rooms labs flag
Signed-off-by: Robin Townsend <robin@robin.town>
* Mark voice rooms as in development
Signed-off-by: Robin Townsend <robin@robin.town>
* ack at the end of widget event handlers
Signed-off-by: Robin Townsend <robin@robin.town>
* Move acks back before suspend points
Signed-off-by: Robin Townsend <robin@robin.town>
Remove the hash event listener before reloading the page, as the reload was being swallowed by our router.
Along the way, refactor out routing logic form app.tsx to avoid causing a circular import.
* Centralise version scripts and fix Docker version
* Refactor generation of a git-hash-based version into get-version-from-git
* Refactor normalization of versions (stripping leading v) into normalize-version.sh
* Call get-version-from-git from ci_package.sh, call normalize-version from package.sh
* Refactor docker-write-version.sh into docker-package.sh, which both writes the
version file and invokes yarn build passing VERSION
* Normalize the version received from the server
We need to strip the leading v from the local app version in pollForUpdate to ensure it compares correctly the version from the /version request indicating what the latest available version is. Previously, we only stripped the leading in getAppVersion which is used in some other places but not to decide whether an update is available.
* Fetch version from VERSION set during build
* When polling for new versions, compare to VERSION set during build
* Strip leading v from version, matching package.sh
This was completely unnecessary: react-sdk includes appropriate CSS
for highlight.js in its themes. This was actually causing some of
those values to be overridden with silly ones that made text invisible
on the dark theme.
Fixes https://github.com/vector-im/element-web/issues/19476
* Deprecate `sso_immediate_redirect` and add welcome-page only option
The old `sso_immediate_redirect` option is kept in code for backwards compatibility, but is replaced by `sso_redirect_options.immediate`, where a new `on_welcome_page` option is also introduced to only target entry points to the app.
The path matching is a bit brittle, but still ideal in the sense of not showing UI while the app realizes it needs to redirect.
The new welcome page-only option is fully intended to avoid breaking permalinks and such while still redirecting when needed. In future, other options might be added here to further tune the experience.
* Add note about guests