web: add prejoin config options
This commit is contained in:
@@ -87,6 +87,8 @@ services:
|
|||||||
- GOOGLE_ANALYTICS_ID
|
- GOOGLE_ANALYTICS_ID
|
||||||
- GOOGLE_API_APP_CLIENT_ID
|
- GOOGLE_API_APP_CLIENT_ID
|
||||||
- HIDE_PREMEETING_BUTTONS
|
- HIDE_PREMEETING_BUTTONS
|
||||||
|
- HIDE_PREJOIN_DISPLAY_NAME
|
||||||
|
- HIDE_PREJOIN_EXTRA_BUTTONS
|
||||||
- INVITE_SERVICE_URL
|
- INVITE_SERVICE_URL
|
||||||
- JICOFO_AUTH_USER
|
- JICOFO_AUTH_USER
|
||||||
- LETSENCRYPT_DOMAIN
|
- LETSENCRYPT_DOMAIN
|
||||||
|
|||||||
@@ -22,6 +22,7 @@
|
|||||||
{{ $ENABLE_TCC := .Env.ENABLE_TCC | default "true" | toBool -}}
|
{{ $ENABLE_TCC := .Env.ENABLE_TCC | default "true" | toBool -}}
|
||||||
{{ $ENABLE_TRANSCRIPTIONS := .Env.ENABLE_TRANSCRIPTIONS | default "false" | toBool -}}
|
{{ $ENABLE_TRANSCRIPTIONS := .Env.ENABLE_TRANSCRIPTIONS | default "false" | toBool -}}
|
||||||
{{ $ENABLE_JAAS_COMPONENTS := .Env.ENABLE_JAAS_COMPONENTS | default "0" | toBool }}
|
{{ $ENABLE_JAAS_COMPONENTS := .Env.ENABLE_JAAS_COMPONENTS | default "0" | toBool }}
|
||||||
|
{{ $HIDE_PREJOIN_DISPLAY_NAME := .Env.HIDE_PREJOIN_DISPLAY_NAME | default "false" | toBool -}}
|
||||||
{{ $PUBLIC_URL := .Env.PUBLIC_URL | default "https://localhost:8443" -}}
|
{{ $PUBLIC_URL := .Env.PUBLIC_URL | default "https://localhost:8443" -}}
|
||||||
{{ $RESOLUTION := .Env.RESOLUTION | default "720" -}}
|
{{ $RESOLUTION := .Env.RESOLUTION | default "720" -}}
|
||||||
{{ $RESOLUTION_MIN := .Env.RESOLUTION_MIN | default "180" -}}
|
{{ $RESOLUTION_MIN := .Env.RESOLUTION_MIN | default "180" -}}
|
||||||
@@ -51,6 +52,7 @@
|
|||||||
{{ $DISABLE_GRANT_MODERATOR := .Env.DISABLE_GRANT_MODERATOR | default "false" | toBool -}}
|
{{ $DISABLE_GRANT_MODERATOR := .Env.DISABLE_GRANT_MODERATOR | default "false" | toBool -}}
|
||||||
{{ $ENABLE_E2EPING := .Env.ENABLE_E2EPING | default "false" | toBool -}}
|
{{ $ENABLE_E2EPING := .Env.ENABLE_E2EPING | default "false" | toBool -}}
|
||||||
|
|
||||||
|
|
||||||
// Video configuration.
|
// Video configuration.
|
||||||
//
|
//
|
||||||
|
|
||||||
@@ -268,7 +270,16 @@ config.peopleSearchQueryTypes = ['user','conferenceRooms'];
|
|||||||
//
|
//
|
||||||
|
|
||||||
// Prejoin page.
|
// Prejoin page.
|
||||||
config.prejoinPageEnabled = {{ $ENABLE_PREJOIN_PAGE }};
|
if (!config.hasOwnProperty('prejoinConfig')) config.prejoinConfig = {};
|
||||||
|
config.prejoinConfig.enabled = {{ $ENABLE_PREJOIN_PAGE }};
|
||||||
|
|
||||||
|
// Hides the participant name editing field in the prejoin screen.
|
||||||
|
config.prejoinConfig.hideDisplayName = {{ $HIDE_PREJOIN_DISPLAY_NAME }};
|
||||||
|
|
||||||
|
// List of buttons to hide from the extra join options dropdown on prejoin screen.
|
||||||
|
{{ if .Env.HIDE_PREJOIN_EXTRA_BUTTONS -}}
|
||||||
|
config.prejoinConfig.hideExtraJoinButtons = [ '{{ join "','" (splitList "," .Env.HIDE_PREJOIN_EXTRA_BUTTONS) }}' ];
|
||||||
|
{{ end -}}
|
||||||
|
|
||||||
// Welcome page.
|
// Welcome page.
|
||||||
config.enableWelcomePage = {{ $ENABLE_WELCOME_PAGE }};
|
config.enableWelcomePage = {{ $ENABLE_WELCOME_PAGE }};
|
||||||
@@ -284,6 +295,7 @@ config.defaultLanguage = '{{ .Env.DEFAULT_LANGUAGE }}';
|
|||||||
// Require users to always specify a display name.
|
// Require users to always specify a display name.
|
||||||
config.requireDisplayName = {{ $ENABLE_REQUIRE_DISPLAY_NAME }};
|
config.requireDisplayName = {{ $ENABLE_REQUIRE_DISPLAY_NAME }};
|
||||||
|
|
||||||
|
|
||||||
// Chrome extension banner.
|
// Chrome extension banner.
|
||||||
{{ if .Env.CHROME_EXTENSION_BANNER_JSON -}}
|
{{ if .Env.CHROME_EXTENSION_BANNER_JSON -}}
|
||||||
config.chromeExtensionBanner = {{ .Env.CHROME_EXTENSION_BANNER_JSON }};
|
config.chromeExtensionBanner = {{ .Env.CHROME_EXTENSION_BANNER_JSON }};
|
||||||
|
|||||||
Reference in New Issue
Block a user