-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FEATURE] Add "base folder" configuration setting
The base folder allows us to use the same bucket for multiple projects by forcing every project/TYPO3 instance into an own prefix: ``` mybucket/ + project1/ | + file23.jpg | + subfolder/ | | + subfile42.png | + _processed_/ | + ... + project2/ + file2.jpg + _processed_/ + ... ``` The prefix is not visible in the TYPO3 UI (file list, file information) and gets added transparently to S3 requests, and is removed from S3 responses as well. My initial version used a simpler approach by just overriding `getRootLevelFolder()` and `getParentFolderIdentifierOfIdentifier()`, but this led to inconsistencies in the UI, and the processing folder could not be moved into the base folder because of inconsistencies inside the TYPO3 API.
- Loading branch information
Showing
3 changed files
with
95 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters