-
Notifications
You must be signed in to change notification settings - Fork 203
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
EZP-30988: Implemented Section filtering URL Query Criterion #2783
Conversation
tests failed in untouched code, all related tests pass |
Hi @ITernovtsiy! Thank you for contribution, I will review changes later. tests failed in untouched code, all related tests pass
Solr tests should be fixed by #2784 (rebase is required) |
rebased |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice contribution🍺 Do you need this feature in the v2.5? I'm asking because according to the book new features should be targeted to master
😉
eZ/Publish/API/Repository/Values/URL/Query/Criterion/Section.php
Outdated
Show resolved
Hide resolved
eZ/Publish/API/Repository/Tests/Values/URL/Query/Criterion/SectionTest.php
Outdated
Show resolved
Hide resolved
eZ/Publish/Core/Persistence/Legacy/Tests/URL/Query/CriterionHandler/SectionTest.php
Outdated
Show resolved
Hide resolved
eZ/Publish/Core/Persistence/Legacy/URL/Query/CriterionHandler/Base.php
Outdated
Show resolved
Hide resolved
eZ/Publish/Core/Persistence/Legacy/URL/Query/CriterionHandler/Base.php
Outdated
Show resolved
Hide resolved
eZ/Publish/API/Repository/Tests/Values/URL/Query/Criterion/SectionTest.php
Outdated
Show resolved
Hide resolved
@adamwojs Yes, we're using this with |
We can bring this to 2.5. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your contribution @ITernovtsiy 🎉
I'm sorry for the long delay, my queue is quite long...
Besides smaller issues, the solution needs usage & naming DX improvements. I've elaborated on this in the diffs for eZ/Publish/API/Repository/Values/URL/Query/Criterion/Section.php
eZ/Publish/API/Repository/Tests/Values/URL/Query/Criterion/SectionTest.php
Outdated
Show resolved
Hide resolved
eZ/Publish/Core/Persistence/Legacy/Tests/URL/Query/CriterionHandler/SectionTest.php
Outdated
Show resolved
Hide resolved
eZ/Publish/Core/Persistence/Legacy/URL/Gateway/DoctrineDatabase.php
Outdated
Show resolved
Hide resolved
eZ/Publish/API/Repository/Values/URL/Query/Criterion/Section.php
Outdated
Show resolved
Hide resolved
eZ/Publish/Core/Persistence/Legacy/URL/Query/CriterionHandler/Base.php
Outdated
Show resolved
Hide resolved
eZ/Publish/Core/Persistence/Legacy/URL/Query/CriterionHandler/Base.php
Outdated
Show resolved
Hide resolved
eZ/Publish/Core/Persistence/Legacy/URL/Query/CriterionHandler/Section.php
Outdated
Show resolved
Hide resolved
eZ/Publish/Core/Persistence/Legacy/URL/Query/CriterionHandler/VisibleOnly.php
Outdated
Show resolved
Hide resolved
eZ/Publish/Core/Persistence/Legacy/URL/Query/CriterionHandler/VisibleOnly.php
Outdated
Show resolved
Hide resolved
Thanks for review @alongosz |
eZ/Publish/API/Repository/Values/URL/Query/Criterion/SectionIdentifier.php
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work @ITernovtsiy!
I'm sending this to our QA for tests.
We will ship it in 2.5.7💪👌🎉well done to all involved! |
Testing discovered: https://jira.ez.no/browse/EZP-31059. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
QA Approved on eZ Platform v2.5.6 with test command.
@alongosz could you merge it up? |
@lserwatka Done. Thank you @ITernovtsiy 🎉 |
7.5.x
for eZ Platformv2.5.x
LTS// Edited by @alongosz:
QA
ezsystems/ezplatform@2.5...alongosz:for-qa-ezp-30988-find-urls-cmd.
Usage:
php ./bin/console test:find-urls [<url1> <url2> ...]
. No arguments returns all registered URLs. An URL is registered when e.g. added to Content RichText field or set via URL Field. By manipulating Content item Section you can test the feature.Doc
I can't find doc about API to find URLs. Either it's too late and I'm not seeing something obvious or indeed we need to document the whole thing (more than the scope of this feature).
TODO:
$ composer fix-cs
).