486 Commits

Author SHA1 Message Date
6be629ae82 Make all LIKE queries case insensitive (#2402) 2021-01-05 17:22:57 -05:00
752b192ef9 Only pass muteOnStart if set to true (#2401) 2021-01-04 17:55:09 -05:00
cf3b450743 Only return required info for dynamic user lists (#2397) 2020-12-30 17:39:31 -05:00
c9b16729f6 Make room delete permanent (#2390) 2020-12-24 13:54:27 -05:00
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
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
5a51f6d714 Added mapping roles through email to site settings (#2373) 2020-12-16 19:31:32 -05:00
14350c5f5d Added field to track users last login (#2367) 2020-12-14 18:52:08 -05:00
7a2405aa9e Fixed 500 caused by room search (#2366) 2020-12-14 18:15:07 -05:00
7809431873 Fixes to room search (#2343) 2020-12-09 17:48:59 -05:00
97e961d580 fix: health_check SMTP check when no auth required (#2281) 2020-12-08 17:46:58 -05:00
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
f2fc803d2e Improce Word Wrapping in Recording Table (#2328)
Using `break-all` for word-wrapping in the recording table can cause
awkward word wrapping. Using `break-word` should mostly avoid that
while still ensuring that words too long to properly fit are wrapped.

Co-authored-by: Ahmad Farhat <ahmad.af.farhat@gmail.com>
2020-12-05 14:39:13 -05:00
0c8c102f4a Fix Invite Link Separator (#2309)
This patch fixes the separator before the invite link in the text which
is sent to BigBlueButton. The `\n` characters were filtered out so that
at least a space character was missing here.

This fixes #2307

Co-authored-by: Ahmad Farhat <ahmad.af.farhat@gmail.com>
2020-12-05 14:27:56 -05:00
95b86b167e Fixed issue with account activation allowing it to be circumvented (#2324) 2020-12-01 18:21:09 -05:00
57bf994f1b Made rescue clause more specific to catch timeouts for Server Rooms (#2245) 2020-10-28 10:27:24 -04:00
23b08853db Added missing question mark (#2234)
* Added missing question mark

* Made bigbluebutton name variable
2020-10-26 15:27:49 -04:00
68716bc6f3 Added a flash message if the getMeetings call times out (#2232) 2020-10-26 14:38:19 -04:00
49f7a7714a Fixed issue with ldap redirect throwing 404 (#2231) 2020-10-26 11:50:43 -04:00
0ff938a0fd GRN2-xx: Hide signin when error occures (#2221)
* Hide signin when error occures

* Rubocop fixes
2020-10-23 10:01:19 -04:00
0801c626c5 Added limit for join name (#2220) 2020-10-22 15:47:54 -04:00
a17bcb9d14 Fix broken UI on long filenames (#2215)
If you select a presentation with a very long filename in in Greenlight,
the filename text in the upload dialog wraps at the end and leaves the
label box, leading to a slightly broken looking user interface.

This patch adjusts the style to hide the end of a long filename, ending
with a horizontal ellipsis instead.
2020-10-21 10:17:24 -04:00
7c57f4b93a Fixed XSS vulnerability in merge user modal (#2214) 2020-10-20 14:31:59 -04:00
ec4cde64ff allow single quote inside email field (#2187)
Co-authored-by: romainnakedcat <romainnakedcat@greenserver.novalocal>
2020-10-13 10:20:34 -04:00
bc9867566c Updated language dropdown to look nicer (#2171) 2020-10-07 16:26:38 -04:00
92d6c285c4 Removed public from public room recordings (#2169) 2020-10-07 13:32:11 -04:00
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
c80e215110 Added a copy access code button (#2161) 2020-10-06 14:23:46 -04:00
1c2e8ad040 Removed unused option in code (#2153) 2020-10-05 13:53:47 -04:00
56be1ad2ae Improvements to create room modal (#2152) 2020-10-02 14:23:31 -04:00
07557f45dc Added env variable to set the default language (#2147) 2020-10-02 09:50:24 -04:00
165eeccb23 Manually encode the ampersand in a presentation file name (#2140) 2020-09-29 14:48:54 -04:00
75b989240a Added validation for name: Should not include a http(s) url (#2114) 2020-09-22 10:46:17 -04:00
816cefe1b6 Fixed 404 when resending verification email (#2110) 2020-09-21 15:32:05 -04:00
360783606e Fixed 500 caused by editting a user when not allowed to (#2108) 2020-09-21 13:20:15 -04:00
74ebb15dad Fixed 500 when there is an invalid profile picture (#2109) 2020-09-21 13:12:17 -04:00
7309ef9bfd Added back join retry as fallback (#2095) 2020-09-17 14:19:18 -04:00
55dd5725b5 Fixed 404 on room join (#2092) 2020-09-17 11:32:06 -04:00
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
ca94ac46ba Added back ability to set maintenance window through env variables (#2089) 2020-09-15 13:37:58 -04:00
5cbcc82e9b Added confirm modal when deleting recording (#2056) 2020-09-03 11:08:13 -04:00
99c7262971 Added env variable to exclude recording formats from public recordings (#2055) 2020-09-03 10:55:24 -04:00
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
c1c62e8bf8 Fixed issue with shared room not having correct record setting (#2053) 2020-09-02 13:55:09 -04:00
cb700404f3 Fixed bug allowing users to access their own room when they aren't allowed (#2054) 2020-09-02 13:45:29 -04:00
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
e2bfdef967 More work to fix CSRF issue on join (#2043) 2020-08-26 10:20:50 -04:00
503ca52806 Fix Cross-Site-Scripting Vulnerability (#2034)
This patch fixes a cross-site-scripting vulnerability in Greenlight
which allowed users to inject code into Greenlight by adding scripts
into their names.

Co-authored-by: Ahmad Farhat <ahmad.af.farhat@gmail.com>
2020-08-24 14:32:14 -04:00
b23715c906 Changed room joining post to hopefully fix CSRF errors (#2027) 2020-08-19 16:03:10 -04:00
aeb5edf8a0 Hide recording table when disabled through room config (#1988) 2020-08-04 17:59:47 -04:00