imio.smartweb.common 1.2.2__py3-none-any.whl → 1.2.3__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,6 +1,6 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <metadata>
3
- <version>1022</version>
3
+ <version>1024</version>
4
4
  <dependencies>
5
5
  <dependency>profile-plone.restapi:default</dependency>
6
6
  <dependency>profile-eea.facetednavigation:default</dependency>
@@ -11,9 +11,9 @@
11
11
  <element>paysage_affiche 750:448</element>
12
12
  <element>paysage_vignette 430:257</element>
13
13
  <element>paysage_liste 167:100</element>
14
- <element>portrait_affiche 750:1060</element>
15
- <element>portrait_vignette 430:608</element>
16
- <element>portrait_liste 222:296</element>
14
+ <element>portrait_affiche 448:633</element>
15
+ <element>portrait_vignette 448:633</element>
16
+ <element>portrait_liste 222:313</element>
17
17
  <element>large 768:768</element>
18
18
  <element>preview 400:400</element>
19
19
  <element>mini 200:200</element>
@@ -24,6 +24,12 @@
24
24
  </value>
25
25
  </record>
26
26
 
27
+ <record name="plone.quality"
28
+ interface="plone.base.interfaces.controlpanel.IImagingSchema"
29
+ field="quality">
30
+ <value>92</value>
31
+ </record>
32
+
27
33
  <records prefix="plone.bundles/smartweb-common-view"
28
34
  interface='Products.CMFPlone.interfaces.IBundleRegistry'>
29
35
  <value key="enabled">True</value>
@@ -92,6 +92,22 @@
92
92
  provides="Products.GenericSetup.interfaces.EXTENSION"
93
93
  />
94
94
 
95
+ <genericsetup:registerProfile
96
+ name="upgrade_1022_to_1023"
97
+ title="Upgrade common from 1022 to 1023"
98
+ directory="profiles/1022_to_1023"
99
+ description="Change portrait scales dimensions"
100
+ provides="Products.GenericSetup.interfaces.EXTENSION"
101
+ />
102
+
103
+ <genericsetup:registerProfile
104
+ name="upgrade_1023_to_1024"
105
+ title="Upgrade common from 1023 to 1024"
106
+ directory="profiles/1023_to_1024"
107
+ description="Improve image compression quality"
108
+ provides="Products.GenericSetup.interfaces.EXTENSION"
109
+ />
110
+
95
111
  <genericsetup:upgradeStep
96
112
  title="Configure first official release"
97
113
  description="Run needed registry step"
@@ -314,4 +330,24 @@
314
330
  profile="imio.smartweb.common:default"
315
331
  />
316
332
 
333
+ <genericsetup:upgradeSteps
334
+ source="1022"
335
+ destination="1023"
336
+ profile="imio.smartweb.common:default">
337
+ <genericsetup:upgradeDepends
338
+ title="Change portrait scales dimensions"
339
+ import_profile="imio.smartweb.common.upgrades:upgrade_1022_to_1023"
340
+ />
341
+ </genericsetup:upgradeSteps>
342
+
343
+ <genericsetup:upgradeSteps
344
+ source="1023"
345
+ destination="1024"
346
+ profile="imio.smartweb.common:default">
347
+ <genericsetup:upgradeDepends
348
+ title="Improve image compression quality"
349
+ import_profile="imio.smartweb.common.upgrades:upgrade_1023_to_1024"
350
+ />
351
+ </genericsetup:upgradeSteps>
352
+
317
353
  </configure>
@@ -0,0 +1,27 @@
1
+ <?xml version="1.0"?>
2
+ <registry
3
+ xmlns:i18n="http://xml.zope.org/namespaces/i18n"
4
+ i18n:domain="imio.smartweb">
5
+
6
+ <record name="plone.allowed_sizes"
7
+ interface="Products.CMFPlone.interfaces.controlpanel.IImagingSchema"
8
+ field="allowed_sizes">
9
+ <value purge="true">
10
+ <element>banner 1920:65536</element>
11
+ <element>paysage_affiche 750:448</element>
12
+ <element>paysage_vignette 430:257</element>
13
+ <element>paysage_liste 167:100</element>
14
+ <element>portrait_affiche 448:633</element>
15
+ <element>portrait_vignette 448:633</element>
16
+ <element>portrait_liste 222:313</element>
17
+ <element>large 768:768</element>
18
+ <element>preview 400:400</element>
19
+ <element>mini 200:200</element>
20
+ <element>thumb 128:128</element>
21
+ <element>tile 64:64</element>
22
+ <element>icon 32:32</element>
23
+ <element>listing 16:16</element>
24
+ </value>
25
+ </record>
26
+
27
+ </registry>
@@ -0,0 +1,12 @@
1
+ <?xml version="1.0"?>
2
+ <registry
3
+ xmlns:i18n="http://xml.zope.org/namespaces/i18n"
4
+ i18n:domain="imio.smartweb">
5
+
6
+ <record name="plone.quality"
7
+ interface="plone.base.interfaces.controlpanel.IImagingSchema"
8
+ field="quality">
9
+ <value>92</value>
10
+ </record>
11
+
12
+ </registry>
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: imio.smartweb.common
3
- Version: 1.2.2
3
+ Version: 1.2.3
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
@@ -158,6 +158,16 @@ Changelog
158
158
  =========
