Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2018-03-20 | Refactoring imageRouter to modularity | Sheogorath | 1 | -132/+0 | |
This should make the imageRouter more modular and easier to extent. Also a lot of code duplication was removed which should simplify maintenance in future. In the new setup we only need to provide a new module file which exports a function called `uploadImage` and takes a filePath and a callback as argument. The callback itself takes an error and an url as parameter. This eliminates the need of a try-catch-block around the statement and re-enabled the optimization in NodeJS. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com> | |||||
2018-01-27 | Remove camel case from `imageuploadtype` in config | Sheogorath | 1 | -2/+2 | |
This removes the only camel cased option of the config options **we** added to the config.json. In auth provider's config parts are a lot of camel cased options provided. We shouldn't touch them to keep them as similar as possible to the examples. Fixes #315 Signed-off-by: Sheogorath <sheogorath@shivering-isles.com> | |||||
2017-08-30 | Add support for minio | Marc Deop | 1 | -0/+34 | |
2017-06-14 | fix s3 us-east-1 region endpoint | Kotaro Yamamoto | 1 | -1/+4 | |
2017-05-08 | fix(imageRouter): import missing dependency: getImageMimeType | Raccoon Li | 1 | -1/+1 | |
2017-05-08 | refactor(app.js): Extract upload image | BoHong Li | 1 | -0/+95 | |