From a837d5bb2cadcabeb45083dc0a200bd95a412d4f Mon Sep 17 00:00:00 2001 From: Rob Gietema Date: Mon, 2 Dec 2024 07:33:36 -0300 Subject: [PATCH] Fix tests. --- docs/examples/navigation/get.res | 12 ++++++++++++ docs/examples/search/get.res | 15 +++++++++++++++ docs/examples/search/get_batch.res | 6 ++++++ docs/examples/search/get_depth.res | 9 +++++++++ docs/examples/search/get_news.res | 3 +++ docs/examples/search/get_offset.res | 9 +++++++++ docs/examples/search/get_sort_date.res | 15 +++++++++++++++ docs/examples/search/get_sort_reverse.res | 15 +++++++++++++++ docs/examples/search/get_sort_title.res | 15 +++++++++++++++ docs/examples/search/get_sort_unknown.res | 15 +++++++++++++++ docs/examples/search/get_unknown.res | 15 +++++++++++++++ docs/examples/search/post.res | 15 +++++++++++++++ docs/examples/site/get.res | 6 +++--- docs/examples/vocabularies/get_behaviors.res | 6 +++++- 14 files changed, 152 insertions(+), 4 deletions(-) diff --git a/docs/examples/navigation/get.res b/docs/examples/navigation/get.res index 61d2952..118aa3e 100644 --- a/docs/examples/navigation/get.res +++ b/docs/examples/navigation/get.res @@ -14,11 +14,14 @@ Content-Type: application/json "Title": "Events", "Subject": null, "is_folderish": true, + "items": [], "exclude_from_nav": false, "Type": "Folder", "getId": "events", "Creator": "admin", "id": "events", + "image_field": "", + "image_scales": {}, "portal_type": "Folder", "review_state": "published", "modified": "2022-04-02T20:30:00.000Z", @@ -27,6 +30,7 @@ Content-Type: application/json "created": "2022-04-02T20:30:00.000Z", "effective": "2022-04-02T20:30:00.000Z", "getObjSize": 192, + "hasPreviewImage": false, "listCreators": ["admin"], "mime_type": null, "CreationDate": "2022-04-02T20:30:00.000Z", @@ -44,11 +48,14 @@ Content-Type: application/json "Title": "News", "Subject": null, "is_folderish": true, + "items": [], "exclude_from_nav": false, "Type": "Folder", "getId": "news", "Creator": "admin", "id": "news", + "image_field": "", + "image_scales": {}, "portal_type": "Folder", "review_state": "published", "modified": "2022-04-02T20:22:00.000Z", @@ -57,6 +64,7 @@ Content-Type: application/json "created": "2022-04-02T20:22:00.000Z", "effective": "2022-04-02T20:22:00.000Z", "getObjSize": 217, + "hasPreviewImage": false, "listCreators": ["admin"], "mime_type": null, "CreationDate": "2022-04-02T20:22:00.000Z", @@ -74,11 +82,14 @@ Content-Type: application/json "Title": "Users", "Subject": null, "is_folderish": true, + "items": [], "exclude_from_nav": false, "Type": "Folder", "getId": "users", "Creator": "admin", "id": "users", + "image_field": "", + "image_scales": {}, "portal_type": "Folder", "review_state": "published", "modified": "2022-04-02T20:24:00.000Z", @@ -87,6 +98,7 @@ Content-Type: application/json "created": "2022-04-02T20:24:00.000Z", "effective": "2022-04-02T20:24:00.000Z", "getObjSize": 191, + "hasPreviewImage": false, "listCreators": ["admin"], "mime_type": null, "CreationDate": "2022-04-02T20:24:00.000Z", diff --git a/docs/examples/search/get.res b/docs/examples/search/get.res index 4e2f60c..c5487e5 100644 --- a/docs/examples/search/get.res +++ b/docs/examples/search/get.res @@ -19,6 +19,8 @@ Content-Type: application/json "getId": "events", "Creator": "admin", "id": "events", + "image_field": "", + "image_scales": {}, "portal_type": "Folder", "review_state": "published", "modified": "2022-04-02T20:30:00.000Z", @@ -27,6 +29,7 @@ Content-Type: application/json "created": "2022-04-02T20:30:00.000Z", "effective": "2022-04-02T20:30:00.000Z", "getObjSize": 192, + "hasPreviewImage": false, "listCreators": ["admin"], "mime_type": null, "CreationDate": "2022-04-02T20:30:00.000Z", @@ -49,6 +52,8 @@ Content-Type: application/json "getId": "news", "Creator": "admin", "id": "news", + "image_field": "", + "image_scales": {}, "portal_type": "Folder", "review_state": "published", "modified": "2022-04-02T20:22:00.000Z", @@ -57,6 +62,7 @@ Content-Type: application/json "created": "2022-04-02T20:22:00.000Z", "effective": "2022-04-02T20:22:00.000Z", "getObjSize": 217, + "hasPreviewImage": false, "listCreators": ["admin"], "mime_type": null, "CreationDate": "2022-04-02T20:22:00.000Z", @@ -79,6 +85,8 @@ Content-Type: application/json "getId": "event-1", "Creator": "admin", "id": "event-1", + "image_field": "", + "image_scales": {}, "portal_type": "Page", "review_state": "published", "modified": "2022-04-02T20:10:00.000Z", @@ -87,6 +95,7 @@ Content-Type: application/json "created": "2022-04-02T20:10:00.000Z", "effective": "2022-04-02T20:10:00.000Z", "getObjSize": 421, + "hasPreviewImage": false, "listCreators": ["admin"], "mime_type": null, "CreationDate": "2022-04-02T20:10:00.000Z", @@ -109,6 +118,8 @@ Content-Type: application/json "getId": "users", "Creator": "admin", "id": "users", + "image_field": "", + "image_scales": {}, "portal_type": "Folder", "review_state": "published", "modified": "2022-04-02T20:24:00.000Z", @@ -117,6 +128,7 @@ Content-Type: application/json "created": "2022-04-02T20:24:00.000Z", "effective": "2022-04-02T20:24:00.000Z", "getObjSize": 191, + "hasPreviewImage": false, "listCreators": ["admin"], "mime_type": null, "CreationDate": "2022-04-02T20:24:00.000Z", @@ -139,6 +151,8 @@ Content-Type: application/json "getId": "root", "Creator": "admin", "id": "root", + "image_field": "", + "image_scales": {}, "portal_type": "Site", "review_state": "published", "modified": "2022-04-02T20:00:00.000Z", @@ -147,6 +161,7 @@ Content-Type: application/json "created": "2022-04-02T20:00:00.000Z", "effective": "2022-04-02T20:00:00.000Z", "getObjSize": 1806, + "hasPreviewImage": false, "listCreators": ["admin"], "mime_type": null, "CreationDate": "2022-04-02T20:00:00.000Z", diff --git a/docs/examples/search/get_batch.res b/docs/examples/search/get_batch.res index 774ac6b..bae1cc6 100644 --- a/docs/examples/search/get_batch.res +++ b/docs/examples/search/get_batch.res @@ -27,6 +27,9 @@ Content-Type: application/json "created": "2022-04-02T20:30:00.000Z", "effective": "2022-04-02T20:30:00.000Z", "getObjSize": 192, + "image_field": "", + "image_scales": {}, + "hasPreviewImage": false, "listCreators": ["admin"], "mime_type": null, "CreationDate": "2022-04-02T20:30:00.000Z", @@ -57,6 +60,9 @@ Content-Type: application/json "created": "2022-04-02T20:22:00.000Z", "effective": "2022-04-02T20:22:00.000Z", "getObjSize": 217, + "image_field": "", + "image_scales": {}, + "hasPreviewImage": false, "listCreators": ["admin"], "mime_type": null, "CreationDate": "2022-04-02T20:22:00.000Z", diff --git a/docs/examples/search/get_depth.res b/docs/examples/search/get_depth.res index a31a1f0..2e8d30f 100644 --- a/docs/examples/search/get_depth.res +++ b/docs/examples/search/get_depth.res @@ -27,6 +27,9 @@ Content-Type: application/json "created": "2022-04-02T20:30:00.000Z", "effective": "2022-04-02T20:30:00.000Z", "getObjSize": 192, + "image_field": "", + "image_scales": {}, + "hasPreviewImage": false, "listCreators": ["admin"], "mime_type": null, "CreationDate": "2022-04-02T20:30:00.000Z", @@ -57,6 +60,9 @@ Content-Type: application/json "created": "2022-04-02T20:22:00.000Z", "effective": "2022-04-02T20:22:00.000Z", "getObjSize": 217, + "image_field": "", + "image_scales": {}, + "hasPreviewImage": false, "listCreators": ["admin"], "mime_type": null, "CreationDate": "2022-04-02T20:22:00.000Z", @@ -87,6 +93,9 @@ Content-Type: application/json "created": "2022-04-02T20:24:00.000Z", "effective": "2022-04-02T20:24:00.000Z", "getObjSize": 191, + "image_field": "", + "image_scales": {}, + "hasPreviewImage": false, "listCreators": ["admin"], "mime_type": null, "CreationDate": "2022-04-02T20:24:00.000Z", diff --git a/docs/examples/search/get_news.res b/docs/examples/search/get_news.res index 9c273fe..75f7d11 100644 --- a/docs/examples/search/get_news.res +++ b/docs/examples/search/get_news.res @@ -19,6 +19,8 @@ Content-Type: application/json "getId": "news", "Creator": "admin", "id": "news", + "image_field": "", + "image_scales": {}, "portal_type": "Folder", "review_state": "published", "modified": "2022-04-02T20:22:00.000Z", @@ -27,6 +29,7 @@ Content-Type: application/json "created": "2022-04-02T20:22:00.000Z", "effective": "2022-04-02T20:22:00.000Z", "getObjSize": 217, + "hasPreviewImage": false, "listCreators": ["admin"], "mime_type": null, "CreationDate": "2022-04-02T20:22:00.000Z", diff --git a/docs/examples/search/get_offset.res b/docs/examples/search/get_offset.res index c4272a6..40e9bf8 100644 --- a/docs/examples/search/get_offset.res +++ b/docs/examples/search/get_offset.res @@ -27,6 +27,9 @@ Content-Type: application/json "created": "2022-04-02T20:10:00.000Z", "effective": "2022-04-02T20:10:00.000Z", "getObjSize": 421, + "image_field": "", + "image_scales": {}, + "hasPreviewImage": false, "listCreators": ["admin"], "mime_type": null, "CreationDate": "2022-04-02T20:10:00.000Z", @@ -57,6 +60,9 @@ Content-Type: application/json "created": "2022-04-02T20:24:00.000Z", "effective": "2022-04-02T20:24:00.000Z", "getObjSize": 191, + "image_field": "", + "image_scales": {}, + "hasPreviewImage": false, "listCreators": ["admin"], "mime_type": null, "CreationDate": "2022-04-02T20:24:00.000Z", @@ -87,6 +93,9 @@ Content-Type: application/json "created": "2022-04-02T20:00:00.000Z", "effective": "2022-04-02T20:00:00.000Z", "getObjSize": 1806, + "image_field": "", + "image_scales": {}, + "hasPreviewImage": false, "listCreators": ["admin"], "mime_type": null, "CreationDate": "2022-04-02T20:00:00.000Z", diff --git a/docs/examples/search/get_sort_date.res b/docs/examples/search/get_sort_date.res index b8d2977..1065747 100644 --- a/docs/examples/search/get_sort_date.res +++ b/docs/examples/search/get_sort_date.res @@ -27,6 +27,9 @@ Content-Type: application/json "created": "2022-04-02T20:00:00.000Z", "effective": "2022-04-02T20:00:00.000Z", "getObjSize": 1806, + "image_field": "", + "image_scales": {}, + "hasPreviewImage": false, "listCreators": ["admin"], "mime_type": null, "CreationDate": "2022-04-02T20:00:00.000Z", @@ -57,6 +60,9 @@ Content-Type: application/json "created": "2022-04-02T20:10:00.000Z", "effective": "2022-04-02T20:10:00.000Z", "getObjSize": 421, + "image_field": "", + "image_scales": {}, + "hasPreviewImage": false, "listCreators": ["admin"], "mime_type": null, "CreationDate": "2022-04-02T20:10:00.000Z", @@ -87,6 +93,9 @@ Content-Type: application/json "created": "2022-04-02T20:22:00.000Z", "effective": "2022-04-02T20:22:00.000Z", "getObjSize": 217, + "image_field": "", + "image_scales": {}, + "hasPreviewImage": false, "listCreators": ["admin"], "mime_type": null, "CreationDate": "2022-04-02T20:22:00.000Z", @@ -117,6 +126,9 @@ Content-Type: application/json "created": "2022-04-02T20:24:00.000Z", "effective": "2022-04-02T20:24:00.000Z", "getObjSize": 191, + "image_field": "", + "image_scales": {}, + "hasPreviewImage": false, "listCreators": ["admin"], "mime_type": null, "CreationDate": "2022-04-02T20:24:00.000Z", @@ -147,6 +159,9 @@ Content-Type: application/json "created": "2022-04-02T20:30:00.000Z", "effective": "2022-04-02T20:30:00.000Z", "getObjSize": 192, + "image_field": "", + "image_scales": {}, + "hasPreviewImage": false, "listCreators": ["admin"], "mime_type": null, "CreationDate": "2022-04-02T20:30:00.000Z", diff --git a/docs/examples/search/get_sort_reverse.res b/docs/examples/search/get_sort_reverse.res index 420bb0d..7850c2d 100644 --- a/docs/examples/search/get_sort_reverse.res +++ b/docs/examples/search/get_sort_reverse.res @@ -27,6 +27,9 @@ Content-Type: application/json "created": "2022-04-02T20:00:00.000Z", "effective": "2022-04-02T20:00:00.000Z", "getObjSize": 1806, + "image_field": "", + "image_scales": {}, + "hasPreviewImage": false, "listCreators": ["admin"], "mime_type": null, "CreationDate": "2022-04-02T20:00:00.000Z", @@ -57,6 +60,9 @@ Content-Type: application/json "created": "2022-04-02T20:24:00.000Z", "effective": "2022-04-02T20:24:00.000Z", "getObjSize": 191, + "image_field": "", + "image_scales": {}, + "hasPreviewImage": false, "listCreators": ["admin"], "mime_type": null, "CreationDate": "2022-04-02T20:24:00.000Z", @@ -87,6 +93,9 @@ Content-Type: application/json "created": "2022-04-02T20:22:00.000Z", "effective": "2022-04-02T20:22:00.000Z", "getObjSize": 217, + "image_field": "", + "image_scales": {}, + "hasPreviewImage": false, "listCreators": ["admin"], "mime_type": null, "CreationDate": "2022-04-02T20:22:00.000Z", @@ -117,6 +126,9 @@ Content-Type: application/json "created": "2022-04-02T20:30:00.000Z", "effective": "2022-04-02T20:30:00.000Z", "getObjSize": 192, + "image_field": "", + "image_scales": {}, + "hasPreviewImage": false, "listCreators": ["admin"], "mime_type": null, "CreationDate": "2022-04-02T20:30:00.000Z", @@ -147,6 +159,9 @@ Content-Type: application/json "created": "2022-04-02T20:10:00.000Z", "effective": "2022-04-02T20:10:00.000Z", "getObjSize": 421, + "image_field": "", + "image_scales": {}, + "hasPreviewImage": false, "listCreators": ["admin"], "mime_type": null, "CreationDate": "2022-04-02T20:10:00.000Z", diff --git a/docs/examples/search/get_sort_title.res b/docs/examples/search/get_sort_title.res index 2ac17e6..8a3fbcf 100644 --- a/docs/examples/search/get_sort_title.res +++ b/docs/examples/search/get_sort_title.res @@ -27,6 +27,9 @@ Content-Type: application/json "created": "2022-04-02T20:10:00.000Z", "effective": "2022-04-02T20:10:00.000Z", "getObjSize": 421, + "image_field": "", + "image_scales": {}, + "hasPreviewImage": false, "listCreators": ["admin"], "mime_type": null, "CreationDate": "2022-04-02T20:10:00.000Z", @@ -57,6 +60,9 @@ Content-Type: application/json "created": "2022-04-02T20:30:00.000Z", "effective": "2022-04-02T20:30:00.000Z", "getObjSize": 192, + "image_field": "", + "image_scales": {}, + "hasPreviewImage": false, "listCreators": ["admin"], "mime_type": null, "CreationDate": "2022-04-02T20:30:00.000Z", @@ -87,6 +93,9 @@ Content-Type: application/json "created": "2022-04-02T20:22:00.000Z", "effective": "2022-04-02T20:22:00.000Z", "getObjSize": 217, + "image_field": "", + "image_scales": {}, + "hasPreviewImage": false, "listCreators": ["admin"], "mime_type": null, "CreationDate": "2022-04-02T20:22:00.000Z", @@ -117,6 +126,9 @@ Content-Type: application/json "created": "2022-04-02T20:24:00.000Z", "effective": "2022-04-02T20:24:00.000Z", "getObjSize": 191, + "image_field": "", + "image_scales": {}, + "hasPreviewImage": false, "listCreators": ["admin"], "mime_type": null, "CreationDate": "2022-04-02T20:24:00.000Z", @@ -147,6 +159,9 @@ Content-Type: application/json "created": "2022-04-02T20:00:00.000Z", "effective": "2022-04-02T20:00:00.000Z", "getObjSize": 1806, + "image_field": "", + "image_scales": {}, + "hasPreviewImage": false, "listCreators": ["admin"], "mime_type": null, "CreationDate": "2022-04-02T20:00:00.000Z", diff --git a/docs/examples/search/get_sort_unknown.res b/docs/examples/search/get_sort_unknown.res index 4e2f60c..0c1d424 100644 --- a/docs/examples/search/get_sort_unknown.res +++ b/docs/examples/search/get_sort_unknown.res @@ -27,6 +27,9 @@ Content-Type: application/json "created": "2022-04-02T20:30:00.000Z", "effective": "2022-04-02T20:30:00.000Z", "getObjSize": 192, + "image_field": "", + "image_scales": {}, + "hasPreviewImage": false, "listCreators": ["admin"], "mime_type": null, "CreationDate": "2022-04-02T20:30:00.000Z", @@ -57,6 +60,9 @@ Content-Type: application/json "created": "2022-04-02T20:22:00.000Z", "effective": "2022-04-02T20:22:00.000Z", "getObjSize": 217, + "image_field": "", + "image_scales": {}, + "hasPreviewImage": false, "listCreators": ["admin"], "mime_type": null, "CreationDate": "2022-04-02T20:22:00.000Z", @@ -87,6 +93,9 @@ Content-Type: application/json "created": "2022-04-02T20:10:00.000Z", "effective": "2022-04-02T20:10:00.000Z", "getObjSize": 421, + "image_field": "", + "image_scales": {}, + "hasPreviewImage": false, "listCreators": ["admin"], "mime_type": null, "CreationDate": "2022-04-02T20:10:00.000Z", @@ -117,6 +126,9 @@ Content-Type: application/json "created": "2022-04-02T20:24:00.000Z", "effective": "2022-04-02T20:24:00.000Z", "getObjSize": 191, + "image_field": "", + "image_scales": {}, + "hasPreviewImage": false, "listCreators": ["admin"], "mime_type": null, "CreationDate": "2022-04-02T20:24:00.000Z", @@ -147,6 +159,9 @@ Content-Type: application/json "created": "2022-04-02T20:00:00.000Z", "effective": "2022-04-02T20:00:00.000Z", "getObjSize": 1806, + "image_field": "", + "image_scales": {}, + "hasPreviewImage": false, "listCreators": ["admin"], "mime_type": null, "CreationDate": "2022-04-02T20:00:00.000Z", diff --git a/docs/examples/search/get_unknown.res b/docs/examples/search/get_unknown.res index 4e2f60c..0c1d424 100644 --- a/docs/examples/search/get_unknown.res +++ b/docs/examples/search/get_unknown.res @@ -27,6 +27,9 @@ Content-Type: application/json "created": "2022-04-02T20:30:00.000Z", "effective": "2022-04-02T20:30:00.000Z", "getObjSize": 192, + "image_field": "", + "image_scales": {}, + "hasPreviewImage": false, "listCreators": ["admin"], "mime_type": null, "CreationDate": "2022-04-02T20:30:00.000Z", @@ -57,6 +60,9 @@ Content-Type: application/json "created": "2022-04-02T20:22:00.000Z", "effective": "2022-04-02T20:22:00.000Z", "getObjSize": 217, + "image_field": "", + "image_scales": {}, + "hasPreviewImage": false, "listCreators": ["admin"], "mime_type": null, "CreationDate": "2022-04-02T20:22:00.000Z", @@ -87,6 +93,9 @@ Content-Type: application/json "created": "2022-04-02T20:10:00.000Z", "effective": "2022-04-02T20:10:00.000Z", "getObjSize": 421, + "image_field": "", + "image_scales": {}, + "hasPreviewImage": false, "listCreators": ["admin"], "mime_type": null, "CreationDate": "2022-04-02T20:10:00.000Z", @@ -117,6 +126,9 @@ Content-Type: application/json "created": "2022-04-02T20:24:00.000Z", "effective": "2022-04-02T20:24:00.000Z", "getObjSize": 191, + "image_field": "", + "image_scales": {}, + "hasPreviewImage": false, "listCreators": ["admin"], "mime_type": null, "CreationDate": "2022-04-02T20:24:00.000Z", @@ -147,6 +159,9 @@ Content-Type: application/json "created": "2022-04-02T20:00:00.000Z", "effective": "2022-04-02T20:00:00.000Z", "getObjSize": 1806, + "image_field": "", + "image_scales": {}, + "hasPreviewImage": false, "listCreators": ["admin"], "mime_type": null, "CreationDate": "2022-04-02T20:00:00.000Z", diff --git a/docs/examples/search/post.res b/docs/examples/search/post.res index 4e2f60c..0c1d424 100644 --- a/docs/examples/search/post.res +++ b/docs/examples/search/post.res @@ -27,6 +27,9 @@ Content-Type: application/json "created": "2022-04-02T20:30:00.000Z", "effective": "2022-04-02T20:30:00.000Z", "getObjSize": 192, + "image_field": "", + "image_scales": {}, + "hasPreviewImage": false, "listCreators": ["admin"], "mime_type": null, "CreationDate": "2022-04-02T20:30:00.000Z", @@ -57,6 +60,9 @@ Content-Type: application/json "created": "2022-04-02T20:22:00.000Z", "effective": "2022-04-02T20:22:00.000Z", "getObjSize": 217, + "image_field": "", + "image_scales": {}, + "hasPreviewImage": false, "listCreators": ["admin"], "mime_type": null, "CreationDate": "2022-04-02T20:22:00.000Z", @@ -87,6 +93,9 @@ Content-Type: application/json "created": "2022-04-02T20:10:00.000Z", "effective": "2022-04-02T20:10:00.000Z", "getObjSize": 421, + "image_field": "", + "image_scales": {}, + "hasPreviewImage": false, "listCreators": ["admin"], "mime_type": null, "CreationDate": "2022-04-02T20:10:00.000Z", @@ -117,6 +126,9 @@ Content-Type: application/json "created": "2022-04-02T20:24:00.000Z", "effective": "2022-04-02T20:24:00.000Z", "getObjSize": 191, + "image_field": "", + "image_scales": {}, + "hasPreviewImage": false, "listCreators": ["admin"], "mime_type": null, "CreationDate": "2022-04-02T20:24:00.000Z", @@ -147,6 +159,9 @@ Content-Type: application/json "created": "2022-04-02T20:00:00.000Z", "effective": "2022-04-02T20:00:00.000Z", "getObjSize": 1806, + "image_field": "", + "image_scales": {}, + "hasPreviewImage": false, "listCreators": ["admin"], "mime_type": null, "CreationDate": "2022-04-02T20:00:00.000Z", diff --git a/docs/examples/site/get.res b/docs/examples/site/get.res index a7c89e3..9a266fd 100644 --- a/docs/examples/site/get.res +++ b/docs/examples/site/get.res @@ -3,7 +3,7 @@ Content-Type: application/json { "@id": "http://localhost:8080/@site", - "robots_txt": "Sitemap: {portal_url}/sitemap.xml.gz\n\n# Define access-restrictions for robots/spiders\n# http://www.robotstxt.org/wc/norobots.html\n\n\n\n# By default we allow robots to access all areas of our site\n# already accessible to anonymous users\n\nUser-agent: *\nDisallow:\n\n\n\n# Add Googlebot-specific syntax extension to exclude forms\n# that are repeated for each piece of content in the site\n# the wildcard is only supported by Googlebot\n# http://www.google.com/support/webmasters/bin/answer.py?answer=40367&ctx=sibling\n\nUser-Agent: Googlebot\nDisallow: /*?\nDisallow: /*atct_album_view$\nDisallow: /*folder_factories$\nDisallow: /*folder_summary_view$\nDisallow: /*login_form$\nDisallow: /*mail_password_form$\nDisallow: /@@search\nDisallow: /*search_rss$\nDisallow: /*sendto_form$\nDisallow: /*summary_view$\nDisallow: /*thumbnail_view$\nDisallow: /*view$\n", - "site_logo": null, - "site_title": "Nick" + "plone.robots_txt": "Sitemap: {portal_url}/sitemap.xml.gz\n\n# Define access-restrictions for robots/spiders\n# http://www.robotstxt.org/wc/norobots.html\n\n\n\n# By default we allow robots to access all areas of our site\n# already accessible to anonymous users\n\nUser-agent: *\nDisallow:\n\n\n\n# Add Googlebot-specific syntax extension to exclude forms\n# that are repeated for each piece of content in the site\n# the wildcard is only supported by Googlebot\n# http://www.google.com/support/webmasters/bin/answer.py?answer=40367&ctx=sibling\n\nUser-Agent: Googlebot\nDisallow: /*?\nDisallow: /*atct_album_view$\nDisallow: /*folder_factories$\nDisallow: /*folder_summary_view$\nDisallow: /*login_form$\nDisallow: /*mail_password_form$\nDisallow: /@@search\nDisallow: /*search_rss$\nDisallow: /*sendto_form$\nDisallow: /*summary_view$\nDisallow: /*thumbnail_view$\nDisallow: /*view$\n", + "plone.site_logo": null, + "plone.site_title": "Nick" } \ No newline at end of file diff --git a/docs/examples/vocabularies/get_behaviors.res b/docs/examples/vocabularies/get_behaviors.res index cdd17eb..9bed3ce 100644 --- a/docs/examples/vocabularies/get_behaviors.res +++ b/docs/examples/vocabularies/get_behaviors.res @@ -32,6 +32,10 @@ Content-Type: application/json "title": "Ownership", "token": "ownership" }, + { + "title": "Preview Image Link", + "token": "preview_image_link" + }, { "title": "Short name", "token": "short_name" @@ -41,5 +45,5 @@ Content-Type: application/json "token": "versioning" } ], - "items_total": 9 + "items_total": 10 }