Commit Graph

1062 Commits

Author SHA1 Message Date
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 32da1ee206
Forked the workflows to avoid potential disruption (#2565) 2021-03-07 14:30:11 -05:00
Ahmad Farhat cd4433798c
GRN2-354: Switch default database to Postgres 13.2 (#2563)
* Switch default database to Postgres 13.2

* Update pg version in Github Actions
2021-03-04 18:01:01 -05:00
Mitsutaka Sato 779b41a64a
Add open_timeout (#2555) 2021-03-03 17:41:10 -05:00
zimmersi ba0ec6ba71
enable SMTPS: SMTP over direct TLS connection (#2485)
* enable SMTPS: SMTP over direct TLS connection

* remove gem 'sqlite3', '~> 1.3.6' as requested

* enable SMTPS: SMTP over direct TLS connection

* remove gem 'sqlite3', '~> 1.3.6' as requested

* changed image name to kwgl

* rebase and rubocop -a

* removed  gem 'sqlite3', '~> 1.3.6'
2021-03-01 18:50:00 -05:00
transifex-integration[bot] c754447598
Translate /config/locales/en.yml in ca (#2549)
translation completed for the source file '/config/locales/en.yml'
on the 'ca' language.

Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
2021-03-01 18:43:20 -05:00
Lars Kiesow c113b5e456
More Resilient Parsing of Booleans (#1840)
This patch makes parsing booleans from configuration settings more
resilient to ensure no accidental errors occur e.g. due to the use of
upper or lowercase letters.

Example: Without this patch, the following configuration would disable
Greenlight accounts which is quite unexpected behavior from a users
perspective:

    ALLOW_GREENLIGHT_ACCOUNTS=True

Co-authored-by: Ahmad Farhat <ahmad.af.farhat@gmail.com>
2021-02-28 12:43:57 -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
Lars Kiesow c5b00e89aa
Update to Ruby 2.7 (#2292)
* Update to Ruby 2.7

The currently used Ruby 2.5 is pretty old and is nearing its end of
life [1]. This patch updates the used Ruby version to the current
stable version.

[1] https://www.ruby-lang.org/en/downloads/branches/

* Update .ruby-version to 2.7.2

Co-authored-by: Ahmad Farhat <ahmad.af.farhat@gmail.com>
2021-02-22 18:14:33 -05:00
Jesus Federico 19434df22c
added rake task for checking livness on k8s deployments (#2537) 2021-02-17 10:40:31 -05:00
Ahmad Farhat 7c547c36ec
Removed old travis stuff (#2531) 2021-02-14 14:06:19 -05:00
Ahmad Farhat 51cc00bcff
Only build image on release (#2530) 2021-02-14 14:01:12 -05:00
Fred Dixon 3614d0fc5e
Point to Greenlight mailing list 2021-02-13 23:09:56 -04:00
Ahmad Farhat 96b554bb5b
added sqlite to Gemfile (#2528) 2021-02-12 18:35:00 -05:00
transifex-integration[bot] c738bb44ea
Translate /config/locales/en.yml in cs (#2522)
translation completed for the source file '/config/locales/en.yml'
on the 'cs' language.

Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
2021-02-10 17:20:01 -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
Jesus Federico 377aa7bdb9
Update greenlight-auto-deployer.service 2021-02-08 15:37:23 -05:00
Ahmad Farhat be6e2564d6
Renamed workflows and updated version code (#2516) 2021-02-06 16:24:22 -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 a608975b08
GRN2-346: Final fix for github actions (#2511)
* Final fix to docker version code

* Final fix for release version code
2021-02-04 19:02:13 -05:00
Ahmad Farhat 27bc685b76
GRN2-346: Another attempt at short sha (#2508)
* Short sha

* Another try at short sha
2021-02-03 17:34:12 -05:00
Ahmad Farhat d304cb0d39
Short sha (#2507) 2021-02-03 17:29:19 -05:00
Ahmad Farhat 9a2842297b
Attempt to fix version code (#2506) 2021-02-03 17:21:55 -05:00
Ahmad Farhat b77b6665a5
More changes to workflow (#2500) 2021-02-01 18:28:21 -05:00
Ahmad Farhat d64b8d023a
GRN2-346: Workflow changes (#2499)
* Move cd from travis to github

* Changes to workflow
2021-02-01 18:14:58 -05:00
Ahmad Farhat 422ded1d3b
GRN2-346: Move cd from travis to github (#2498)
* Move cd from travis to github

* Fix build args
2021-02-01 18:02:23 -05:00
Ahmad Farhat 629dd7037a
Fix workflow cache (#2493) 2021-02-01 17:52:59 -05:00
Ahmad Farhat cfe9b1e787
Attempt to fix workflow (#2492) 2021-01-30 13:05:23 -05:00
Ahmad Farhat 520ce28cf4
Move yml file to workflows (#2491) 2021-01-28 19:31:33 -05:00
Ahmad Farhat 502fa42978
Rename ci.yml to main.yml 2021-01-28 19:28:58 -05:00
Ahmad Farhat dbba634dfd
Added rubocop and rspec check to Github actions (#2490) 2021-01-28 19:28:09 -05:00
transifex-integration[bot] 91fbe99fda
Translate '/config/locales/en.yml' in 'ar' (#2476)
* Translate /config/locales/en.yml in ar

translation completed for the source file '/config/locales/en.yml'
on the 'ar' language.

* Translate /config/locales/en.yml in ar

translation completed for the source file '/config/locales/en.yml'
on the 'ar' language.

* Translate /config/locales/en.yml in ar

translation completed for the source file '/config/locales/en.yml'
on the 'ar' language.

Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
2021-01-28 17:35:32 -05:00
transifex-integration[bot] b280293114
Translate /config/locales/en.yml in gl (#2479)
translation completed for the source file '/config/locales/en.yml'
on the 'gl' language.

Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
2021-01-28 17:35:03 -05:00
transifex-integration[bot] 1d2b48c134
Translate '/config/locales/en.yml' in 'nl' (#2480)
* Translate /config/locales/en.yml in nl

translation completed for the source file '/config/locales/en.yml'
on the 'nl' language.

* Translate /config/locales/en.yml in nl

translation completed for the source file '/config/locales/en.yml'
on the 'nl' language.

Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
2021-01-28 17:32:45 -05:00
transifex-integration[bot] b886be4a87
Translate '/config/locales/en.yml' in 'fr' (#2481)
* Translate /config/locales/en.yml in fr

translation completed for the source file '/config/locales/en.yml'
on the 'fr' language.

* Translate /config/locales/en.yml in fr

translation completed for the source file '/config/locales/en.yml'
on the 'fr' language.

Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
2021-01-28 17:31:38 -05:00
transifex-integration[bot] a9990f81f1
Translate /config/locales/en.yml in de_DE (#2482)
translation completed for the source file '/config/locales/en.yml'
on the 'de_DE' language.

Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
2021-01-28 17:31:08 -05:00
transifex-integration[bot] 6ce37dca81
Translate /config/locales/en.yml in es (#2483)
translation completed for the source file '/config/locales/en.yml'
on the 'es' language.

Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
2021-01-28 17:30:46 -05:00
transifex-integration[bot] d089eb6d99
Translate /config/locales/en.yml in ja_JP (#2484)
translation completed for the source file '/config/locales/en.yml'
on the 'ja_JP' language.

Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
2021-01-28 17:30:29 -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
transifex-integration[bot] b8575bd512
Translate /config/locales/en.yml in es (#2469)
translation completed for the source file '/config/locales/en.yml'
on the 'es' language.

Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
2021-01-25 20:16:03 -05:00
Ahmad Farhat 0833491f41
Include shared rooms in room count for search (#2470) 2021-01-25 20:14:33 -05:00
transifex-integration[bot] e383102187
Translate /config/locales/en.yml in fr (#2451)
translation completed for the source file '/config/locales/en.yml'
on the 'fr' language.

Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
2021-01-24 15:01:09 -05:00
transifex-integration[bot] e40f5f5ba7
Translate /config/locales/en.yml in ja_JP (#2453)
translation completed for the source file '/config/locales/en.yml'
on the 'ja_JP' language.

Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
Co-authored-by: Ahmad Farhat <ahmad.af.farhat@gmail.com>
2021-01-24 15:00:38 -05:00
Jesus Federico 44abc0e91e
GRN2-XX: Patch to overcome performance issues with the database. (#2454) 2021-01-20 17:25:49 -05:00