Ahmad Farhat
c81c6ab417
Update joiner.rb
2020-04-28 13:31:27 -04:00
Ahmad Farhat
44bd2315b2
Merge branch 'master' into room-settings
2020-04-28 13:12:20 -04:00
jfederico
aeaa1e7d45
Merge branch 'v2'
2020-04-22 23:40:28 -04:00
Ahmad Farhat
855694c716
Store a random user id for unauthenticated users as a cookie ( #1364 )
2020-04-22 09:46:21 -04:00
François Ménabé
8049ddbd01
Allow to set a filter for LDAP authentication ( #1306 )
2020-04-20 15:25:25 -04:00
farhatahmad
63b6bb7407
Added tests
2020-04-16 15:50:23 -04:00
farhatahmad
5c7062d7c9
Added room configuration tab to admin panel
2020-04-16 15:50:23 -04:00
Ahmad Farhat
5aa1868f63
Local account email is now downcased to match the downcased value stored in db ( #1319 )
...
Co-authored-by: Jesus Federico <jesus@123it.ca>
2020-04-16 15:21:27 -04:00
Lars Kiesow
10ef20363a
Additional LDAP Authentication Methods ( #1287 )
...
This patch allows anonymous and user based authentication to LDAP
servers. This change is based on a patch against bn-ldap-authentication:
- https://github.com/blindsidenetworks/bn-ldap-authentication/pull/2
The patch introduces a new environment variable `LDAP_AUTH` which
controls the authentication method used against the LDAP server:
- `anonymous` enables an anonymous bind to the LDAP with no password
being used.
- `user` uses the user's own credentials to search for his data,
enabling authenticated login to LDAP without the need for a user with
global read privileges.
The default still remains at using a bind user, allowing for a seamless
upgrade path from the previous version.
This fixes #1082
Co-authored-by: Jesus Federico <jesus@123it.ca>
2020-04-16 14:10:14 -04:00
Ahmad Farhat
37decd9b43
Fixed role permissin check for update_recording and delete_recording ( #1308 )
...
Co-authored-by: Jesus Federico <jesus@123it.ca>
2020-04-16 12:52:04 -04:00
Ahmad Farhat
7738499978
Add check to make sure ldap username isn't blank ( #1252 )
...
Co-authored-by: Jesus Federico <jesus@123it.ca>
2020-04-16 12:42:27 -04:00
Ahmad Farhat
2f41b02e72
Fixed server recordings 500 if user doesn't have an email ( #1254 )
...
Co-authored-by: Jesus Federico <jesus@123it.ca>
2020-04-16 12:31:57 -04:00
Ahmad Farhat
348713d4df
GRN2-xx: Admin actions are now dictated by the correct role permission ( #1140 )
...
* Admin actions are now dictated by the correct role permission
* Rspec fix
Co-authored-by: Jesus Federico <jesus@123it.ca>
2020-04-01 10:58:13 -04:00
Ahmad Farhat
c72d77dbcb
Prevented LDAP sign in without password ( #1092 )
...
Co-authored-by: Jesus Federico <jesus@123it.ca>
2020-04-01 10:45:45 -04:00
Ahmad Farhat
a82526736b
Fixed issue with adding roles ( #1051 )
2020-03-20 14:07:39 -04:00
Ahmad Farhat
7fa7d2f525
Removed placeholder text for maintenance window ( #1049 )
...
Co-authored-by: Jesus Federico <jesus@123it.ca>
2020-03-20 11:48:54 -04:00
Ahmad Farhat
b23c1d11b3
Added log line when BigBlueButton exception occurs ( #1048 )
...
Co-authored-by: Jesus Federico <jesus@123it.ca>
2020-03-20 11:40:13 -04:00
etiennevvv
4cc45ab017
Fixed issue with users not being muted on join ( #1027 )
...
Co-authored-by: Jesus Federico <jesus@123it.ca>
2020-03-20 11:10:31 -04:00
etiennevvv
73061bdba9
GRN2-284: Fixed bug where admin rights emails was sent multiple times ( #996 )
...
Co-authored-by: Jesus Federico <jesus@123it.ca>
2020-03-19 11:17:33 -04:00
etiennevvv
84fb615005
GRN2-283: Fixed bug where users can't join a shared room ( Fixed #989 ) ( #995 )
...
* GRN2-283: Fixed bug where users can't join a shared room
* GRN2-283: Fixed bug where users can't join a shared room
* GRN2-283: Fixed bug where users can't join a shared room
Co-authored-by: Ahmad Farhat <ahmad.af.farhat@gmail.com>
2020-03-18 15:19:16 -04:00
Ahmad Farhat
037e4f1c43
Scoped reset password to provider ( #978 )
2020-03-03 14:43:10 -05:00
etiennevvv
edcda54f89
GRN2-268: Fixed redirection after executing an action in Manage Users ( #967 )
...
* GRN2-268: Fixed redirection after executing an action in Manage Users
* GRN2-268: rubocop fix
2020-02-28 11:32:32 -05:00
Ahmad Farhat
54234ef54b
Admins that are not signed in are redirected to the signin page when doing admin actions ( #964 )
2020-02-24 17:30:39 -05:00
etiennevvv
03266730e8
GRN2-233: Made account activation & password reset links based on tokens only ( #959 )
...
* GRN2-233: Hiding email in verification link and password reset link
* updating tests
* removing uid from email verificaiton link
* GRN2-233: modifying test cases
* GRN2-233: Removing uid from password reset link
* GRN2-233: Removed email_params and fixed "authenticated?" method
* GRN2-233: Fixed error when trying to sign in unverified
* GRN2-233: Changed how activation tokens are generated
2020-02-24 13:05:09 -05:00
Ahmad Farhat
4093a89b4a
Added dropdown for dynamically changing the log level ( #962 )
2020-02-24 12:51:27 -05:00
Ahmad Farhat
2cc1fdf281
Refactored code to reduce number of database queries ( #960 )
2020-02-24 12:31:30 -05:00
etiennevvv
92da1f6f87
GRN2-269: Pulling room settings using GET instead of data-attributes ( #953 )
...
* GRN2-269: Pulling room settings using GET instead of data-attributes
* GRN2-269: added test case and fixed documentation
* GRN2:269: rubocop fix
* GRN2-269: Fixed test case
2020-02-21 09:20:22 -05:00
Ahmad Farhat
c75c624a1a
GRN2-xx: Made role priority unique scoped to provider ( #942 )
...
* Made role priority unique scoped to provider
* Fixed issues related to update_role after making role priority unique
2020-02-19 13:38:16 -05:00
Ahmad Farhat
005c738e4d
GRN2-260: Added the ability to merge user accounts ( #938 )
...
* Added the ability to merge user accounts
* Styling fixes
2020-02-14 10:24:06 -05:00
Ahmad Farhat
31258272c2
GRN2-265: No longer throws 500 if provider not included ( #944 )
...
* No longer throws 500 if provider not included
* Rubocop fix
2020-02-14 10:03:16 -05:00
etiennevvv
b67bee2638
GRN2-264: Allow users to change the room settings on Home Room ( #951 )
...
* GRN2-264: Allow users to change the room settings on Home Room
* fixing inconsistencies
* removing 'secondary_rooms' method and adjusting looping
2020-02-12 17:49:35 -05:00
etiennevvv
01c93b1f67
GRN2-268: Redirecting user back to page they came from in Manage Users ( #950 )
...
* GRN2-268: Redirecting user back to page they come from in Manage Users
* re-factoring
2020-02-12 17:49:35 -05:00
etiennevvv
eb8cc9b17f
GRN2-267 Redirect admin link when approving a new user to the "pending" tab ( #947 )
...
* GRN2-267 redirect admin to 'pending' tab when approving a new user
* changes after robocop failed
* robocop changes
2020-02-12 17:49:35 -05:00
Ahmad Farhat
e15e119d5d
Included missing assets and fixed room delete 404 ( #939 )
2020-02-12 17:49:35 -05:00
Ahmad Farhat
397b4b742f
GRN2-128: Fixed issue with manage rooms permissions ( #929 )
...
* Fixed issue with manage rooms permissions
* Improved server rooms efficiency
2020-02-12 17:49:35 -05:00
Ahmad Farhat
967130e57c
GRN2-253: Added the ability to share rooms across multiple users ( #912 )
...
* Added ability to share rooms with other users
* Fixed testcases
2020-02-12 17:49:35 -05:00
Ahmad Farhat
8cbfc3f730
GRN2-xx: Users can no longer join a room whose owner is banned or pending ( Fixed #902 ) ( #922 )
...
* Users can no longer join a room whose owner is banned or pending
* Changed flash message
* rubocop fix
2020-02-12 17:49:35 -05:00
Ahmad Farhat
005ec84c73
GRN2-252: Change to how sign ins are processed ( #869 )
...
* Social to local
* Social/Local to Social
* Rubocop fixes
* Added test cases
* Added the ability to clear social uids
* Update admins_controller.rb
* Update admins_controller.rb
2020-02-12 17:49:35 -05:00
Ahmad Farhat
734f7a757e
GRN2-241: Switched Docker base image to Alpine ( #853 )
...
* Switched to alpine image
* Switch Docker base image to alpine
* Removed uneeded code
* Slimmed it down even further
2020-02-12 17:49:35 -05:00
Ahmad Farhat
09de6b6739
GRN2-128: Added the ability to manage rooms ( #848 )
...
* Added the ability to manage rooms
* Small fixes
* Fixed travis complaints
* Fixed issues with role permissions
* Fixed issue with delete room
* Fixed rubocop and added testcases
2020-02-12 17:49:35 -05:00
Ahmad Farhat
984e5cc085
Fixed 500 caused by 1 provider ( #937 )
2020-01-28 11:34:46 -05:00
Ahmad Farhat
079d64795b
Redirect authenticated users to main room when accessing ldap signin ( #856 )
...
Co-authored-by: Jesus Federico <jesus@123it.ca>
2020-01-22 16:32:26 -05:00
Ahmad Farhat
8a4118a9c1
Added back cache clear function ( #867 )
2019-11-28 17:36:49 +01:00
Ahmad Farhat
d35a554199
Fixed small issue with sign in to prevent error pages from appearing ( #868 )
2019-11-15 10:49:52 -05:00
farhatahmad
2b9ab05e1e
Fixed signin bug
2019-11-14 11:59:37 -05:00
Ahmad Farhat
933408f68b
GRN2-xx: Removed Health Check Gem ( #840 )
...
* Initial work on removing health check gem
* Added health checks
* Fixed gemfile
2019-10-21 12:09:31 -04:00
Ahmad Farhat
49def8f405
GRN2-247: Added Active Pending Banned Deleted tabs to manage users ( #816 )
...
* Added Active Pending Banned Deleted tabs to manage users
* Removed hard coded strings
* Fixed issues with sign in flow
* Fixed issues with rooms not deleting
2019-10-10 16:10:23 -04:00
Ahmad Farhat
6d29422c31
Default to EN if language is not recognized ( #805 )
2019-09-20 09:02:55 -04:00
Ahmad Farhat
e13e762349
GRN2-243: Added a report issue button to the 500 error page ( #796 )
...
* Added a report issue button to the 500 error page
* Removed unused code
* Removed unused quotes
2019-09-19 10:03:44 -04:00
Ahmad Farhat
7c6ad6d903
Improve code quality to increase scrut score ( #789 )
2019-09-19 10:03:44 -04:00