From 16a1571bda7e3103f24262577f97cf89bf985745 Mon Sep 17 00:00:00 2001 From: "Ifedapo .A. Olarewaju" Date: Fri, 16 Feb 2018 21:45:12 +0100 Subject: [PATCH 1/2] add server notes to release post --- website/src/_posts/2018-02-0.23.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/website/src/_posts/2018-02-0.23.md b/website/src/_posts/2018-02-0.23.md index 2f86619f6..d384d1d71 100644 --- a/website/src/_posts/2018-02-0.23.md +++ b/website/src/_posts/2018-02-0.23.md @@ -61,6 +61,11 @@ Webcam plugin now mirrors image previews by default, so that when you are making We’ve also added an option to select which camera will be used to capture pictures or video: [facingMode](https://uppy.io/docs/webcam/#facingMode-39-user-39) set to `user` (front camera) by default. +## Server + +- You can now specify a config path when starting the standalone Uppy-Server like so `uppy-server --config /path/to/uppyconf.json`. The config file is expected to be a json file with the same schema as the [uppy-server options](https://uppy.io/docs/server/#Options). +- A periodic cleanup job has been added to uppy-server, to delete stale upload files from the specified `filePath`. Even though we'd rarely expect uploaded files to go undeleted immediately, there could be cases where an error occurs during an upload, and so uppy-server leaves the file undeleted to give room for upload retries. With the cleanup job in place, we can ensure that this file would eventually be deleted after the file upload is done. + ## Misc - Third-party extension for integrating Ngrx Angular state management library with Uppy has been released, [uppy-store-ngrx](https://github.com/rimlin/uppy-store-ngrx/) by @rimlin. From 13098cf59331bc21565ed8b2b23f9d3df9b6706b Mon Sep 17 00:00:00 2001 From: "Ifedapo .A. Olarewaju" Date: Fri, 16 Feb 2018 22:05:04 +0100 Subject: [PATCH 2/2] add notes about remote multipart respnses --- website/src/_posts/2018-02-0.23.md | 1 + 1 file changed, 1 insertion(+) diff --git a/website/src/_posts/2018-02-0.23.md b/website/src/_posts/2018-02-0.23.md index d384d1d71..54055141e 100644 --- a/website/src/_posts/2018-02-0.23.md +++ b/website/src/_posts/2018-02-0.23.md @@ -65,6 +65,7 @@ We’ve also added an option to select which camera will be used to capture pict - You can now specify a config path when starting the standalone Uppy-Server like so `uppy-server --config /path/to/uppyconf.json`. The config file is expected to be a json file with the same schema as the [uppy-server options](https://uppy.io/docs/server/#Options). - A periodic cleanup job has been added to uppy-server, to delete stale upload files from the specified `filePath`. Even though we'd rarely expect uploaded files to go undeleted immediately, there could be cases where an error occurs during an upload, and so uppy-server leaves the file undeleted to give room for upload retries. With the cleanup job in place, we can ensure that this file would eventually be deleted after the file upload is done. +- Responses from Multipart uploads are now relayed to uppy client as they are received from the upload server. With this in place, you can now handle responses from local and remote XHRUpload in nearly the same way. ## Misc