imio.smartweb.common 1.2.32__py3-none-any.whl → 1.2.33__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.
@@ -1,10 +1,15 @@
1
- <configure
2
- xmlns="http://namespaces.zope.org/zope">
1
+ <configure xmlns="http://namespaces.zope.org/zope">
3
2
 
4
- <include package="z3c.unconfigure" file="meta.zcml" />
3
+ <include
4
+ package="z3c.unconfigure"
5
+ file="meta.zcml"
6
+ />
5
7
  <include package="collective.taxonomy" />
6
8
  <include package="eea.facetednavigation" />
7
- <include package="eea.facetednavigation" file="meta.zcml" />
9
+ <include
10
+ package="eea.facetednavigation"
11
+ file="meta.zcml"
12
+ />
8
13
  <include package="plone.app.imagecropping" />
9
14
  <include package="imio.gdpr" />
10
15
  <include package="imio.smartweb.locales" />
@@ -21,10 +26,13 @@
21
26
  <include package=".browser" />
22
27
  <include package=".faceted" />
23
28
  <include package=".rest" />
29
+ <includeOverrides file="utility_overrides.zcml" />
30
+ <include package=".serializers" />
24
31
  <include package=".sharing" />
25
32
  <include package=".upgrades" />
26
33
  <include package=".viewlets" />
27
34
 
35
+
28
36
  <includeOverrides file="caching_overrides.zcml" />
29
37
 
30
38
  <!-- widgets -->
File without changes
@@ -0,0 +1,12 @@
1
+ <configure
2
+ xmlns="http://namespaces.zope.org/zope"
3
+ xmlns:zcml="http://namespaces.zope.org/zcml"
4
+ i18n_domain="imio.smartweb"
5
+ >
6
+
7
+ <utility
8
+ factory=".summary.JSONSummarySerializerMetadata"
9
+ name="imio.smartweb.common.summary_serializer_metadata"
10
+ />
11
+
12
+ </configure>
@@ -0,0 +1,11 @@
1
+ from plone.restapi.interfaces import IJSONSummarySerializerMetadata
2
+ from zope.interface import implementer
3
+
4
+
5
+ @implementer(IJSONSummarySerializerMetadata)
6
+ class JSONSummarySerializerMetadata:
7
+ def default_metadata_fields(self):
8
+ return {
9
+ "image_field",
10
+ "image_scales",
11
+ }
@@ -0,0 +1,19 @@
1
+ <configure
2
+ xmlns="http://namespaces.zope.org/zope"
3
+ xmlns:zcml="http://namespaces.zope.org/zcml"
4
+ i18n_domain="imio.smartweb"
5
+ >
6
+
7
+ <include
8
+ package="z3c.unconfigure"
9
+ file="meta.zcml"
10
+ />
11
+
12
+ <unconfigure>
13
+ <utility
14
+ factory="plone.volto.summary.JSONSummarySerializerMetadata"
15
+ name="plone.volto.summary_serializer_metadata"
16
+ />
17
+ </unconfigure>
18
+
19
+ </configure>
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: imio.smartweb.common
3
- Version: 1.2.32
3
+ Version: 1.2.33
4
4
  Summary: Common utilities, vocabularies, taxonomies for imio.smartweb & co products
5
5
  Home-page: https://github.com/imio/imio.smartweb.common
6
6
  Author: iMio
@@ -178,6 +178,14 @@ Changelog
178
178
  =========
179
179
 
180
180
 
181
+ 1.2.33 (2025-05-22)
182
+ -------------------
183
+
184
+ - WEB-4259 : Override plone.volto summary_serializer_metadata to solve a problem with new
185
+ metadata fields being added to the summary serializer and breaking our search endpoints
186
+ [bsuttor, remdub]
187
+
188
+
181
189
  1.2.32 (2025-05-19)
182
190
  -------------------
183
191
 
@@ -1,11 +1,11 @@
1
- imio.smartweb.common-1.2.32-py3.12-nspkg.pth,sha256=XZ3YhlzwpUCC8tXtelHRqxVxo3NWomIiMsUfUshrbeE,1011
1
+ imio.smartweb.common-1.2.33-py3.12-nspkg.pth,sha256=XZ3YhlzwpUCC8tXtelHRqxVxo3NWomIiMsUfUshrbeE,1011
2
2
  imio/smartweb/common/__init__.py,sha256=Na9XBfEQUMrm2c5jbqQgwWeg40ih0aXVG1vT8NeAjMQ,2709
