-
-
Notifications
You must be signed in to change notification settings - Fork 223
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: Better multi-site support for media module #4422
Conversation
- tree view support for media module - working with specific asset collection titles
I will close this since its a duplicate of #4426 |
@crydotsnake this PR is for 8.3 branch. #4426 is for 9.0 branch. IMHO there is no automatic backwards deployment? |
FEATURE PRs only go into the 9.0 Branch :) |
@crydotsnake please reopen this PR. How else can this feature get into 8.3? |
New features only goes in Neos 9.0. And Not 8.3 anymore. Since its planned that Neos 9 will be the next release. |
@crydotsnake IMHO all feature requests go to the supported LTS Version which currently are 7.4 and 8.3. My PR for 9.0 was submitted for upwards compatibility reasons! Again: please reopen. |
Hello @tdausner Thats not Right. Feature PRs ALWAYS go to the next released Version. In this case its 9.0. It has always been like that. With bugfixes it is different. Here, the last LTS version is always the one that gets bug fixes. Until December, it is still the Neos LTS 7.3. Unless the bug does not affect Neos 7.3 but is, for example, only reproducible in Neos 8.0. Then, of course, the change goes into the 8.0 branch. But as I said: Feature PRs always go into the version that will be released next. And in this case it is currently the Neos 9 version. |
Please correct me in case i'm wrong @Sebobo @mhsdesign |
@markusguenther also mentioned it here for example :) |
Dear Thomas Dausner, First and foremost, thank you for taking the time to create a Feature Pull Request for Neos.Media. We appreciate your contribution and dedication to the project. We as Neos project try to follow semantic versioning (semver) principles. Semantic versioning consists of three parts: MAJOR.MINOR.PATCH. The rule we adhere to is as follows:
Given that the latest published release is version 8.3, it is indeed not possible to include new features in already released versions as per the semver guidelines. However, we're thrilled to inform you that the upcoming release, version 9.0, provides the perfect opportunity to include your proposed feature. Once version 9.0 is released, your Feature Pull Request will be a valuable addition to the project and will be thoroughly reviewed for inclusion. We genuinely appreciate your understanding and cooperation in adhering to the versioning principles, as it ensures a stable and predictable release process for the entire NeosCMS community. We encourage you to keep an eye on the release schedule for version 9.0 so that you can test and adapt your changes accordingly before the release date. Again, we express our gratitude for your contribution, and we are looking forward to seeing your feature in version 9.0 of NeosCMS. If you have any questions or need any assistance during this process, please feel free to reach out to us. Your involvement is vital to the continuous improvement of NeosCMS. Thank you and best regards, Markus |
@crydotsnake @markusguenther thanks a lot for the enlightening discussion. I must apologize for my persistence but this is my first feature PR. Next time now i'm very informed :-) |
Currently, the Neos Media module offers no easily feasible path for multi-site support.
Asset collection names can hold any characters (up to 255). With an agreement of
specific asset collection titles (see below Working with specific asset collection titles)
in interaction with privilege methods
titleStartsWith
,titleEndsWith
andtitleContains
for asset collection titles it is possible to utilize the Neos Mediamodule for multi-site installations
The privilege methods
titleStartsWith
,titleEndsWith
andtitleContains
are available for asset titles and do operate identical on asset collection titles
when copied to the corresponding php source.
Some other Media interface features screw up the separation of assets for different
sites:
The Neos Media module offers som feature configurations (see file
Packages/Neos/Neos.Media.Browser/Configuration/Settings.yaml
of this PR)which easily can be extended
With these feature entries the Neos Media module can be customized as required for multi-site support:
showCollectionsAll.enable
to falseshowTags.enable
to falseReview instructions
tds
is my development domainRetrieve the node names
Policy.yaml
for all three sites. Example file isDistributionPackages/First.Site/Configuration/Policy.yaml
Result (if
Policy.yaml
is set for all three sites)first
,second
andthird
. Passwords are set to user's names:Repeat this step for sites
Second
andThird
.It is mandatory to utilize these domains to access the Neos backends for operation of the site specific default asset collections.
https://first.tds/neos
as userfirst
(passwordfirst
) and go to Mediahttps://second.tds/neos
as usersecond
(passwordsecond
) and go to MediaWorking with specific asset collection titles
To work with specific asset collection titles set the feature parameter
collectionTree.separator
toa character used to separate the different parts of the asset collection title (slash
/
for example)in file
Packages/Neos/Neos.Media.Browser/Configuration/Settings.yaml
of this PR.Log into Neos backend at
https://first.tds/neos
as userfirst
(passwordfirst
) and go to Mediaand add two asset collections
first/one
first/one/two
results in a tree view (each asset collection has an asset assigned):
Clicking the "edit" pencil at the "Collections" shows that the "base" asset collection (first)
cannot be edited or deleted.
Deleting one asset collection...
...moves the assets of the deleted asset collection to the "base" asset collection (first)
Checklist
The PR is created against the lowest maintained branchFEATURE|TASK|BUGFIX
Reviewer - Breaking Changes are marked with!!!
and have upgrade-instructions