plone.restapi/plone-only-login: Comment out new navigation/breadcrumbs enpoint for now. Remo
Timo Stollenwerk <jenkins-z4DKO/[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.cvs |
|---|---|
| Message-ID | <[email protected]> |
Repository: plone.restapi Branch: refs/heads/plone-only-login Date: 2017-07-21T17:27:49+02:00 Author: Timo Stollenwerk (tisto) <tisto-z4DKO/[email protected]> Commit: https://github.com/plone/plone.restapi/commit/bde8eef810e7cc445cb8fa72f6d25efdf4df87a1 Comment out new navigation/breadcrumbs enpoint for now. Remove from changelog. Files changed: M CHANGES.rst M docs/source/_json/tusreplace_post.resp M docs/source/_json/tusupload_post.resp M src/plone/restapi/services/configure.zcml M src/plone/restapi/tests/test_services_breadcrumbs.py M src/plone/restapi/tests/test_services_navigation.py diff --git a/CHANGES.rst b/CHANGES.rst index 0f83f746..a70731ae 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -4,10 +4,6 @@ Changelog 1.0a20 (unreleased) ------------------- -- Add navigation and breadcrumbs as top-level services. Deprecate navigation - and breadcrumbs as components. - [timo] - - Support content reordering on the site root. [jaroel] diff --git a/docs/source/_json/tusreplace_post.resp b/docs/source/_json/tusreplace_post.resp index 088f3130..63899237 100644 --- a/docs/source/_json/tusreplace_post.resp +++ b/docs/source/_json/tusreplace_post.resp @@ -1,4 +1,4 @@ HTTP/1.1 201 Created -Tus-Resumable: 1.0.0 Location: http://localhost:55001/plone/myfile/@tus-upload/4e465958b24a46ec8657e6f3be720991 +Tus-Resumable: 1.0.0 diff --git a/docs/source/_json/tusupload_post.resp b/docs/source/_json/tusupload_post.resp index ed4ee518..1f01bd93 100644 --- a/docs/source/_json/tusupload_post.resp +++ b/docs/source/_json/tusupload_post.resp @@ -1,4 +1,4 @@ HTTP/1.1 201 Created -Tus-Resumable: 1.0.0 Location: http://localhost:55001/plone/folder/@tus-upload/032803b64ad746b3ab46d9223ea3d90f +Tus-Resumable: 1.0.0 diff --git a/src/plone/restapi/services/configure.zcml b/src/plone/restapi/services/configure.zcml index 800995bb..bc18fdfd 100644 --- a/src/plone/restapi/services/configure.zcml +++ b/src/plone/restapi/services/configure.zcml @@ -2,13 +2,13 @@ xmlns="http://namespaces.zope.org/zope"> <include package=".auth" /> - <include package=".breadcrumbs"/> + <!--<include package=".breadcrumbs"/>--> <include package=".components"/> <include package=".content"/> <include package=".copymove"/> <include package=".discussion"/> <include package=".groups"/> - <include package=".navigation"/> + <!--<include package=".navigation"/>--> <include package=".history"/> <include package=".principals"/> <include package=".registry"/> diff --git a/src/plone/restapi/tests/test_services_breadcrumbs.py b/src/plone/restapi/tests/test_services_breadcrumbs.py index 3f0e3fb0..a21002c0 100644 --- a/src/plone/restapi/tests/test_services_breadcrumbs.py +++ b/src/plone/restapi/tests/test_services_breadcrumbs.py @@ -35,6 +35,7 @@ def setUp(self): title=u'A document') transaction.commit() + @unittest.skip('Planned for future release') def test_breadcrumbs(self): response = self.api_session.get('/folder/doc1/@breadcrumbs') diff --git a/src/plone/restapi/tests/test_services_navigation.py b/src/plone/restapi/tests/test_services_navigation.py index a0c47213..02a04f84 100644 --- a/src/plone/restapi/tests/test_services_navigation.py +++ b/src/plone/restapi/tests/test_services_navigation.py @@ -35,6 +35,7 @@ def setUp(self): title=u'A document') transaction.commit() + @unittest.skip('Planned for future release') def test_navigation(self): response = self.api_session.get('/folder/@navigation') ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot