imio.smartweb.core 1.2.86__py3-none-any.whl → 1.2.87__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.
- imio/smartweb/core/contents/sections/events/view.py +0 -1
- imio/smartweb/core/contents/sections/macros.pt +6 -6
- imio/smartweb/core/contents/sections/news/view.py +0 -1
- imio/smartweb/core/tests/test_section_contact.py +4 -4
- imio/smartweb/core/tests/test_section_external_content.py +0 -2
- imio/smartweb/core/tests/test_section_gallery.py +0 -2
- {imio.smartweb.core-1.2.86.dist-info → imio.smartweb.core-1.2.87.dist-info}/METADATA +9 -14
- {imio.smartweb.core-1.2.86.dist-info → imio.smartweb.core-1.2.87.dist-info}/RECORD +14 -14
- {imio.smartweb.core-1.2.86.dist-info → imio.smartweb.core-1.2.87.dist-info}/WHEEL +1 -1
- /imio.smartweb.core-1.2.86-py3.12-nspkg.pth → /imio.smartweb.core-1.2.87-py3.12-nspkg.pth +0 -0
- {imio.smartweb.core-1.2.86.dist-info → imio.smartweb.core-1.2.87.dist-info}/LICENSE.GPL +0 -0
- {imio.smartweb.core-1.2.86.dist-info → imio.smartweb.core-1.2.87.dist-info}/LICENSE.rst +0 -0
- {imio.smartweb.core-1.2.86.dist-info → imio.smartweb.core-1.2.87.dist-info}/namespace_packages.txt +0 -0
- {imio.smartweb.core-1.2.86.dist-info → imio.smartweb.core-1.2.87.dist-info}/top_level.txt +0 -0
@@ -2,7 +2,6 @@
|
|
2
2
|
|
3
3
|
from datetime import date
|
4
4
|
from dateutil.parser import parse
|
5
|
-
from DateTime import DateTime
|
6
5
|
from imio.smartweb.common.utils import translate_vocabulary_term
|
7
6
|
from imio.smartweb.core.config import EVENTS_URL
|
8
7
|
from imio.smartweb.core.contents.sections.views import CarouselOrTableSectionView
|
@@ -79,6 +79,12 @@
|
|
79
79
|
uid string:${context/UID}"
|
80
80
|
tal:content="string:${view/get_section_size}"></a>
|
81
81
|
|
82
|
+
<tal:if tal:condition="python:context.portal_type in ['imio.smartweb.SectionNews', 'imio.smartweb.SectionEvents']">
|
83
|
+
<span class="glyphicon-repeat glyphicon"></span>
|
84
|
+
<a tal:attributes="href string:${context/absolute_url}/refresh_modification_date"
|
85
|
+
i18n:translate="">Hard refresh</a>
|
86
|
+
</tal:if>
|
87
|
+
|
82
88
|
<tal:dates define="modified context/ModificationDate">
|
83
89
|
<span class="documentModified"
|
84
90
|
tal:condition="modified">
|
@@ -98,12 +104,6 @@
|
|
98
104
|
</span>
|
99
105
|
</tal:dates>
|
100
106
|
|
101
|
-
<tal:if tal:condition="python:context.portal_type in ['imio.smartweb.SectionNews', 'imio.smartweb.SectionEvents']">
|
102
|
-
<span class="glyphicon-repeat glyphicon"></span>
|
103
|
-
<a tal:attributes="href string:${context/absolute_url}/refresh_modification_date"
|
104
|
-
i18n:translate="">Refresh section</a>
|
105
|
-
</tal:if>
|
106
|
-
|
107
107
|
</div>
|
108
108
|
</div>
|
109
109
|
|
@@ -618,7 +618,7 @@ class TestSectionContact(ImioSmartwebTestCase):
|
|
618
618
|
)
|
619
619
|
)
|
620
620
|
m.get(contact_search_url, text=json.dumps(self.json_contact))
|
621
|
-
contact_view = queryMultiAdapter((contact, self.request), name="view")
|
621
|
+
# contact_view = queryMultiAdapter((contact, self.request), name="view")
|
622
622
|
view = queryMultiAdapter((self.page, self.request), name="full_view")
|
623
623
|
self.assertNotIn('Error in section : "My contact"', view())
|
624
624
|
self.assertNotIn("contact_informations_social", view())
|
@@ -627,7 +627,7 @@ class TestSectionContact(ImioSmartwebTestCase):
|
|
627
627
|
sleep(1)
|
628
628
|
m.get(contact_search_url, text=json.dumps(self.json_contact))
|
629
629
|
clear_cache(self.request)
|
630
|
-
contact_view = queryMultiAdapter((contact, self.request), name="view")
|
630
|
+
# contact_view = queryMultiAdapter((contact, self.request), name="view")
|
631
631
|
view = queryMultiAdapter((self.page, self.request), name="full_view")
|
632
632
|
self.assertNotIn('Error in section : "My contact"', view())
|
633
633
|
self.assertNotIn("contact_informations_social", view())
|
@@ -641,7 +641,7 @@ class TestSectionContact(ImioSmartwebTestCase):
|
|
641
641
|
sleep(1)
|
642
642
|
m.get(contact_search_url, text=json.dumps(self.json_contact))
|
643
643
|
clear_cache(self.request)
|
644
|
-
contact_view = queryMultiAdapter((contact, self.request), name="view")
|
644
|
+
# contact_view = queryMultiAdapter((contact, self.request), name="view")
|
645
645
|
view = queryMultiAdapter((self.page, self.request), name="full_view")
|
646
646
|
self.assertNotIn('Error in section : "My contact"', view())
|
647
647
|
self.assertNotIn("contact_informations_social", view())
|
@@ -655,7 +655,7 @@ class TestSectionContact(ImioSmartwebTestCase):
|
|
655
655
|
sleep(1)
|
656
656
|
m.get(contact_search_url, text=json.dumps(self.json_contact))
|
657
657
|
clear_cache(self.request)
|
658
|
-
contact_view = queryMultiAdapter((contact, self.request), name="view")
|
658
|
+
# contact_view = queryMultiAdapter((contact, self.request), name="view")
|
659
659
|
view = queryMultiAdapter((self.page, self.request), name="full_view")
|
660
660
|
self.assertNotIn('Error in section : "My contact"', view())
|
661
661
|
self.assertIn("contact_informations_social", view())
|
@@ -7,8 +7,6 @@ from plone import api
|
|
7
7
|
from plone.app.testing import setRoles
|
8
8
|
from plone.app.testing import TEST_USER_ID
|
9
9
|
from zope.component import queryMultiAdapter
|
10
|
-
from zope.interface import alsoProvides
|
11
|
-
from zope.interface import noLongerProvides
|
12
10
|
|
13
11
|
|
14
12
|
class TestSectionExternalContent(ImioSmartwebTestCase):
|
@@ -4,8 +4,6 @@ from imio.smartweb.core.testing import IMIO_SMARTWEB_CORE_INTEGRATION_TESTING
|
|
4
4
|
from imio.smartweb.core.testing import ImioSmartwebTestCase
|
5
5
|
from imio.smartweb.core.tests.utils import make_named_image
|
6
6
|
from plone import api
|
7
|
-
from plone.app.testing import login
|
8
|
-
from plone.app.testing import logout
|
9
7
|
from plone.app.testing import setRoles
|
10
8
|
from plone.app.testing import TEST_USER_ID
|
11
9
|
from plone.namedfile.file import NamedBlobImage
|
@@ -1,6 +1,6 @@
|
|
1
|
-
Metadata-Version: 2.
|
1
|
+
Metadata-Version: 2.1
|
2
2
|
Name: imio.smartweb.core
|
3
|
-
Version: 1.2.
|
3
|
+
Version: 1.2.87
|
4
4
|
Summary: Core product for iMio websites
|
5
5
|
Home-page: https://github.com/imio/imio.smartweb.core
|
6
6
|
Author: Christophe Boulanger
|
@@ -57,18 +57,6 @@ Requires-Dist: plone.restapi[test]; extra == "test"
|
|
57
57
|
Requires-Dist: requests-mock; extra == "test"
|
58
58
|
Requires-Dist: beautifulsoup4; extra == "test"
|
59
59
|
Requires-Dist: freezegun; extra == "test"
|
60
|
-
Dynamic: author
|
61
|
-
Dynamic: author-email
|
62
|
-
Dynamic: classifier
|
63
|
-
Dynamic: description
|
64
|
-
Dynamic: home-page
|
65
|
-
Dynamic: keywords
|
66
|
-
Dynamic: license
|
67
|
-
Dynamic: project-url
|
68
|
-
Dynamic: provides-extra
|
69
|
-
Dynamic: requires-dist
|
70
|
-
Dynamic: requires-python
|
71
|
-
Dynamic: summary
|
72
60
|
|
73
61
|
.. This README is meant for consumption by humans and pypi. Pypi can render rst files so please do not use Sphinx features.
|
74
62
|
If you want to learn more about writing documentation, please check out: http://docs.plone.org/about/documentation_styleguide.html
|
@@ -203,6 +191,13 @@ Changelog
|
|
203
191
|
=========
|
204
192
|
|
205
193
|
|
194
|
+
1.2.87 (2025-02-12)
|
195
|
+
-------------------
|
196
|
+
|
197
|
+
- WEB-4153 : Move and rename the refresh_modification_date action
|
198
|
+
[remdub]
|
199
|
+
|
200
|
+
|
206
201
|
1.2.86 (2025-02-10)
|
207
202
|
-------------------
|
208
203
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
imio.smartweb.core-1.2.
|
1
|
+
imio.smartweb.core-1.2.87-py3.12-nspkg.pth,sha256=XZ3YhlzwpUCC8tXtelHRqxVxo3NWomIiMsUfUshrbeE,1011
|
2
2
|
imio/smartweb/core/__init__.py,sha256=iwhKnzeBJLKxpRVjvzwiRE63_zNpIBfaKLITauVph-0,24
|
3
3
|
imio/smartweb/core/config.py,sha256=BUgfvh4hCaw0onCYAG4gQI1O4hZ-GzXWEltdHi4YLIs,337
|
4
4
|
imio/smartweb/core/configure.zcml,sha256=PeC4rF--rF6MfVQ0NzggQrZWIl35oPtJdEhvQwGxhhI,1459
|
@@ -239,7 +239,7 @@ imio/smartweb/core/contents/rest/search/endpoint.py,sha256=i5LMM0R1Xvpy76JHO6pI9
|
|
239
239
|
imio/smartweb/core/contents/sections/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
240
240
|
imio/smartweb/core/contents/sections/base.py,sha256=2e3lIG_RGGFAshBEkTNG97OReAnn9GLQk_O_Eqh7SRY,2486
|
241
241
|
imio/smartweb/core/contents/sections/configure.zcml,sha256=ApBAc2UyCmttliYs4BAC_ovaZXW4vz78LBPUaSGkpEk,3379
|
242
|
-
imio/smartweb/core/contents/sections/macros.pt,sha256=
|
242
|
+
imio/smartweb/core/contents/sections/macros.pt,sha256=7viDONQ050hC4sUynjtNKbvDCGLA3hKcitnq9Lv75OI,5920
|
243
243
|
imio/smartweb/core/contents/sections/subscriber.py,sha256=WM7nEZVPOkmyT1GfkWGDWwLhuhUYaTnlBr6BJVqUJMk,642
|
244
244
|
imio/smartweb/core/contents/sections/views.py,sha256=0KA81s4rDfxTbT-CrxOv01uZ0dv2BDYeejjAvh7BIL8,6378
|
245
245
|
imio/smartweb/core/contents/sections/collection/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -260,7 +260,7 @@ imio/smartweb/core/contents/sections/events/__init__.py,sha256=47DEQpj8HBSa-_TIm
|
|
260
260
|
imio/smartweb/core/contents/sections/events/configure.zcml,sha256=FCDIf6w-2qCPqq0QUodw8-xyAopq7l6O8zoU_uMHNwg,1117
|
261
261
|
imio/smartweb/core/contents/sections/events/content.py,sha256=aolTpBgOCKu4EHLQUFjOkFN7YpJId0Wpj_iH5AZ9Vvk,3246
|
262
262
|
imio/smartweb/core/contents/sections/events/macros.pt,sha256=llSq-xstFiOXctseKDwvhVCM7A1_Z1Jq-_cUgNiBe10,1522
|
263
|
-
imio/smartweb/core/contents/sections/events/view.py,sha256=
|
263
|
+
imio/smartweb/core/contents/sections/events/view.py,sha256=L9GFxQa5BDYA4coXdz1BIaOQil8ZCfv1wF6wOxmMcR4,4744
|
264
264
|
imio/smartweb/core/contents/sections/external_content/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
265
265
|
imio/smartweb/core/contents/sections/external_content/configure.zcml,sha256=6ZvD4hJiXMZM2-mz9D7ipZcphS5HKJFREG9XUzF_6ms,1651
|
266
266
|
imio/smartweb/core/contents/sections/external_content/content.py,sha256=apHtfPwxkHkLQJVFVXs4F8O0gE09uI49AFQ8xRFrXgo,1096
|
@@ -295,7 +295,7 @@ imio/smartweb/core/contents/sections/map/views.py,sha256=3Z5oFis2NIByJCHh8bjAlLu
|
|
295
295
|
imio/smartweb/core/contents/sections/news/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
296
296
|
imio/smartweb/core/contents/sections/news/configure.zcml,sha256=8MOIEeI7Zr_wbNVgiMa_21Ohgv_bkpEi_7gJu6NK380,880
|
297
297
|
imio/smartweb/core/contents/sections/news/content.py,sha256=A79d6gfxiqrrL87VPqFz13NYAfTjHbSFNZlpi1kixzE,3261
|
298
|
-
imio/smartweb/core/contents/sections/news/view.py,sha256=
|
298
|
+
imio/smartweb/core/contents/sections/news/view.py,sha256=f-eVoGwqGw2N06ClHgEzqvCnHIoei_rFg_FzuadnbXs,4371
|
299
299
|
imio/smartweb/core/contents/sections/postit/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
300
300
|
imio/smartweb/core/contents/sections/postit/configure.zcml,sha256=Q0Szs1pmrNP2OiRROpeSQPKLV3tCpyjqZa9vwNFTK9Q,504
|
301
301
|
imio/smartweb/core/contents/sections/postit/content.py,sha256=--bqQPsjpKuqMzOb21eOERjp2a2QehGTAsBvZ3FnQMA,2239
|
@@ -425,10 +425,10 @@ imio/smartweb/core/tests/test_redirect_to_main_react_view.py,sha256=3Pa_4BAmyz67
|
|
425
425
|
imio/smartweb/core/tests/test_rest.py,sha256=t7dp7YWUCKR75tsU3vVOzAy9HivGBWuMJoeMpuKOXbM,27374
|
426
426
|
imio/smartweb/core/tests/test_robot.py,sha256=NQ7AkN4tEva3bgGjMxmyqY0zIo4pJPnPOwnD9hmrTVI,926
|
427
427
|
imio/smartweb/core/tests/test_search.py,sha256=VryeRI4_5CvnStKOoNoG95M2WTy7Lyy_AhHIDG40M14,2182
|
428
|
-
imio/smartweb/core/tests/test_section_contact.py,sha256=
|
428
|
+
imio/smartweb/core/tests/test_section_contact.py,sha256=aJUwOaP9OEpgGKXlQ6xIrP-3gHAeujF0Bnt8xw1llm8,27352
|
429
429
|
imio/smartweb/core/tests/test_section_events.py,sha256=7eP-HmXp0D3gvOrjVpzVPmV9nF_PKERnmOGz1G3Z0l0,8641
|
430
|
-
imio/smartweb/core/tests/test_section_external_content.py,sha256=
|
431
|
-
imio/smartweb/core/tests/test_section_gallery.py,sha256=
|
430
|
+
imio/smartweb/core/tests/test_section_external_content.py,sha256=OW89j-ZGHT1wSAul1HlwUTjImUhQddQlKxfvzcyLwW4,7533
|
431
|
+
imio/smartweb/core/tests/test_section_gallery.py,sha256=osXo6wT96JOxA_FBvK93s-Z9R-ndOabiSeSbCZzpTmI,2614
|
432
432
|
imio/smartweb/core/tests/test_section_news.py,sha256=6S7-r6ZnpeN_JdLYLZMWbHKRzeuf5ynPWnox2DDFPZk,9126
|
433
433
|
imio/smartweb/core/tests/test_section_sendinblue.py,sha256=UmmKo33T9feelumxqeejM4HG4oLRPKJkbB8hkLO144E,2661
|
434
434
|
imio/smartweb/core/tests/test_sections.py,sha256=zOILZHSXOw7vk-6QaibjIrbbfOAeDRk1iSgYI47TGgU,25249
|
@@ -758,10 +758,10 @@ imio/smartweb/core/webcomponents/src/utils/Map.jsx,sha256=cYuZykMIaLjr4KiLvmS4aY
|
|
758
758
|
imio/smartweb/core/webcomponents/src/utils/Map.scss,sha256=xXWz0O-JBwSZrzz2XeQdN4nZEOjppU2sVFtlLQOitQ8,77
|
759
759
|
imio/smartweb/core/webcomponents/src/utils/translation.js,sha256=5YDHwdaRNWFWOgyNd7YejoAdcDvnvAENo3Xn0GDT8P8,8941
|
760
760
|
imio/smartweb/core/webcomponents/src/utils/url.js,sha256=iyl_1QXfPBgUn0LEbZYT_zMEEjmj5DMiEz44Z6AKLcg,244
|
761
|
-
imio.smartweb.core-1.2.
|
762
|
-
imio.smartweb.core-1.2.
|
763
|
-
imio.smartweb.core-1.2.
|
764
|
-
imio.smartweb.core-1.2.
|
765
|
-
imio.smartweb.core-1.2.
|
766
|
-
imio.smartweb.core-1.2.
|
767
|
-
imio.smartweb.core-1.2.
|
761
|
+
imio.smartweb.core-1.2.87.dist-info/LICENSE.GPL,sha256=gXf5dRMhNSbfLPYYTY_5hsZ1r7UU1OaKQEAQUhuIBkM,18092
|
762
|
+
imio.smartweb.core-1.2.87.dist-info/LICENSE.rst,sha256=RzkMFz6AX3-cHd531zd2YQcXai8RIbjFWTs6m66Y5u4,653
|
763
|
+
imio.smartweb.core-1.2.87.dist-info/METADATA,sha256=D1IS_qsSKi8a9_4BfZfieTbRs_aYHYWOBtzHLfkGky8,60448
|
764
|
+
imio.smartweb.core-1.2.87.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
765
|
+
imio.smartweb.core-1.2.87.dist-info/namespace_packages.txt,sha256=Pg8AH8t9viMMW1hJbNZvTy_n2jXG2igIYUpon5RA4Js,19
|
766
|
+
imio.smartweb.core-1.2.87.dist-info/top_level.txt,sha256=ZktC0EGzThvMTAin9_q_41rzvvfMT2FYbP8pbhSLMSA,5
|
767
|
+
imio.smartweb.core-1.2.87.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
{imio.smartweb.core-1.2.86.dist-info → imio.smartweb.core-1.2.87.dist-info}/namespace_packages.txt
RENAMED
File without changes
|
File without changes
|