Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Add "base folder" configuration setting #116

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Sep 6, 2024

  1. [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.
    cweiske committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    cdd622c View commit details
    Browse the repository at this point in the history