Fixed #303 Add the ability to rename rooms and recordings (GRN-18) (#304)

* <Added modal for rename>

* <Commit changes and switch branch>

* <Javascript Scaffolding for rename room feature>

* <Created room_block.js>

* <update changes>

* <Updating rename branch>

* <Update rename.js>

* <Update branch>

* <Update branch>

* <Implemented renaming of room blocks>

* <Refactoring code>

* Remove modal due to new design

* <Finished renaming of rooms>

* <Updated renaming of recordings>

* <updating branch>

* <added renaming of recordings>

* <update branch>

* <>

* <Fixed code style>

* <Fixed rspec tests>

* Update application.js
This commit is contained in:
John Ma
2018-12-04 10:48:51 -05:00
committed by Jesus Federico
parent efa9e08dfc
commit 41a543f6b8
13 changed files with 285 additions and 9 deletions

View File

@ -100,6 +100,11 @@ en:
login:
or: or
with: Sign in with %{provider}
rename_recording:
rename_room:
name_placeholder: Enter a new room name...
name_update_success: Room name successfully changed!
omniauth_error: An error occured while authenticating with omniauth. Please try again or contact an administrator!
password: Password
provider:
@ -120,6 +125,7 @@ en:
visibility:
public: Public
unlisted: Unlisted
rename: Rename
room:
invited: You have been invited to join
invite_participants: Invite Participants

View File

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