Skip to content

Commit b801620

Browse files
authored
Example content update: preview_image and description; remove duplica… (#219)
* Example content update: preview_image and description; remove duplicate images; polish slider block page. * Add changelog * Fix changelog * Re-add RSS feed page * No need to change portlets * Fix Solr test regression due to an example content change. This shouldn't happen, tests should not be based on example content and always start with a clean instance without any content * Publish icons folder to fix sticky menu * Re-add RSS-Feed block page * Re-run export and import again to sync.
1 parent 3837f35 commit b801620

34 files changed

Lines changed: 435 additions & 1468 deletions

File tree

Makefile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,15 @@ backend-create-site: ## Create a Plone site with default content
9494
backend-update-example-content: ## Export example content inside package
9595
$(MAKE) -C "./backend/" update-example-content
9696

97+
.PHONY: backend-update-example-content-bug-workaround
98+
backend-update-example-content-bug-workaround: ## Export example content inside package
99+
# portlets.json always changes without any actual content amendments
100+
git checkout origin/main backend/src/kitconcept/intranet/distributions/intranet/content/portlets.json
101+
# RSS block example content is deleted without any actual deletion
102+
git checkout origin/main backend/src/kitconcept/intranet/distributions/intranet/content/content/7c7cf1aae1a9431db3a706615a410cdc/data.json
103+
# "remoteUrl" starts with "http://nohost/"
104+
git checkout origin/main backend/src/kitconcept/intranet/distributions/intranet/content/content/195d96ca9952493cbffa69cda040b8b3/data.json
105+
97106
.PHONY: backend-delete-and-create-site
98107
backend-delete-and-create-site: ## Remove all content and create site
99108
$(MAKE) -C "./backend/" remove-data

backend/news/219.internal

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Example content update: preview_image and description; remove duplicate images; polish slider block page.

backend/src/kitconcept/intranet/distributions/intranet/content/content/144516507ac74892b96c1f7b574af7c4/data.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"locked": false,
4141
"stealable": true
4242
},
43-
"modified": "2025-08-01T14:07:54+00:00",
43+
"modified": "2025-09-04T12:56:37+00:00",
4444
"nav_title": null,
4545
"preview_caption_link": null,
4646
"responsible_person": null,

backend/src/kitconcept/intranet/distributions/intranet/content/content/1e7262f173a54700a5ca2578506b1bc1/data.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"@id": "/about",
2+
"@id": "/ueber-uns",
33
"@type": "Document",
44
"UID": "1e7262f173a54700a5ca2578506b1bc1",
55
"allow_discussion": false,
@@ -53,23 +53,23 @@
5353
"creators": [
5454
"admin"
5555
],
56-
"description": "",
56+
"description": "Willkommen in der \"\u00dcber uns\" Sektion unseres Intranets \u2013 dem zentralen Informationsportal, das Ihnen einen umfassenden Einblick in das Wesen, die Geschichte und die Identit\u00e4t unserer Forschungseinrichtung bietet. Hier finden Sie alles Wissenswerte \u00fcber unsere institutionelle DNA, von unseren Anf\u00e4ngen bis hin zu unserer Vision f\u00fcr die Zukunft.",
5757
"effective": null,
5858
"exclude_from_nav": false,
5959
"expires": null,
6060
"exportimport.constrains": {},
6161
"exportimport.conversation": [],
6262
"feedback_person": null,
6363
"head_title": null,
64-
"id": "about",
64+
"id": "ueber-uns",
6565
"is_folderish": true,
6666
"language": "##DEFAULT##",
6767
"layout": "document_view",
6868
"lock": {
6969
"locked": false,
7070
"stealable": true
7171
},
72-
"modified": "2025-07-29T13:39:53+00:00",
72+
"modified": "2025-09-08T08:05:40+00:00",
7373
"nav_title": null,
7474
"preview_caption_link": null,
7575
"responsible_person": null,
@@ -78,7 +78,7 @@
7878
"searchwords": [],
7979
"showinsearch": true,
8080
"subjects": [],
81-
"title": "About",
81+
"title": "\u00dcber uns",
8282
"type_title": "Page",
8383
"version": "current",
8484
"versioning_enabled": true,

