cekk.test 1.0.0a1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. cekk/test/__init__.py +14 -0
  2. cekk/test/configure.zcml +26 -0
  3. cekk/test/content/__init__.py +0 -0
  4. cekk/test/controlpanels/__init__.py +0 -0
  5. cekk/test/controlpanels/configure.zcml +10 -0
  6. cekk/test/dependencies.zcml +7 -0
  7. cekk/test/indexers/__init__.py +0 -0
  8. cekk/test/indexers/configure.zcml +7 -0
  9. cekk/test/interfaces.py +7 -0
  10. cekk/test/locales/__init__.py +0 -0
  11. cekk/test/locales/__main__.py +69 -0
  12. cekk/test/locales/cekk.test.pot +18 -0
  13. cekk/test/locales/de/LC_MESSAGES/cekk.test.po +15 -0
  14. cekk/test/locales/en/LC_MESSAGES/cekk.test.po +15 -0
  15. cekk/test/locales/es/LC_MESSAGES/cekk.test.po +15 -0
  16. cekk/test/locales/it/LC_MESSAGES/cekk.test.po +15 -0
  17. cekk/test/locales/pt_BR/LC_MESSAGES/cekk.test.po +15 -0
  18. cekk/test/permissions.zcml +5 -0
  19. cekk/test/profiles/default/browserlayer.xml +6 -0
  20. cekk/test/profiles/default/catalog.xml +13 -0
  21. cekk/test/profiles/default/controlpanel.xml +8 -0
  22. cekk/test/profiles/default/diff_tool.xml +6 -0
  23. cekk/test/profiles/default/metadata.xml +7 -0
  24. cekk/test/profiles/default/registry/.gitkeep +0 -0
  25. cekk/test/profiles/default/registry/main.xml +8 -0
  26. cekk/test/profiles/default/repositorytool.xml +6 -0
  27. cekk/test/profiles/default/rolemap.xml +6 -0
  28. cekk/test/profiles/default/types/.gitkeep +0 -0
  29. cekk/test/profiles/default/types.xml +10 -0
  30. cekk/test/profiles/initial/metadata.xml +4 -0
  31. cekk/test/profiles/uninstall/browserlayer.xml +6 -0
  32. cekk/test/profiles.zcml +41 -0
  33. cekk/test/serializers/__init__.py +0 -0
  34. cekk/test/serializers/configure.zcml +10 -0
  35. cekk/test/serializers/summary.py +10 -0
  36. cekk/test/setuphandlers/__init__.py +17 -0
  37. cekk/test/setuphandlers/examplecontent/.gitkeep +0 -0
  38. cekk/test/setuphandlers/examplecontent/content/__metadata__.json +40 -0
  39. cekk/test/setuphandlers/examplecontent/content/a58ccead718140c1baa98d43595fc3e6/data.json +56 -0
  40. cekk/test/setuphandlers/examplecontent/content/a58ccead718140c1baa98d43595fc3e6/image/plone-foundation.png +0 -0
  41. cekk/test/setuphandlers/examplecontent/content/a720393b3c0240e5bd27c43fcd2cfd1e/data.json +98 -0
  42. cekk/test/setuphandlers/examplecontent/content/plone_site_root/data.json +267 -0
  43. cekk/test/setuphandlers/examplecontent/principals.json +4 -0
  44. cekk/test/setuphandlers/examplecontent/redirects.json +1 -0
  45. cekk/test/setuphandlers/examplecontent/relations.json +1 -0
  46. cekk/test/setuphandlers/examplecontent/translations.json +1 -0
  47. cekk/test/setuphandlers/initial.py +16 -0
  48. cekk/test/testing.py +49 -0
  49. cekk/test/upgrades/__init__.py +0 -0
  50. cekk/test/upgrades/configure.zcml +21 -0
  51. cekk/test/vocabularies/__init__.py +0 -0
  52. cekk/test/vocabularies/configure.zcml +5 -0
  53. cekk_test-1.0.0a1.dist-info/METADATA +125 -0
  54. cekk_test-1.0.0a1.dist-info/RECORD +58 -0
  55. cekk_test-1.0.0a1.dist-info/WHEEL +4 -0
  56. cekk_test-1.0.0a1.dist-info/entry_points.txt +2 -0
  57. cekk_test-1.0.0a1.dist-info/licenses/LICENSE.GPL +339 -0
  58. cekk_test-1.0.0a1.dist-info/licenses/LICENSE.md +15 -0
