From cfdf5ff5cb6146f06be1c3edb23922db0823cfa0 Mon Sep 17 00:00:00 2001 From: Binyamin Yawitz <316103+byawitz@users.noreply.github.com> Date: Fri, 19 Jul 2024 10:00:06 -0400 Subject: [PATCH] chore: Merge --- app/init.php | 35 +++++++++++++++++------------------ app/init/constants.php | 2 +- 2 files changed, 18 insertions(+), 19 deletions(-) diff --git a/app/init.php b/app/init.php index 9fca6503c9..1f448a756a 100644 --- a/app/init.php +++ b/app/init.php @@ -1,6 +1,5 @@ 'mariadb', -// 'host' => System::getEnv('_APP_DB_HOST', 'mariadb'), -// 'port' => System::getEnv('_APP_DB_PORT', '3306'), -// 'user' => System::getEnv('_APP_DB_USER', ''), -// 'pass' => System::getEnv('_APP_DB_PASS', ''), -// 'path' => System::getEnv('_APP_DB_SCHEMA', ''), -// ]); +// 'scheme' => 'mariadb', +// 'host' => System::getEnv('_APP_DB_HOST', 'mariadb'), +// 'port' => System::getEnv('_APP_DB_PORT', '3306'), +// 'user' => System::getEnv('_APP_DB_USER', ''), +// 'pass' => System::getEnv('_APP_DB_PASS', ''), +// 'path' => System::getEnv('_APP_DB_SCHEMA', ''), +// ]); // $fallbackForRedis = 'redis_main=' . AppwriteURL::unparse([ -// 'scheme' => 'redis', -// 'host' => System::getEnv('_APP_REDIS_HOST', 'redis'), -// 'port' => System::getEnv('_APP_REDIS_PORT', '6379'), -// 'user' => System::getEnv('_APP_REDIS_USER', ''), -// 'pass' => System::getEnv('_APP_REDIS_PASS', ''), -// ]); +// 'scheme' => 'redis', +// 'host' => System::getEnv('_APP_REDIS_HOST', 'redis'), +// 'port' => System::getEnv('_APP_REDIS_PORT', '6379'), +// 'user' => System::getEnv('_APP_REDIS_USER', ''), +// 'pass' => System::getEnv('_APP_REDIS_PASS', ''), +// ]); // // $connections = [ // 'console' => [ @@ -1143,7 +1142,7 @@ // if ( // isset($node['type']) && // ($node['type'] === Origin::CLIENT_TYPE_WEB || -// $node['type'] === Origin::CLIENT_TYPE_FLUTTER_WEB) && +// $node['type'] === Origin::CLIENT_TYPE_FLUTTER_WEB) && // !empty($node['hostname']) // ) { // $clients[] = $node['hostname']; @@ -1732,4 +1731,4 @@ //}, ['request']); //App::setResource('plan', function (array $plan = []) { // return []; -//});*/ +//}); diff --git a/app/init/constants.php b/app/init/constants.php index 8c53bd1aa4..993f8b51ac 100644 --- a/app/init/constants.php +++ b/app/init/constants.php @@ -29,7 +29,7 @@ const APP_USER_ACCESS = 24 * 60 * 60; // 24 hours const APP_PROJECT_ACCESS = 24 * 60 * 60; // 24 hours const APP_CACHE_UPDATE = 24 * 60 * 60; // 24 hours const APP_CACHE_BUSTER = 331; -const APP_VERSION_STABLE = '1.5.0'; +const APP_VERSION_STABLE = '1.6.0'; const APP_DATABASE_ATTRIBUTE_EMAIL = 'email'; const APP_DATABASE_ATTRIBUTE_ENUM = 'enum'; const APP_DATABASE_ATTRIBUTE_IP = 'ip';