* fix: comment into code not related - abusive copy/paste
* Add user permission for recording
Add a role permission 'can_launch_record' to users to set the ability to run recording. By default everybody can record, but we can set to the user role without perm to record and create a new role for those who can.
* Set required attribute to input fields
It is needed to type in a username and password. This attribute force it and reduce useless requests to the server and shows the user the problem directly.
* Update signin.html.erb
* add autofocus and required attributes
* add autofocus and required attributes
Co-authored-by: Ahmad Farhat <ahmad.af.farhat@gmail.com>
* straighten navigation
Position of the text are not the same in every entry. This change unifies the distance between icon and text
* define space between text and icon
add the same space between icon and text in the navigation.
* 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>
* First changes to server recordings
* Update server recordings
* Rubocop
* Make sure to return nothing for empty searches
* Made sure exactly the right amount of recordings are returned
* Added test cases
* Share Access now dynamically pulls the list of users from the server
* Merge users now dynamically pulls the list of users from the server
* Only return the information needed to the front-end
* Allow Searching for Rooms
If a user has a lot of rooms, finding the correct one can be somewhat
annoying and it would be great to be able to search for or filter the
rooms in the room list.
This patch adds a very simple search functionality for this. The search
bar is hidden as long as a user has not more than six (two rows in
desktop mode) rooms. If the number of rooms exceeds this limit, a search
field is shown to quickly filter the list.
* Updates Romm Filter Style
This patch updates the room filtering according to the review requests.
It switches to the same search input style that is used at places like
the recording table.
This mans, that this also works slightly different since the input now
has a clear and a search button. The basic functionality is the same
though.
Finally, this switches from plain JavaScript to jQuery functions for
filtering.
* fixes#2082 proper link in mail
only send the promoted user a link to the admin page if their role
allows them to.
* addressed review
Co-authored-by: Ahmad Farhat <ahmad.af.farhat@gmail.com>