When we added theme uploads to Ghost, the image adapter was changed to also support themes. We would like to rework this. Themes must be read from disk, there is no other way. That's why we would like to extract the theme functionality out of the local storage adapter.
Also, there is currently no need to read a file, which we will need in the near future in order to support better icon/favicon behaviour.
[x] add read to the storage adapter
[x] move content/storage to content/adapters (content/adapters/scheduling content/adapters/storage)
I've changed the issue title to: Adapter improvements. This issue is a collection of all adapter improvements we would like to do for Ghost 1.0. There are no more open issues regarding adapters.
When we added theme uploads to Ghost, the image adapter was changed to also support themes. We would like to rework this. Themes must be read from disk, there is no other way. That's why we would like to extract the theme functionality out of the local storage adapter.
Also, there is currently no need to read a file, which we will need in the near future in order to support better icon/favicon behaviour.