From 0c29cbf33ad34685033915a362e97995a248918d Mon Sep 17 00:00:00 2001 From: Charles-Antoine Mathieu Date: Thu, 5 Nov 2015 20:19:12 +0100 Subject: [PATCH 1/4] fix GetUploadsToRemove in fileMetadataBackend when .config file is missing --- server/metadataBackend/file/file.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/metadataBackend/file/file.go b/server/metadataBackend/file/file.go index 7cc7a765..bdd160f5 100644 --- a/server/metadataBackend/file/file.go +++ b/server/metadataBackend/file/file.go @@ -321,7 +321,8 @@ func (fmb *MetadataBackend) GetUploadsToRemove(ctx *common.PlikContext) (ids []s // Get upload metadata upload, err := fmb.Get(ctx, uploadDirectory.Name()) if err != nil { - return ids, err + ctx.EWarningf("Unable to get upload metadata %s : %s", uploadDirectory.Name(), err) + continue } // If a TTL is set, test if expired or not From 3173ee5210eaa35b83b5b921fa34fce9ffb9c344 Mon Sep 17 00:00:00 2001 From: Charles-Antoine Mathieu Date: Fri, 2 Oct 2015 23:46:09 +0200 Subject: [PATCH 2/4] Webapp : Fix plik logo reload issue --- server/public/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/public/index.html b/server/public/index.html index 1fa5baef..5f6d90f9 100644 --- a/server/public/index.html +++ b/server/public/index.html @@ -50,7 +50,7 @@
-

Plik

+

Plik