GRN-11: Ability to configure room specific settings (#348)

* Added the ability to set room settings on create or update

* Added room settings alerts and made fixes to other alerts

* Small bug fixes related to rubocop and the create room modal

* Update test case and fixed issue with small edge case

* Update room.js
This commit is contained in:
farhatahmad
2019-02-06 11:08:19 -05:00
committed by Jesus Federico
parent 992c154c10
commit 2e8670a8ab
21 changed files with 284 additions and 74 deletions

View File

@ -121,7 +121,15 @@ en:
with: Sign in with %{provider}
forgot_password: Forgot Password?
rename_recording:
room_settings:
title: Room Settings
update: Update Room
client: Select client type
mute: Mute users when they join
default: Default
html: HTML5
flash: Flash
footer_text: Adjustment to your room can be done at anytime.
rename_room:
name_placeholder: Enter a new room name...
name_update_success: Room name successfully changed!
@ -157,6 +165,8 @@ en:
confirm: New Password Confirmation
update: Update Password
room:
create_room_error: There was an error creating the room
create_room_success: Room created successfully
invited: You have been invited to join
invite_participants: Invite Participants
join: Join
@ -167,6 +177,8 @@ en:
sessions: Sessions
settings: Room Settings
start: Start
update_settings_error: There was an error updating the room settings
update_settings_success: Room settings successfully updated
wait:
message: Oops! The meeting hasn't started yet.
auto: You will automatically join when the meeting starts.

View File

@ -68,6 +68,7 @@ Rails.application.routes.draw do
scope '/:room_uid' do
post '/', to: 'rooms#join'
patch '/', to: 'rooms#update', as: :update_room
post '/update_settings', to: 'rooms#update_settings'
post '/start', to: 'rooms#start', as: :start_room
get '/logout', to: 'rooms#logout', as: :logout_room