Commit Graph

538 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
Ahmad Farhat 3cec43edc3
Prevent double hyphens in room names (#2813) 2021-06-28 22:47:34 -04:00
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
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
Mohamad Abras 4658de820f
fix current user being nil on delete account page (#2749) 2021-06-08 22:59:37 -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
Henning b61df09b94
Internationalize date format (#2685)
* Changed view_date helper to use datetime format from i18n

* Removed German translation for date format, should be added via
transifex

Co-authored-by: Henning Schumann <henning.schumann@unicode-it.de>
Co-authored-by: Ahmad Farhat <ahmad.af.farhat@gmail.com>
2021-06-07 18:32:18 -04:00
Ahmad Farhat bb9e33d993
Upgraded i18n mapping gem (#2756)
* Upgraded i18n mapping gem

* Rubocop
2021-06-03 17:48:19 -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
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
EmmyGraugans 505ed05c5a
Added variable in .env to enforce certain domains in account registrations (#1589)
Allow REQUIRE_MAIL_DOMAIN to not exist in addition to it being empty

Undo changes in config/locales/de_DE.yml

changed .env variable name to GREENLIGHT_ACCOUNT_HD; allowed only comma and no whitespace as separator

Allow the admin to change email-addresses, just enforce domain on registration

Co-authored-by: Gaja Sophie Peters <gaja.peters@uni-hamburg.de>
Co-authored-by: Ahmad Farhat <ahmad.af.farhat@gmail.com>
2021-06-01 17:11:15 -04:00
Moritz 0181678e1a
fix for URI.escape obsolete (#2709) 2021-06-01 17:01:54 -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
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 2359d1256f
Fix bug that caused room edit to clear settings (#2649) 2021-04-12 19:31:02 -04:00
Ahmad Farhat 076bee5e95
Added privacy policy link to cookie banner (#2647) 2021-04-12 18:36:05 -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 e8ea4972f3
Fixed bug that caused public recordings not to show (#2601) 2021-03-23 18:07:41 -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 1368bbc5e7
GRN2-xx: Small improvements to moderator access code (#2582)
* Fixed default value for moderator access

* Reword
2021-03-17 17:47:55 -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
Mitsutaka Sato 779b41a64a
Add open_timeout (#2555) 2021-03-03 17:41:10 -05:00
Mitsutaka Sato 3eaa61a463
Set timeout for valid_url (#2552)
Co-authored-by: Ahmad Farhat <ahmad.af.farhat@gmail.com>
2021-02-27 13:21:38 -05:00
Ahmad Farhat 09ab074aaf
Complete refactor of Gemfile and upgraded gems (#2553) 2021-02-26 17:34:07 -05:00
Ahmad Farhat 3155e8a2e5
Removed unused button (#2523) 2021-02-10 17:19:01 -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 0833491f41
Include shared rooms in room count for search (#2470) 2021-01-25 20:14:33 -05:00
Ahmad Farhat 60b8bbfa06
Shortened date for last session to make room block smaller (#2449) 2021-01-20 16:55:05 -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 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