159
159
 
160
160
 
161
+ 1.2.3 (2023-11-21)
162
+ ------------------
163
+
164
+ - Improve image compression quality
165
+ [laulaz]
166
+
167
+ - Change portrait scales dimensions
168
+ [laulaz]
169
+
170
+
161
171
  1.2.2 (2023-11-20)
162
172
  ------------------
163
173
 
@@ -1,4 +1,4 @@
1
- imio.smartweb.common-1.2.2-py3.10-nspkg.pth,sha256=wnCUSUElqssZ5FI3x-9HqwD229HQ-bAuPoDUNJHmMtU,1684
1
+ imio.smartweb.common-1.2.3-py3.10-nspkg.pth,sha256=wnCUSUElqssZ5FI3x-9HqwD229HQ-bAuPoDUNJHmMtU,1684
2
2
  imio/smartweb/common/__init__.py,sha256=Na9XBfEQUMrm2c5jbqQgwWeg40ih0aXVG1vT8NeAjMQ,2709
3
3
  imio/smartweb/common/adapters.py,sha256=rLlObjqZm3hs2hgUT-LmJytwhT-E1rTvbpIi0mmKQqY,610
4
4
  imio/smartweb/common/adapters.zcml,sha256=ndYNj0J_BFfVpX_7JhY2asSwLzXG-WmjLdfwL9hX_No,254
@@ -56,8 +56,8 @@ imio/smartweb/common/faceted/widget.py,sha256=EMvFyEcS9t6lJAgz4zIkUnGAPd1fQcrv4A
56
56
  imio/smartweb/common/profiles/default/actions.xml,sha256=q5ajChGAPlPtpN_H80voDgg4C8Z-yDcIghUJIgFYtRg,1193
57
57
  imio/smartweb/common/profiles/default/browserlayer.xml,sha256=Up2dVOgFtzE43eLMNJY1xXvdUbQRSEpNxnySqSncFqQ,185
58
58
  imio/smartweb/common/profiles/default/catalog.xml,sha256=hB2Cu64TPp29EKICqbfixwa3AFmrDJVC784KeKTMX90,576
59
- imio/smartweb/common/profiles/default/metadata.xml,sha256=CUU8Uh27jIfHE44sWIe8xAloR7KY3fgANSbOe5tOdMQ,432
60
- imio/smartweb/common/profiles/default/registry.xml,sha256=yovLFpPg7uPLNV7gX1mQeaMlS9_9gn7dyjrm83ZNwbY,46326
59
+ imio/smartweb/common/profiles/default/metadata.xml,sha256=SAegM9mmtzHQTPgJ3Oxcshn2ckXuGf6BjbHQHAZd270,432
60
+ imio/smartweb/common/profiles/default/registry.xml,sha256=esbO7SyTIDc6J_XEU06qJCmcehrbfn9b-AjYzqMh-u0,46490
61
61
  imio/smartweb/common/profiles/default/rolemap.xml,sha256=XCdOazRleiwTAAZt3lzTsOw3ZtIwoPDqA8s4zXACvkc,1595
62
62
  imio/smartweb/common/profiles/testing/metadata.xml,sha256=ON6nogAJQsiCX-mEQ5ewJNpdGEwCLcnzN0kTZz1QuOQ,163
63
63
  imio/smartweb/common/profiles/testing/registry.xml,sha256=16XBjji4mDj91RF_feFJp9LOvGTuQ8x_4_D4zOqC5IY,870
@@ -94,7 +94,7 @@ imio/smartweb/common/tests/resources/image_1400x800.png,sha256=Iy3bWGH4NBlgYC5Bo
94
94
  imio/smartweb/common/tests/resources/image_1800x700.png,sha256=aQcMisSFQO78c6QX4mO7qIfDb9SDRmfzTuPjxMJ_0HM,32643
95
95
  imio/smartweb/common/tests/robot/test_example.robot,sha256=3ClbWps1Pfr6-RHT4FmmzGWGmtJrNnDW53bJGP69Nz4,2011
96
96
  imio/smartweb/common/upgrades/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
97
- imio/smartweb/common/upgrades/configure.zcml,sha256=T-h9Y0Pj02HCqnumNiBirMheu0i-TGG1pRhnlbj2s5E,10533
97
+ imio/smartweb/common/upgrades/configure.zcml,sha256=0LNvFxN_uwQQmyjxjsvdb-hxZ4_2mE6SolQVwVqr6Xk,11731
98
98
  imio/smartweb/common/upgrades/upgrades.py,sha256=8yGtKeVOdN4wEJXO_BDOGIRgMl9SwE-4EgX8bfEL3bw,4786
99
99
  imio/smartweb/common/upgrades/profiles/1007_to_1008/rolemap.xml,sha256=dKUuBq-2pO4dGtHshBisISSTBP8aWfbwTGHj_pJvY5A,1346
