From c16d09b4ed86050008cd67feac4d37a97b2658fe Mon Sep 17 00:00:00 2001 From: saksham taneja Date: Sun, 13 Oct 2019 16:33:45 +0530 Subject: [PATCH 1/4] Update CHANGES.md --- CHANGES.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 656f24c823..45c6c34122 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -4,7 +4,7 @@ * Added 16 new locales for locale service and email templates (af, ar, bn, cz, hu, hy, jv, lt, no, ru, si, sv, ta, vi, zh-cn, zh-tw) * New users service routes to allow updates pref and name update -* 2 stage Docker build +* 2 stages Docker build * New database rule validation options * Update docs example with auth info * Limit HTTP origin check only to browser integrations @@ -16,7 +16,7 @@ * Fix for typos in PT-BR translations * Fix for UI crash when project user was missing a name -## Breaking Changs +## Breaking Changes * users/deleteUsersSession method name changed to users/deleteUserSession in all SDKs for better consistency From d43015ad45b56efd01d754e9c59877b8e41ebcce Mon Sep 17 00:00:00 2001 From: saksham taneja Date: Sun, 13 Oct 2019 16:36:09 +0530 Subject: [PATCH 2/4] Update environment-variables.md --- docs/tutorials/environment-variables.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorials/environment-variables.md b/docs/tutorials/environment-variables.md index d4ab417a0c..7df7697455 100644 --- a/docs/tutorials/environment-variables.md +++ b/docs/tutorials/environment-variables.md @@ -10,7 +10,7 @@ Set your server running environment. By default the var is set to 'development'. ### _APP_OPTIONS_ABUSE -Allows you to disable abuse checks and API rate limiting. By default set to 'enabled'. To cancel the abuse checking, set to 'disabled'. It is not recommended to disable this check in a production environment. +Allows you to disable abuse checks and API rate limiting. By default set to 'enabled'. To cancel the abuse checking, set to 'disabled'. It is not recommended to disable this check-in a production environment. ### _APP_OPENSSL_KEY_V1 From 4a7237a34df3b21bc8db533fedcf1b7ce0269997 Mon Sep 17 00:00:00 2001 From: DaYea Yim Date: Tue, 29 Oct 2019 07:41:33 +0000 Subject: [PATCH 3/4] Replaced $(...) instead of legacy backticked `...` Backtick command substitution `...` is legacy syntax with several issues. 1. It has a series of undefined behaviors related to quoting in POSIX. 2. It imposes a custom escaping mode with surprising results. 3. It's exceptionally hard to nest. $(...) command substitution has none of these problems, and is therefore strongly encouraged. --- docker/entrypoint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh index f256c7f16a..ba33f29c12 100755 --- a/docker/entrypoint.sh +++ b/docker/entrypoint.sh @@ -20,7 +20,7 @@ function setEnvironmentVariable() { } # Grep for variables that look like MySQL (APP_) -for _curVar in `env | grep _APP_ | awk -F = '{print $1}'`;do +for _curVar in $(env | grep _APP_ | awk -F = '{print $1}');do # awk has split them by the equals sign # Pass the name and value to our function setEnvironmentVariable ${_curVar} ${!_curVar} @@ -30,4 +30,4 @@ echo newrelic.license = \"$_APP_NEWRELIC_KEY\" > /etc/php/7.3/fpm/conf.d/newreli echo newrelic.license = \"$_APP_NEWRELIC_KEY\" > /etc/php/7.3/cli/conf.d/newrelic.ini # Start supervisord and services -/usr/bin/supervisord -n -c /etc/supervisord.conf \ No newline at end of file +/usr/bin/supervisord -n -c /etc/supervisord.conf From dfe924c736d8390f2dfffbc8410642c717489b58 Mon Sep 17 00:00:00 2001 From: saksham taneja Date: Wed, 30 Oct 2019 03:27:19 +0530 Subject: [PATCH 4/4] Update CHANGES.md --- CHANGES.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index 45c6c34122..ca5424909c 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -4,7 +4,7 @@ * Added 16 new locales for locale service and email templates (af, ar, bn, cz, hu, hy, jv, lt, no, ru, si, sv, ta, vi, zh-cn, zh-tw) * New users service routes to allow updates pref and name update -* 2 stages Docker build +* 2 stage Docker build * New database rule validation options * Update docs example with auth info * Limit HTTP origin check only to browser integrations