-
-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into maurits-warnings
- Loading branch information
Showing
27 changed files
with
192 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Update CI. @davisagli |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Add parse_int to handle all cases of BadRequests from ints passed in. @djay |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
In the `@registry` endpoint, added support for filtering the list of registry records. @Faakhir30 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
In the `@contextnavigation` endpoint, return `"icon": null` for Files with a mimetype not found in the `content_type_registry`, instead of raising `TypeError`. @mamico |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,11 @@ | ||
[buildout] | ||
extends = | ||
https://dist.plone.org/release/6.0.12/versions.cfg | ||
https://dist.plone.org/release/6.0.14/versions.cfg | ||
base.cfg | ||
|
||
[buildout:python37] | ||
parts = | ||
test | ||
code-analysis | ||
|
||
[instance] | ||
recipe = plone.recipe.zope2instance | ||
zodb-temporary-storage = off | ||
|
||
[versions] | ||
# Override pin from Zope. https://github.com/zopefoundation/Zope/issues/1220 | ||
docutils = 0.21.2 | ||
pygments = 2.14.0 | ||
plone.app.linkintegrity = 4.0.3 | ||
robotframework-browser = 17.5.2 | ||
robotframework-assertion-engine = 2.0.0 | ||
robotframework-debuglibrary = 2.3.0 | ||
robotframework-pythonlibcore = 4.2.0 | ||
grpcio-tools = 1.59.0 | ||
twine = 5.1.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,10 @@ | ||
[buildout] | ||
extends = | ||
https://dist.plone.org/release/6.1.0a3/versions.cfg | ||
https://dist.plone.org/release/6.1.0b2/versions.cfg | ||
base.cfg | ||
|
||
[buildout:python37] | ||
parts = | ||
test | ||
code-analysis | ||
|
||
[instance] | ||
recipe = plone.recipe.zope2instance | ||
zodb-temporary-storage = off | ||
|
||
[versions] | ||
# Override pin from Zope. https://github.com/zopefoundation/Zope/issues/1220 | ||
docutils = 0.21.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
-r https://dist.plone.org/release/6.0.12/requirements.txt | ||
-r https://dist.plone.org/release/6.0.14/requirements.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
-r https://dist.plone.org/release/6.1.0a3/requirements.txt | ||
-r https://dist.plone.org/release/6.1.0b2/requirements.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
src/plone/restapi/tests/http-examples/registry_get_list_filtered.req
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
GET /plone/@registry?q=Products.CMFPlone HTTP/1.1 | ||
Accept: application/json | ||
Authorization: Basic YWRtaW46c2VjcmV0 |
57 changes: 57 additions & 0 deletions
57
src/plone/restapi/tests/http-examples/registry_get_list_filtered.resp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
HTTP/1.1 200 OK | ||
Content-Type: application/json | ||
|
||
{ | ||
"@id": "http://localhost:55001/plone/@registry?q=Products.CMFPlone", | ||
"items": [ | ||
{ | ||
"name": "Products.CMFPlone.i18nl10n.override_dateformat.Enabled", | ||
"schema": { | ||
"properties": { | ||
"description": "Override the translation machinery", | ||
"factory": "Yes/No", | ||
"title": "Enabled", | ||
"type": "boolean" | ||
} | ||
}, | ||
"value": false | ||
}, | ||
{ | ||
"name": "Products.CMFPlone.i18nl10n.override_dateformat.date_format_long", | ||
"schema": { | ||
"properties": { | ||
"description": "Default value: %Y-%m-%d %H:%M (2038-01-19 03:14)", | ||
"factory": "Text line (String)", | ||
"title": "old ZMI property: localLongTimeFormat", | ||
"type": "string" | ||
} | ||
}, | ||
"value": "%Y-%m-%d %H:%M" | ||
}, | ||
{ | ||
"name": "Products.CMFPlone.i18nl10n.override_dateformat.date_format_short", | ||
"schema": { | ||
"properties": { | ||
"description": "Default value: %Y-%m-%d (2038-01-19)", | ||
"factory": "Text line (String)", | ||
"title": "old ZMI property: localTimeFormat", | ||
"type": "string" | ||
} | ||
}, | ||
"value": "%Y-%m-%d" | ||
}, | ||
{ | ||
"name": "Products.CMFPlone.i18nl10n.override_dateformat.time_format", | ||
"schema": { | ||
"properties": { | ||
"description": "Default value: %H:%M (03:14)", | ||
"factory": "Text line (String)", | ||
"title": "old ZMI property: localTimeOnlyFormat", | ||
"type": "string" | ||
} | ||
}, | ||
"value": "%H:%M" | ||
} | ||
], | ||
"items_total": 4 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.