282 Commits

Author SHA1 Message Date
Thibault Francois
d71ec232a2
[fix] avoid printing %{inject} when no_recordings are available (#2819)
Co-authored-by: Thibault François <thibault@octopuce.fr>
2021-06-30 18:59:52 -04:00
Ahmad Farhat
0b418d7259
Stop disabled settings from being accessible by tab (#2815) 2021-06-29 00:26:19 -04:00
Julien Gribonvald
a7ecd54381
Feat: recording perm (#2775)
* 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.
2021-06-23 18:16:37 -04:00
Ahmad Farhat
0f12eaa885
Fixed public recording strings (#2789) 2021-06-18 14:59:00 -04:00
Ahmad Farhat
cdc50e9a62
Remove recording sort (#2788) 2021-06-18 14:17:55 -04:00
Ahmad Farhat
998342e51f
Fixed overflowing menu (#2782) 2021-06-14 19:59:25 -04:00
Ahmad Farhat
5ba763a216
Moderator access code now being shown in the admin room settings (#2774) 2021-06-08 22:56:07 -04:00
Dennis1993
184ffdb288
Add autofocus and required attributes (#2703)
* 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>
2021-06-07 19:13:00 -04:00
Ahmad Farhat
506a26ac86
Fixed issues with inaccessible recording (#2755) 2021-06-03 17:25:26 -04:00
Ahmad Farhat
0f90c4e873
Added inaccesible recording format (#2750) 2021-06-02 18:50:11 -04:00
Moritz
0181678e1a
fix for URI.escape obsolete (#2709) 2021-06-01 17:01:54 -04:00
Mohamad Abras
25254ce47c
fix wihtespace, tabs to spaces (#2683) 2021-04-24 13:37:48 -04:00
Mohamad Abras
81c9e7db10
use rails action_name & controller_name methods (#2666)
Co-authored-by: Ahmad Farhat <ahmad.af.farhat@gmail.com>
2021-04-17 14:35:52 -04:00
Dennis1993
5eea14a780
Optimize space between icon and text in navigation (#2672)
* 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.
2021-04-17 14:18:47 -04:00
Ahmad Farhat
076bee5e95
Added privacy policy link to cookie banner (#2647) 2021-04-12 18:36:05 -04:00
Ahmad Farhat
e8ea4972f3
Fixed bug that caused public recordings not to show (#2601) 2021-03-23 18:07:41 -04:00
Ahmad Farhat
79beb7f3fa
Added valid until text to invite email (#2599) 2021-03-22 19:26:51 -04:00
Ahmad Farhat
a33fa06f09
Moved moderator access setting to Room Configuration (#2579) 2021-03-17 17:21:34 -04:00
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
Ahmad Farhat
4cd41f5aa8
Replace all CRLF files to LF (#2572) 2021-03-14 14:06:11 -04:00
Ahmad Farhat
3155e8a2e5
Removed unused button (#2523) 2021-02-10 17:19:01 -05:00
Ahmad Farhat
6ee92c839b
Added recaptcha to reset password if enabled (#2475) 2021-01-26 19:44:23 -05:00
Ahmad Farhat
0833491f41
Include shared rooms in room count for search (#2470) 2021-01-25 20:14:33 -05:00
Ahmad Farhat
957bf88a85
Allowed admins to share room with themselves (#2442) 2021-01-18 18:34:42 -05:00
Ahmad Farhat
0e8e188e24
Fixed room name wrapping issues (#2439) 2021-01-18 17:45:54 -05:00
Ahmad Farhat
4bf0811136
Times are now rendered using the browsers time zone (#2438) 2021-01-17 14:48:51 -05:00
Ahmad Farhat
2b0a80c7eb
GRN2-277: Optimize server recordings to make it useable for large deployments (#2411)
* 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
2021-01-12 17:36:51 -05:00
Ahmad Farhat
b2500e6504
GRN2-309: Allows admins to edit a non-local users name and email (#2389)
* Allows admins to edit a non-local users name and email

* Fixed edge case
2020-12-24 13:21:56 -05:00
Ahmad Farhat
86e6056d3c
GRN2-310: Share Access now dynamically pulls the list of users from the server (#2380)
* 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
2020-12-21 17:21:17 -05:00
Ahmad Farhat
5a51f6d714
Added mapping roles through email to site settings (#2373) 2020-12-16 19:31:32 -05:00
Ahmad Farhat
7809431873
Fixes to room search (#2343) 2020-12-09 17:48:59 -05:00
Lars Kiesow
04651ea65d
Allow Searching for Rooms (#2315)
* 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.
2020-12-07 18:20:58 -05:00
Ahmad Farhat
0ff938a0fd
GRN2-xx: Hide signin when error occures (#2221)
* Hide signin when error occures

* Rubocop fixes
2020-10-23 10:01:19 -04:00
Ahmad Farhat
0801c626c5
Added limit for join name (#2220) 2020-10-22 15:47:54 -04:00
Ahmad Farhat
bc9867566c
Updated language dropdown to look nicer (#2171) 2020-10-07 16:26:38 -04:00
Ahmad Farhat
92d6c285c4
Removed public from public room recordings (#2169) 2020-10-07 13:32:11 -04:00
Ahmad Farhat
5c79d37524
GRN2-xx: Added a tab that displays invited users when using Join by Invitation (#2162)
* Added a tab that displays invited users when using Join by Invitation

* Made search work
2020-10-07 11:23:19 -04:00
Ahmad Farhat
c80e215110
Added a copy access code button (#2161) 2020-10-06 14:23:46 -04:00
Ahmad Farhat
56be1ad2ae
Improvements to create room modal (#2152) 2020-10-02 14:23:31 -04:00
Ahmad Farhat
816cefe1b6
Fixed 404 when resending verification email (#2110) 2020-09-21 15:32:05 -04:00
Ahmad Farhat
74ebb15dad
Fixed 500 when there is an invalid profile picture (#2109) 2020-09-21 13:12:17 -04:00
Toni Förster
a27884733d
fixes #2082 proper link in mail (#2083)
* 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>
2020-09-15 16:08:32 -04:00
Ahmad Farhat
ca94ac46ba
Added back ability to set maintenance window through env variables (#2089) 2020-09-15 13:37:58 -04:00
Ahmad Farhat
5cbcc82e9b
Added confirm modal when deleting recording (#2056) 2020-09-03 11:08:13 -04:00
Ahmad Farhat
99c7262971
Added env variable to exclude recording formats from public recordings (#2055) 2020-09-03 10:55:24 -04:00
Mitsutaka Sato
3de60daf85
WR342136 One more piece for hide/show recording (#2059)
Co-authored-by: Ahmad Farhat <ahmad.af.farhat@gmail.com>
2020-09-03 10:45:53 -04:00
felix-itz
5760bea00b
LDAP Sign-In form: user field attributes (#2014)
- autocomplete="username": Tell the browser a user name should be filled, if any.
  Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete
- autocapitalize="none": Tell browsers (especially on mobile devices like iOS) not to
  capitalize the first letter
  Reference: https://developer.apple.com/library/archive/documentation/AppleApplications/Reference/SafariHTMLRef/Articles/Attributes.html#//apple_ref/doc/uid/TP40008058-autocapitalize
- spellcheck="false": Do not spell-check the user name
  Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/spellcheck
- autofocus: indicates that the input should automatically have focus, which makes sense
  because this form is shown after having clicked the "login" button so it's not an issue that
  the screen reader will skip the "Sign in to your account" text.
  Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#htmlattrdefautofocus

This PR will improve usability especially on mobile devices. It does *not* not attempt to improve WCAG compliance.

Co-authored-by: Ahmad Farhat <ahmad.af.farhat@gmail.com>
2020-08-26 14:03:19 -04:00
Ahmad Farhat
aeb5edf8a0
Hide recording table when disabled through room config (#1988) 2020-08-04 17:59:47 -04:00
Ahmad Farhat
0710c569b7
GRN2-xx: Allowed file types now matches BigBlueButton (#1966)
* Allowed file types now matches BigBlueButton

* Uppercased file types are now allowed

* Rubocop
2020-08-04 10:35:07 -04:00
Ahmad Farhat
bb83bf553d
Revert hiding recording menus when recording disabled (#1959) 2020-07-30 15:18:28 -04:00