Ghost/core/server/storage
Sebastian Gierlinger 2957b0175e Move image upload to API
closes #3252
- added `/ghost/api/v0.1/uploads/` endpoint
- removed upload method from `controller/admin.js`
- moved removal of temporary files from storage to endpoint (needed to
account for failed uploads)
- changed and moved tests
- Oversight: I think that we use `.otherwise()` and `.catch()` a bit
too extensive and mask the real error objects. We probably need an
error handling strategy at some point in the future.
2014-07-15 12:40:14 +02:00
..
base.js Replace spaces in uploaded filenames with hyphens 2014-03-23 20:56:02 +00:00
index.js Add distinct error classes 2014-05-09 12:11:29 +02:00
localfilesystem.js Move image upload to API 2014-07-15 12:40:14 +02:00