backend/src/kitconcept/intranet/distributions/intranet/content/content/239b6e7bb69e4cd79b71be7a4e90a285/data.json

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,19 @@
1010
},
1111
"dea1bfe1-28eb-4f61-8264-309d8ccc46f3": {
1212
"@type": "image",
13-
"align": "full",
13+
"align": "center",
1414
"credit": {},
1515
"description": "",
1616
"image_field": "image",
1717
"size": "l",
18-
"title": "jr-korpa-SFT9G3pAxLY-unsplash.jpg",
19-
"url": "../../resolveuid/5f1077b5414743429689927de357c350"
18+
"styles": {
19+
"blockWidth:noprefix": {
20+
"--block-width": "100%"
21+
}
22+
},
23+
"theme": "default",
24+
"title": "jr-korpa-SFT9G3pAxLY-unsplash.jpeg",
25+
"url": "../../resolveuid/895d71d4500b41ecb85e9f4855556325"
2026
},
2127
"fa4c83af-3fa5-45d9-b465-fbfb55d72af1": {
2228
"@type": "slate"
@@ -51,7 +57,7 @@
5157
"locked": false,
5258
"stealable": true
5359
},
54-
"modified": "2024-06-24T17:09:41+00:00",
60+
"modified": "2025-09-04T12:54:42+00:00",
5561
"nav_title": null,
5662
"preview_caption_link": null,
5763
"responsible_person": null,

backend/src/kitconcept/intranet/distributions/intranet/content/content/24d00ed0888f4d8a97230123f88d74e2/data.json

Lines changed: 0 additions & 48 deletions
This file was deleted.

backend/src/kitconcept/intranet/distributions/intranet/content/content/2853b2bd423d468fb71ad136d623bd22/data.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"admin"
1111
],
1212
"description": "",
13-
"effective": null,
13+
"effective": "2025-09-08T09:52:00+00:00",
1414
"expires": null,
1515
"exportimport.constrains": {},
1616
"exportimport.conversation": [],
@@ -31,7 +31,7 @@
3131
"locked": false,
3232
"stealable": true
3333
},
34-
"modified": "2025-09-04T12:39:50+00:00",
34+
"modified": "2025-09-08T09:52:04+00:00",
3535
"nav_title": null,
3636
"review_state": null,
3737
"rights": "",

backend/src/kitconcept/intranet/distributions/intranet/content/content/29dcc2ca91de4c5d811e346688845d03/data.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"admin"
1111
],
1212
"description": "",
13-
"effective": null,
13+
"effective": "2025-09-08T09:52:00+00:00",
1414
"expires": null,
1515
"exportimport.constrains": {},
1616
"exportimport.conversation": [],
@@ -31,7 +31,7 @@
3131
"locked": false,
3232
"stealable": true
3333
},
34-
"modified": "2025-09-04T12:39:50+00:00",
34+
"modified": "2025-09-08T09:52:04+00:00",
3535
"nav_title": null,
3636
"review_state": null,
3737
"rights": "",

backend/src/kitconcept/intranet/distributions/intranet/content/content/4d9a9737b78842b2a8454f8c26c02cab/data.json

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@
5151
"creators": [
5252
"admin"
5353
],
54-
"description": "",
55-
"effective": null,
54+
"description": "Die \"Organisation\" Sektion bietet eine umfassende \u00dcbersicht \u00fcber die institutionelle Struktur, Organisationsabl\u00e4ufe und administrative Rahmenbedingungen unserer Forschungseinrichtung. Diese zentrale Informationsquelle erm\u00f6glicht es allen Mitarbeitern, sich \u00fcber Zust\u00e4ndigkeiten, Hierarchien und organisatorische Prozesse zu informieren und unterst\u00fctzt damit eine effiziente Zusammenarbeit innerhalb der Institution.",
55+
"effective": "2025-09-08T08:05:00+00:00",
5656
"exclude_from_nav": false,
5757
"expires": null,
5858
"exportimport.constrains": {},
@@ -67,11 +67,11 @@
6767
"locked": false,
6868
"stealable": true
6969
},
70-
"modified": "2025-09-04T12:00:56+00:00",
70+
"modified": "2025-09-08T08:05:50+00:00",
7171
"nav_title": null,
7272
"preview_caption_link": null,
7373
"responsible_person": null,
74-
"review_state": "private",
74+
"review_state": "published",
7575
"rights": "",
7676
"searchwords": [],
7777
"showinsearch": true,
@@ -88,6 +88,13 @@
8888
"comments": "",
8989
"review_state": "private",
9090
"time": "2025-09-04T11:29:07+00:00"
91+
},
92+
{
93+
"action": "publish",
94+
"actor": "admin",
95+
"comments": "",
96+
"review_state": "published",
97+
"time": "2025-09-08T08:05:50+00:00"
9198
}
9299
]
93100
},

0 commit comments

Comments
 (0)