100
100
  imio/smartweb/common/upgrades/profiles/1008_to_1009/actions.xml,sha256=D41gp1PDVINobhCM8L11IMXABYatjmoUuW-EQkPT804,721
@@ -109,16 +109,18 @@ imio/smartweb/common/upgrades/profiles/1015_to_1016/registry/patched-faceted-jqu
109
109
  imio/smartweb/common/upgrades/profiles/1016_to_1017/registry/scales.xml,sha256=XsXRnx2r6Rx3i2Nj3SW5mMEvGJHrCJbpu_AIC4MshjM,890
110
110
  imio/smartweb/common/upgrades/profiles/1017_to_1018/registry.xml,sha256=-i6IjBYDNlOoilKAWPYKm8-IPh0Qnv0PMuq7TGbp0ic,453
111
111
  imio/smartweb/common/upgrades/profiles/1018_to_1019/registry/scales.xml,sha256=-Cn3vGSjKsm1F8q-xLxE_h5b8dQRzpC7SG0RwmfUrvM,938
112
+ imio/smartweb/common/upgrades/profiles/1022_to_1023/registry/scales.xml,sha256=s72eNsgNTG425aVfYs8TYK0aljdaHWfAsChtWfapmIY,937
113
+ imio/smartweb/common/upgrades/profiles/1023_to_1024/registry/scales.xml,sha256=eYh_fD4gQ6AcjUNE-W9WRZ0OreKX0_LEN-vyOV8V8wc,296
112
114
  imio/smartweb/common/viewlets/__init__.py,sha256=iwhKnzeBJLKxpRVjvzwiRE63_zNpIBfaKLITauVph-0,24
113
115
  imio/smartweb/common/viewlets/analytics.pt,sha256=J6e8fWmusLWMKXg3cJbNYV0LPS9ONz2yJ921vMvrrzE,33
114
116
  imio/smartweb/common/viewlets/colophon.pt,sha256=qaEUV2N5aZpAEcztLzK_R2eINBod1AByWxi11B1HYa0,1278
115
117
  imio/smartweb/common/viewlets/colophon.py,sha256=Rt3ZPj2F0kcVG-vhl8JIyAHlVVJ8pktUn_zwYYD96Cs,586
116
118
  imio/smartweb/common/viewlets/configure.zcml,sha256=yW5jJKe-h5cKSmMK70f_0xB0TTtzRAdrj_fKkAUch64,1436
117
119
  imio/smartweb/common/viewlets/privacy.pt,sha256=0Wm0PmWtVbVYVjjzxfEMdeo_pTlkmxfbozFpMUZUQoI,1214
118
- imio.smartweb.common-1.2.2.dist-info/LICENSE.GPL,sha256=gXf5dRMhNSbfLPYYTY_5hsZ1r7UU1OaKQEAQUhuIBkM,18092
119
- imio.smartweb.common-1.2.2.dist-info/LICENSE.rst,sha256=5dd78Fdt0e-oM2ICBrMpjHnT8vEP-jhBDF7akXni6B4,655
120
- imio.smartweb.common-1.2.2.dist-info/METADATA,sha256=Qe8pnz17bfe_tPs3wFUSa7bpYlPX9DcTIIJO_2XCREs,12357
121
- imio.smartweb.common-1.2.2.dist-info/WHEEL,sha256=pkctZYzUS4AYVn6dJ-7367OJZivF2e8RA9b_ZBjif18,92
122
- imio.smartweb.common-1.2.2.dist-info/namespace_packages.txt,sha256=Pg8AH8t9viMMW1hJbNZvTy_n2jXG2igIYUpon5RA4Js,19
123
- imio.smartweb.common-1.2.2.dist-info/top_level.txt,sha256=ZktC0EGzThvMTAin9_q_41rzvvfMT2FYbP8pbhSLMSA,5
124
- imio.smartweb.common-1.2.2.dist-info/RECORD,,
120
+ imio.smartweb.common-1.2.3.dist-info/LICENSE.GPL,sha256=gXf5dRMhNSbfLPYYTY_5hsZ1r7UU1OaKQEAQUhuIBkM,18092
121
+ imio.smartweb.common-1.2.3.dist-info/LICENSE.rst,sha256=5dd78Fdt0e-oM2ICBrMpjHnT8vEP-jhBDF7akXni6B4,655
122
+ imio.smartweb.common-1.2.3.dist-info/METADATA,sha256=v-OvgbvmZkSnl-nHxWjIfQh8S126Bkc0d_xwrR2pfFU,12493
123
+ imio.smartweb.common-1.2.3.dist-info/WHEEL,sha256=pkctZYzUS4AYVn6dJ-7367OJZivF2e8RA9b_ZBjif18,92
124
+ imio.smartweb.common-1.2.3.dist-info/namespace_packages.txt,sha256=Pg8AH8t9viMMW1hJbNZvTy_n2jXG2igIYUpon5RA4Js,19
125
+ imio.smartweb.common-1.2.3.dist-info/top_level.txt,sha256=ZktC0EGzThvMTAin9_q_41rzvvfMT2FYbP8pbhSLMSA,5
126
+ imio.smartweb.common-1.2.3.dist-info/RECORD,,