This repository has been archived on 2021-10-24. You can view files and clone it, but cannot push or open issues or pull requests.
greenlight/app/controllers
zechmeister 9dc59b1211
Add optional moderator codes (#2413)
* add column for moderator code

* add interface for moderator access code

* add support for write and update moderator access

* check if correct moderator_code in session

* move access code form into own component

* add support for moderator access code

* add support for moderator access code

* add copy code button for moderator code

* freeze all the things

* add tests for moderator access code

* add helpfer for moderator_access setting

* add setting for moderator access code

* show setting for moderator access code

* add checks for moderator code setting

* use method from room controller for moderator password check

* add tests for login with moderator access code

* add check for moderator code setting

* check if moderator codes are enabled in settings

* only display form for moderator code if enabled in settings

* add newline at end of file

* make check for moderator code available as helper

* align style of join button and access code button

* add localization for moderator codes

* add field for moderator codes

* add field for moderator access code to rooms

* fixes for rubocop

* fix LineLenghts for rubocop

* fix double space

Co-authored-by: Ahmad Farhat <ahmad.af.farhat@gmail.com>
2021-03-14 14:24:30 -04:00
..
concerns Add optional moderator codes (#2413) 2021-03-14 14:24:30 -04:00
account_activations_controller.rb Complete refactor of Gemfile and upgraded gems (#2553) 2021-02-26 17:34:07 -05:00
admins_controller.rb Complete refactor of Gemfile and upgraded gems (#2553) 2021-02-26 17:34:07 -05:00
application_controller.rb Add optional moderator codes (#2413) 2021-03-14 14:24:30 -04:00
errors_controller.rb GRN2-243: Added a report issue button to the 500 error page (#796) 2019-09-19 10:03:44 -04:00
health_check_controller.rb Complete refactor of Gemfile and upgraded gems (#2553) 2021-02-26 17:34:07 -05:00
main_controller.rb Signed in users are now redirected to main page if they try to access root (#1726) 2020-06-02 16:42:15 -04:00
password_resets_controller.rb Added recaptcha to reset password if enabled (#2475) 2021-01-26 19:44:23 -05:00
recordings_controller.rb Merge v2.6-alpha (#1672) 2020-05-26 17:37:23 -04:00
rooms_controller.rb Add optional moderator codes (#2413) 2021-03-14 14:24:30 -04:00
sessions_controller.rb Complete refactor of Gemfile and upgraded gems (#2553) 2021-02-26 17:34:07 -05:00
themes_controller.rb GRN2-xx: Added SAFE_HOSTS env variable to block unknown hosts (#1543) 2020-05-08 13:33:02 -04:00
users_controller.rb Fixed 400 with share room and merge user (#2448) 2021-01-19 18:28:10 -05:00