diff --git a/Makefile b/Makefile index f5cdacf..ff14a23 100644 --- a/Makefile +++ b/Makefile @@ -57,6 +57,10 @@ build-backend: ## Build Backend create-site: ## Create a Plone site with default content $(MAKE) -C "./backend/" create-site +.PHONY: create-site-force +create-site-force: ## Create a Plone site with default content + $(MAKE) -C "./backend/" create-site-force + .PHONY: start-backend start-backend: ## Start Plone Backend $(MAKE) -C "./backend/" start diff --git a/backend/mx.ini b/backend/mx.ini index 3629ad6..e32f2c6 100644 --- a/backend/mx.ini +++ b/backend/mx.ini @@ -7,6 +7,8 @@ ; example how to override a package version ; version-overrides = ; example.package==2.1.0a2 +version-overrides = + plone.volto==4.4.1 ; example section to use packages from git ; [example.contenttype] diff --git a/backend/setup.py b/backend/setup.py index 924bc80..45105f7 100644 --- a/backend/setup.py +++ b/backend/setup.py @@ -49,7 +49,7 @@ python_requires=">=3.8", install_requires=[ "setuptools", - "plone.volto", + "plone.volto>=4.4.1", # fix preview_image_link behavior issue "plone.distribution>=2.0.0a1", # "plone.api", "kitconcept.solr", diff --git a/backend/src/kitconcept/intranet/distributions/intranet/content/content/0c1eaeaca2cc47f48eae213121a6f7a8/data.json b/backend/src/kitconcept/intranet/distributions/intranet/content/content/0c1eaeaca2cc47f48eae213121a6f7a8/data.json new file mode 100644 index 0000000..4717c56 --- /dev/null +++ b/backend/src/kitconcept/intranet/distributions/intranet/content/content/0c1eaeaca2cc47f48eae213121a6f7a8/data.json @@ -0,0 +1,54 @@ +{ + "@id": "/images/donald-giannatti-wj1d-qiosee-unsplash.jpg", + "@type": "Image", + "UID": "0c1eaeaca2cc47f48eae213121a6f7a8", + "allow_discussion": false, + "contributors": [], + "created": "2024-05-16T20:18:15+00:00", + "creators": [ + "admin" + ], + "description": "", + "effective": null, + "exclude_from_nav": false, + "expires": null, + "exportimport.constrains": {}, + "exportimport.conversation": [], + "exportimport.versions": {}, + "id": "donald-giannatti-wj1d-qiosee-unsplash.jpg", + "image": { + "blob_path": "0c1eaeaca2cc47f48eae213121a6f7a8/image/donald-giannatti-Wj1D-qiOseE-unsplash (4).jpg", + "content-type": "image/jpeg", + "filename": "donald-giannatti-Wj1D-qiOseE-unsplash (4).jpg", + "height": 3280, + "size": 1762401, + "width": 4928 + }, + "is_folderish": false, + "language": "##DEFAULT##", + "layout": "image_view", + "lock": {}, + "modified": "2024-05-16T20:20:24+00:00", + "parent": { + "@id": "/images", + "@type": "Document", + "UID": "6b1c57b5651546eab14fd5e0e1e32aeb", + "description": "", + "image_field": null, + "image_scales": {}, + "review_state": "published", + "title": "Images", + "type_title": "Page" + }, + "review_state": null, + "rights": "", + "searchwords": [], + "showinsearch": true, + "subjects": [], + "title": "donald-giannatti-Wj1D-qiOseE-unsplash.jpg", + "type_title": "Image", + "version": "current", + "workflow_history": {}, + "working_copy": null, + "working_copy_of": null +} \ No newline at end of file diff --git a/backend/src/kitconcept/intranet/distributions/intranet/content/content/0c1eaeaca2cc47f48eae213121a6f7a8/image/donald-giannatti-Wj1D-qiOseE-unsplash (4).jpg b/backend/src/kitconcept/intranet/distributions/intranet/content/content/0c1eaeaca2cc47f48eae213121a6f7a8/image/donald-giannatti-Wj1D-qiOseE-unsplash (4).jpg new file mode 100644 index 0000000..e6e1e31 Binary files /dev/null and b/backend/src/kitconcept/intranet/distributions/intranet/content/content/0c1eaeaca2cc47f48eae213121a6f7a8/image/donald-giannatti-Wj1D-qiOseE-unsplash (4).jpg differ diff --git a/backend/src/kitconcept/intranet/distributions/intranet/content/content/1e7262f173a54700a5ca2578506b1bc1/data.json b/backend/src/kitconcept/intranet/distributions/intranet/content/content/1e7262f173a54700a5ca2578506b1bc1/data.json new file mode 100644 index 0000000..b27f5eb --- /dev/null +++ b/backend/src/kitconcept/intranet/distributions/intranet/content/content/1e7262f173a54700a5ca2578506b1bc1/data.json @@ -0,0 +1,82 @@ +{ + "@id": "/about", + "@type": "Document", + "UID": "1e7262f173a54700a5ca2578506b1bc1", + "allow_discussion": false, + "blocks": { + "9bdc943a-3a45-4cf5-854b-8f5238cb714a": { + "@type": "slate" + }, + "bafa192c-a61e-499b-9e22-f1799d22aaad": { + "@type": "title" + }, + "c30a11c1-a250-47b2-bab3-63380c662442": { + "@type": "image", + "align": "full", + "credit": {}, + "description": "", + "image_field": "image", + "size": "l", + "title": "codioful-formerly-gradienta-lweK7Wme_jo-unsplash.jpg", + "url": "../resolveuid/75f2d0b5a1f04f7a922c47be34f9f532" + } + }, + "blocks_layout": { + "items": [ + "bafa192c-a61e-499b-9e22-f1799d22aaad", + "c30a11c1-a250-47b2-bab3-63380c662442", + "9bdc943a-3a45-4cf5-854b-8f5238cb714a" + ] + }, + "contributors": [], + "created": "2024-05-16T20:19:27+00:00", + "creators": [ + "admin" + ], + "description": "", + "effective": null, + "exclude_from_nav": false, + "expires": null, + "exportimport.constrains": {}, + "exportimport.conversation": [], + "exportimport.versions": {}, + "id": "about", + "is_folderish": true, + "language": "##DEFAULT##", + "layout": "document_view", + "lock": { + "locked": false, + "stealable": true + }, + "modified": "2024-05-16T20:21:37+00:00", + "parent": { + "@id": "/", + "@type": "Plone Site", + "UID": "plone_site_root", + "description": "A Plone Intranet distribution provided by kitconcept GmbH", + "title": "Plone Intranet by kitconcept", + "type_title": "Plone Site" + }, + "preview_caption_link": null, + "review_state": "private", + "rights": "", + "searchwords": [], + "showinsearch": true, + "subjects": [], + "title": "About", + "type_title": "Page", + "version": "current", + "workflow_history": { + "simple_publication_workflow": [ + { + "action": null, + "actor": "admin", + "comments": "", + "review_state": "private", + "time": "2024-05-16T20:19:27+00:00" + } + ] + }, + "working_copy": null, + "working_copy_of": null +} \ No newline at end of file diff --git a/backend/src/kitconcept/intranet/distributions/intranet/content/content/239b6e7bb69e4cd79b71be7a4e90a285/data.json b/backend/src/kitconcept/intranet/distributions/intranet/content/content/239b6e7bb69e4cd79b71be7a4e90a285/data.json new file mode 100644 index 0000000..7821a91 --- /dev/null +++ b/backend/src/kitconcept/intranet/distributions/intranet/content/content/239b6e7bb69e4cd79b71be7a4e90a285/data.json @@ -0,0 +1,85 @@ +{ + "@id": "/features/theme", + "@type": "Document", + "UID": "239b6e7bb69e4cd79b71be7a4e90a285", + "allow_discussion": false, + "blocks": { + "8f93decd-ecaa-4cb2-bad3-2a0198b87cd1": { + "@type": "title" + }, + "dea1bfe1-28eb-4f61-8264-309d8ccc46f3": { + "@type": "image", + "align": "full", + "credit": {}, + "description": "", + "image_field": "image", + "size": "l", + "title": "jr-korpa-SFT9G3pAxLY-unsplash.jpg", + "url": "../../resolveuid/5f1077b5414743429689927de357c350" + }, + "fa4c83af-3fa5-45d9-b465-fbfb55d72af1": { + "@type": "slate" + } + }, + "blocks_layout": { + "items": [ + "8f93decd-ecaa-4cb2-bad3-2a0198b87cd1", + "dea1bfe1-28eb-4f61-8264-309d8ccc46f3", + "fa4c83af-3fa5-45d9-b465-fbfb55d72af1" + ] + }, + "contributors": [], + "created": "2024-05-16T20:18:45+00:00", + "creators": [ + "admin" + ], + "description": "Volto Light Theme, a beautifully crafted Plone theme with a minimalistic design that let's your intranet content shine.", + "effective": null, + "exclude_from_nav": false, + "expires": null, + "exportimport.constrains": {}, + "exportimport.conversation": [], + "exportimport.versions": {}, + "id": "theme", + "is_folderish": true, + "language": "##DEFAULT##", + "layout": "document_view", + "lock": { + "locked": false, + "stealable": true + }, + "modified": "2024-05-16T20:40:54+00:00", + "parent": { + "@id": "/features", + "@type": "Document", + "UID": "f29a0a79ff974cbab0ea9b016944336a", + "description": "", + "image_field": null, + "image_scales": {}, + "review_state": "private", + "title": "Features", + "type_title": "Page" + }, + "preview_caption_link": null, + "review_state": "private", + "rights": "", + "searchwords": [], + "showinsearch": true, + "subjects": [], + "title": "Theme", + "type_title": "Page", + "version": "current", + "workflow_history": { + "simple_publication_workflow": [ + { + "action": null, + "actor": "admin", + "comments": "", + "review_state": "private", + "time": "2024-05-16T20:18:45+00:00" + } + ] + }, + "working_copy": null, + "working_copy_of": null +} \ No newline at end of file diff --git a/backend/src/kitconcept/intranet/distributions/intranet/content/content/24d00ed0888f4d8a97230123f88d74e2/data.json b/backend/src/kitconcept/intranet/distributions/intranet/content/content/24d00ed0888f4d8a97230123f88d74e2/data.json new file mode 100644 index 0000000..def9379 --- /dev/null +++ b/backend/src/kitconcept/intranet/distributions/intranet/content/content/24d00ed0888f4d8a97230123f88d74e2/data.json @@ -0,0 +1,54 @@ +{ + "@id": "/images/vinicius-amnx-amano-wrm_cnrp53e-unsplash.jpg", + "@type": "Image", + "UID": "24d00ed0888f4d8a97230123f88d74e2", + "allow_discussion": false, + "contributors": [], + "created": "2024-05-16T20:18:15+00:00", + "creators": [ + "admin" + ], + "description": "", + "effective": null, + "exclude_from_nav": false, + "expires": null, + "exportimport.constrains": {}, + "exportimport.conversation": [], + "exportimport.versions": {}, + "id": "vinicius-amnx-amano-wrm_cnrp53e-unsplash.jpg", + "image": { + "blob_path": "24d00ed0888f4d8a97230123f88d74e2/image/vinicius-amnx-amano-wRM_cNrP53E-unsplash.jpg", + "content-type": "image/jpeg", + "filename": "vinicius-amnx-amano-wRM_cNrP53E-unsplash.jpg", + "height": 4022, + "size": 2823846, + "width": 6034 + }, + "is_folderish": false, + "language": "##DEFAULT##", + "layout": "image_view", + "lock": {}, + "modified": "2024-05-16T20:18:15+00:00", + "parent": { + "@id": "/images", + "@type": "Document", + "UID": "6b1c57b5651546eab14fd5e0e1e32aeb", + "description": "", + "image_field": null, + "image_scales": {}, + "review_state": "published", + "title": "Images", + "type_title": "Page" + }, + "review_state": null, + "rights": "", + "searchwords": [], + "showinsearch": true, + "subjects": [], + "title": "vinicius-amnx-amano-wRM_cNrP53E-unsplash.jpg", + "type_title": "Image", + "version": "current", + "workflow_history": {}, + "working_copy": null, + "working_copy_of": null +} \ No newline at end of file diff --git a/backend/src/kitconcept/intranet/distributions/intranet/content/content/24d00ed0888f4d8a97230123f88d74e2/image/vinicius-amnx-amano-wRM_cNrP53E-unsplash.jpg b/backend/src/kitconcept/intranet/distributions/intranet/content/content/24d00ed0888f4d8a97230123f88d74e2/image/vinicius-amnx-amano-wRM_cNrP53E-unsplash.jpg new file mode 100644 index 0000000..68dce56 Binary files /dev/null and b/backend/src/kitconcept/intranet/distributions/intranet/content/content/24d00ed0888f4d8a97230123f88d74e2/image/vinicius-amnx-amano-wRM_cNrP53E-unsplash.jpg differ diff --git a/backend/src/kitconcept/intranet/distributions/intranet/content/content/28985e382c0f4147bb5ea95c9ac8085e/data.json b/backend/src/kitconcept/intranet/distributions/intranet/content/content/28985e382c0f4147bb5ea95c9ac8085e/data.json new file mode 100644 index 0000000..733c4b1 --- /dev/null +++ b/backend/src/kitconcept/intranet/distributions/intranet/content/content/28985e382c0f4147bb5ea95c9ac8085e/data.json @@ -0,0 +1,54 @@ +{ + "@id": "/images/sean-sinclair-5jmvwxz0qhm-unsplash.jpg", + "@type": "Image", + "UID": "28985e382c0f4147bb5ea95c9ac8085e", + "allow_discussion": false, + "contributors": [], + "created": "2024-05-16T20:18:15+00:00", + "creators": [ + "admin" + ], + "description": "", + "effective": null, + "exclude_from_nav": false, + "expires": null, + "exportimport.constrains": {}, + "exportimport.conversation": [], + "exportimport.versions": {}, + "id": "sean-sinclair-5jmvwxz0qhm-unsplash.jpg", + "image": { + "blob_path": "28985e382c0f4147bb5ea95c9ac8085e/image/sean-sinclair-5JmvwXZ0QHM-unsplash.jpg", + "content-type": "image/jpeg", + "filename": "sean-sinclair-5JmvwXZ0QHM-unsplash.jpg", + "height": 4000, + "size": 1308663, + "width": 6000 + }, + "is_folderish": false, + "language": "##DEFAULT##", + "layout": "image_view", + "lock": {}, + "modified": "2024-05-16T20:18:15+00:00", + "parent": { + "@id": "/images", + "@type": "Document", + "UID": "6b1c57b5651546eab14fd5e0e1e32aeb", + "description": "", + "image_field": null, + "image_scales": {}, + "review_state": "published", + "title": "Images", + "type_title": "Page" + }, + "review_state": null, + "rights": "", + "searchwords": [], + "showinsearch": true, + "subjects": [], + "title": "sean-sinclair-5JmvwXZ0QHM-unsplash.jpg", + "type_title": "Image", + "version": "current", + "workflow_history": {}, + "working_copy": null, + "working_copy_of": null +} \ No newline at end of file diff --git a/backend/src/kitconcept/intranet/distributions/intranet/content/content/28985e382c0f4147bb5ea95c9ac8085e/image/sean-sinclair-5JmvwXZ0QHM-unsplash.jpg b/backend/src/kitconcept/intranet/distributions/intranet/content/content/28985e382c0f4147bb5ea95c9ac8085e/image/sean-sinclair-5JmvwXZ0QHM-unsplash.jpg new file mode 100644 index 0000000..efbd36f Binary files /dev/null and b/backend/src/kitconcept/intranet/distributions/intranet/content/content/28985e382c0f4147bb5ea95c9ac8085e/image/sean-sinclair-5JmvwXZ0QHM-unsplash.jpg differ diff --git a/backend/src/kitconcept/intranet/distributions/intranet/content/content/2c2f8092acfc4f55830b16af13273882/data.json b/backend/src/kitconcept/intranet/distributions/intranet/content/content/2c2f8092acfc4f55830b16af13273882/data.json new file mode 100644 index 0000000..35d58be --- /dev/null +++ b/backend/src/kitconcept/intranet/distributions/intranet/content/content/2c2f8092acfc4f55830b16af13273882/data.json @@ -0,0 +1,85 @@ +{ + "@id": "/features/full-text-search", + "@type": "Document", + "UID": "2c2f8092acfc4f55830b16af13273882", + "allow_discussion": false, + "blocks": { + "5612d8d3-5119-41fa-ac6c-e6ea1352e6e4": { + "@type": "slate" + }, + "8849454b-331d-4080-9e20-5a221db9add8": { + "@type": "image", + "align": "full", + "credit": {}, + "description": "", + "image_field": "image", + "size": "l", + "title": "christian-wiediger-zhZydTyNMPg-unsplash.jpg", + "url": "../../resolveuid/afb59233c4e04945a4c8c1ec161c7124" + }, + "d4a1c14f-b3e5-4583-af83-d3cb00986f35": { + "@type": "title" + } + }, + "blocks_layout": { + "items": [ + "d4a1c14f-b3e5-4583-af83-d3cb00986f35", + "8849454b-331d-4080-9e20-5a221db9add8", + "5612d8d3-5119-41fa-ac6c-e6ea1352e6e4" + ] + }, + "contributors": [], + "created": "2024-05-16T20:18:54+00:00", + "creators": [ + "admin" + ], + "description": "A full text search that let's you find all the content in your intranet.", + "effective": null, + "exclude_from_nav": false, + "expires": null, + "exportimport.constrains": {}, + "exportimport.conversation": [], + "exportimport.versions": {}, + "id": "full-text-search", + "is_folderish": true, + "language": "##DEFAULT##", + "layout": "document_view", + "lock": { + "locked": false, + "stealable": true + }, + "modified": "2024-05-16T20:40:07+00:00", + "parent": { + "@id": "/features", + "@type": "Document", + "UID": "f29a0a79ff974cbab0ea9b016944336a", + "description": "", + "image_field": null, + "image_scales": {}, + "review_state": "private", + "title": "Features", + "type_title": "Page" + }, + "preview_caption_link": null, + "review_state": "private", + "rights": "", + "searchwords": [], + "showinsearch": true, + "subjects": [], + "title": "Full Text Search", + "type_title": "Page", + "version": "current", + "workflow_history": { + "simple_publication_workflow": [ + { + "action": null, + "actor": "admin", + "comments": "", + "review_state": "private", + "time": "2024-05-16T20:18:54+00:00" + } + ] + }, + "working_copy": null, + "working_copy_of": null +} \ No newline at end of file diff --git a/backend/src/kitconcept/intranet/distributions/intranet/content/content/3aaa4b746f874c158d59012bd982cf62/data.json b/backend/src/kitconcept/intranet/distributions/intranet/content/content/3aaa4b746f874c158d59012bd982cf62/data.json new file mode 100644 index 0000000..39cc84e --- /dev/null +++ b/backend/src/kitconcept/intranet/distributions/intranet/content/content/3aaa4b746f874c158d59012bd982cf62/data.json @@ -0,0 +1,78 @@ +{ + "@id": "/images", + "@type": "Document", + "UID": "3aaa4b746f874c158d59012bd982cf62", + "allow_discussion": false, + "blocks": { + "3d5fb57a-d57b-4e51-a84e-6821cff7534d": { + "@type": "title" + }, + "9f05ae29-ad62-4674-90ed-decc5dac338b": { + "@type": "slate" + }, + "f7d196af-5d0c-41fd-9b72-3cb7de15743d": { + "@type": "listing", + "headlineTag": "h2", + "styles": {}, + "variation": "default" + } + }, + "blocks_layout": { + "items": [ + "3d5fb57a-d57b-4e51-a84e-6821cff7534d", + "f7d196af-5d0c-41fd-9b72-3cb7de15743d", + "9f05ae29-ad62-4674-90ed-decc5dac338b" + ] + }, + "contributors": [], + "created": "2024-05-16T19:54:11+00:00", + "creators": [ + "admin" + ], + "description": "", + "effective": null, + "exclude_from_nav": false, + "expires": null, + "exportimport.constrains": {}, + "exportimport.conversation": [], + "exportimport.versions": {}, + "id": "images", + "is_folderish": true, + "language": "##DEFAULT##", + "layout": "document_view", + "lock": { + "locked": false, + "stealable": true + }, + "modified": "2024-05-16T19:57:13+00:00", + "parent": { + "@id": "/", + "@type": "Plone Site", + "UID": "plone_site_root", + "description": "A Plone Intranet distribution provided by kitconcept GmbH", + "title": "Plone Intranet by kitconcept", + "type_title": "Plone Site" + }, + "preview_caption_link": null, + "review_state": "private", + "rights": "", + "searchwords": [], + "showinsearch": true, + "subjects": [], + "title": "Images", + "type_title": "Page", + "version": "current", + "workflow_history": { + "simple_publication_workflow": [ + { + "action": null, + "actor": "admin", + "comments": "", + "review_state": "private", + "time": "2024-05-16T19:54:11+00:00" + } + ] + }, + "working_copy": null, + "working_copy_of": null +} \ No newline at end of file diff --git a/backend/src/kitconcept/intranet/distributions/intranet/content/content/3f5e5703eee34cbbb27a7c41e2ed347e/data.json b/backend/src/kitconcept/intranet/distributions/intranet/content/content/3f5e5703eee34cbbb27a7c41e2ed347e/data.json new file mode 100644 index 0000000..3db97e7 --- /dev/null +++ b/backend/src/kitconcept/intranet/distributions/intranet/content/content/3f5e5703eee34cbbb27a7c41e2ed347e/data.json @@ -0,0 +1,54 @@ +{ + "@id": "/images/anton-ctlz68kbdio-unsplash.jpg", + "@type": "Image", + "UID": "3f5e5703eee34cbbb27a7c41e2ed347e", + "allow_discussion": false, + "contributors": [], + "created": "2024-05-16T20:18:15+00:00", + "creators": [ + "admin" + ], + "description": "", + "effective": null, + "exclude_from_nav": false, + "expires": null, + "exportimport.constrains": {}, + "exportimport.conversation": [], + "exportimport.versions": {}, + "id": "anton-ctlz68kbdio-unsplash.jpg", + "image": { + "blob_path": "3f5e5703eee34cbbb27a7c41e2ed347e/image/anton-CtlZ68KBDIo-unsplash.jpg", + "content-type": "image/jpeg", + "filename": "anton-CtlZ68KBDIo-unsplash.jpg", + "height": 4000, + "size": 1723345, + "width": 6000 + }, + "is_folderish": false, + "language": "##DEFAULT##", + "layout": "image_view", + "lock": {}, + "modified": "2024-05-16T20:18:15+00:00", + "parent": { + "@id": "/images", + "@type": "Document", + "UID": "6b1c57b5651546eab14fd5e0e1e32aeb", + "description": "", + "image_field": null, + "image_scales": {}, + "review_state": "published", + "title": "Images", + "type_title": "Page" + }, + "review_state": null, + "rights": "", + "searchwords": [], + "showinsearch": true, + "subjects": [], + "title": "anton-CtlZ68KBDIo-unsplash.jpg", + "type_title": "Image", + "version": "current", + "workflow_history": {}, + "working_copy": null, + "working_copy_of": null +} \ No newline at end of file diff --git a/backend/src/kitconcept/intranet/distributions/intranet/content/content/3f5e5703eee34cbbb27a7c41e2ed347e/image/anton-CtlZ68KBDIo-unsplash.jpg b/backend/src/kitconcept/intranet/distributions/intranet/content/content/3f5e5703eee34cbbb27a7c41e2ed347e/image/anton-CtlZ68KBDIo-unsplash.jpg new file mode 100644 index 0000000..9573b35 Binary files /dev/null and b/backend/src/kitconcept/intranet/distributions/intranet/content/content/3f5e5703eee34cbbb27a7c41e2ed347e/image/anton-CtlZ68KBDIo-unsplash.jpg differ diff --git a/backend/src/kitconcept/intranet/distributions/intranet/content/content/5f1077b5414743429689927de357c350/data.json b/backend/src/kitconcept/intranet/distributions/intranet/content/content/5f1077b5414743429689927de357c350/data.json new file mode 100644 index 0000000..d74d539 --- /dev/null +++ b/backend/src/kitconcept/intranet/distributions/intranet/content/content/5f1077b5414743429689927de357c350/data.json @@ -0,0 +1,54 @@ +{ + "@id": "/images/jr-korpa-sft9g3paxly-unsplash.jpg", + "@type": "Image", + "UID": "5f1077b5414743429689927de357c350", + "allow_discussion": false, + "contributors": [], + "created": "2024-05-16T20:18:15+00:00", + "creators": [ + "admin" + ], + "description": "", + "effective": null, + "exclude_from_nav": false, + "expires": null, + "exportimport.constrains": {}, + "exportimport.conversation": [], + "exportimport.versions": {}, + "id": "jr-korpa-sft9g3paxly-unsplash.jpg", + "image": { + "blob_path": "5f1077b5414743429689927de357c350/image/jr-korpa-SFT9G3pAxLY-unsplash.jpg", + "content-type": "image/jpeg", + "filename": "jr-korpa-SFT9G3pAxLY-unsplash.jpg", + "height": 2400, + "size": 903735, + "width": 3600 + }, + "is_folderish": false, + "language": "##DEFAULT##", + "layout": "image_view", + "lock": {}, + "modified": "2024-05-16T20:18:15+00:00", + "parent": { + "@id": "/images", + "@type": "Document", + "UID": "6b1c57b5651546eab14fd5e0e1e32aeb", + "description": "", + "image_field": null, + "image_scales": {}, + "review_state": "published", + "title": "Images", + "type_title": "Page" + }, + "review_state": null, + "rights": "", + "searchwords": [], + "showinsearch": true, + "subjects": [], + "title": "jr-korpa-SFT9G3pAxLY-unsplash.jpg", + "type_title": "Image", + "version": "current", + "workflow_history": {}, + "working_copy": null, + "working_copy_of": null +} \ No newline at end of file diff --git a/backend/src/kitconcept/intranet/distributions/intranet/content/content/5f1077b5414743429689927de357c350/image/jr-korpa-SFT9G3pAxLY-unsplash.jpg b/backend/src/kitconcept/intranet/distributions/intranet/content/content/5f1077b5414743429689927de357c350/image/jr-korpa-SFT9G3pAxLY-unsplash.jpg new file mode 100644 index 0000000..abd38af Binary files /dev/null and b/backend/src/kitconcept/intranet/distributions/intranet/content/content/5f1077b5414743429689927de357c350/image/jr-korpa-SFT9G3pAxLY-unsplash.jpg differ diff --git a/backend/src/kitconcept/intranet/distributions/intranet/content/content/6b1c57b5651546eab14fd5e0e1e32aeb/data.json b/backend/src/kitconcept/intranet/distributions/intranet/content/content/6b1c57b5651546eab14fd5e0e1e32aeb/data.json new file mode 100644 index 0000000..68fc497 --- /dev/null +++ b/backend/src/kitconcept/intranet/distributions/intranet/content/content/6b1c57b5651546eab14fd5e0e1e32aeb/data.json @@ -0,0 +1,103 @@ +{ + "@id": "/images", + "@type": "Document", + "UID": "6b1c57b5651546eab14fd5e0e1e32aeb", + "allow_discussion": false, + "blocks": { + "2747ff88-6d35-497a-8d6f-e19cb4818c46": { + "@type": "slate" + }, + "4b452d4e-ed73-4130-b1a5-81475e90f989": { + "@type": "listing", + "headlineTag": "h2", + "querystring": { + "query": [ + { + "i": "portal_type", + "o": "plone.app.querystring.operation.selection.any", + "v": [ + "Image" + ] + }, + { + "i": "path", + "o": "plone.app.querystring.operation.string.relativePath", + "v": "." + } + ], + "sort_on": "sortable_title", + "sort_order": "ascending" + }, + "styles": {}, + "variation": "grid" + }, + "c1eb4997-9777-429e-bf37-514a309c89b8": { + "@type": "title" + } + }, + "blocks_layout": { + "items": [ + "c1eb4997-9777-429e-bf37-514a309c89b8", + "4b452d4e-ed73-4130-b1a5-81475e90f989", + "2747ff88-6d35-497a-8d6f-e19cb4818c46" + ] + }, + "contributors": [], + "created": "2024-05-16T20:17:44+00:00", + "creators": [ + "admin" + ], + "description": "", + "effective": "2024-05-16T22:21:01", + "exclude_from_nav": false, + "expires": null, + "exportimport.constrains": {}, + "exportimport.conversation": [], + "exportimport.versions": {}, + "id": "images", + "is_folderish": true, + "language": "##DEFAULT##", + "layout": "document_view", + "lock": { + "locked": false, + "stealable": true + }, + "modified": "2024-05-16T20:42:02+00:00", + "parent": { + "@id": "/", + "@type": "Plone Site", + "UID": "plone_site_root", + "description": "A Plone Intranet distribution provided by kitconcept GmbH", + "title": "Plone Intranet by kitconcept", + "type_title": "Plone Site" + }, + "preview_caption_link": null, + "review_state": "published", + "rights": "", + "searchwords": [], + "showinsearch": true, + "subjects": [], + "title": "Images", + "type_title": "Page", + "version": "current", + "workflow_history": { + "simple_publication_workflow": [ + { + "action": null, + "actor": "admin", + "comments": "", + "review_state": "private", + "time": "2024-05-16T20:17:44+00:00" + }, + { + "action": "publish", + "actor": "admin", + "comments": "", + "review_state": "published", + "time": "2024-05-16T20:21:01+00:00" + } + ] + }, + "working_copy": null, + "working_copy_of": null +} \ No newline at end of file diff --git a/backend/src/kitconcept/intranet/distributions/intranet/content/content/70e63351448f45968af7bca53f418e6b/data.json b/backend/src/kitconcept/intranet/distributions/intranet/content/content/70e63351448f45968af7bca53f418e6b/data.json new file mode 100644 index 0000000..18f4b46 --- /dev/null +++ b/backend/src/kitconcept/intranet/distributions/intranet/content/content/70e63351448f45968af7bca53f418e6b/data.json @@ -0,0 +1,54 @@ +{ + "@id": "/images/christopher-campbell-rdeovte7vos-unsplash-4.jpg", + "@type": "Image", + "UID": "70e63351448f45968af7bca53f418e6b", + "allow_discussion": false, + "contributors": [], + "created": "2024-05-16T20:23:17+00:00", + "creators": [ + "admin" + ], + "description": "", + "effective": null, + "exclude_from_nav": false, + "expires": null, + "exportimport.constrains": {}, + "exportimport.conversation": [], + "exportimport.versions": {}, + "id": "christopher-campbell-rdeovte7vos-unsplash-4.jpg", + "image": { + "blob_path": "70e63351448f45968af7bca53f418e6b/image/christopher-campbell-rDEOVtE7vOs-unsplash (4).jpg", + "content-type": "image/jpeg", + "filename": "christopher-campbell-rDEOVtE7vOs-unsplash (4).jpg", + "height": 3456, + "size": 1252174, + "width": 5184 + }, + "is_folderish": false, + "language": "##DEFAULT##", + "layout": "image_view", + "lock": {}, + "modified": "2024-05-16T20:23:17+00:00", + "parent": { + "@id": "/images", + "@type": "Document", + "UID": "6b1c57b5651546eab14fd5e0e1e32aeb", + "description": "", + "image_field": null, + "image_scales": {}, + "review_state": "published", + "title": "Images", + "type_title": "Page" + }, + "review_state": null, + "rights": "", + "searchwords": [], + "showinsearch": true, + "subjects": [], + "title": "christopher-campbell-rDEOVtE7vOs-unsplash (4).jpg", + "type_title": "Image", + "version": "current", + "workflow_history": {}, + "working_copy": null, + "working_copy_of": null +} \ No newline at end of file diff --git a/backend/src/kitconcept/intranet/distributions/intranet/content/content/70e63351448f45968af7bca53f418e6b/image/christopher-campbell-rDEOVtE7vOs-unsplash (4).jpg b/backend/src/kitconcept/intranet/distributions/intranet/content/content/70e63351448f45968af7bca53f418e6b/image/christopher-campbell-rDEOVtE7vOs-unsplash (4).jpg new file mode 100644 index 0000000..bc05c0e Binary files /dev/null and b/backend/src/kitconcept/intranet/distributions/intranet/content/content/70e63351448f45968af7bca53f418e6b/image/christopher-campbell-rDEOVtE7vOs-unsplash (4).jpg differ diff --git a/backend/src/kitconcept/intranet/distributions/intranet/content/content/75f2d0b5a1f04f7a922c47be34f9f532/data.json b/backend/src/kitconcept/intranet/distributions/intranet/content/content/75f2d0b5a1f04f7a922c47be34f9f532/data.json new file mode 100644 index 0000000..7a462f0 --- /dev/null +++ b/backend/src/kitconcept/intranet/distributions/intranet/content/content/75f2d0b5a1f04f7a922c47be34f9f532/data.json @@ -0,0 +1,54 @@ +{ + "@id": "/images/codioful-formerly-gradienta-lwek7wme_jo-unsplash.jpg", + "@type": "Image", + "UID": "75f2d0b5a1f04f7a922c47be34f9f532", + "allow_discussion": false, + "contributors": [], + "created": "2024-05-16T20:18:15+00:00", + "creators": [ + "admin" + ], + "description": "", + "effective": null, + "exclude_from_nav": false, + "expires": null, + "exportimport.constrains": {}, + "exportimport.conversation": [], + "exportimport.versions": {}, + "id": "codioful-formerly-gradienta-lwek7wme_jo-unsplash.jpg", + "image": { + "blob_path": "75f2d0b5a1f04f7a922c47be34f9f532/image/codioful-formerly-gradienta-lweK7Wme_jo-unsplash (6).jpg", + "content-type": "image/jpeg", + "filename": "codioful-formerly-gradienta-lweK7Wme_jo-unsplash (6).jpg", + "height": 4000, + "size": 336997, + "width": 6000 + }, + "is_folderish": false, + "language": "##DEFAULT##", + "layout": "image_view", + "lock": {}, + "modified": "2024-05-16T20:20:51+00:00", + "parent": { + "@id": "/images", + "@type": "Document", + "UID": "6b1c57b5651546eab14fd5e0e1e32aeb", + "description": "", + "image_field": null, + "image_scales": {}, + "review_state": "published", + "title": "Images", + "type_title": "Page" + }, + "review_state": null, + "rights": "", + "searchwords": [], + "showinsearch": true, + "subjects": [], + "title": "codioful-formerly-gradienta-lweK7Wme_jo-unsplash.jpg", + "type_title": "Image", + "version": "current", + "workflow_history": {}, + "working_copy": null, + "working_copy_of": null +} \ No newline at end of file diff --git a/backend/src/kitconcept/intranet/distributions/intranet/content/content/75f2d0b5a1f04f7a922c47be34f9f532/image/codioful-formerly-gradienta-lweK7Wme_jo-unsplash (6).jpg b/backend/src/kitconcept/intranet/distributions/intranet/content/content/75f2d0b5a1f04f7a922c47be34f9f532/image/codioful-formerly-gradienta-lweK7Wme_jo-unsplash (6).jpg new file mode 100644 index 0000000..0ea133b Binary files /dev/null and b/backend/src/kitconcept/intranet/distributions/intranet/content/content/75f2d0b5a1f04f7a922c47be34f9f532/image/codioful-formerly-gradienta-lweK7Wme_jo-unsplash (6).jpg differ diff --git a/backend/src/kitconcept/intranet/distributions/intranet/content/content/7838bb24586343e388e76d2f86e0ba19/data.json b/backend/src/kitconcept/intranet/distributions/intranet/content/content/7838bb24586343e388e76d2f86e0ba19/data.json new file mode 100644 index 0000000..b64eaea --- /dev/null +++ b/backend/src/kitconcept/intranet/distributions/intranet/content/content/7838bb24586343e388e76d2f86e0ba19/data.json @@ -0,0 +1,138 @@ +{ + "@id": "/features/full-text-search", + "@type": "Document", + "UID": "7838bb24586343e388e76d2f86e0ba19", + "allow_discussion": false, + "blocks": { + "51b1f767-f49b-4892-b31f-e76a0de8366d": { + "@type": "slate" + }, + "ff7b2f5c-2e08-4765-8c20-eb45ca947b69": { + "@type": "title" + } + }, + "blocks_layout": { + "items": [ + "ff7b2f5c-2e08-4765-8c20-eb45ca947b69", + "51b1f767-f49b-4892-b31f-e76a0de8366d" + ] + }, + "contributors": [], + "created": "2024-05-16T19:53:45+00:00", + "creators": [ + "admin" + ], + "description": "", + "effective": null, + "exclude_from_nav": false, + "expires": null, + "exportimport.constrains": {}, + "exportimport.conversation": [], + "exportimport.versions": {}, + "id": "full-text-search", + "is_folderish": true, + "language": "##DEFAULT##", + "layout": "document_view", + "lock": { + "locked": false, + "stealable": true + }, + "modified": "2024-05-16T19:53:45+00:00", + "parent": { + "@id": "/features", + "@type": "Document", + "UID": "fa952358152b44068e89ccd4e87f4c90", + "description": "", + "image_field": null, + "image_scales": { + "preview_image_link": [ + { + "base_path": "/images/codioful-formerly-gradienta-lwek7wme_jo-unsplash-6.jpg", + "content-type": "image/jpeg", + "download": "@@images/image-6000-7d766d4060999fac7b38e561e8981684.jpeg", + "filename": "codioful-formerly-gradienta-lweK7Wme_jo-unsplash (6).jpg", + "height": 4000, + "scales": { + "great": { + "download": "@@images/image-1200-8e05c51367e782338ae5e748b6871bb7.jpeg", + "height": 800, + "width": 1200 + }, + "huge": { + "download": "@@images/image-1600-96cc96c43007ce2b91ca0a99e723169c.jpeg", + "height": 1066, + "width": 1600 + }, + "icon": { + "download": "@@images/image-32-ac15fc9bafebb36519f9aae33bcb691b.jpeg", + "height": 21, + "width": 32 + }, + "large": { + "download": "@@images/image-800-5e9f94f12984f6dd377a9e0aa14a64a2.jpeg", + "height": 533, + "width": 800 + }, + "larger": { + "download": "@@images/image-1000-b282b8c11bec4a0e5b8f8e71fb86423e.jpeg", + "height": 666, + "width": 1000 + }, + "mini": { + "download": "@@images/image-200-295a3f652c8e3799a28a0c52185d3b9e.jpeg", + "height": 133, + "width": 200 + }, + "preview": { + "download": "@@images/image-400-ed06bdcbf735e3be864d8c369a19f051.jpeg", + "height": 266, + "width": 400 + }, + "teaser": { + "download": "@@images/image-600-a5286eda42ae39bd673efb1139557426.jpeg", + "height": 400, + "width": 600 + }, + "thumb": { + "download": "@@images/image-128-a852600c748b4a78eadb4963622a2f25.jpeg", + "height": 85, + "width": 128 + }, + "tile": { + "download": "@@images/image-64-839e23b481c9f91112bfb759fba4c8db.jpeg", + "height": 42, + "width": 64 + } + }, + "size": 336997, + "width": 6000 + } + ] + }, + "review_state": "private", + "title": "Features", + "type_title": "Page" + }, + "preview_caption_link": null, + "review_state": "private", + "rights": "", + "searchwords": [], + "showinsearch": true, + "subjects": [], + "title": "Full Text Search", + "type_title": "Page", + "version": "current", + "workflow_history": { + "simple_publication_workflow": [ + { + "action": null, + "actor": "admin", + "comments": "", + "review_state": "private", + "time": "2024-05-16T19:53:45+00:00" + } + ] + }, + "working_copy": null, + "working_copy_of": null +} \ No newline at end of file diff --git a/backend/src/kitconcept/intranet/distributions/intranet/content/content/7e0183099bc547efad04d031ac04c23a/data.json b/backend/src/kitconcept/intranet/distributions/intranet/content/content/7e0183099bc547efad04d031ac04c23a/data.json new file mode 100644 index 0000000..e6adad6 --- /dev/null +++ b/backend/src/kitconcept/intranet/distributions/intranet/content/content/7e0183099bc547efad04d031ac04c23a/data.json @@ -0,0 +1,54 @@ +{ + "@id": "/images/viktor-forgacs-q2nx_2qbbym-unsplash.jpg", + "@type": "Image", + "UID": "7e0183099bc547efad04d031ac04c23a", + "allow_discussion": false, + "contributors": [], + "created": "2024-05-16T20:18:15+00:00", + "creators": [ + "admin" + ], + "description": "", + "effective": null, + "exclude_from_nav": false, + "expires": null, + "exportimport.constrains": {}, + "exportimport.conversation": [], + "exportimport.versions": {}, + "id": "viktor-forgacs-q2nx_2qbbym-unsplash.jpg", + "image": { + "blob_path": "7e0183099bc547efad04d031ac04c23a/image/viktor-forgacs-Q2nx_2QBbYM-unsplash.jpg", + "content-type": "image/jpeg", + "filename": "viktor-forgacs-Q2nx_2QBbYM-unsplash.jpg", + "height": 2636, + "size": 883288, + "width": 4078 + }, + "is_folderish": false, + "language": "##DEFAULT##", + "layout": "image_view", + "lock": {}, + "modified": "2024-05-16T20:18:15+00:00", + "parent": { + "@id": "/images", + "@type": "Document", + "UID": "6b1c57b5651546eab14fd5e0e1e32aeb", + "description": "", + "image_field": null, + "image_scales": {}, + "review_state": "published", + "title": "Images", + "type_title": "Page" + }, + "review_state": null, + "rights": "", + "searchwords": [], + "showinsearch": true, + "subjects": [], + "title": "viktor-forgacs-Q2nx_2QBbYM-unsplash.jpg", + "type_title": "Image", + "version": "current", + "workflow_history": {}, + "working_copy": null, + "working_copy_of": null +} \ No newline at end of file diff --git a/backend/src/kitconcept/intranet/distributions/intranet/content/content/7e0183099bc547efad04d031ac04c23a/image/viktor-forgacs-Q2nx_2QBbYM-unsplash.jpg b/backend/src/kitconcept/intranet/distributions/intranet/content/content/7e0183099bc547efad04d031ac04c23a/image/viktor-forgacs-Q2nx_2QBbYM-unsplash.jpg new file mode 100644 index 0000000..3be61e0 Binary files /dev/null and b/backend/src/kitconcept/intranet/distributions/intranet/content/content/7e0183099bc547efad04d031ac04c23a/image/viktor-forgacs-Q2nx_2QBbYM-unsplash.jpg differ diff --git a/backend/src/kitconcept/intranet/distributions/intranet/content/content/__metadata__.json b/backend/src/kitconcept/intranet/distributions/intranet/content/content/__metadata__.json index 810dc1a..78957cf 100644 --- a/backend/src/kitconcept/intranet/distributions/intranet/content/content/__metadata__.json +++ b/backend/src/kitconcept/intranet/distributions/intranet/content/content/__metadata__.json @@ -1,11 +1,150 @@ { "__version__": "1.0.0", - "_blob_files_": [], + "_blob_files_": [ + "0c1eaeaca2cc47f48eae213121a6f7a8/image/donald-giannatti-Wj1D-qiOseE-unsplash (4).jpg", + "7e0183099bc547efad04d031ac04c23a/image/viktor-forgacs-Q2nx_2QBbYM-unsplash.jpg", + "df4d71d6f0d044ec8ecd9c5164449c37/image/pawel-czerwinski-fPN1w7bIuNU-unsplash.jpg", + "28985e382c0f4147bb5ea95c9ac8085e/image/sean-sinclair-5JmvwXZ0QHM-unsplash.jpg", + "24d00ed0888f4d8a97230123f88d74e2/image/vinicius-amnx-amano-wRM_cNrP53E-unsplash.jpg", + "3f5e5703eee34cbbb27a7c41e2ed347e/image/anton-CtlZ68KBDIo-unsplash.jpg", + "75f2d0b5a1f04f7a922c47be34f9f532/image/codioful-formerly-gradienta-lweK7Wme_jo-unsplash (6).jpg", + "5f1077b5414743429689927de357c350/image/jr-korpa-SFT9G3pAxLY-unsplash.jpg", + "70e63351448f45968af7bca53f418e6b/image/christopher-campbell-rDEOVtE7vOs-unsplash (4).jpg", + "afb59233c4e04945a4c8c1ec161c7124/image/christian-wiediger-zhZydTyNMPg-unsplash.jpg" + ], "_data_files_": [ - "plone_site_root/data.json" + "plone_site_root/data.json", + "1e7262f173a54700a5ca2578506b1bc1/data.json", + "f29a0a79ff974cbab0ea9b016944336a/data.json", + "2c2f8092acfc4f55830b16af13273882/data.json", + "f10b7bca6e014ff7a56598f1cfcc4d2b/data.json", + "239b6e7bb69e4cd79b71be7a4e90a285/data.json", + "6b1c57b5651546eab14fd5e0e1e32aeb/data.json", + "3f5e5703eee34cbbb27a7c41e2ed347e/data.json", + "afb59233c4e04945a4c8c1ec161c7124/data.json", + "70e63351448f45968af7bca53f418e6b/data.json", + "75f2d0b5a1f04f7a922c47be34f9f532/data.json", + "0c1eaeaca2cc47f48eae213121a6f7a8/data.json", + "5f1077b5414743429689927de357c350/data.json", + "df4d71d6f0d044ec8ecd9c5164449c37/data.json", + "28985e382c0f4147bb5ea95c9ac8085e/data.json", + "7e0183099bc547efad04d031ac04c23a/data.json", + "24d00ed0888f4d8a97230123f88d74e2/data.json" ], "default_page": {}, "local_roles": { + "0c1eaeaca2cc47f48eae213121a6f7a8": { + "local_roles": { + "admin": [ + "Owner" + ] + } + }, + "1e7262f173a54700a5ca2578506b1bc1": { + "local_roles": { + "admin": [ + "Owner" + ] + } + }, + "239b6e7bb69e4cd79b71be7a4e90a285": { + "local_roles": { + "admin": [ + "Owner" + ] + } + }, + "24d00ed0888f4d8a97230123f88d74e2": { + "local_roles": { + "admin": [ + "Owner" + ] + } + }, + "28985e382c0f4147bb5ea95c9ac8085e": { + "local_roles": { + "admin": [ + "Owner" + ] + } + }, + "2c2f8092acfc4f55830b16af13273882": { + "local_roles": { + "admin": [ + "Owner" + ] + } + }, + "3f5e5703eee34cbbb27a7c41e2ed347e": { + "local_roles": { + "admin": [ + "Owner" + ] + } + }, + "5f1077b5414743429689927de357c350": { + "local_roles": { + "admin": [ + "Owner" + ] + } + }, + "6b1c57b5651546eab14fd5e0e1e32aeb": { + "local_roles": { + "admin": [ + "Owner" + ] + } + }, + "70e63351448f45968af7bca53f418e6b": { + "local_roles": { + "admin": [ + "Owner" + ] + } + }, + "75f2d0b5a1f04f7a922c47be34f9f532": { + "local_roles": { + "admin": [ + "Owner" + ] + } + }, + "7e0183099bc547efad04d031ac04c23a": { + "local_roles": { + "admin": [ + "Owner" + ] + } + }, + "afb59233c4e04945a4c8c1ec161c7124": { + "local_roles": { + "admin": [ + "Owner" + ] + } + }, + "df4d71d6f0d044ec8ecd9c5164449c37": { + "local_roles": { + "admin": [ + "Owner" + ] + } + }, + "f10b7bca6e014ff7a56598f1cfcc4d2b": { + "local_roles": { + "admin": [ + "Owner" + ] + } + }, + "f29a0a79ff974cbab0ea9b016944336a": { + "local_roles": { + "admin": [ + "Owner" + ] + } + }, "plone_site_root": { "local_roles": { "admin": [ @@ -14,6 +153,23 @@ } } }, - "ordering": {}, + "ordering": { + "0c1eaeaca2cc47f48eae213121a6f7a8": 0, + "1e7262f173a54700a5ca2578506b1bc1": 44, + "239b6e7bb69e4cd79b71be7a4e90a285": 0, + "24d00ed0888f4d8a97230123f88d74e2": 4, + "28985e382c0f4147bb5ea95c9ac8085e": 3, + "2c2f8092acfc4f55830b16af13273882": 1, + "3f5e5703eee34cbbb27a7c41e2ed347e": 5, + "5f1077b5414743429689927de357c350": 7, + "6b1c57b5651546eab14fd5e0e1e32aeb": 42, + "70e63351448f45968af7bca53f418e6b": 8, + "75f2d0b5a1f04f7a922c47be34f9f532": 6, + "7e0183099bc547efad04d031ac04c23a": 1, + "afb59233c4e04945a4c8c1ec161c7124": 9, + "df4d71d6f0d044ec8ecd9c5164449c37": 2, + "f10b7bca6e014ff7a56598f1cfcc4d2b": 2, + "f29a0a79ff974cbab0ea9b016944336a": 43 + }, "relations": [] } \ No newline at end of file diff --git a/backend/src/kitconcept/intranet/distributions/intranet/content/content/afb59233c4e04945a4c8c1ec161c7124/data.json b/backend/src/kitconcept/intranet/distributions/intranet/content/content/afb59233c4e04945a4c8c1ec161c7124/data.json new file mode 100644 index 0000000..b47a9f7 --- /dev/null +++ b/backend/src/kitconcept/intranet/distributions/intranet/content/content/afb59233c4e04945a4c8c1ec161c7124/data.json @@ -0,0 +1,54 @@ +{ + "@id": "/images/christian-wiediger-zhzydtynmpg-unsplash.jpg", + "@type": "Image", + "UID": "afb59233c4e04945a4c8c1ec161c7124", + "allow_discussion": false, + "contributors": [], + "created": "2024-05-16T20:39:43+00:00", + "creators": [ + "admin" + ], + "description": "", + "effective": null, + "exclude_from_nav": false, + "expires": null, + "exportimport.constrains": {}, + "exportimport.conversation": [], + "exportimport.versions": {}, + "id": "christian-wiediger-zhzydtynmpg-unsplash.jpg", + "image": { + "blob_path": "afb59233c4e04945a4c8c1ec161c7124/image/christian-wiediger-zhZydTyNMPg-unsplash.jpg", + "content-type": "image/jpeg", + "filename": "christian-wiediger-zhZydTyNMPg-unsplash.jpg", + "height": 3790, + "size": 517608, + "width": 5685 + }, + "is_folderish": false, + "language": "##DEFAULT##", + "layout": "image_view", + "lock": {}, + "modified": "2024-05-16T20:39:43+00:00", + "parent": { + "@id": "/images", + "@type": "Document", + "UID": "6b1c57b5651546eab14fd5e0e1e32aeb", + "description": "", + "image_field": null, + "image_scales": {}, + "review_state": "published", + "title": "Images", + "type_title": "Page" + }, + "review_state": null, + "rights": "", + "searchwords": [], + "showinsearch": true, + "subjects": [], + "title": "christian-wiediger-zhZydTyNMPg-unsplash.jpg", + "type_title": "Image", + "version": "current", + "workflow_history": {}, + "working_copy": null, + "working_copy_of": null +} \ No newline at end of file diff --git a/backend/src/kitconcept/intranet/distributions/intranet/content/content/afb59233c4e04945a4c8c1ec161c7124/image/christian-wiediger-zhZydTyNMPg-unsplash.jpg b/backend/src/kitconcept/intranet/distributions/intranet/content/content/afb59233c4e04945a4c8c1ec161c7124/image/christian-wiediger-zhZydTyNMPg-unsplash.jpg new file mode 100644 index 0000000..30931ec Binary files /dev/null and b/backend/src/kitconcept/intranet/distributions/intranet/content/content/afb59233c4e04945a4c8c1ec161c7124/image/christian-wiediger-zhZydTyNMPg-unsplash.jpg differ diff --git a/backend/src/kitconcept/intranet/distributions/intranet/content/content/b47b0a8acdfc48689b607ffd301e5579/data.json b/backend/src/kitconcept/intranet/distributions/intranet/content/content/b47b0a8acdfc48689b607ffd301e5579/data.json new file mode 100644 index 0000000..828fd3a --- /dev/null +++ b/backend/src/kitconcept/intranet/distributions/intranet/content/content/b47b0a8acdfc48689b607ffd301e5579/data.json @@ -0,0 +1,149 @@ +{ + "@id": "/features/theme", + "@type": "Document", + "UID": "b47b0a8acdfc48689b607ffd301e5579", + "allow_discussion": false, + "blocks": { + "5efd9372-516a-487a-a03d-83f77c0317d4": { + "@type": "slate" + }, + "de9d268a-2999-4c10-a56e-c766ceea045d": { + "@type": "title" + }, + "f74da72f-f349-4bc6-bcd2-6bef12d6beb6": { + "@type": "image", + "align": "full", + "credit": {}, + "description": "", + "image_field": "image", + "size": "l", + "title": "codioful-formerly-gradienta-lweK7Wme_jo-unsplash (6).jpg", + "url": "../../resolveuid/7af123a17d254c398f5fb6d426263afe" + } + }, + "blocks_layout": { + "items": [ + "de9d268a-2999-4c10-a56e-c766ceea045d", + "f74da72f-f349-4bc6-bcd2-6bef12d6beb6", + "5efd9372-516a-487a-a03d-83f77c0317d4" + ] + }, + "contributors": [], + "created": "2024-05-16T19:53:59+00:00", + "creators": [ + "admin" + ], + "description": "", + "effective": null, + "exclude_from_nav": false, + "expires": null, + "exportimport.constrains": {}, + "exportimport.conversation": [], + "exportimport.versions": {}, + "id": "theme", + "is_folderish": true, + "language": "##DEFAULT##", + "layout": "document_view", + "lock": { + "locked": false, + "stealable": true + }, + "modified": "2024-05-16T19:56:35+00:00", + "parent": { + "@id": "/features", + "@type": "Document", + "UID": "fa952358152b44068e89ccd4e87f4c90", + "description": "", + "image_field": null, + "image_scales": { + "preview_image_link": [ + { + "base_path": "/images/codioful-formerly-gradienta-lwek7wme_jo-unsplash-6.jpg", + "content-type": "image/jpeg", + "download": "@@images/image-6000-7d766d4060999fac7b38e561e8981684.jpeg", + "filename": "codioful-formerly-gradienta-lweK7Wme_jo-unsplash (6).jpg", + "height": 4000, + "scales": { + "great": { + "download": "@@images/image-1200-8e05c51367e782338ae5e748b6871bb7.jpeg", + "height": 800, + "width": 1200 + }, + "huge": { + "download": "@@images/image-1600-96cc96c43007ce2b91ca0a99e723169c.jpeg", + "height": 1066, + "width": 1600 + }, + "icon": { + "download": "@@images/image-32-ac15fc9bafebb36519f9aae33bcb691b.jpeg", + "height": 21, + "width": 32 + }, + "large": { + "download": "@@images/image-800-5e9f94f12984f6dd377a9e0aa14a64a2.jpeg", + "height": 533, + "width": 800 + }, + "larger": { + "download": "@@images/image-1000-b282b8c11bec4a0e5b8f8e71fb86423e.jpeg", + "height": 666, + "width": 1000 + }, + "mini": { + "download": "@@images/image-200-295a3f652c8e3799a28a0c52185d3b9e.jpeg", + "height": 133, + "width": 200 + }, + "preview": { + "download": "@@images/image-400-ed06bdcbf735e3be864d8c369a19f051.jpeg", + "height": 266, + "width": 400 + }, + "teaser": { + "download": "@@images/image-600-a5286eda42ae39bd673efb1139557426.jpeg", + "height": 400, + "width": 600 + }, + "thumb": { + "download": "@@images/image-128-a852600c748b4a78eadb4963622a2f25.jpeg", + "height": 85, + "width": 128 + }, + "tile": { + "download": "@@images/image-64-839e23b481c9f91112bfb759fba4c8db.jpeg", + "height": 42, + "width": 64 + } + }, + "size": 336997, + "width": 6000 + } + ] + }, + "review_state": "private", + "title": "Features", + "type_title": "Page" + }, + "preview_caption_link": null, + "review_state": "private", + "rights": "", + "searchwords": [], + "showinsearch": true, + "subjects": [], + "title": "Theme", + "type_title": "Page", + "version": "current", + "workflow_history": { + "simple_publication_workflow": [ + { + "action": null, + "actor": "admin", + "comments": "", + "review_state": "private", + "time": "2024-05-16T19:53:59+00:00" + } + ] + }, + "working_copy": null, + "working_copy_of": null +} \ No newline at end of file diff --git a/backend/src/kitconcept/intranet/distributions/intranet/content/content/df4d71d6f0d044ec8ecd9c5164449c37/data.json b/backend/src/kitconcept/intranet/distributions/intranet/content/content/df4d71d6f0d044ec8ecd9c5164449c37/data.json new file mode 100644 index 0000000..8b69809 --- /dev/null +++ b/backend/src/kitconcept/intranet/distributions/intranet/content/content/df4d71d6f0d044ec8ecd9c5164449c37/data.json @@ -0,0 +1,54 @@ +{ + "@id": "/images/pawel-czerwinski-fpn1w7biunu-unsplash.jpg", + "@type": "Image", + "UID": "df4d71d6f0d044ec8ecd9c5164449c37", + "allow_discussion": false, + "contributors": [], + "created": "2024-05-16T20:18:15+00:00", + "creators": [ + "admin" + ], + "description": "", + "effective": null, + "exclude_from_nav": false, + "expires": null, + "exportimport.constrains": {}, + "exportimport.conversation": [], + "exportimport.versions": {}, + "id": "pawel-czerwinski-fpn1w7biunu-unsplash.jpg", + "image": { + "blob_path": "df4d71d6f0d044ec8ecd9c5164449c37/image/pawel-czerwinski-fPN1w7bIuNU-unsplash.jpg", + "content-type": "image/jpeg", + "filename": "pawel-czerwinski-fPN1w7bIuNU-unsplash.jpg", + "height": 4000, + "size": 3478850, + "width": 6000 + }, + "is_folderish": false, + "language": "##DEFAULT##", + "layout": "image_view", + "lock": {}, + "modified": "2024-05-16T20:18:15+00:00", + "parent": { + "@id": "/images", + "@type": "Document", + "UID": "6b1c57b5651546eab14fd5e0e1e32aeb", + "description": "", + "image_field": null, + "image_scales": {}, + "review_state": "published", + "title": "Images", + "type_title": "Page" + }, + "review_state": null, + "rights": "", + "searchwords": [], + "showinsearch": true, + "subjects": [], + "title": "pawel-czerwinski-fPN1w7bIuNU-unsplash.jpg", + "type_title": "Image", + "version": "current", + "workflow_history": {}, + "working_copy": null, + "working_copy_of": null +} \ No newline at end of file diff --git a/backend/src/kitconcept/intranet/distributions/intranet/content/content/df4d71d6f0d044ec8ecd9c5164449c37/image/pawel-czerwinski-fPN1w7bIuNU-unsplash.jpg b/backend/src/kitconcept/intranet/distributions/intranet/content/content/df4d71d6f0d044ec8ecd9c5164449c37/image/pawel-czerwinski-fPN1w7bIuNU-unsplash.jpg new file mode 100644 index 0000000..dda6042 Binary files /dev/null and b/backend/src/kitconcept/intranet/distributions/intranet/content/content/df4d71d6f0d044ec8ecd9c5164449c37/image/pawel-czerwinski-fPN1w7bIuNU-unsplash.jpg differ diff --git a/backend/src/kitconcept/intranet/distributions/intranet/content/content/f10b7bca6e014ff7a56598f1cfcc4d2b/data.json b/backend/src/kitconcept/intranet/distributions/intranet/content/content/f10b7bca6e014ff7a56598f1cfcc4d2b/data.json new file mode 100644 index 0000000..c2c20c0 --- /dev/null +++ b/backend/src/kitconcept/intranet/distributions/intranet/content/content/f10b7bca6e014ff7a56598f1cfcc4d2b/data.json @@ -0,0 +1,85 @@ +{ + "@id": "/features/person-profiles", + "@type": "Document", + "UID": "f10b7bca6e014ff7a56598f1cfcc4d2b", + "allow_discussion": false, + "blocks": { + "e357b468-f727-465a-8280-93a569213589": { + "@type": "image", + "align": "full", + "credit": {}, + "description": "", + "image_field": "image", + "size": "l", + "title": "christopher-campbell-rDEOVtE7vOs-unsplash (4).jpg", + "url": "../../resolveuid/70e63351448f45968af7bca53f418e6b" + }, + "f0f05a82-9857-4636-b1cf-9f6ed9c5fb74": { + "@type": "title" + }, + "f25613c9-8d70-495f-bcd5-58d99aa04c36": { + "@type": "slate" + } + }, + "blocks_layout": { + "items": [ + "f0f05a82-9857-4636-b1cf-9f6ed9c5fb74", + "e357b468-f727-465a-8280-93a569213589", + "f25613c9-8d70-495f-bcd5-58d99aa04c36" + ] + }, + "contributors": [], + "created": "2024-05-16T20:19:03+00:00", + "creators": [ + "admin" + ], + "description": "Present your employees with personal profile pages. Sync their data with your AD/LDAP or any other source.", + "effective": null, + "exclude_from_nav": false, + "expires": null, + "exportimport.constrains": {}, + "exportimport.conversation": [], + "exportimport.versions": {}, + "id": "person-profiles", + "is_folderish": true, + "language": "##DEFAULT##", + "layout": "document_view", + "lock": { + "locked": false, + "stealable": true + }, + "modified": "2024-05-16T20:41:30+00:00", + "parent": { + "@id": "/features", + "@type": "Document", + "UID": "f29a0a79ff974cbab0ea9b016944336a", + "description": "", + "image_field": null, + "image_scales": {}, + "review_state": "private", + "title": "Features", + "type_title": "Page" + }, + "preview_caption_link": null, + "review_state": "private", + "rights": "", + "searchwords": [], + "showinsearch": true, + "subjects": [], + "title": "Person Profiles", + "type_title": "Page", + "version": "current", + "workflow_history": { + "simple_publication_workflow": [ + { + "action": null, + "actor": "admin", + "comments": "", + "review_state": "private", + "time": "2024-05-16T20:19:03+00:00" + } + ] + }, + "working_copy": null, + "working_copy_of": null +} \ No newline at end of file diff --git a/backend/src/kitconcept/intranet/distributions/intranet/content/content/f29a0a79ff974cbab0ea9b016944336a/data.json b/backend/src/kitconcept/intranet/distributions/intranet/content/content/f29a0a79ff974cbab0ea9b016944336a/data.json new file mode 100644 index 0000000..e1da602 --- /dev/null +++ b/backend/src/kitconcept/intranet/distributions/intranet/content/content/f29a0a79ff974cbab0ea9b016944336a/data.json @@ -0,0 +1,78 @@ +{ + "@id": "/features", + "@type": "Document", + "UID": "f29a0a79ff974cbab0ea9b016944336a", + "allow_discussion": false, + "blocks": { + "781e509b-134e-4551-83c4-a0b3830b2c70": { + "@type": "title" + }, + "cad1409e-182b-48c5-8865-d5c3dc622e1e": { + "@type": "listing", + "headlineTag": "h2", + "styles": {}, + "variation": "grid" + }, + "efe05471-2a99-4733-94a3-03d1617f4687": { + "@type": "slate" + } + }, + "blocks_layout": { + "items": [ + "781e509b-134e-4551-83c4-a0b3830b2c70", + "cad1409e-182b-48c5-8865-d5c3dc622e1e", + "efe05471-2a99-4733-94a3-03d1617f4687" + ] + }, + "contributors": [], + "created": "2024-05-16T20:18:37+00:00", + "creators": [ + "admin" + ], + "description": "", + "effective": null, + "exclude_from_nav": false, + "expires": null, + "exportimport.constrains": {}, + "exportimport.conversation": [], + "exportimport.versions": {}, + "id": "features", + "is_folderish": true, + "language": "##DEFAULT##", + "layout": "document_view", + "lock": { + "locked": false, + "stealable": true + }, + "modified": "2024-05-16T20:19:03+00:00", + "parent": { + "@id": "/", + "@type": "Plone Site", + "UID": "plone_site_root", + "description": "A Plone Intranet distribution provided by kitconcept GmbH", + "title": "Plone Intranet by kitconcept", + "type_title": "Plone Site" + }, + "preview_caption_link": null, + "review_state": "private", + "rights": "", + "searchwords": [], + "showinsearch": true, + "subjects": [], + "title": "Features", + "type_title": "Page", + "version": "current", + "workflow_history": { + "simple_publication_workflow": [ + { + "action": null, + "actor": "admin", + "comments": "", + "review_state": "private", + "time": "2024-05-16T20:18:37+00:00" + } + ] + }, + "working_copy": null, + "working_copy_of": null +} \ No newline at end of file diff --git a/backend/src/kitconcept/intranet/distributions/intranet/content/content/fa952358152b44068e89ccd4e87f4c90/data.json b/backend/src/kitconcept/intranet/distributions/intranet/content/content/fa952358152b44068e89ccd4e87f4c90/data.json new file mode 100644 index 0000000..c2c9c44 --- /dev/null +++ b/backend/src/kitconcept/intranet/distributions/intranet/content/content/fa952358152b44068e89ccd4e87f4c90/data.json @@ -0,0 +1,82 @@ +{ + "@id": "/features", + "@type": "Document", + "UID": "fa952358152b44068e89ccd4e87f4c90", + "allow_discussion": false, + "blocks": { + "3ab16ed5-c382-4fc2-8ff6-203b3889761e": { + "@type": "slate" + }, + "be3e243e-a941-4a8d-8fa5-9f76f7c9230a": { + "@type": "image", + "align": "full", + "credit": {}, + "description": "", + "image_field": "image", + "size": "l", + "title": "codioful-formerly-gradienta-lweK7Wme_jo-unsplash (6).jpg", + "url": "../resolveuid/7af123a17d254c398f5fb6d426263afe" + }, + "ce7a9ba2-95f9-4702-9c89-556adcca6d90": { + "@type": "title" + } + }, + "blocks_layout": { + "items": [ + "ce7a9ba2-95f9-4702-9c89-556adcca6d90", + "be3e243e-a941-4a8d-8fa5-9f76f7c9230a", + "3ab16ed5-c382-4fc2-8ff6-203b3889761e" + ] + }, + "contributors": [], + "created": "2024-05-16T19:52:11+00:00", + "creators": [ + "admin" + ], + "description": "", + "effective": null, + "exclude_from_nav": false, + "expires": null, + "exportimport.constrains": {}, + "exportimport.conversation": [], + "exportimport.versions": {}, + "id": "features", + "is_folderish": true, + "language": "##DEFAULT##", + "layout": "document_view", + "lock": { + "locked": false, + "stealable": true + }, + "modified": "2024-05-16T19:53:59+00:00", + "parent": { + "@id": "/", + "@type": "Plone Site", + "UID": "plone_site_root", + "description": "A Plone Intranet distribution provided by kitconcept GmbH", + "title": "Plone Intranet by kitconcept", + "type_title": "Plone Site" + }, + "preview_caption_link": null, + "review_state": "private", + "rights": "", + "searchwords": [], + "showinsearch": true, + "subjects": [], + "title": "Features", + "type_title": "Page", + "version": "current", + "workflow_history": { + "simple_publication_workflow": [ + { + "action": null, + "actor": "admin", + "comments": "", + "review_state": "private", + "time": "2024-05-16T19:52:11+00:00" + } + ] + }, + "working_copy": null, + "working_copy_of": null +} \ No newline at end of file diff --git a/backend/src/kitconcept/intranet/distributions/intranet/content/content/plone_site_root/data.json b/backend/src/kitconcept/intranet/distributions/intranet/content/content/plone_site_root/data.json index f9083ff..774f8e4 100644 --- a/backend/src/kitconcept/intranet/distributions/intranet/content/content/plone_site_root/data.json +++ b/backend/src/kitconcept/intranet/distributions/intranet/content/content/plone_site_root/data.json @@ -3,9 +3,125 @@ "@type": "Plone Site", "UID": "plone_site_root", "allow_discussion": null, - "blocks": {}, + "blocks": { + "4979b879-0499-494e-9ca9-967aae7af1f4": { + "@type": "gridBlock", + "blocks": { + "41863fc3-5e05-4e50-8166-607686a34758": { + "@type": "teaser", + "description": "", + "head_title": null, + "href": [ + { + "@id": "resolveuid/2c2f8092acfc4f55830b16af13273882", + "@type": "Document", + "Description": "A full text search that let's you find all the content in your intranet.", + "Title": "Full Text Search", + "getRemoteUrl": null, + "hasPreviewImage": null, + "head_title": null, + "image_field": "preview_image_link", + "title": "Full Text Search" + } + ], + "styles": { + "align": "left" + }, + "title": "Full Text Search" + }, + "b44ca6dd-a55f-4a15-9727-3297eeaade15": { + "@type": "teaser", + "description": "", + "head_title": null, + "href": [ + { + "@id": "resolveuid/f10b7bca6e014ff7a56598f1cfcc4d2b", + "@type": "Document", + "Description": "Present your employees with personal profile pages. Sync their data with your AD/LDAP or any other source.", + "Title": "Person Profiles", + "getRemoteUrl": null, + "hasPreviewImage": null, + "head_title": null, + "image_field": "preview_image_link", + "title": "Person Profiles" + } + ], + "styles": { + "align": "left" + }, + "title": "Person Profiles" + }, + "dc468cc2-ccda-4e25-a3db-116ca9f99ef2": { + "@type": "teaser", + "description": "", + "head_title": null, + "href": [ + { + "@id": "resolveuid/239b6e7bb69e4cd79b71be7a4e90a285", + "@type": "Document", + "Description": "", + "Title": "Theme", + "getRemoteUrl": null, + "hasPreviewImage": null, + "head_title": null, + "image_field": "preview_image_link", + "title": "Theme" + } + ], + "styles": { + "align": "left" + }, + "title": "Theme" + } + }, + "blocks_layout": { + "items": [ + "dc468cc2-ccda-4e25-a3db-116ca9f99ef2", + "41863fc3-5e05-4e50-8166-607686a34758", + "b44ca6dd-a55f-4a15-9727-3297eeaade15" + ] + }, + "styles": {} + }, + "7815392a-f32a-45cf-b633-09f1cabf49bc": { + "@type": "title" + }, + "cf694a86-6ef4-43e2-b249-24f7ca3a55e9": { + "@type": "slate" + }, + "e5fb316f-f3af-4df1-b3d8-fb46ac07cc11": { + "@type": "slider", + "autoplayDelay": 4000, + "autoplayEnabled": false, + "autoplayJump": false, + "slides": [ + { + "@id": "8e5603d5-a253-4094-9c45-37708e5bd3a3", + "description": "", + "flagAlign": "left", + "href": [ + { + "@id": "resolveuid/1e7262f173a54700a5ca2578506b1bc1", + "Description": "", + "Title": "About", + "hasPreviewImage": null, + "image_field": "preview_image_link", + "title": "About" + } + ], + "title": "kitconcept intranet" + } + ], + "styles": {} + } + }, "blocks_layout": { - "items": [] + "items": [ + "e5fb316f-f3af-4df1-b3d8-fb46ac07cc11", + "7815392a-f32a-45cf-b633-09f1cabf49bc", + "4979b879-0499-494e-9ca9-967aae7af1f4", + "cf694a86-6ef4-43e2-b249-24f7ca3a55e9" + ] }, "contributors": [], "creators": [ @@ -20,7 +136,7 @@ "exportimport.versions": {}, "id": "Plone", "is_folderish": true, - "items_total": 0, + "items_total": 1, "language": "##DEFAULT##", "lock": { "locked": false, diff --git a/backend/src/kitconcept/intranet/distributions/intranet/content/relations.json b/backend/src/kitconcept/intranet/distributions/intranet/content/relations.json index 0637a08..4e8dd99 100644 --- a/backend/src/kitconcept/intranet/distributions/intranet/content/relations.json +++ b/backend/src/kitconcept/intranet/distributions/intranet/content/relations.json @@ -1 +1,42 @@ -[] \ No newline at end of file +[ + { + "from_attribute": "preview_image_link", + "from_uuid": "1e7262f173a54700a5ca2578506b1bc1", + "to_uuid": "75f2d0b5a1f04f7a922c47be34f9f532" + }, + { + "from_attribute": "preview_image_link", + "from_uuid": "239b6e7bb69e4cd79b71be7a4e90a285", + "to_uuid": "5f1077b5414743429689927de357c350" + }, + { + "from_attribute": "isReferencing", + "from_uuid": "1e7262f173a54700a5ca2578506b1bc1", + "to_uuid": "75f2d0b5a1f04f7a922c47be34f9f532" + }, + { + "from_attribute": "preview_image_link", + "from_uuid": "f10b7bca6e014ff7a56598f1cfcc4d2b", + "to_uuid": "70e63351448f45968af7bca53f418e6b" + }, + { + "from_attribute": "preview_image_link", + "from_uuid": "2c2f8092acfc4f55830b16af13273882", + "to_uuid": "afb59233c4e04945a4c8c1ec161c7124" + }, + { + "from_attribute": "isReferencing", + "from_uuid": "2c2f8092acfc4f55830b16af13273882", + "to_uuid": "afb59233c4e04945a4c8c1ec161c7124" + }, + { + "from_attribute": "isReferencing", + "from_uuid": "239b6e7bb69e4cd79b71be7a4e90a285", + "to_uuid": "5f1077b5414743429689927de357c350" + }, + { + "from_attribute": "isReferencing", + "from_uuid": "f10b7bca6e014ff7a56598f1cfcc4d2b", + "to_uuid": "70e63351448f45968af7bca53f418e6b" + } +] \ No newline at end of file diff --git a/backend/src/kitconcept/intranet/distributions/intranet/profiles.json b/backend/src/kitconcept/intranet/distributions/intranet/profiles.json index 9c71ba5..aac3384 100644 --- a/backend/src/kitconcept/intranet/distributions/intranet/profiles.json +++ b/backend/src/kitconcept/intranet/distributions/intranet/profiles.json @@ -5,7 +5,8 @@ "plone.restapi:default", "plone.volto:default", "kitconcept.solr:default", - "plonetheme.barceloneta:default" + "plonetheme.barceloneta:default", + "kitconcept.intranet:default" ], "content": [] } diff --git a/backend/src/kitconcept/intranet/profiles.zcml b/backend/src/kitconcept/intranet/profiles.zcml index 986a706..7b5b5aa 100644 --- a/backend/src/kitconcept/intranet/profiles.zcml +++ b/backend/src/kitconcept/intranet/profiles.zcml @@ -10,6 +10,7 @@ description="Policy package to install our site" provides="Products.GenericSetup.interfaces.EXTENSION" directory="profiles/default" + post_handler=".setuphandlers.post_install" /> - - + + + + \ No newline at end of file diff --git a/backend/src/kitconcept/intranet/profiles/default/types/Document.xml b/backend/src/kitconcept/intranet/profiles/default/types/Document.xml new file mode 100644 index 0000000..72e3a20 --- /dev/null +++ b/backend/src/kitconcept/intranet/profiles/default/types/Document.xml @@ -0,0 +1,13 @@ + + + + + + + \ No newline at end of file diff --git a/backend/src/kitconcept/intranet/setuphandlers/__init__.py b/backend/src/kitconcept/intranet/setuphandlers/__init__.py index 8a6f5f1..acab22d 100644 --- a/backend/src/kitconcept/intranet/setuphandlers/__init__.py +++ b/backend/src/kitconcept/intranet/setuphandlers/__init__.py @@ -1,6 +1,6 @@ from kitconcept.intranet import logger -from kitconcept.intranet.setuphandlers import content -from kitconcept.intranet.setuphandlers import users +from kitconcept.intranet.setuphandlers import content, users +from kitconcept.intranet.upgrades import remove_preview_image_behavior from plone import api from Products.CMFPlone.interfaces import INonInstallable from zope.interface import implementer @@ -14,6 +14,8 @@ def getNonInstallableProfiles(self): "kitconcept.intranet:uninstall", ] +def post_install(setup_tool): + remove_preview_image_behavior(setup_tool) def populate_portal(context): """Post install script""" diff --git a/backend/src/kitconcept/intranet/upgrades/__init__.py b/backend/src/kitconcept/intranet/upgrades/__init__.py index e69de29..dd52a8c 100644 --- a/backend/src/kitconcept/intranet/upgrades/__init__.py +++ b/backend/src/kitconcept/intranet/upgrades/__init__.py @@ -0,0 +1,22 @@ +from plone.dexterity.interfaces import IDexterityFTI +from zope.component import queryUtility + + +def remove_behavior(portal_type, behavior): + fti = queryUtility(IDexterityFTI, name=portal_type) + if fti is not None: + new = [ + currentbehavior + for currentbehavior in fti.behaviors + if currentbehavior != behavior + ] + fti.behaviors = tuple(new) + + +def remove_preview_image_behavior(context): + REMOVE_PREVIEW_IMAGE_BEHAVIOR = ["Document", "News Item", "Event"] + for type_ in REMOVE_PREVIEW_IMAGE_BEHAVIOR: + remove_behavior(type_, "volto.preview_image") + + # Remove leadimage behavior from News Item + remove_behavior("News Item", "plone.leadimage") \ No newline at end of file