Skip to content

Commit

Permalink
Update bigbluebutton_rails, adds playback authentication
Browse files Browse the repository at this point in the history
  • Loading branch information
daronco committed Feb 22, 2018
1 parent 19c42a1 commit f74776c
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .env.development
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ MCONF_EMAIL_TRACK_CLICKED=true
# MCONF_OMNIAUTH_FACEBOOK_SECRET='yourfacebooksecret'

# Flag to use authentication on playback url
# MCONF_PLAYBACK_URL_AUTH='true'
# MCONF_PLAYBACK_URL_AUTH=true
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ GIT

GIT
remote: https://github.com/mconf/bigbluebutton_rails.git
revision: 820bfeb38ca23de2a89b6cc37f850d626f67e527
revision: fedfa6010a660e31e81cc27197063b4d60f6f0a5
branch: master
specs:
bigbluebutton_rails (2.2.0)
Expand Down
3 changes: 3 additions & 0 deletions config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,9 @@ class Application < Rails::Application
# Set if to false to use the old model based on the `record` flag on the `create` API call.
config.per_user_record_permissions = ENV['MCONF_PER_USER_RECORD_PERMISSIONS'] == 'true'

# Authenticate playback URLs for recordings
config.playback_url_authentication = ENV['MCONF_PLAYBACK_URL_AUTH'] == 'true'

# Themes: configure assets paths here!
# config.assets.paths << Rails.root.join("app", "assets", "themes", "my-theme", "stylesheets")
# config.assets.paths << Rails.root.join("app", "assets", "themes", "my-theme", "images")
Expand Down
2 changes: 1 addition & 1 deletion config/initializers/bigbluebutton_rails.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

BigbluebuttonRails.configure do |config|
config.guest_support = true
config.playback_url_authentication = ENV['MCONF_PLAYBACK_URL_AUTH'] == 'true'
config.playback_url_authentication = true #Rails.application.config.playback_url_authentication

# Set the invitation URL to the full URL of the room
config.get_invitation_url = Proc.new do |room|
Expand Down
2 changes: 2 additions & 0 deletions db/migrate/20171114142537_bigbluebutton_rails_to230.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@ class BigbluebuttonRailsTo230 < ActiveRecord::Migration
def up
rename_column :bigbluebutton_rooms, :param, :slug
rename_column :bigbluebutton_servers, :param, :slug
add_column :bigbluebutton_recordings, :recording_users, :text
end

def down
rename_column :bigbluebutton_servers, :slug, :param
rename_column :bigbluebutton_rooms, :slug, :param
remove_column :bigbluebutton_recordings, :recording_users
end
end
11 changes: 6 additions & 5 deletions db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -120,15 +120,16 @@
t.string "recordid"
t.string "meetingid"
t.string "name"
t.boolean "published", default: false
t.boolean "available", default: true
t.boolean "published", default: false
t.boolean "available", default: true
t.datetime "created_at"
t.datetime "updated_at"
t.text "description"
t.integer "meeting_id"
t.integer "size", limit: 8, default: 0
t.decimal "start_time", precision: 14, scale: 0
t.decimal "end_time", precision: 14, scale: 0
t.integer "size", limit: 8, default: 0
t.decimal "start_time", precision: 14, scale: 0
t.decimal "end_time", precision: 14, scale: 0
t.text "recording_users"
end

add_index "bigbluebutton_recordings", ["recordid"], name: "index_bigbluebutton_recordings_on_recordid", unique: true, using: :btree
Expand Down

0 comments on commit f74776c

Please sign in to comment.