We noticed that the current default settings perform very poorly under
load. We managed to literally take down Greenlight during a larger event
when people where accessing the landing page for rooms and when doing
some tests, I was more or less able to DoS Greenlight on my own.
This patch adds a default worker configuration similar to the previous
configuration with one worker, but lets users easily adjust it to more
workers which significantly improves the situation. The small, 4 core
machine I was testing on could handle about thrice the amount of
requests.
Co-authored-by: Ahmad Farhat <ahmad.af.farhat@gmail.com>
* create proper test message and use correct env var for from address. designed to work with sandboxed AWS ses
* use actionmailer in configuration test rake task
* remove mailfactory gem
* tidy up Gemfile and gem lock
* fix rubocop issues
* Update configuration.rake
Co-authored-by: Ahmad Farhat <ahmad.af.farhat@gmail.com>
Co-authored-by: Ahmad Farhat <ahmad.farhat@blindsidenetworks.com>
* Update configuration.rake
use env variable SMTP_TEST_RECIPIENT so customers using mail providers like Microsoft can specify RFC 2606 compliant destination test recipients
* add SMTP_TEST_RECIPIENT to sample.env
add SMTP_TEST_RECIPIENT to sample.env with default value to ensure retro compatibility
* default to notifications@example.com
default to notifications@example.com should SMTP_TEST_RECIPIENT not be defined
Co-authored-by: Ahmad Farhat <ahmad.af.farhat@gmail.com>
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>
Co-authored-by: Ahmad Farhat <ahmad.af.farhat@gmail.com>
* fixes#2082 proper link in mail
only send the promoted user a link to the admin page if their role
allows them to.
* addressed review
Co-authored-by: Ahmad Farhat <ahmad.af.farhat@gmail.com>
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>
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>
Co-authored-by: Ahmad Farhat <ahmad.af.farhat@gmail.com>
translation completed for the source file '/config/locales/en.yml'
on the 'zh_CN' 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>
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>
Co-authored-by: Ahmad Farhat <ahmad.af.farhat@gmail.com>
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>
Co-authored-by: Ahmad Farhat <ahmad.af.farhat@gmail.com>
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>
Co-authored-by: Ahmad Farhat <ahmad.af.farhat@gmail.com>
translation completed for the source file '/config/locales/en.yml'
on the 'zh_CN' 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>
translation completed for the source file '/config/locales/en.yml'
on the 'hu_HU' 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>
translation completed for the source file '/config/locales/en.yml'
on the 'ko_KR' 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>
This patch fixes a cross-site-scripting vulnerability in Greenlight
which allowed users to inject code into Greenlight by adding scripts
into their names.
Co-authored-by: Ahmad Farhat <ahmad.af.farhat@gmail.com>
translation completed for the source file '/config/locales/en.yml'
on the 'da' 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>
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>
Co-authored-by: Ahmad Farhat <ahmad.af.farhat@gmail.com>
translation completed for the source file '/config/locales/en.yml'
on the 'fa_IR' language.
Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
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>
Co-authored-by: Ahmad Farhat <ahmad.af.farhat@gmail.com>
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>
Co-authored-by: Ahmad Farhat <ahmad.af.farhat@gmail.com>
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>
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>
Co-authored-by: Ahmad Farhat <ahmad.af.farhat@gmail.com>
* Allow uploading larger presentations
This patch allows uploading presentations up to 30MB instead of the
default 1MB. This should prevent users from getting an 401 reply from
Nginx in most cases.
* Update greenlight.nginx
Co-authored-by: Ahmad Farhat <ahmad.farhat@blindsidenetworks.com>
Co-authored-by: Ahmad Farhat <ahmad.af.farhat@gmail.com>