From 06e25bdc3eb16a6dca785a1d935368c2cebb02e9 Mon Sep 17 00:00:00 2001 From: davisagli Date: Wed, 23 Oct 2024 09:41:24 -0700 Subject: [PATCH] [fc] Repository: plone.restapi Branch: refs/heads/main Date: 2024-10-23T09:40:39-07:00 Author: David Glick (davisagli) Commit: https://github.com/plone/plone.restapi/commit/1a07d9016e470aeea7e4187a482b8714a43924d8 Preparing release 9.8.0 Files changed: M CHANGES.rst M setup.py D news/1808.bugfix D news/1812.feature D news/1815.documentation D news/1816.bugfix D news/1818.bugfix D news/1820.bugfix D news/1822.documentation D news/1826.feature Repository: plone.restapi Branch: refs/heads/main Date: 2024-10-23T09:41:24-07:00 Author: David Glick (davisagli) Commit: https://github.com/plone/plone.restapi/commit/ffd2045042769ad1cb80e92a54fcb94e19da6cbf Back to development: 9.8.1 Files changed: M setup.py --- last_commit.txt | 89 ++++++++++++++----------------------------------- 1 file changed, 25 insertions(+), 64 deletions(-) diff --git a/last_commit.txt b/last_commit.txt index 05de02e722..6e6fe5416e 100644 --- a/last_commit.txt +++ b/last_commit.txt @@ -1,78 +1,39 @@ -Repository: Products.CMFPlone +Repository: plone.restapi -Branch: refs/heads/master -Date: 2024-10-22T08:17:51+02:00 -Author: 1letter (1letter) <1letter@gmx.de> -Commit: https://github.com/plone/Products.CMFPlone/commit/3d3c0e598f43d567c5f2945d8370860fac6dbdac +Branch: refs/heads/main +Date: 2024-10-23T09:40:39-07:00 +Author: David Glick (davisagli) +Commit: https://github.com/plone/plone.restapi/commit/1a07d9016e470aeea7e4187a482b8714a43924d8 -make robot test more robust +Preparing release 9.8.0 Files changed: -M Products/CMFPlone/tests/robot/test_querystring.robot +M CHANGES.rst +M setup.py +D news/1808.bugfix +D news/1812.feature +D news/1815.documentation +D news/1816.bugfix +D news/1818.bugfix +D news/1820.bugfix +D news/1822.documentation +D news/1826.feature -b'diff --git a/Products/CMFPlone/tests/robot/test_querystring.robot b/Products/CMFPlone/tests/robot/test_querystring.robot\nindex ae0a1a3bf4..971994f430 100644\n--- a/Products/CMFPlone/tests/robot/test_querystring.robot\n+++ b/Products/CMFPlone/tests/robot/test_querystring.robot\n@@ -20,66 +20,66 @@ Scenario: Location query Current\n When I activate the operator Current in the criteria Location\n Then we expect 1 hits\n \n-Scenario: Location query Parent\n- Given a logged-in site administrator\n- and a bunch of folders\n- and the querystring pattern\n- When I activate the operator Parent in the criteria Location\n- Then we expect 3 hits\n-\n-Scenario: Location query Custom\n- Given a logged-in site administrator\n- and a bunch of folders\n- and the querystring pattern\n- When I activate the operator Custom in the criteria Location\n- and I search in B subfolder in the related items widget\n- Then we expect 5 hits\n-\n-Scenario: Location query Advanced\n- Given a logged-in site administrator\n- and a bunch of folders\n- and the querystring pattern\n- When I activate the operator Advanced in the criteria Location\n- Then I expect to be in Advanced mode\n-\n-Scenario: Location query Simple\n- # this fails simple is not available, first select \'Advanced Mode\' then you can select \'Simple Mode\'\n- Given a logged-in site administrator\n- and a bunch of folders\n- and the querystring pattern\n- When I activate the operator Advanced in the criteria Location\n- and I open the select box titled operator\n- and I select index Simple\n- Then I expect to be in Simple mode\n-\n-Scenario: Title query\n- Given a logged-in site administrator\n- and a bunch of folders\n- and the querystring pattern\n- When I open the criteria Title\n- and I search for A\n- Then we expect 1 hits\n-\n-Scenario: Description query\n- Given a logged-in site administrator\n- and a bunch of folders\n- and the querystring pattern\n- When I open the criteria Description\n- and I search for a\n- Then we expect 1 hits\n-\n-Scenario: Searchable text query\n- Given a logged-in site administrator\n- and a bunch of folders\n- and the querystring pattern\n- When I open the criteria Searchable text\n- and I search for a\n- and Sleep 0.2\n- Then we expect 2 hits\n-\n- When I open the criteria Searchable text\n- and I search for d\n- Then we expect 1 hits\n+# Scenario: Location query Parent\n+# Given a logged-in site administrator\n+# and a bunch of folders\n+# and the querystring pattern\n+# When I activate the operator Parent in the criteria Location\n+# Then we expect 3 hits\n+\n+# Scenario: Location query Custom\n+# Given a logged-in site administrator\n+# and a bunch of folders\n+# and the querystring pattern\n+# When I activate the operator Custom in the criteria Location\n+# and I search in B subfolder in the related items widget\n+# Then we expect 5 hits\n+\n+# Scenario: Location query Advanced\n+# Given a logged-in site administrator\n+# and a bunch of folders\n+# and the querystring pattern\n+# When I activate the operator Advanced in the criteria Location\n+# Then I expect to be in Advanced mode\n+\n+# Scenario: Location query Simple\n+# # this fails simple is not available, first select \'Advanced Mode\' then you can select \'Simple Mode\'\n+# Given a logged-in site administrator\n+# and a bunch of folders\n+# and the querystring pattern\n+# When I activate the operator Advanced in the criteria Location\n+# and I open the select box titled operator\n+# and I select index Simple\n+# Then I expect to be in Simple mode\n+\n+# Scenario: Title query\n+# Given a logged-in site administrator\n+# and a bunch of folders\n+# and the querystring pattern\n+# When I open the criteria Title\n+# and I search for A\n+# Then we expect 1 hits\n+\n+# Scenario: Description query\n+# Given a logged-in site administrator\n+# and a bunch of folders\n+# and the querystring pattern\n+# When I open the criteria Description\n+# and I search for a\n+# Then we expect 1 hits\n+\n+# Scenario: Searchable text query\n+# Given a logged-in site administrator\n+# and a bunch of folders\n+# and the querystring pattern\n+# When I open the criteria Searchable text\n+# and I search for a\n+# and Sleep 0.2\n+# Then we expect 2 hits\n+\n+# When I open the criteria Searchable text\n+# and I search for d\n+# Then we expect 1 hits\n \n Scenario: Tag query one\n \n@@ -336,8 +336,9 @@ a bunch of events\n ... container=${F1}\n \n the querystring pattern\n- #We go the /a to give more useful query results\n+ # We go the /a to give more useful query results\n Go to ${PLONE_URL}/a/++add++Collection\n+ Wait For Condition Classes //body contains patterns-loaded\n Type Text //input[@id="form-widgets-IDublinCore-title"] A Collection\n \n # WHEN\n@@ -348,6 +349,7 @@ I activate the operator ${OPERATOR} in the criteria ${CRITERIA}\n mark results\n open the select box titled operator\n select index type ${OPERATOR}\n+ Pause\n \n \n I search in ${NAME} subfolder in the related items widget\n' +b'diff --git a/CHANGES.rst b/CHANGES.rst\nindex 7d5323edb..03ec59595 100644\n--- a/CHANGES.rst\n+++ b/CHANGES.rst\n@@ -8,6 +8,34 @@ Changelog\n \n .. towncrier release notes start\n \n+9.8.0 (2024-10-23)\n+------------------\n+\n+New features:\n+\n+\n+- Added create and fetch aliases in CSV format. @Faakhir30 (#1812)\n+- Site service: Indicate whether the site supports filtering URL aliases by date. @davisagli (#1826)\n+\n+\n+Bug fixes:\n+\n+\n+- Fix error getting allow_discussion value when p.a.discussion is not activated.\n+ [maurits] (#1808)\n+- Fix incorrect condition for ``show_excluded_items`` setting in the ``@navigation`` API.\n+ [mamico] (#1816)\n+- Fix response of `RelationListFieldSerializer` by filtering out invalid items. @Faakhir30 (#1818)\n+- Aliases endpoint: Use "Manage Portal Aliases" and "Manage Content Aliases" permissions. @jackahl (#1820)\n+\n+\n+Documentation:\n+\n+\n+- Use Plone Sphinx Theme for documentation. Build docs when there are changes to http-examples. @stevepiercy (#1815)\n+- Fixed spelling of prerequisites. @stevepiercy (#1822)\n+\n+\n 9.7.2 (2024-09-05)\n ------------------\n \ndiff --git a/news/1808.bugfix b/news/1808.bugfix\ndeleted file mode 100644\nindex 7a8ab1df8..000000000\n--- a/news/1808.bugfix\n+++ /dev/null\n@@ -1,2 +0,0 @@\n-Fix error getting allow_discussion value when p.a.discussion is not activated.\n-[maurits]\ndiff --git a/news/1812.feature b/news/1812.feature\ndeleted file mode 100644\nindex 85727b674..000000000\n--- a/news/1812.feature\n+++ /dev/null\n@@ -1 +0,0 @@\n-Added create and fetch aliases in CSV format. @Faakhir30\ndiff --git a/news/1815.documentation b/news/1815.documentation\ndeleted file mode 100644\nindex dd9891dfe..000000000\n--- a/news/1815.documentation\n+++ /dev/null\n@@ -1 +0,0 @@\n-Use Plone Sphinx Theme for documentation. Build docs when there are changes to http-examples. @stevepiercy\ndiff --git a/news/1816.bugfix b/news/1816.bugfix\ndeleted file mode 100644\nindex 2bb52fc58..000000000\n--- a/news/1816.bugfix\n+++ /dev/null\n@@ -1,2 +0,0 @@\n-Fix incorrect condition for ``show_excluded_items`` setting in the ``@navigation`` API.\n-[mamico]\ndiff --git a/news/1818.bugfix b/news/1818.bugfix\ndeleted file mode 100644\nindex 54260238e..000000000\n--- a/news/1818.bugfix\n+++ /dev/null\n@@ -1 +0,0 @@\n-Fix response of `RelationListFieldSerializer` by filtering out invalid items. @Faakhir30\ndiff --git a/news/1820.bugfix b/news/1820.bugfix\ndeleted file mode 100644\nindex 8f2aeaaf4..000000000\n--- a/news/1820.bugfix\n+++ /dev/null\n@@ -1 +0,0 @@\n-Aliases endpoint: Use "Manage Portal Aliases" and "Manage Content Aliases" permissions. @jackahl\ndiff --git a/news/1822.documentation b/news/1822.documentation\ndeleted file mode 100644\nindex c37ab9322..000000000\n--- a/news/1822.documentation\n+++ /dev/null\n@@ -1 +0,0 @@\n-Fixed spelling of prerequisites. @stevepiercy\ndiff --git a/news/1826.feature b/news/1826.feature\ndeleted file mode 100644\nindex 3f21fa89a..000000000\n--- a/news/1826.feature\n+++ /dev/null\n@@ -1 +0,0 @@\n-Site service: Indicate whether the site supports filtering URL aliases by date. @davisagli\ndiff --git a/setup.py b/setup.py\nindex c9b76e910..6858c5da2 100644\n--- a/setup.py\n+++ b/setup.py\n@@ -4,7 +4,7 @@\n import sys\n \n \n-version = "9.7.3.dev0"\n+version = "9.8.0"\n \n if sys.version_info.major == 2:\n raise ValueError(\n' -Repository: Products.CMFPlone +Repository: plone.restapi -Branch: refs/heads/master -Date: 2024-10-22T08:20:36+02:00 -Author: 1letter (1letter) <1letter@gmx.de> -Commit: https://github.com/plone/Products.CMFPlone/commit/23b5fc93ab45e56f1e0ae86ff9f0e5782885cb81 +Branch: refs/heads/main +Date: 2024-10-23T09:41:24-07:00 +Author: David Glick (davisagli) +Commit: https://github.com/plone/plone.restapi/commit/ffd2045042769ad1cb80e92a54fcb94e19da6cbf -add news +Back to development: 9.8.1 Files changed: -A news/3813.feature.1 +M setup.py -b'diff --git a/news/3813.feature.1 b/news/3813.feature.1\nnew file mode 100644\nindex 0000000000..550519847b\n--- /dev/null\n+++ b/news/3813.feature.1\n@@ -0,0 +1,2 @@\n+make robot tests more robust\n+[1letter]\n' - -Repository: Products.CMFPlone - - -Branch: refs/heads/master -Date: 2024-10-22T08:31:12+02:00 -Author: 1letter (1letter) <1letter@gmx.de> -Commit: https://github.com/plone/Products.CMFPlone/commit/6671f1afd1fc85bf026f460b47d78c7dea703f47 - -enable scenarios - -Files changed: -M Products/CMFPlone/tests/robot/test_querystring.robot - -b"diff --git a/Products/CMFPlone/tests/robot/test_querystring.robot b/Products/CMFPlone/tests/robot/test_querystring.robot\nindex 971994f430..e01ae654d2 100644\n--- a/Products/CMFPlone/tests/robot/test_querystring.robot\n+++ b/Products/CMFPlone/tests/robot/test_querystring.robot\n@@ -20,66 +20,66 @@ Scenario: Location query Current\n When I activate the operator Current in the criteria Location\n Then we expect 1 hits\n \n-# Scenario: Location query Parent\n-# Given a logged-in site administrator\n-# and a bunch of folders\n-# and the querystring pattern\n-# When I activate the operator Parent in the criteria Location\n-# Then we expect 3 hits\n-\n-# Scenario: Location query Custom\n-# Given a logged-in site administrator\n-# and a bunch of folders\n-# and the querystring pattern\n-# When I activate the operator Custom in the criteria Location\n-# and I search in B subfolder in the related items widget\n-# Then we expect 5 hits\n-\n-# Scenario: Location query Advanced\n-# Given a logged-in site administrator\n-# and a bunch of folders\n-# and the querystring pattern\n-# When I activate the operator Advanced in the criteria Location\n-# Then I expect to be in Advanced mode\n-\n-# Scenario: Location query Simple\n-# # this fails simple is not available, first select 'Advanced Mode' then you can select 'Simple Mode'\n-# Given a logged-in site administrator\n-# and a bunch of folders\n-# and the querystring pattern\n-# When I activate the operator Advanced in the criteria Location\n-# and I open the select box titled operator\n-# and I select index Simple\n-# Then I expect to be in Simple mode\n-\n-# Scenario: Title query\n-# Given a logged-in site administrator\n-# and a bunch of folders\n-# and the querystring pattern\n-# When I open the criteria Title\n-# and I search for A\n-# Then we expect 1 hits\n-\n-# Scenario: Description query\n-# Given a logged-in site administrator\n-# and a bunch of folders\n-# and the querystring pattern\n-# When I open the criteria Description\n-# and I search for a\n-# Then we expect 1 hits\n-\n-# Scenario: Searchable text query\n-# Given a logged-in site administrator\n-# and a bunch of folders\n-# and the querystring pattern\n-# When I open the criteria Searchable text\n-# and I search for a\n-# and Sleep 0.2\n-# Then we expect 2 hits\n-\n-# When I open the criteria Searchable text\n-# and I search for d\n-# Then we expect 1 hits\n+Scenario: Location query Parent\n+ Given a logged-in site administrator\n+ and a bunch of folders\n+ and the querystring pattern\n+ When I activate the operator Parent in the criteria Location\n+ Then we expect 3 hits\n+\n+Scenario: Location query Custom\n+ Given a logged-in site administrator\n+ and a bunch of folders\n+ and the querystring pattern\n+ When I activate the operator Custom in the criteria Location\n+ and I search in B subfolder in the related items widget\n+ Then we expect 5 hits\n+\n+Scenario: Location query Advanced\n+ Given a logged-in site administrator\n+ and a bunch of folders\n+ and the querystring pattern\n+ When I activate the operator Advanced in the criteria Location\n+ Then I expect to be in Advanced mode\n+\n+Scenario: Location query Simple\n+ # this fails simple is not available, first select 'Advanced Mode' then you can select 'Simple Mode'\n+ Given a logged-in site administrator\n+ and a bunch of folders\n+ and the querystring pattern\n+ When I activate the operator Advanced in the criteria Location\n+ and I open the select box titled operator\n+ and I select index Simple\n+ Then I expect to be in Simple mode\n+\n+Scenario: Title query\n+ Given a logged-in site administrator\n+ and a bunch of folders\n+ and the querystring pattern\n+ When I open the criteria Title\n+ and I search for A\n+ Then we expect 1 hits\n+\n+Scenario: Description query\n+ Given a logged-in site administrator\n+ and a bunch of folders\n+ and the querystring pattern\n+ When I open the criteria Description\n+ and I search for a\n+ Then we expect 1 hits\n+\n+Scenario: Searchable text query\n+ Given a logged-in site administrator\n+ and a bunch of folders\n+ and the querystring pattern\n+ When I open the criteria Searchable text\n+ and I search for a\n+ and Sleep 0.2\n+ Then we expect 2 hits\n+\n+ When I open the criteria Searchable text\n+ and I search for d\n+ Then we expect 1 hits\n \n Scenario: Tag query one\n \n" - -Repository: Products.CMFPlone - - -Branch: refs/heads/master -Date: 2024-10-22T08:31:48+02:00 -Author: 1letter (1letter) <1letter@gmx.de> -Commit: https://github.com/plone/Products.CMFPlone/commit/52ab4844b6754b77cc356b7962680ea17d972a09 - -remove debug statement - -Files changed: -M Products/CMFPlone/tests/robot/test_querystring.robot - -b'diff --git a/Products/CMFPlone/tests/robot/test_querystring.robot b/Products/CMFPlone/tests/robot/test_querystring.robot\nindex e01ae654d2..44ab3f8b7d 100644\n--- a/Products/CMFPlone/tests/robot/test_querystring.robot\n+++ b/Products/CMFPlone/tests/robot/test_querystring.robot\n@@ -349,7 +349,6 @@ I activate the operator ${OPERATOR} in the criteria ${CRITERIA}\n mark results\n open the select box titled operator\n select index type ${OPERATOR}\n- Pause\n \n \n I search in ${NAME} subfolder in the related items widget\n' - -Repository: Products.CMFPlone - - -Branch: refs/heads/master -Date: 2024-10-23T15:01:01+02:00 -Author: Peter Mathis (petschki) -Commit: https://github.com/plone/Products.CMFPlone/commit/f7361bbcf7fe1f7c6810781be4d722c741e4c541 - -Merge pull request #4036 from plone/robottest-querystring-improvement - -make robot test more robust - -Files changed: -A news/3813.feature.1 -M Products/CMFPlone/tests/robot/test_querystring.robot - -b'diff --git a/Products/CMFPlone/tests/robot/test_querystring.robot b/Products/CMFPlone/tests/robot/test_querystring.robot\nindex ae0a1a3bf4..44ab3f8b7d 100644\n--- a/Products/CMFPlone/tests/robot/test_querystring.robot\n+++ b/Products/CMFPlone/tests/robot/test_querystring.robot\n@@ -336,8 +336,9 @@ a bunch of events\n ... container=${F1}\n \n the querystring pattern\n- #We go the /a to give more useful query results\n+ # We go the /a to give more useful query results\n Go to ${PLONE_URL}/a/++add++Collection\n+ Wait For Condition Classes //body contains patterns-loaded\n Type Text //input[@id="form-widgets-IDublinCore-title"] A Collection\n \n # WHEN\ndiff --git a/news/3813.feature.1 b/news/3813.feature.1\nnew file mode 100644\nindex 0000000000..550519847b\n--- /dev/null\n+++ b/news/3813.feature.1\n@@ -0,0 +1,2 @@\n+make robot tests more robust\n+[1letter]\n' +b'diff --git a/setup.py b/setup.py\nindex 6858c5da2..87192c8f7 100644\n--- a/setup.py\n+++ b/setup.py\n@@ -4,7 +4,7 @@\n import sys\n \n \n-version = "9.8.0"\n+version = "9.8.1.dev0"\n \n if sys.version_info.major == 2:\n raise ValueError(\n'