Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Refactoring imageRouter to modularity | Sheogorath | 2018-03-20 | 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> | ||||
* | Remove camel case from `imageuploadtype` in config | Sheogorath | 2018-01-27 | 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> | ||||
* | Add support for minio | Marc Deop | 2017-08-30 | 1 | -0/+34 |
| | |||||
* | fix s3 us-east-1 region endpoint | Kotaro Yamamoto | 2017-06-14 | 1 | -1/+4 |
| | |||||
* | fix(imageRouter): import missing dependency: getImageMimeType | Raccoon Li | 2017-05-08 | 1 | -1/+1 |
| | |||||
* | refactor(app.js): Extract upload image | BoHong Li | 2017-05-08 | 1 | -0/+95 |