forked from External/greenlight
refactor share button & add ability to disable youtube uploading
This commit is contained in:
@ -43,6 +43,7 @@ module Greenlight
|
||||
config.use_webhooks = ENV['GREENLIGHT_USE_WEBHOOKS'] == "true"
|
||||
config.mail_notifications = ENV['GREENLIGHT_MAIL_NOTIFICATIONS'] == "true"
|
||||
config.disable_guest_access = ENV['DISABLE_GUEST_ACCESS'] == "true"
|
||||
config.enable_youtube_uploading = ENV['ENABLE_YOUTUBE_UPLOADING'] == "true"
|
||||
|
||||
# SMTP and action mailer
|
||||
if config.mail_notifications
|
||||
|
@ -11,7 +11,7 @@ Rails.application.config.middleware.use OmniAuth::Builder do
|
||||
provider :google_oauth2,
|
||||
ENV['GOOGLE_OAUTH2_ID'],
|
||||
ENV['GOOGLE_OAUTH2_SECRET'],
|
||||
scope: ['profile', 'email', 'youtube', 'youtube.upload'],
|
||||
scope: ENV['ENABLE_YOUTUBE_UPLOADING'] == 'true' ? ['profile', 'email', 'youtube', 'youtube.upload'] : ['profile', 'email'] ,
|
||||
access_type: 'online',
|
||||
name: 'google',
|
||||
hd: ENV['GOOGLE_OAUTH2_HD'].blank? ? nil : ENV['GOOGLE_OAUTH2_HD']
|
||||
|
@ -57,6 +57,7 @@ en-US:
|
||||
meeting_started: Meeting was started
|
||||
no_recordings: No Recordings
|
||||
no_recordings_yet: No Recordings (Yet!)
|
||||
no_video: Recording did not contain any video.
|
||||
play_recording: Play recording
|
||||
publish_recording: Publish recording
|
||||
published: Everyone
|
||||
@ -75,7 +76,6 @@ en-US:
|
||||
upload_youtube: Youtube
|
||||
user_waiting_body: "%{user} is waiting to join %{meeting}!"
|
||||
user_waiting_title: A user is waiting
|
||||
youtube_disabled: Recording did not contain any video.
|
||||
copied: Copied
|
||||
copy_error: Use Ctrl-c to copy
|
||||
create_your_session: Create your own meeting
|
||||
|
Reference in New Issue
Block a user