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 which significantly
improves the situation. The small, 4 core machine I was testing on could
handle about thrice the amount of requests.
While the new default configuration should be reasonably well suited for
most deployments, this patch further allows users to easily configure
the worker pool on their own in the environment file.
* Declare local JavaScript variables (reported by LGTM)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
* Remove unused local JavaScript variable (reported by LGTM)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
* First steps
* Fixes in account creation flow
* Fixed most testcases
* more test fixes
* Fixed more test cases
* Passing tests and rubocop
* Added rake task to remove rooms
translation completed for the source file '/config/locales/en.yml'
on the 'uk' 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 'cs' language.
Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
* 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>
Co-authored-by: Ahmad Farhat <ahmad.af.farhat@gmail.com>
* Translate /config/locales/en.yml in de_DE
translation completed for the source file '/config/locales/en.yml'
on the 'de_DE' language.
* Translate /config/locales/en.yml in de_DE
translation completed for the source file '/config/locales/en.yml'
on the 'de_DE' language.
* Translate /config/locales/en.yml in de_DE
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>
* 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>
Co-authored-by: Ahmad Farhat <ahmad.af.farhat@gmail.com>
* Translate /config/locales/en.yml in lv
translation completed for the source file '/config/locales/en.yml'
on the 'lv' language.
* Translate /config/locales/en.yml in lv
translation completed for the source file '/config/locales/en.yml'
on the 'lv' 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>
* Translate /config/locales/en.yml in de_DE
translation completed for the source file '/config/locales/en.yml'
on the 'de_DE' language.
* Translate /config/locales/en.yml in de_DE
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>
* 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>
Co-authored-by: Ahmad Farhat <ahmad.af.farhat@gmail.com>
translation completed for the source file '/config/locales/en.yml'
on the 'tr' 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 'it' 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>
* Translate /config/locales/en.yml in hu_HU
translation completed for the source file '/config/locales/en.yml'
on the 'hu_HU' language.
* Translate /config/locales/en.yml in hu_HU
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>
* Translate /config/locales/en.yml in bg
translation completed for the source file '/config/locales/en.yml'
on the 'bg' language.
* Translate /config/locales/en.yml in bg
translation completed for the source file '/config/locales/en.yml'
on the 'bg' 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>
* 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>
Co-authored-by: Ahmad Farhat <ahmad.af.farhat@gmail.com>
translation completed for the source file '/config/locales/en.yml'
on the 'hy' 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_MX' 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 '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 'zh_CN' language.
Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
* Translate /config/locales/en.yml in uk
translation completed for the source file '/config/locales/en.yml'
on the 'uk' language.
* Translate /config/locales/en.yml in uk
translation completed for the source file '/config/locales/en.yml'
on the 'uk' language.
Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
* Translate /config/locales/en.yml in eu
translation completed for the source file '/config/locales/en.yml'
on the 'eu' language.
* Translate /config/locales/en.yml in eu
translation completed for the source file '/config/locales/en.yml'
on the 'eu' 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 'zh_CN' language.
Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
Co-authored-by: Jesus Federico <jesus@123it.ca>
* Replaced bbb_id field with a better string generator
* Update room.rb
How about this instead @farhatahmad ?
* Update room.rb
Co-authored-by: Jesus Federico <jesus@123it.ca>
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>
* Color Configuration for Cookie Banner
Right now, the colors of the cookie banner are hard-coded which can
easily clash with the configured site colors in site settings.
This patch switches to using the configured colors instead.
* Update application.scss
Co-authored-by: Ahmad Farhat <ahmad.af.farhat@gmail.com>
Co-authored-by: Jesus Federico <jesus@123it.ca>