Skip to content

Commit

Permalink
[fc] Repository: plone.restapi
Browse files Browse the repository at this point in the history
Branch: refs/heads/main
Date: 2024-08-26T11:44:48-07:00
Author: Jefferson Bledsoe (JeffersonBledsoe) <me@jeffersonbledsoe.com>
Commit: plone/plone.restapi@37d02e7

Include next/previous only if enabled (#1799)

* Add failing test for next/ previous behaviour

* Return empty dict if behaviour or toggle is disabled

* Fix missing import in test

* Remove bad part of test

* Fix some git weirdness?

* Fix implementation

* changelog

* skip tests that require DX site root in Plone 5.2

---------

Co-authored-by: David Glick &lt;david@glicksoftware.com&gt;

Files changed:
A news/1799.bugfix
M plone-6.0.x-python3.8.cfg
M plone-6.0.x.cfg
M requirements-6.0.txt
M src/plone/restapi/serializer/nextprev.py
M src/plone/restapi/tests/http-examples/collection.resp
M src/plone/restapi/tests/http-examples/collection_fullobjects.resp
M src/plone/restapi/tests/http-examples/content_get.resp
M src/plone/restapi/tests/http-examples/content_get_folder.resp
M src/plone/restapi/tests/http-examples/content_patch_representation.resp
M src/plone/restapi/tests/http-examples/content_post.resp
M src/plone/restapi/tests/http-examples/event.resp
M src/plone/restapi/tests/http-examples/file.resp
M src/plone/restapi/tests/http-examples/folder.resp
M src/plone/restapi/tests/http-examples/image.resp
M src/plone/restapi/tests/http-examples/link.resp
M src/plone/restapi/tests/http-examples/navroot_lang_content_get.resp
M src/plone/restapi/tests/http-examples/navroot_lang_folder_get.resp
M src/plone/restapi/tests/http-examples/newsitem.resp
M src/plone/restapi/tests/http-examples/search_fullobjects.resp
M src/plone/restapi/tests/http-examples/site_get_expand_lang_folder.resp
M src/plone/restapi/tests/http-examples/site_get_expand_lang_folder_content.resp
M src/plone/restapi/tests/http-examples/translated_messages_types_folder.resp
M src/plone/restapi/tests/http-examples/translations_expand_get.resp
M src/plone/restapi/tests/http-examples/translations_link_on_post.resp
M src/plone/restapi/tests/http-examples/translations_unexpanded_get.resp
M src/plone/restapi/tests/http-examples/workingcopy_baseline_get.resp
M src/plone/restapi/tests/http-examples/workingcopy_wc_get.resp
M src/plone/restapi/tests/test_dxcontent_serializer.py
  • Loading branch information
davisagli committed Aug 26, 2024
1 parent cfe2b3c commit 9bc3b36
Showing 1 changed file with 60 additions and 29 deletions.
Loading

0 comments on commit 9bc3b36

Please sign in to comment.