cekk/test/__init__.py ADDED
@@ -0,0 +1,14 @@
1
+ """Init and utils."""
2
+
3
+ from zope.i18nmessageid import MessageFactory
4
+
5
+ import logging
6
+
7
+
8
+ __version__ = "1.0.0a1"
9
+
10
+ PACKAGE_NAME = "cekk.test"
11
+
12
+ _ = MessageFactory(PACKAGE_NAME)
13
+
14
+ logger = logging.getLogger(PACKAGE_NAME)
@@ -0,0 +1,26 @@
1
+ <configure
2
+ xmlns="http://namespaces.zope.org/zope"
3
+ xmlns:i18n="http://namespaces.zope.org/i18n"
4
+ i18n_domain="cekk.test"
5
+ >
6
+
7
+ <i18n:registerTranslations directory="locales" />
8
+
9
+ <include
10
+ package="Products.CMFCore"
11
+ file="permissions.zcml"
12
+ />
13
+
14
+
15
+ <include file="dependencies.zcml" />
16
+ <include file="profiles.zcml" />
17
+ <include file="permissions.zcml" />
18
+
19
+ <include package=".controlpanels" />
20
+ <include package=".indexers" />
21
+ <include package=".serializers" />
22
+ <include package=".vocabularies" />
23
+
24
+ <!-- -*- extra stuff goes here -*- -->
25
+
26
+ </configure>
File without changes
File without changes
@@ -0,0 +1,10 @@
1
+ <configure
2
+ xmlns="http://namespaces.zope.org/zope"
3
+ xmlns:browser="http://namespaces.zope.org/browser"
4
+ xmlns:plone="http://namespaces.plone.org/plone"
5
+ i18n_domain="cekk.test"
6
+ >
7
+
8
+ <!-- -*- extra stuff goes here -*- -->
9
+
10
+ </configure>
@@ -0,0 +1,7 @@
1
+ <configure xmlns="http://namespaces.zope.org/zope">
2
+
3
+ <!-- List all packages you depend here -->
4
+ <include package="plone.restapi" />
5
+ <include package="plone.volto" />
6
+
7
+ </configure>
File without changes
@@ -0,0 +1,7 @@
1
+ <configure xmlns="http://namespaces.zope.org/zope">
2
+
3
+ <!-- Indexers/Metadata -->
4
+
5
+ <!-- -*- extra stuff goes here -*- -->
6
+
7
+ </configure>
@@ -0,0 +1,7 @@
1
+ """Module where all interfaces, events and exceptions live."""
2
+
3
+ from zope.publisher.interfaces.browser import IDefaultBrowserLayer
4
+
5
+
6
+ class IBrowserLayer(IDefaultBrowserLayer):
7
+ """Marker interface that defines a browser layer."""
File without changes
@@ -0,0 +1,69 @@
1
+ """Update locales."""
2
+
3
+ from pathlib import Path
4
+
5
+ import logging
6
+ import re
7
+ import subprocess
8
+
9
+
10
+ logger = logging.getLogger("i18n")
11
+ logger.setLevel(logging.DEBUG)
12
+
13
+
14
+ PATTERN = r"^[a-z]{2}.*"
15
+
16
+ locale_path = Path(__file__).parent.resolve()
17
+ target_path = locale_path.parent.resolve()
18
+ domains = [path.name[:-4] for path in locale_path.glob("*.pot")]
19
+
20
+ i18ndude = "uvx i18ndude"
21
+
22
+ # ignore node_modules files resulting in errors
23
+ excludes = '"*.html *json-schema*.xml"'
24
+
25
+
26
+ def locale_folder_setup(domain: str):
27
+ languages = [path for path in locale_path.glob("*") if path.is_dir()]
28
+ for lang_folder in languages:
29
+ lc_messages_path = lang_folder / "LC_MESSAGES"
30
+ lang = lang_folder.name
31
+ if lc_messages_path.exists():
32
+ continue
33
+ elif re.match(PATTERN, lang):
34
+ lc_messages_path.mkdir()
35
+ cmd = (
36
+ f"msginit --locale={lang} "
37
+ f"--input={locale_path}/{domain}.pot "
38
+ f"--output={locale_path}/{lang}/LC_MESSAGES/{domain}.po"
39
+ )
40
+ subprocess.call(cmd, shell=True) # noQA: S602
41
+
42
+
43
+ def _rebuild(domain: str):
44
+ cmd = (
45
+ f"{i18ndude} rebuild-pot --pot {locale_path}/{domain}.pot "
46
+ f"--exclude {excludes} "
47
+ f"--create {domain} {target_path}"
48
+ )
49
+ subprocess.call(cmd, shell=True) # noQA: S602
50
+
51
+
52
+ def _sync(domain: str):
53
+ cmd = (
54
+ f"{i18ndude} sync --pot {locale_path}/{domain}.pot "
55
+ f"{locale_path}/*/LC_MESSAGES/{domain}.po"
56
+ )
57
+ subprocess.call(cmd, shell=True) # noQA: S602
58
+
59
+
60
+ def main():
61
+ for domain in domains:
62
+ logger.info(f"Updating translations for {domain}")
63
+ locale_folder_setup(domain)
64
+ _rebuild(domain)
65
+ _sync(domain)
66
+
67
+
68
+ if __name__ == "__main__":
69
+ main()
@@ -0,0 +1,18 @@
1
+ #--- PLEASE EDIT THE LINES BELOW CORRECTLY ---
2
+ #SOME DESCRIPTIVE TITLE.
3
+ #FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
4
+ msgid ""
5
+ msgstr ""
6
+ "Project-Id-Version: PACKAGE VERSION\n"
7
+ "POT-Creation-Date: 2022-05-25 17:12+0000\n"
8
+ "PO-Revision-Date: YEAR-MO-DA HO:MI +ZONE\n"
9
+ "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
10
+ "Language-Team: LANGUAGE <LL@li.org>\n"
11
+ "MIME-Version: 1.0\n"
12
+ "Content-Type: text/plain; charset=utf-8\n"
13
+ "Content-Transfer-Encoding: 8bit\n"
14
+ "Plural-Forms: nplurals=1; plural=0\n"
15
+ "Language-Code: en\n"
16
+ "Language-Name: English\n"
17
+ "Preferred-Encodings: utf-8 latin1\n"
18
+ "Domain: cekk.test\n"
@@ -0,0 +1,15 @@
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: PACKAGE VERSION\n"
4
+ "POT-Creation-Date: 2022-05-25 17:12+0000\n"
5
+ "PO-Revision-Date: YEAR-MO-DA HO:MI +ZONE\n"
6
+ "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
7
+ "Language-Team: LANGUAGE <LL@li.org>\n"
8
+ "MIME-Version: 1.0\n"
9
+ "Content-Type: text/plain; charset=utf-8\n"
10
+ "Content-Transfer-Encoding: 8bit\n"
11
+ "Plural-Forms: nplurals=1; plural=0\n"
12
+ "Language-Code: de\n"
13
+ "Language-Name: English\n"
14
+ "Preferred-Encodings: utf-8 latin1\n"
15
+ "Domain: DOMAIN\n"
@@ -0,0 +1,15 @@
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: PACKAGE VERSION\n"
4
+ "POT-Creation-Date: 2022-05-25 17:12+0000\n"
5
+ "PO-Revision-Date: YEAR-MO-DA HO:MI +ZONE\n"
6
+ "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
7
+ "Language-Team: LANGUAGE <LL@li.org>\n"
8
+ "MIME-Version: 1.0\n"
9
+ "Content-Type: text/plain; charset=utf-8\n"
10
+ "Content-Transfer-Encoding: 8bit\n"
11
+ "Plural-Forms: nplurals=1; plural=0\n"
12
+ "Language-Code: en\n"
13
+ "Language-Name: English\n"
14
+ "Preferred-Encodings: utf-8 latin1\n"
15
+ "Domain: DOMAIN\n"
@@ -0,0 +1,15 @@
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: PACKAGE VERSION\n"
4
+ "POT-Creation-Date: 2022-05-25 17:12+0000\n"
5
+ "PO-Revision-Date: YEAR-MO-DA HO:MI +ZONE\n"
6
+ "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
7
+ "Language-Team: LANGUAGE <LL@li.org>\n"
8
+ "MIME-Version: 1.0\n"
9
+ "Content-Type: text/plain; charset=utf-8\n"
10
+ "Content-Transfer-Encoding: 8bit\n"
11
+ "Plural-Forms: nplurals=1; plural=0\n"
12
+ "Language-Code: es\n"
13
+ "Language-Name: English\n"
14
+ "Preferred-Encodings: utf-8 latin1\n"
15
+ "Domain: DOMAIN\n"
@@ -0,0 +1,15 @@
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: PACKAGE VERSION\n"
4
+ "POT-Creation-Date: 2022-05-25 17:12+0000\n"
5
+ "PO-Revision-Date: YEAR-MO-DA HO:MI +ZONE\n"
6
+ "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
7
+ "Language-Team: LANGUAGE <LL@li.org>\n"
8
+ "MIME-Version: 1.0\n"
9
+ "Content-Type: text/plain; charset=utf-8\n"
10
+ "Content-Transfer-Encoding: 8bit\n"
11
+ "Plural-Forms: nplurals=1; plural=0\n"
12
+ "Language-Code: it\n"
13
+ "Language-Name: English\n"
14
+ "Preferred-Encodings: utf-8 latin1\n"
15
+ "Domain: DOMAIN\n"
@@ -0,0 +1,15 @@
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: PACKAGE VERSION\n"
4
+ "POT-Creation-Date: 2022-05-25 17:12+0000\n"
5
+ "PO-Revision-Date: YEAR-MO-DA HO:MI +ZONE\n"
6
+ "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
7
+ "Language-Team: LANGUAGE <LL@li.org>\n"
8
+ "MIME-Version: 1.0\n"
9
+ "Content-Type: text/plain; charset=utf-8\n"
10
+ "Content-Transfer-Encoding: 8bit\n"
11
+ "Plural-Forms: nplurals=1; plural=0\n"
12
+ "Language-Code: pt_BR\n"
13
+ "Language-Name: English\n"
14
+ "Preferred-Encodings: utf-8 latin1\n"
15
+ "Domain: DOMAIN\n"
@@ -0,0 +1,5 @@
1
+ <configure xmlns="http://namespaces.zope.org/zope">
2
+
3
+ <!-- -*- extra stuff goes here -*- -->
4
+
5
+ </configure>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <layers>
3
+ <layer interface="cekk.test.interfaces.IBrowserLayer"
4
+ name="cekk.test"
5
+ />
6
+ </layers>
@@ -0,0 +1,13 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <object name="portal_catalog">
3
+ <!-- Index
4
+ <index meta_type="FieldIndex"
5
+ name="industry"
6
+ >
7
+ <indexed_attr value="industry" />
8
+ </index>
9
+ -->
10
+ <!-- Metadata
11
+ <column value="industry" />
12
+ -->
13
+ </object>
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <object xmlns:i18n="http://xml.zope.org/namespaces/i18n"
3
+ name="portal_controlpanel"
4
+ >
5
+
6
+ <!-- -*- extra stuff goes here -*- -->
7
+
8
+ </object>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <object>
3
+ <difftypes>
4
+
5
+ </difftypes>
6
+ </object>
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <metadata>
3
+ <version>1000</version>
4
+ <dependencies>
5
+ <dependency>profile-plone.volto:default</dependency>
6
+ </dependencies>
7
+ </metadata>
File without changes
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <registry xmlns:i18n="http://xml.zope.org/namespaces/i18n"
3
+ i18n:domain="cekk.test"
4
+ >
5
+
6
+ <!-- -*- extra stuff goes here -*- -->
7
+
8
+ </registry>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <repositorytool>
3
+ <policymap>
4
+
5
+ </policymap>
6
+ </repositorytool>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <rolemap>
3
+ <permissions>
4
+ <!-- -*- extra stuff goes here -*- -->
5
+ </permissions>
6
+ </rolemap>
File without changes
@@ -0,0 +1,10 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <object meta_type="Plone Types Tool"
3
+ name="portal_types"
4
+ >
5
+ <!--
6
+ <object meta_type="Dexterity FTI"
7
+ name="MyType"
8
+ />
9
+ -->
10
+ </object>
@@ -0,0 +1,4 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <metadata>
3
+ <version>1000</version>
4
+ </metadata>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <layers>
3
+ <layer name="cekk.test"
4
+ remove="true"
5
+ />
6
+ </layers>
@@ -0,0 +1,41 @@
1
+ <configure
2
+ xmlns="http://namespaces.zope.org/zope"
3
+ xmlns:genericsetup="http://namespaces.zope.org/genericsetup"
4
+ i18n_domain="cekk.test"
5
+ >
6
+
7
+ <genericsetup:registerProfile
8
+ name="default"
9
+ title="cekk test: Install"
10
+ description="A new add-on for Plone that includes both backend and Volto frontend"
11
+ provides="Products.GenericSetup.interfaces.EXTENSION"
12
+ directory="profiles/default"
13
+ />
14
+
15
+ <genericsetup:registerProfile
16
+ name="initial"
17
+ title="cekk test: Example content"
18
+ description="Create example content to showcase this addon."
19
+ provides="Products.GenericSetup.interfaces.EXTENSION"
20
+ directory="profiles/initial"
21
+ pre_handler=".setuphandlers.initial.create_example_content"
22
+ />
23
+
24
+ <genericsetup:registerProfile
25
+ name="uninstall"
26
+ title="cekk test: Uninstall"
27
+ description="Uninstall cekk test setup."
28
+ provides="Products.GenericSetup.interfaces.EXTENSION"
29
+ directory="profiles/uninstall"
30
+ />
31
+
32
+ <!-- Hide Uninstall Profile-->
33
+ <utility
34
+ factory=".setuphandlers.HiddenProfiles"
35
+ name="cekk.test"
36
+ />
37
+
38
+
39
+ <include package=".upgrades" />
40
+
41
+ </configure>
File without changes
@@ -0,0 +1,10 @@
1
+ <configure xmlns="http://namespaces.zope.org/zope">
2
+
3
+ <!-- Serializers -->
4
+
5
+ <utility
6
+ factory=".summary.JSONSummarySerializerMetadata"
7
+ name="cekk.test.summary_serializer_metadata"
8
+ />
9
+
10
+ </configure>
@@ -0,0 +1,10 @@
1
+ from plone.restapi.interfaces import IJSONSummarySerializerMetadata
2
+ from zope.interface import implementer
3
+
4
+
5
+ @implementer(IJSONSummarySerializerMetadata)
6
+ class JSONSummarySerializerMetadata:
7
+ """Additional metadata to be exposed on listings."""
8
+
9
+ def default_metadata_fields(self):
10
+ return {"image_field", "image_scales", "effective", "Subject"}
@@ -0,0 +1,17 @@
1
+ from plone.base.interfaces.installable import INonInstallable
2
+ from zope.interface import implementer
3
+
4
+
5
+ @implementer(INonInstallable)
6
+ class HiddenProfiles:
7
+ def getNonInstallableProfiles(self):
8
+ """Hide uninstall profile from site-creation and quickinstaller."""
9
+ return [
10
+ "cekk.test:uninstall",
11
+ ]
12
+
13
+ def getNonInstallableProducts(self):
14
+ """Hide the upgrades package from site-creation and quickinstaller."""
15
+ return [
16
+ "cekk.test.upgrades",
17
+ ]
File without changes
@@ -0,0 +1,40 @@
1
+ {
2
+ "__version__": "1.0.0",
3
+ "_blob_files_": [
4
+ "a58ccead718140c1baa98d43595fc3e6/image/plone-foundation.png"
5
+ ],
6
+ "_data_files_": [
7
+ "plone_site_root/data.json",
8
+ "a720393b3c0240e5bd27c43fcd2cfd1e/data.json",
9
+ "a58ccead718140c1baa98d43595fc3e6/data.json"
10
+ ],
11
+ "default_page": {},
12
+ "local_roles": {
13
+ "a58ccead718140c1baa98d43595fc3e6": {
14
+ "local_roles": {
15
+ "admin": [
16
+ "Owner"
17
+ ]
18
+ }
19
+ },
20
+ "a720393b3c0240e5bd27c43fcd2cfd1e": {
21
+ "local_roles": {
22
+ "admin": [
23
+ "Owner"
24
+ ]
25
+ }
26
+ },
27
+ "plone_site_root": {
28
+ "local_roles": {
29
+ "admin": [
30
+ "Owner"
31
+ ]
32
+ }
33
+ }
34
+ },
35
+ "ordering": {
36
+ "a58ccead718140c1baa98d43595fc3e6": 0,
37
+ "a720393b3c0240e5bd27c43fcd2cfd1e": 42
38
+ },
39
+ "relations": []
40
+ }
@@ -0,0 +1,56 @@
1
+ {
2
+ "@id": "/images/plone-foundation.png",
3
+ "@type": "Image",
4
+ "UID": "a58ccead718140c1baa98d43595fc3e6",
5
+ "allow_discussion": false,
6
+ "contributors": [],
7
+ "created": "2024-05-27T03:23:37+00:00",
8
+ "creators": [
9
+ "admin"
10
+ ],
11
+ "description": "",
12
+ "effective": null,
13
+ "exclude_from_nav": false,
14
+ "expires": null,
15
+ "exportimport.constrains": {},
16
+ "exportimport.conversation": [],
17
+ "exportimport.versions": {},
18
+ "id": "plone-foundation.png",
19
+ "image": {
20
+ "blob_path": "a58ccead718140c1baa98d43595fc3e6/image/plone-foundation.png",
21
+ "content-type": "image/png",
22
+ "filename": "plone-foundation.png",
23
+ "height": 439,
24
+ "size": 50737,
25
+ "width": 2000
26
+ },
27
+ "is_folderish": false,
28
+ "language": "##DEFAULT##",
29
+ "layout": "image_view",
30
+ "lock": {},
31
+ "modified": "2024-05-27T03:24:00+00:00",
32
+ "parent": {
33
+ "@id": "/images",
34
+ "@type": "Document",
35
+ "Subject": [],
36
+ "UID": "a720393b3c0240e5bd27c43fcd2cfd1e",
37
+ "description": "Site images",
38
+ "effective": "1969-12-31T03:00:00+00:00",
39
+ "image_field": null,
40
+ "image_scales": {},
41
+ "review_state": "private",
42
+ "title": "Images",
43
+ "type_title": "Page"
44
+ },
45
+ "review_state": null,
46
+ "rights": "",
47
+ "subjects": [
48
+ "Plone"
49
+ ],
50
+ "title": "Plone Foundation Logo",
51
+ "type_title": "Image",
52
+ "version": "current",
53
+ "workflow_history": {},
54
+ "working_copy": null,
55
+ "working_copy_of": null
56
+ }
@@ -0,0 +1,98 @@
1
+ {
2
+ "@id": "/images",
3
+ "@type": "Document",
4
+ "UID": "a720393b3c0240e5bd27c43fcd2cfd1e",
5
+ "allow_discussion": false,
6
+ "blocks": {
7
+ "30f271c5-dadf-4f47-987f-6ce417922c6b": {
8
+ "@type": "title"
9
+ },
10
+ "ecfe183b-1d44-48f9-8eac-5de33884c7f5": {
11
+ "@type": "listing",
12
+ "headlineTag": "h2",
13
+ "querystring": {
14
+ "query": [
15
+ {
16
+ "i": "portal_type",
17
+ "o": "plone.app.querystring.operation.selection.any",
18
+ "v": [
19
+ "Image"
20
+ ]
21
+ },
22
+ {
23
+ "i": "path",
24
+ "o": "plone.app.querystring.operation.string.absolutePath",
25
+ "v": "/images"
26
+ }
27
+ ],
28
+ "sort_on": "getObjPositionInParent",
29
+ "sort_order": "ascending",
30
+ "sort_order_boolean": false
31
+ },
32
+ "variation": "imageGallery"
33
+ }
34
+ },
35
+ "blocks_layout": {
36
+ "items": [
37
+ "30f271c5-dadf-4f47-987f-6ce417922c6b",
38
+ "ecfe183b-1d44-48f9-8eac-5de33884c7f5"
39
+ ]
40
+ },
41
+ "contributors": [],
42
+ "created": "2024-05-27T03:23:26+00:00",
43
+ "creators": [
44
+ "admin"
45
+ ],
46
+ "description": "Site images",
47
+ "effective": null,
48
+ "exclude_from_nav": true,
49
+ "expires": null,
50
+ "exportimport.constrains": {},
51
+ "exportimport.conversation": [],
52
+ "exportimport.versions": {},
53
+ "id": "images",
54
+ "is_folderish": true,
55
+ "language": "##DEFAULT##",
56
+ "layout": "document_view",
57
+ "lock": {
58
+ "locked": false,
59
+ "stealable": true
60
+ },
61
+ "modified": "2024-05-27T03:26:27+00:00",
62
+ "parent": {
63
+ "@id": "/",
64
+ "@type": "Plone Site",
65
+ "UID": "plone_site_root",
66
+ "description": "",
67
+ "title": "Project Title",
68
+ "type_title": "Plone Site"
69
+ },
70
+ "preview_caption": null,
71
+ "preview_image": null,
72
+ "review_state": "published",
73
+ "rights": "",
74
+ "subjects": [],
75
+ "title": "Images",
76
+ "type_title": "Page",
77
+ "version": "current",
78
+ "workflow_history": {
79
+ "simple_publication_workflow": [
80
+ {
81
+ "action": null,
82
+ "actor": "admin",
83
+ "comments": "",
84
+ "review_state": "private",
85
+ "time": "2024-05-27T03:23:26+00:00"
86
+ },
87
+ {
88
+ "action": "publish",
89
+ "actor": "admin",
90
+ "comments": "",
91
+ "review_state": "published",
92
+ "time": "2024-05-27T03:50:30+00:00"
93
+ }
94
+ ]
95
+ },
96
+ "working_copy": null,
97
+ "working_copy_of": null
98
+ }