diff --git a/composer.json b/composer.json index 103e2373..1ef2e095 100644 --- a/composer.json +++ b/composer.json @@ -86,7 +86,7 @@ "symfony/phpunit-bridge": "5.4.*", "symfony/web-profiler-bundle": "5.4.*", "roadiz/doc-generator": "~2.0.0", - "roadiz/rozier": "~2.0.0", + "roadiz/rozier": "~2.0.6", "roadiz/dts-generator": "~2.0.0", "roadiz/openid": "~2.0.0", "roadiz/documents": "~2.0.0", @@ -100,7 +100,7 @@ "phpoffice/phpspreadsheet": "^1.15", "rezozero/intervention-request-bundle": "~2.0.0", "symfony/rate-limiter": "5.4.*", - "rezozero/tree-walker": "^1.1.0", + "rezozero/tree-walker": "^1.2.1", "pimple/pimple": "*" }, "config": { diff --git a/config/packages/api_platform.yaml b/config/packages/api_platform.yaml index 0989e317..e9605a3f 100644 --- a/config/packages/api_platform.yaml +++ b/config/packages/api_platform.yaml @@ -36,9 +36,9 @@ api_platform: shared_max_age: '%env(int:HTTP_CACHE_SHARED_MAX_AGE)%' # Default values of the "Vary" HTTP header. vary: [ 'Accept', 'Authorization', 'Origin', 'Accept-Encoding', 'Content-Type' ] - invalidation: - enabled: true - varnish_urls: [ '%env(VARNISH_URL)%' ] +# invalidation: +# enabled: true +# varnish_urls: [ '%env(VARNISH_URL)%' ] defaults: pagination_client_items_per_page: true pagination_items_per_page: 15 diff --git a/docker/php81-nginx-alpine/php.ini b/docker/php81-nginx-alpine/php.ini index 7c49fc96..8eb01de5 100644 --- a/docker/php81-nginx-alpine/php.ini +++ b/docker/php81-nginx-alpine/php.ini @@ -31,4 +31,3 @@ post_max_size = 128M upload_max_filesize = 128M expose_php = On display_errors = On - diff --git a/src/Resources/node-types/Page.json b/src/Resources/node-types/Page.json index 71185d1e..01e10087 100644 --- a/src/Resources/node-types/Page.json +++ b/src/Resources/node-types/Page.json @@ -185,6 +185,20 @@ "excluded_from_serialization": false, "indexed": false, "visible": true + }, + { + "position": 9.0, + "name": "folder_references", + "label": "Reference to folders", + "default_values": "# Entity class name\r\nclassname: RZ\\Roadiz\\CoreBundle\\Entity\\Folder\r\n# Displayable is the method used to display entity name\r\ndisplayable: getName\r\n# Same as Displayable but for a secondary information\r\nalt_displayable: getFullPath\r\n# Searchable entity fields\r\nsearchable:\r\n - folderName\r\norderBy:\r\n - field: position\r\n direction: ASC\r\n# Use a proxy entity\r\n# proxy:\r\n# classname: App\\Entity\\PositionedFolderGalleryBlock\r\n# self: nodeSource\r\n# relation: folder\r\n# # This order will preserve position\r\n# orderBy:\r\n# - field: position\r\n# direction: ASC", + "type": 27, + "expanded": false, + "node_type_name": "Page", + "universal": false, + "exclude_from_search": false, + "excluded_from_serialization": false, + "indexed": false, + "visible": true } ], "default_ttl": 0,