3
3
  imio/smartweb/common/adapters.py,sha256=BjnzwhRhSYXziKUzmNTRBOXqDv4k8C8kfmwqZE7r1yU,1413
4
4
  imio/smartweb/common/adapters.zcml,sha256=VO3luZDtRL9FIIEghxPrqpx8paZF3m6MGEy-8kF1sOQ,437
5
5
  imio/smartweb/common/caching.py,sha256=aN7gX9rT63fnmUuZnx82Mbu3ghjJUeOiLvLEp9OiFm4,895
6
6
  imio/smartweb/common/caching_overrides.zcml,sha256=ysa5DgVGzO1Fp22d9Wg-vNyLlqfRR77WBV-7L6j0Hpo,526
7
7
  imio/smartweb/common/config.py,sha256=imgOo0_BBIbXGFNvBnhPReLOSY4JqIOH_QCAl0j0XGI,435
8
- imio/smartweb/common/configure.zcml,sha256=h0D6fBNURlPdrpDNTW_o_crZMsuXm8sqoMSZMv3ZUhk,1005
8
+ imio/smartweb/common/configure.zcml,sha256=Ypqlo27RCC_w48QaQ0xucQRDjIBs9VpdtoJSjionK6Y,1128
9
9
  imio/smartweb/common/contact_utils.py,sha256=Pr-Nhz9MRnfirZ7RbmF5JZw9fX4gWa0dWkvJlQBiDKY,11341
10
10
  imio/smartweb/common/indexers.py,sha256=TvvKglWI0JM5_jwetlpvqcjwkid_2PhaCZGKZV4sD34,1148
11
11
  imio/smartweb/common/indexers.zcml,sha256=End1fDod99sr0xw8PaakgeTAZYq-HLOGw3MNA8K_CTs,324
@@ -19,6 +19,7 @@ imio/smartweb/common/subscribers.py,sha256=pbPQJ1YrfPlYCfxLAJ5sOy_5OToAfs2egX68z
19
19
  imio/smartweb/common/subscribers.zcml,sha256=8v2lqNNVAHlrh2G3jtjVgr3Asrw8WJLS9jSX5U6juFg,971
20
20
  imio/smartweb/common/testing.py,sha256=GKlYMHJUSxZFVX0o_R_c_Au1VYlkd-GjykQqfONHv7I,1985
21
21
  imio/smartweb/common/testing.zcml,sha256=7N-ALtklyWeLSzZmlxN2Tp-aZe_3An--w_6BGl1991E,172
22
+ imio/smartweb/common/utility_overrides.zcml,sha256=Nn1q1FwQUyktB-EJM2qzPfsc-zUmHxX0Gj9OQTlYKQM,413
22
23
  imio/smartweb/common/utils.py,sha256=sSq72k41ELmlW5jc7JkRgKLXKQbbd68-87JtEDHmTCQ,7738
23
24
  imio/smartweb/common/vocabularies.py,sha256=QRIOWLOALzZDM92o1iUTWgDBBcrdd9BYz7miNjpYCDA,3835
24
25
  imio/smartweb/common/vocabularies.zcml,sha256=iFJer5q3wabBp_EZivPPVUqI1_9w5P_Ft1RGJB5Yqxs,940
@@ -78,6 +79,9 @@ imio/smartweb/common/rest/configure.zcml,sha256=8hQGCvo1EMGFe9cNUpGOcH7spKhUkglF
78
79
  imio/smartweb/common/rest/odwb.py,sha256=zRZxowUaE76xlW_blc92vRCzToUpnzw3O5mxFXaeScU,2249
79
80
  imio/smartweb/common/rest/search_filters.py,sha256=upZAZ6h50qiSXo0q22lUgNlcmX5elFtrIQs_jFBl1-s,3832
80
81
  imio/smartweb/common/rest/utils.py,sha256=9zc5ge_DmVuexxN09c3U6QAITAI1s2hc0m6eZuylSxM,1269
