Commit Graph

298 Commits

Author SHA1 Message Date
Ahmad Farhat f013e2b529
GRN2-385: Recording permission tied to role cleanup (#2812)
* Code cleanup

* String change
2021-06-28 21:47:04 -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
Mohamad Abras 4658de820f
fix current user being nil on delete account page (#2749) 2021-06-08 22:59:37 -04:00
Ahmad Farhat 0f90c4e873
Added inaccesible recording format (#2750) 2021-06-02 18:50:11 -04:00
Ahmad Farhat f37f4c1ef4
Fix LDAP password string (#2747)
* Fix LDAP password string

* Rspec
2021-06-01 17:42:23 -04:00
Ahmad Farhat 5872807308
Added failed login logging (#2746) 2021-06-01 17:18:48 -04:00
Big Blue Meeting 3a4497d1a1
Fix error with missing last session (#2721)
In some cases when you create a new room there is a missing last session. This throws an error. This check fixes that error.
2021-05-19 16:58:32 -04:00
Ahmad Farhat 2359d1256f
Fix bug that caused room edit to clear settings (#2649) 2021-04-12 19:31:02 -04:00
Ahmad Farhat eeab951fcd
Added full email list to invite flash (#2646) 2021-04-12 17:32:48 -04:00
Jesus Federico 3d887d2393
GL2-XX: updated gems (#2613)
* GL2-XX: updated gems

* fixed rubocop from one of the previos PRs

* dos2unix on .github/workflows/main.yml
2021-03-25 17:29:04 -04:00
Ahmad Farhat 4f3c7db82a
Another fix for unverified accounts (#2609) 2021-03-24 17:52:08 -04:00
Ahmad Farhat 6b7f9e0831
Fixed 500 if user has no rooms in Latest Recordings (#2600) 2021-03-23 17:58:30 -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 09ab074aaf
Complete refactor of Gemfile and upgraded gems (#2553) 2021-02-26 17:34:07 -05:00
Louis VICAINNE 1667ac40e8
fix(omniauth): Correct too many redrect error with OpenID provider (#2462)
* fix(omniauth): Correct too many redrect error with OpenID provider

This fix avoids "Too Many redirects" error with login with OpenID and without terms

* Correct code for travis rules checks

Replace if not by unless to fulfill requirements by travis

* Update authenticator.rb

* Remove trailing space

Co-authored-by: Ahmad Farhat <ahmad.af.farhat@gmail.com>
2021-02-10 17:13:54 -05:00
Ahmad Farhat 8fcb80a7d5
Fixed issue causing 500 for unautheticated users (#2515) 2021-02-06 15:40:21 -05:00
Ahmad Farhat 5b52489d54
Shortened list of users being returned (#2512) 2021-02-06 14:35:13 -05:00
Ahmad Farhat 062525d2d5
Pass createTime as part of the join call (#2488) 2021-01-27 19:48:39 -05:00
Ahmad Farhat 6ee92c839b
Added recaptcha to reset password if enabled (#2475) 2021-01-26 19:44:23 -05:00
Ahmad Farhat 656e4057cc
Fixed 400 with share room and merge user (#2448) 2021-01-19 18:28:10 -05:00
Ahmad Farhat 957bf88a85
Allowed admins to share room with themselves (#2442) 2021-01-18 18:34:42 -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 752b192ef9
Only pass muteOnStart if set to true (#2401) 2021-01-04 17:55:09 -05:00
Ahmad Farhat cf3b450743
Only return required info for dynamic user lists (#2397) 2020-12-30 17:39:31 -05:00
Ahmad Farhat c9b16729f6
Make room delete permanent (#2390) 2020-12-24 13:54:27 -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 14350c5f5d
Added field to track users last login (#2367) 2020-12-14 18:52:08 -05:00
Julien Gribonvald 97e961d580
fix: health_check SMTP check when no auth required (#2281) 2020-12-08 17:46:58 -05:00
Lars Kiesow 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
Ahmad Farhat 95b86b167e
Fixed issue with account activation allowing it to be circumvented (#2324) 2020-12-01 18:21:09 -05:00
Ahmad Farhat 57bf994f1b
Made rescue clause more specific to catch timeouts for Server Rooms (#2245) 2020-10-28 10:27:24 -04:00
Ahmad Farhat 23b08853db
Added missing question mark (#2234)
* Added missing question mark

* Made bigbluebutton name variable
2020-10-26 15:27:49 -04:00
Ahmad Farhat 68716bc6f3
Added a flash message if the getMeetings call times out (#2232) 2020-10-26 14:38:19 -04:00
Ahmad Farhat 49f7a7714a
Fixed issue with ldap redirect throwing 404 (#2231) 2020-10-26 11:50:43 -04: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 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 1c2e8ad040
Removed unused option in code (#2153) 2020-10-05 13:53:47 -04:00
Ahmad Farhat 07557f45dc
Added env variable to set the default language (#2147) 2020-10-02 09:50:24 -04:00
Ahmad Farhat 165eeccb23
Manually encode the ampersand in a presentation file name (#2140) 2020-09-29 14:48:54 -04:00
Ahmad Farhat 816cefe1b6
Fixed 404 when resending verification email (#2110) 2020-09-21 15:32:05 -04:00
Ahmad Farhat 360783606e
Fixed 500 caused by editting a user when not allowed to (#2108) 2020-09-21 13:20:15 -04:00
Ahmad Farhat 55dd5725b5
Fixed 404 on room join (#2092) 2020-09-17 11:32:06 -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 c1c62e8bf8
Fixed issue with shared room not having correct record setting (#2053) 2020-09-02 13:55:09 -04:00
Ahmad Farhat cb700404f3
Fixed bug allowing users to access their own room when they aren't allowed (#2054) 2020-09-02 13:45:29 -04:00
Ahmad Farhat e2bfdef967
More work to fix CSRF issue on join (#2043) 2020-08-26 10:20:50 -04:00