summaryrefslogtreecommitdiff
path: root/fbin/file_storage/filesystem.py
AgeCommit message (Collapse)AuthorFilesLines
2019-08-17Fetch and store thumbnails via storage modulesJon Bergli Heier1-0/+15
This will allow us to remotely store thumbnails in case of S3. For S3 the thumb bucket is configurable to allow these to be stored separately. The S3 key for thumbnails does not conflict with files, so these can be stored in the same bucket if needed.
2019-08-17file_storage.filesystem: Set file mode if configuredJon Bergli Heier1-0/+3
Regression since b72ecc321c315bafe40cc7406e87e088564ab8a9. This is needed eg. when using X-Sendfile so that the web server can access the files.
2019-07-24Add file storage modulesJon Bergli Heier1-0/+44
Allows for storing files other places than the local file system. Currently the local filesystem and S3 are supported.