From 8d12a00268c0f591483664cb361caeded92a23df Mon Sep 17 00:00:00 2001 From: Eldad Fux Date: Mon, 13 Apr 2020 22:38:39 +0300 Subject: [PATCH 1/3] Removed unused var --- app/controllers/api/storage.php | 1 - 1 file changed, 1 deletion(-) diff --git a/app/controllers/api/storage.php b/app/controllers/api/storage.php index f8f8221f65..448eb93511 100644 --- a/app/controllers/api/storage.php +++ b/app/controllers/api/storage.php @@ -184,7 +184,6 @@ $utopia->post('/v1/storage/files') /* * Models */ - $list = []; $device = Storage::getDevice('local'); if (!$upload->isValid($file['tmp_name'])) { From c937e72389abe9691c826bb2f6aa99b336f0ff1f Mon Sep 17 00:00:00 2001 From: Eldad Fux Date: Tue, 14 Apr 2020 12:28:52 +0300 Subject: [PATCH 2/3] Updated base image --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 823325e477..f170a09575 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM ubuntu:19.10 AS builder +FROM ubuntu:18.04 AS builder LABEL maintainer="team@appwrite.io" @@ -7,7 +7,7 @@ ARG TESTING=false ENV TZ=Asia/Tel_Aviv \ DEBIAN_FRONTEND=noninteractive \ PHP_VERSION=7.4 \ - PHP_REDIS_VERSION=3.1.2 + PHP_REDIS_VERSION=5.2.1 RUN \ apt-get update && \ @@ -72,7 +72,7 @@ ENV TZ=Asia/Tel_Aviv \ #ENV _APP_SMTP_USERNAME '' #ENV _APP_SMTP_PASSWORD '' -COPY --from=builder /phpredis-3.1.2/modules/redis.so /usr/lib/php/20190902/ +COPY --from=builder /phpredis-5.2.1/modules/redis.so /usr/lib/php/20190902/ RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone From 011d622b64b278a0959ae36d6762cf04139a69a1 Mon Sep 17 00:00:00 2001 From: Torsten Dittmann Date: Tue, 14 Apr 2020 12:17:05 +0200 Subject: [PATCH 3/3] Update health.php --- app/controllers/api/health.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/api/health.php b/app/controllers/api/health.php index 5ad1f5b788..60685024f1 100644 --- a/app/controllers/api/health.php +++ b/app/controllers/api/health.php @@ -51,7 +51,7 @@ $utopia->get('/v1/health/cache') ); $utopia->get('/v1/health/time') - ->desc('Check Webhooks Health') + ->desc('Check Time Health') ->label('scope', 'health.read') ->label('sdk.platform', [APP_PLATFORM_SERVER]) ->label('sdk.namespace', 'health') @@ -98,7 +98,7 @@ $utopia->get('/v1/health/time') ); $utopia->get('/v1/health/webhooks') - ->desc('Check Time Health') + ->desc('Check Webhooks Health') ->label('scope', 'health.read') ->label('sdk.platform', [APP_PLATFORM_SERVER]) ->label('sdk.namespace', 'health')