web: allow configuring buttons in toolbar and pre-join screen

pull/1191/head
Prayag Singh 3 years ago committed by GitHub
parent d9d12f0938
commit 0be9c8fd04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      docker-compose.yml
  2. 6
      env.example
  3. 10
      web/rootfs/defaults/settings-config.js

@ -76,6 +76,7 @@ services:
- ETHERPAD_URL_BASE - ETHERPAD_URL_BASE
- GOOGLE_ANALYTICS_ID - GOOGLE_ANALYTICS_ID
- GOOGLE_API_APP_CLIENT_ID - GOOGLE_API_APP_CLIENT_ID
- HIDE_PREMEETING_BUTTONS
- INVITE_SERVICE_URL - INVITE_SERVICE_URL
- JICOFO_AUTH_USER - JICOFO_AUTH_USER
- LETSENCRYPT_DOMAIN - LETSENCRYPT_DOMAIN
@ -104,6 +105,7 @@ services:
- TESTING_CAP_SCREENSHARE_BITRATE - TESTING_CAP_SCREENSHARE_BITRATE
- TESTING_OCTO_PROBABILITY - TESTING_OCTO_PROBABILITY
- TOKEN_AUTH_URL - TOKEN_AUTH_URL
- TOOLBAR_BUTTONS
- TZ - TZ
- VIDEOQUALITY_BITRATE_H264_LOW - VIDEOQUALITY_BITRATE_H264_LOW
- VIDEOQUALITY_BITRATE_H264_STANDARD - VIDEOQUALITY_BITRATE_H264_STANDARD

@ -406,3 +406,9 @@ RESTART_POLICY=unless-stopped
# Optional properties for shutdown api # Optional properties for shutdown api
#COLIBRI_REST_ENABLED=true #COLIBRI_REST_ENABLED=true
#SHUTDOWN_REST_ENABLED=true #SHUTDOWN_REST_ENABLED=true
# Configure toolbar buttons. Add the buttons name separated with comma(no spaces between comma)
#TOOLBAR_BUTTONS=
# Hide the buttons at pre-join screen. Add the buttons name separated with comma
#HIDE_PREMEETING_BUTTONS=

@ -364,3 +364,13 @@ config.disableReactions = {{ $DISABLE_REACTIONS }};
// Polls // Polls
config.disablePolls = {{ $DISABLE_POLLS }}; config.disablePolls = {{ $DISABLE_POLLS }};
// Configure toolbar buttons
{{ if .Env.TOOLBAR_BUTTONS -}}
config.toolbarButtons = [ '{{ join "','" (splitList "," .Env.TOOLBAR_BUTTONS) }}' ];
{{ end -}}
// Hides the buttons at pre-join screen
{{ if .Env.HIDE_PREMEETING_BUTTONS -}}
config.hiddenPremeetingButtons = [ '{{ join "','" (splitList "," .Env.HIDE_PREMEETING_BUTTONS) }}' ];
{{ end -}}
Loading…
Cancel
Save