Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions backend/news/222.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Rename Location criterion to Path. @davisagli
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2025-09-18 06:46+0000\n"
"POT-Creation-Date: 2025-12-09 17:11+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI +ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
Expand Down Expand Up @@ -50,6 +50,10 @@ msgstr "Generisches Setup-Profil mit Kernabhängigkeiten, die von CMF benötigt
msgid "Generic setup profile with dependencies used by kitconcept projects."
msgstr "Generisches Setup-Profil mit Abhängigkeiten, die von kitconcept-Projekten verwendet werden."

#: kitconcept/core/profiles/dependencies/registry/querystring.xml
msgid "Path"
msgstr "Pfad"

#: kitconcept/core/behaviors/configure.zcml:27
msgid "Person: Additional contact information"
msgstr "Person: Zusätzliche Kontaktinformationen"
Expand All @@ -66,6 +70,10 @@ msgstr "Person: Bild"
msgid "Simple attribute-based image field for persons portraits."
msgstr "Einfaches attributbasiertes Bildfeld für Personenporträts."

#: kitconcept/core/profiles/dependencies/registry/querystring.xml
msgid "The path of an item"
msgstr "Der Pfad eines Inhalts"

#: kitconcept/core/behaviors/configure.zcml:19
msgid "Through The Web blocks configuration"
msgstr "Blockkonfiguration durch die Weboberfläche"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2025-09-18 06:46+0000\n"
"POT-Creation-Date: 2025-12-09 17:11+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI +ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
Expand Down Expand Up @@ -50,6 +50,10 @@ msgstr ""
msgid "Generic setup profile with dependencies used by kitconcept projects."
msgstr ""

#: kitconcept/core/profiles/dependencies/registry/querystring.xml
msgid "Path"
msgstr ""

#: kitconcept/core/behaviors/configure.zcml:27
msgid "Person: Additional contact information"
msgstr ""
Expand All @@ -66,6 +70,10 @@ msgstr ""
msgid "Simple attribute-based image field for persons portraits."
msgstr ""

#: kitconcept/core/profiles/dependencies/registry/querystring.xml
msgid "The path of an item"
msgstr ""

#: kitconcept/core/behaviors/configure.zcml:19
msgid "Through The Web blocks configuration"
msgstr ""
Expand Down
10 changes: 9 additions & 1 deletion backend/src/kitconcept/core/locales/kitconcept.core.pot
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2025-09-18 06:46+0000\n"
"POT-Creation-Date: 2025-12-09 17:11+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI +ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
Expand Down Expand Up @@ -53,6 +53,10 @@ msgstr ""
msgid "Generic setup profile with dependencies used by kitconcept projects."
msgstr ""

#: kitconcept/core/profiles/dependencies/registry/querystring.xml
msgid "Path"
msgstr ""

#: kitconcept/core/behaviors/configure.zcml:27
msgid "Person: Additional contact information"
msgstr ""
Expand All @@ -69,6 +73,10 @@ msgstr ""
msgid "Simple attribute-based image field for persons portraits."
msgstr ""

#: kitconcept/core/profiles/dependencies/registry/querystring.xml
msgid "The path of an item"
msgstr ""

#: kitconcept/core/behaviors/configure.zcml:19
msgid "Through The Web blocks configuration"
msgstr ""
Expand Down
2 changes: 1 addition & 1 deletion backend/src/kitconcept/core/profiles/base/metadata.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<metadata>
<version>20250917001</version>
<version>20251209001</version>
</metadata>
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<registry xmlns:i18n="http://xml.zope.org/namespaces/i18n"
i18n:domain="kitconcept.core"
>

<!-- Rename Location -> Path -->
<records interface="plone.app.querystring.interfaces.IQueryField"
prefix="plone.app.querystring.field.path"
>
<value key="title"
i18n:translate=""
>Path</value>
<value key="description"
i18n:translate=""
>The path of an item</value>
</records>

</registry>
1 change: 1 addition & 0 deletions backend/src/kitconcept/core/upgrades/configure.zcml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@
<include package=".v20250915001" />
<include package=".v20250916001" />
<include package=".v20250917001" />
<include package=".v20251209001" />

</configure>
Empty file.
18 changes: 18 additions & 0 deletions backend/src/kitconcept/core/upgrades/v20251209001/configure.zcml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<configure
xmlns="http://namespaces.zope.org/zope"
xmlns:genericsetup="http://namespaces.zope.org/genericsetup"
>

<genericsetup:upgradeSteps
profile="kitconcept.core:base"
source="20250917001"
destination="20251209001"
>
<genericsetup:upgradeDepends
title="Rename Location criterion to Path"
import_profile="kitconcept.core:dependencies"
import_steps="plone.app.registry"
/>
</genericsetup:upgradeSteps>

</configure>
2 changes: 1 addition & 1 deletion backend/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def current_versions() -> CurrentVersions:
from kitconcept.core import __version__

return CurrentVersions(
base="20250917001",
base="20251209001",
dependencies="1000",
package=__version__,
)
Expand Down