82
+ imio/smartweb/common/serializers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
83
+ imio/smartweb/common/serializers/configure.zcml,sha256=C_OdYNgi06mt4Sau-fTvYGAR24ZrlBVTSn5slbTFzlg,294
84
+ imio/smartweb/common/serializers/summary.py,sha256=kxr1qIf_6axIMR4kfki7yHKaM5oVdtQFgYyGBCWHQrI,312
81
85
  imio/smartweb/common/sharing/__init__.py,sha256=I_cdzTAnsdb8tEO2kg2lzRkeA7wIGPqHKzu7LBxDwtk,56
82
86
  imio/smartweb/common/sharing/configure.zcml,sha256=3i3gqKFXDb19fLcdCbwCDXiUF1UmOpORATfpvDw-Q0Y,255
83
87
  imio/smartweb/common/sharing/localroles.py,sha256=CFy2WcQz5M4hk0Mj8_Lr1lazJ4vu6ZEoOeHt4-sfYi0,509
@@ -142,10 +146,10 @@ imio/smartweb/common/viewlets/skip_to_content.py,sha256=wm22NUf8Qh5uzz8p4vkLCdFN
142
146
  imio/smartweb/common/widgets/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
143
147
  imio/smartweb/common/widgets/select.py,sha256=5sV0UIgwu4AvwpgVmJeSZwUWz7OPD9VxYMowfmjcfbA,1313
144
148
  imio/smartweb/common/widgets/templates/ajaxselect_display.pt,sha256=v8TT2Xc19er6SUGWabgNfIdrayFYIjxyLK9H_XkIG3M,1209
145
- imio_smartweb_common-1.2.32.dist-info/licenses/LICENSE.GPL,sha256=gXf5dRMhNSbfLPYYTY_5hsZ1r7UU1OaKQEAQUhuIBkM,18092
146
- imio_smartweb_common-1.2.32.dist-info/licenses/LICENSE.rst,sha256=5dd78Fdt0e-oM2ICBrMpjHnT8vEP-jhBDF7akXni6B4,655
147
- imio_smartweb_common-1.2.32.dist-info/METADATA,sha256=tBfxVibCNxxZfJR5roL6ZKoPDHTquJ9qmWkfg5CeoF8,17812
148
- imio_smartweb_common-1.2.32.dist-info/WHEEL,sha256=Nw36Djuh_5VDukK0H78QzOX-_FQEo6V37m3nkm96gtU,91
149
- imio_smartweb_common-1.2.32.dist-info/namespace_packages.txt,sha256=Pg8AH8t9viMMW1hJbNZvTy_n2jXG2igIYUpon5RA4Js,19
150
- imio_smartweb_common-1.2.32.dist-info/top_level.txt,sha256=ZktC0EGzThvMTAin9_q_41rzvvfMT2FYbP8pbhSLMSA,5
151
- imio_smartweb_common-1.2.32.dist-info/RECORD,,
149
+ imio_smartweb_common-1.2.33.dist-info/licenses/LICENSE.GPL,sha256=gXf5dRMhNSbfLPYYTY_5hsZ1r7UU1OaKQEAQUhuIBkM,18092
150
+ imio_smartweb_common-1.2.33.dist-info/licenses/LICENSE.rst,sha256=5dd78Fdt0e-oM2ICBrMpjHnT8vEP-jhBDF7akXni6B4,655
151
+ imio_smartweb_common-1.2.33.dist-info/METADATA,sha256=5Do-lxg8Tx55jiys55rdTFw-mxmPz7Dg2gV176gimmE,18055
152
+ imio_smartweb_common-1.2.33.dist-info/WHEEL,sha256=zaaOINJESkSfm_4HQVc5ssNzHCPXhJm0kEUakpsEHaU,91
153
+ imio_smartweb_common-1.2.33.dist-info/namespace_packages.txt,sha256=Pg8AH8t9viMMW1hJbNZvTy_n2jXG2igIYUpon5RA4Js,19
154
+ imio_smartweb_common-1.2.33.dist-info/top_level.txt,sha256=ZktC0EGzThvMTAin9_q_41rzvvfMT2FYbP8pbhSLMSA,5
155
+ imio_smartweb_common-1.2.33.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (80.7.1)
2
+ Generator: setuptools (80.8.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5