Commit Graph

1099 Commits

Author SHA1 Message Date
Lars Kiesow a17bcb9d14
Fix broken UI on long filenames (#2215)
If you select a presentation with a very long filename in in Greenlight,
the filename text in the upload dialog wraps at the end and leaves the
label box, leading to a slightly broken looking user interface.

This patch adjusts the style to hide the end of a long filename, ending
with a horizontal ellipsis instead.
2020-10-21 10:17:24 -04:00
Ahmad Farhat 7c57f4b93a
Fixed XSS vulnerability in merge user modal (#2214) 2020-10-20 14:31:59 -04:00
RomainNakedCat ec4cde64ff
allow single quote inside email field (#2187)
Co-authored-by: romainnakedcat <romainnakedcat@greenserver.novalocal>
2020-10-13 10:20:34 -04:00
Ahmad Farhat c77ae11ea0
Bumped Rails to 5.2.4.4 (#2185) 2020-10-09 10:55:19 -04:00
transifex-integration[bot] 57c835d859
Translate /config/locales/en.yml in gl (#2180)
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>
2020-10-08 10:55:13 -04:00
transifex-integration[bot] f8418098ec
Translate '/config/locales/en.yml' in 'de_DE' (#2178)
* 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>
2020-10-08 10:46:36 -04:00
transifex-integration[bot] 2e1ca707b0
Translate /config/locales/en.yml in ja_JP (#2175)
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>
2020-10-08 10:38:44 -04:00
transifex-integration[bot] 719989f328
Translate /config/locales/en.yml in nl (#2173)
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>
2020-10-08 10:23:23 -04:00
transifex-integration[bot] da01a3a388
Translate /config/locales/en.yml in cs (#2155)
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>
Co-authored-by: Ahmad Farhat <ahmad.af.farhat@gmail.com>
2020-10-08 10:15:39 -04:00
Ahmad Farhat bc9867566c
Updated language dropdown to look nicer (#2171) 2020-10-07 16:26:38 -04:00
Ahmad Farhat 92d6c285c4
Removed public from public room recordings (#2169) 2020-10-07 13:32:11 -04:00
Ahmad Farhat 5c79d37524
GRN2-xx: Added a tab that displays invited users when using Join by Invitation (#2162)
* Added a tab that displays invited users when using Join by Invitation

* Made search work
2020-10-07 11:23:19 -04:00
Ahmad Farhat c80e215110
Added a copy access code button (#2161) 2020-10-06 14:23:46 -04:00
Ahmad Farhat 1c2e8ad040
Removed unused option in code (#2153) 2020-10-05 13:53:47 -04:00
Ahmad Farhat 56be1ad2ae
Improvements to create room modal (#2152) 2020-10-02 14:23:31 -04:00
Ahmad Farhat c8a104c76e
Added timestamp to production logs (#2151) 2020-10-02 14:15:46 -04:00
Ahmad Farhat 07557f45dc
Added env variable to set the default language (#2147) 2020-10-02 09:50:24 -04:00
Ahmad Farhat 165eeccb23
Manually encode the ampersand in a presentation file name (#2140) 2020-09-29 14:48:54 -04:00
transifex-integration[bot] 58989c96c9
Translate /config/locales/en.yml in it (#2131)
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>
2020-09-29 13:33:48 -04:00
Lars Kiesow 4286864263
Puma Worker Configuration (#1701)
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>
2020-09-29 11:44:47 -04:00
Ahmad Farhat ba7beb827a
Switched default cable adapter to postgres (#2139) 2020-09-29 11:31:42 -04:00
marklackey f8a4f85193
Test email configuration during setup (#1144)
* 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>
2020-09-23 11:20:49 -04:00
Ahmad Farhat b89cbfad03
ENABLE_SSL is now defaulted to true for new installations (#2121) 2020-09-23 10:25:44 -04:00
Jordi Molina 5a38ae488e
Allow customization of test email recipient (#2107)
* 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>
2020-09-22 11:03:47 -04:00
Henning 75b989240a
Added validation for name: Should not include a http(s) url (#2114) 2020-09-22 10:46:17 -04:00
Ahmad Farhat 816cefe1b6
Fixed 404 when resending verification email (#2110) 2020-09-21 15:32:05 -04:00
Ahmad Farhat 360783606e
Fixed 500 caused by editting a user when not allowed to (#2108) 2020-09-21 13:20:15 -04:00
Ahmad Farhat 74ebb15dad
Fixed 500 when there is an invalid profile picture (#2109) 2020-09-21 13:12:17 -04:00
Ahmad Farhat f992f76ae1
Set default cable adapter to postgres (#2096) 2020-09-17 15:02:54 -04:00
Ahmad Farhat 7309ef9bfd
Added back join retry as fallback (#2095) 2020-09-17 14:19:18 -04:00
transifex-integration[bot] a8251338af
Translate /config/locales/en.yml in fr (#2090)
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>
2020-09-17 14:11:55 -04:00
Ahmad Farhat 55dd5725b5
Fixed 404 on room join (#2092) 2020-09-17 11:32:06 -04:00
Toni Förster a27884733d
fixes #2082 proper link in mail (#2083)
* 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>
2020-09-15 16:08:32 -04:00
Ahmad Farhat ca94ac46ba
Added back ability to set maintenance window through env variables (#2089) 2020-09-15 13:37:58 -04:00
transifex-integration[bot] 83cc7ed3cc
Translate /config/locales/en.yml in ja_JP (#2074)
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>
2020-09-08 14:22:52 -04:00
transifex-integration[bot] 015b17098e
Translate /config/locales/en.yml in nl (#2070)
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>
2020-09-08 14:12:48 -04:00
transifex-integration[bot] e096ba8d6e
Translate /config/locales/en.yml in zh_CN (#2068)
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>
2020-09-08 13:41:50 -04:00
transifex-integration[bot] a97900b916
Translate /config/locales/en.yml in de_DE (#2065)
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>
2020-09-08 13:38:11 -04:00
transifex-integration[bot] db20b94fee
Translate /config/locales/en.yml in gl (#2061)
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>
2020-09-08 13:30:06 -04:00
transifex-integration[bot] ff2bfb0f02
Translate /config/locales/en.yml in es (#2042)
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>
2020-09-08 13:22:33 -04:00
Ahmad Farhat 4deefdfee9
Docker ignore new security policy (#2062) 2020-09-03 12:04:19 -04:00
Ahmad Farhat a00732c10e
Create SECURITY.md 2020-09-03 11:25:24 -04:00
Ahmad Farhat 5cbcc82e9b
Added confirm modal when deleting recording (#2056) 2020-09-03 11:08:13 -04:00
Ahmad Farhat 99c7262971
Added env variable to exclude recording formats from public recordings (#2055) 2020-09-03 10:55:24 -04:00
Mitsutaka Sato 3de60daf85
WR342136 One more piece for hide/show recording (#2059)
Co-authored-by: Ahmad Farhat <ahmad.af.farhat@gmail.com>
2020-09-03 10:45:53 -04:00
Ahmad Farhat c1c62e8bf8
Fixed issue with shared room not having correct record setting (#2053) 2020-09-02 13:55:09 -04:00
Ahmad Farhat cb700404f3
Fixed bug allowing users to access their own room when they aren't allowed (#2054) 2020-09-02 13:45:29 -04:00
transifex-integration[bot] f85fb90cae
Translate /config/locales/en.yml in zh_CN (#2048)
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>
2020-09-02 11:34:37 -04:00
transifex-integration[bot] 56b8802120
Translate /config/locales/en.yml in hu_HU (#2002)
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>
2020-09-02 10:58:32 -04:00
transifex-integration[bot] 2d4d76e70b
Translate /config/locales/en.yml in ko_KR (#2003)
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>
2020-09-02 10:28:00 -04:00