Commit Graph

1083 Commits

Author SHA1 Message Date
Ahmad Farhat 881910e17b
Readme PR template (#2632) 2021-04-06 18:38:29 -04:00
Ahmad Farhat be096eda75
Fix PR template (#2631) 2021-03-30 19:48:19 -04:00
Ahmad Farhat 86900ef0a5
Added PR template (#2630) 2021-03-30 19:42:36 -04:00
Martin Beckmann 760b80ae9a
Update Dockerfile (#2620)
--> 1a625c70ad (r48758847)

---

 mantridereso yesterday

I think it's necessary to add 'shared-mime-info' package at this position as well:

`
############### Build step done ###############

FROM ruby:2.7.2-alpine
Set a variable for the install location.

ARG RAILS_ROOT=/usr/src/app
ARG PACKAGES="tzdata curl postgresql-client sqlite-libs yarn nodejs bash shared-mime-info"

ENV RAILS_ENV=production
ENV BUNDLE_APP_CONFIG="$RAILS_ROOT/.bundle"
`
Otherwise presentation preupload fails, as /usr/share/mime/packages/freedesktop.org.xml isn't available in container.
@jfederico
jfederico yesterday Author Member

Yeah, that is right. The gem is passed but the dependency is still required
2021-03-28 12:47:39 -04:00
transifex-integration[bot] 81231caef5
Translate /config/locales/en.yml in it (#2618)
translation completed for the source file '/config/locales/en.yml'
on the 'it' language.

Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
2021-03-28 12:18:49 -04:00
transifex-integration[bot] af7478af83
Translate /config/locales/en.yml in ar (#2616)
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-03-28 12:18:37 -04:00
transifex-integration[bot] a76fcf3d51
Translate '/config/locales/en.yml' in 'ja_JP' (#2621)
* Translate /config/locales/en.yml in ja_JP

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

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

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

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

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-03-28 12:18:02 -04:00
transifex-integration[bot] acb761b320
Translate /config/locales/en.yml in de_DE (#2623)
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-03-28 12:17:49 -04:00
Jesus Federico 1a625c70ad
GRN2-XX: Updated main script for CI and Dockerfile (#2614)
* GRN2-XX: Updated main script for ci

* patch for Dockerfile

* removed forced installation of mimemagic from Dockerfile
2021-03-25 18:20:34 -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
Julien Gribonvald c24f3c21b6
chore(deps): bump mimemagic version to 0.3.6 required (#2604) 2021-03-24 17:35:10 -04:00
Ahmad Farhat 2a68b2d39a
Add IP Address to logs (#2602) 2021-03-23 18:20:48 -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
transifex-integration[bot] c21dd8f39a
Translate /config/locales/en.yml in de_DE (#2591)
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-03-21 16:02:05 -04:00
transifex-integration[bot] 0f76ec6b3b
Translate '/config/locales/en.yml' in 'ja_JP' (#2594)
* Translate /config/locales/en.yml in ja_JP

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

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

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-03-21 16:01:45 -04:00
transifex-integration[bot] 2ebf2d3cef
Translate /config/locales/en.yml in it (#2587)
translation completed for the source file '/config/locales/en.yml'
on the 'it' language.

Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
2021-03-21 16:01:23 -04:00
transifex-integration[bot] 6bf22aeef1
Translate /config/locales/en.yml in gl (#2584)
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-03-21 16:00:57 -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
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