From 029ee601e11c24eccc0088db361856701edef770 Mon Sep 17 00:00:00 2001 From: davisagli Date: Mon, 10 Feb 2025 12:18:36 -0800 Subject: [PATCH] [fc] Repository: plone.volto Branch: refs/heads/main Date: 2025-02-07T13:59:34-08:00 Author: David Glick (davisagli) Commit: https://github.com/plone/plone.volto/commit/4fd11963f7a8ea961e837a14646c699caed6629b Add more summary fields for rendering listings Files changed: M src/plone/volto/summary.py Repository: plone.volto Branch: refs/heads/main Date: 2025-02-07T14:00:59-08:00 Author: David Glick (davisagli) Commit: https://github.com/plone/plone.volto/commit/9e1d9196dea7a2da0457048a169d8e34911359b2 changelog Files changed: A news/184.bugfix Repository: plone.volto Branch: refs/heads/main Date: 2025-02-10T12:18:36-08:00 Author: David Glick (davisagli) Commit: https://github.com/plone/plone.volto/commit/2cb0c9a1ac4c6b397046b700fd573de88716185e Merge pull request #184 from plone/summary-fields Add more summary fields for rendering listings Files changed: A news/184.bugfix M src/plone/volto/summary.py --- last_commit.txt | 52 ++++++++++++++++++++++++++++++++----------------- 1 file changed, 34 insertions(+), 18 deletions(-) diff --git a/last_commit.txt b/last_commit.txt index 5c9cc33ee7..c679c40f23 100644 --- a/last_commit.txt +++ b/last_commit.txt @@ -1,32 +1,48 @@ -Repository: plone.app.upgrade +Repository: plone.volto -Branch: refs/heads/master -Date: 2025-02-08T00:04:09+01:00 -Author: Maurits van Rees (mauritsvanrees) -Commit: https://github.com/plone/plone.app.upgrade/commit/c4cfbe21a7fdb8ae16656a8fcbe9b400e3d83082 +Branch: refs/heads/main +Date: 2025-02-07T13:59:34-08:00 +Author: David Glick (davisagli) +Commit: https://github.com/plone/plone.volto/commit/4fd11963f7a8ea961e837a14646c699caed6629b -Update classifiers. +Add more summary fields for rendering listings Files changed: -M setup.py +M src/plone/volto/summary.py -b'diff --git a/setup.py b/setup.py\nindex 23266030..c134b4b6 100644\n--- a/setup.py\n+++ b/setup.py\n@@ -14,15 +14,17 @@\n "Environment :: Web Environment",\n "Framework :: Plone",\n "Framework :: Plone :: 6.0",\n+ "Framework :: Plone :: 6.1",\n "Framework :: Plone :: Core",\n "Framework :: Zope :: 5",\n "License :: OSI Approved :: GNU General Public License v2 (GPLv2)",\n "Operating System :: OS Independent",\n "Programming Language :: Python",\n- "Programming Language :: Python :: 3.8",\n "Programming Language :: Python :: 3.9",\n "Programming Language :: Python :: 3.10",\n "Programming Language :: Python :: 3.11",\n+ "Programming Language :: Python :: 3.12",\n+ "Programming Language :: Python :: 3.13",\n ],\n keywords="Plone upgrade migration",\n author="Plone Foundation",\n' +b'diff --git a/src/plone/volto/summary.py b/src/plone/volto/summary.py\nindex 0a71a45..d78e77d 100644\n--- a/src/plone/volto/summary.py\n+++ b/src/plone/volto/summary.py\n@@ -5,9 +5,17 @@\n @implementer(IJSONSummarySerializerMetadata)\n class JSONSummarySerializerMetadata:\n def default_metadata_fields(self):\n+ # Fields to include in the default catalog-based summary\n+ # serialization in plone.restapi. We try to include everything\n+ # needed to render useful listings/teasers.\n return {\n "head_title",\n+ "effective",\n+ "end",\n+ "getObjSize",\n "image_field",\n "image_scales",\n+ "mime_type",\n "nav_title",\n+ "start",\n }\n' -Repository: plone.app.upgrade +Repository: plone.volto -Branch: refs/heads/master -Date: 2025-02-08T00:06:22+01:00 -Author: Maurits van Rees (mauritsvanrees) -Commit: https://github.com/plone/plone.app.upgrade/commit/fc3d427f91b4b1c825b430667c220aa8ca12228a +Branch: refs/heads/main +Date: 2025-02-07T14:00:59-08:00 +Author: David Glick (davisagli) +Commit: https://github.com/plone/plone.volto/commit/9e1d9196dea7a2da0457048a169d8e34911359b2 -Added upgrade to 6108, Plone 6.1.1. +changelog Files changed: -A news/6108.internal -M CHANGES.rst -M plone/app/upgrade/v61/configure.zcml +A news/184.bugfix -b'diff --git a/CHANGES.rst b/CHANGES.rst\nindex f8a3d34e..e886320e 100644\n--- a/CHANGES.rst\n+++ b/CHANGES.rst\n@@ -23,7 +23,7 @@ Internal:\n \n - Added upgrade to 6026, Plone 6.0.15.\n [maurits] (#6026)\n-- Added upgrade to 6107, Plone 6.1.0rc1.\n+- Added upgrade to 6107, Plone 6.1.0rc1 and 6.1.0 final.\n [maurits] (#6107)\n \n \ndiff --git a/news/6108.internal b/news/6108.internal\nnew file mode 100644\nindex 00000000..5db82227\n--- /dev/null\n+++ b/news/6108.internal\n@@ -0,0 +1,2 @@\n+Added upgrade to 6108, Plone 6.1.1.\n+[maurits]\ndiff --git a/plone/app/upgrade/v61/configure.zcml b/plone/app/upgrade/v61/configure.zcml\nindex 6ed150d8..f4f6fcc4 100644\n--- a/plone/app/upgrade/v61/configure.zcml\n+++ b/plone/app/upgrade/v61/configure.zcml\n@@ -105,7 +105,7 @@\n source="6106"\n destination="6107"\n >\n- \n+ \n \n \n+ \n+ \n+ \n+\n+ \n+\n \n' +b'diff --git a/news/184.bugfix b/news/184.bugfix\nnew file mode 100644\nindex 0000000..e9cf91a\n--- /dev/null\n+++ b/news/184.bugfix\n@@ -0,0 +1 @@\n+Include `effective`, `end`, `getObjSize`, `mime_type`, and `start` in default summary serialization. @davisagli\n' + +Repository: plone.volto + + +Branch: refs/heads/main +Date: 2025-02-10T12:18:36-08:00 +Author: David Glick (davisagli) +Commit: https://github.com/plone/plone.volto/commit/2cb0c9a1ac4c6b397046b700fd573de88716185e + +Merge pull request #184 from plone/summary-fields + +Add more summary fields for rendering listings + +Files changed: +A news/184.bugfix +M src/plone/volto/summary.py + +b'diff --git a/news/184.bugfix b/news/184.bugfix\nnew file mode 100644\nindex 0000000..e9cf91a\n--- /dev/null\n+++ b/news/184.bugfix\n@@ -0,0 +1 @@\n+Include `effective`, `end`, `getObjSize`, `mime_type`, and `start` in default summary serialization. @davisagli\ndiff --git a/src/plone/volto/summary.py b/src/plone/volto/summary.py\nindex 0a71a45..d78e77d 100644\n--- a/src/plone/volto/summary.py\n+++ b/src/plone/volto/summary.py\n@@ -5,9 +5,17 @@\n @implementer(IJSONSummarySerializerMetadata)\n class JSONSummarySerializerMetadata:\n def default_metadata_fields(self):\n+ # Fields to include in the default catalog-based summary\n+ # serialization in plone.restapi. We try to include everything\n+ # needed to render useful listings/teasers.\n return {\n "head_title",\n+ "effective",\n+ "end",\n+ "getObjSize",\n "image_field",\n "image_scales",\n+ "mime_type",\n "nav_title",\n+ "start",\n }\n'