imio.smartweb.core 1.2.56__py3-none-any.whl → 1.2.58__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/rest/authentic_sources.py +2 -0
- imio/smartweb/core/viewlets/ogptags.py +1 -9
- {imio.smartweb.core-1.2.56.dist-info → imio.smartweb.core-1.2.58.dist-info}/METADATA +15 -1
- {imio.smartweb.core-1.2.56.dist-info → imio.smartweb.core-1.2.58.dist-info}/RECORD +10 -10
- /imio.smartweb.core-1.2.56-py3.10-nspkg.pth → /imio.smartweb.core-1.2.58-py3.10-nspkg.pth +0 -0
- {imio.smartweb.core-1.2.56.dist-info → imio.smartweb.core-1.2.58.dist-info}/LICENSE.GPL +0 -0
- {imio.smartweb.core-1.2.56.dist-info → imio.smartweb.core-1.2.58.dist-info}/LICENSE.rst +0 -0
- {imio.smartweb.core-1.2.56.dist-info → imio.smartweb.core-1.2.58.dist-info}/WHEEL +0 -0
- {imio.smartweb.core-1.2.56.dist-info → imio.smartweb.core-1.2.58.dist-info}/namespace_packages.txt +0 -0
- {imio.smartweb.core-1.2.56.dist-info → imio.smartweb.core-1.2.58.dist-info}/top_level.txt +0 -0
@@ -25,6 +25,8 @@ class BaseRequestForwarder(Service):
|
|
25
25
|
def reply(self):
|
26
26
|
alsoProvides(self.request, IDisableCSRFProtection)
|
27
27
|
url = "/".join(self.traversal_stack)
|
28
|
+
if self.request_type == "events":
|
29
|
+
url = url.replace("@search", "@events")
|
28
30
|
auth_source_url = f"{self.base_url}/{url}"
|
29
31
|
response = self.forward_request(auth_source_url)
|
30
32
|
response = self.add_smartweb_urls(response)
|
@@ -64,15 +64,7 @@ class OgpTagsViewlet(HeaderViewlet):
|
|
64
64
|
client_id = os.environ.get("RESTAPI_DIRECTORY_CLIENT_ID")
|
65
65
|
client_secret = os.environ.get("RESTAPI_DIRECTORY_CLIENT_SECRET")
|
66
66
|
elif IEventsView.providedBy(self.context):
|
67
|
-
params = "
|
68
|
-
metadata_fields=local_category&
|
69
|
-
metadata_fields=container_uid&
|
70
|
-
metadata_fields=topics&
|
71
|
-
metadata_fields=start&
|
72
|
-
metadata_fields=end&
|
73
|
-
metadata_fields=has_leadimage&
|
74
|
-
metadata_fields=UID&
|
75
|
-
fullobjects=1"""
|
67
|
+
params = "metadata_fields=category&metadata_fields=local_category&metadata_fields=container_uid&metadata_fields=topics&metadata_fields=start&metadata_fields=end&metadata_fields=has_leadimage&metadata_fields=UID&fullobjects=1"
|
76
68
|
auth_source_url = EVENTS_URL
|
77
69
|
endpoint = "@events"
|
78
70
|
client_id = os.environ.get("RESTAPI_EVENTS_CLIENT_ID")
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: imio.smartweb.core
|
3
|
-
Version: 1.2.
|
3
|
+
Version: 1.2.58
|
4
4
|
Summary: Core product for iMio websites
|
5
5
|
Home-page: https://github.com/imio/imio.smartweb.core
|
6
6
|
Author: Christophe Boulanger
|
@@ -191,6 +191,20 @@ Changelog
|
|
191
191
|
=========
|
192
192
|
|
193
193
|
|
194
|
+
1.2.58 (2024-06-26)
|
195
|
+
-------------------
|
196
|
+
|
197
|
+
- WEB-4116 : Fix error 500 when forward request from e-guichet (got an unexpected keyword argument 'include_items')
|
198
|
+
[boulch]
|
199
|
+
|
200
|
+
|
201
|
+
1.2.57 (2024-06-26)
|
202
|
+
-------------------
|
203
|
+
|
204
|
+
- WEB-4121 : Correct bad format
|
205
|
+
[boulch]
|
206
|
+
|
207
|
+
|
194
208
|
1.2.56 (2024-06-25)
|
195
209
|
-------------------
|
196
210
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
imio.smartweb.core-1.2.
|
1
|
+
imio.smartweb.core-1.2.58-py3.10-nspkg.pth,sha256=wnCUSUElqssZ5FI3x-9HqwD229HQ-bAuPoDUNJHmMtU,1684
|
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
|
@@ -375,7 +375,7 @@ imio/smartweb/core/profiles/testing/types/imio.smartweb.NewsView.xml,sha256=6Rpf
|
|
375
375
|
imio/smartweb/core/profiles/uninstall/browserlayer.xml,sha256=K8KnZFW9E6Hwi61Z6XZlXOjUpAKzJR6HjmjoOjFEWrk,128
|
376
376
|
imio/smartweb/core/profiles/validation/contentrules.xml,sha256=QyX3E0ihDOMhaJPrKPRqRiCUvPoghs3fwYOj_eNtbqw,4626
|
377
377
|
imio/smartweb/core/rest/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
378
|
-
imio/smartweb/core/rest/authentic_sources.py,sha256=
|
378
|
+
imio/smartweb/core/rest/authentic_sources.py,sha256=OQy4gbgDh8BmwsMEyftVEWh3Za8v2EUZz6jhX89f9FA,4399
|
379
379
|
imio/smartweb/core/rest/configure.zcml,sha256=3tEU99M_deyoRN0YeIVQmPk7NL88gjYtXZOT8QmSbN4,2891
|
380
380
|
imio/smartweb/core/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
381
381
|
imio/smartweb/core/tests/test_banner.py,sha256=83Q86ezLMJVwCLxoJddmlE9GKR3h6Qyb-rbqVSFc8a0,7838
|
@@ -615,7 +615,7 @@ imio/smartweb/core/viewlets/odwb_widget_header.pt,sha256=bmtPkjfd40fwOqsCL1sQFCn
|
|
615
615
|
imio/smartweb/core/viewlets/offcanvas.pt,sha256=VfHFI9WoDqcm5nfJ-OTHACnJn0F5PfEE4FXZFzPM3JQ,613
|
616
616
|
imio/smartweb/core/viewlets/offcanvas.py,sha256=3VE2WJcvSKp3oAKYwGuwaHYMoK_83KMksMFDa75u52Y,129
|
617
617
|
imio/smartweb/core/viewlets/ogp_tag_header.pt,sha256=XRWkdZS2oI7W0X1oJSskpXS9dMmxSxSx_7XWb-Q2aBk,1007
|
618
|
-
imio/smartweb/core/viewlets/ogptags.py,sha256=
|
618
|
+
imio/smartweb/core/viewlets/ogptags.py,sha256=3Hgi412JCrRQTGHAgh9tPhSJxguNWPsHroWJyIhEqEI,4902
|
619
619
|
imio/smartweb/core/viewlets/procedure.pt,sha256=gLwNuikgXsWMnBybKdFeKfkfDKnI3SlrU3y2z8sVt5k,602
|
620
620
|
imio/smartweb/core/viewlets/procedure.py,sha256=7nqBU_Sl5tcQaV_UNM-2BPLc8vogCzTO6kQlu4hwofI,633
|
621
621
|
imio/smartweb/core/viewlets/searchbox.pt,sha256=Wv0DbGTKif1z_SDl9-FQKIAPJcfFAHHO1qOtR-LtnR4,403
|
@@ -727,10 +727,10 @@ imio/smartweb/core/webcomponents/src/utils/Map.jsx,sha256=cYuZykMIaLjr4KiLvmS4aY
|
|
727
727
|
imio/smartweb/core/webcomponents/src/utils/Map.scss,sha256=xXWz0O-JBwSZrzz2XeQdN4nZEOjppU2sVFtlLQOitQ8,77
|
728
728
|
imio/smartweb/core/webcomponents/src/utils/translation.js,sha256=5YDHwdaRNWFWOgyNd7YejoAdcDvnvAENo3Xn0GDT8P8,8941
|
729
729
|
imio/smartweb/core/webcomponents/src/utils/url.js,sha256=iyl_1QXfPBgUn0LEbZYT_zMEEjmj5DMiEz44Z6AKLcg,244
|
730
|
-
imio.smartweb.core-1.2.
|
731
|
-
imio.smartweb.core-1.2.
|
732
|
-
imio.smartweb.core-1.2.
|
733
|
-
imio.smartweb.core-1.2.
|
734
|
-
imio.smartweb.core-1.2.
|
735
|
-
imio.smartweb.core-1.2.
|
736
|
-
imio.smartweb.core-1.2.
|
730
|
+
imio.smartweb.core-1.2.58.dist-info/LICENSE.GPL,sha256=gXf5dRMhNSbfLPYYTY_5hsZ1r7UU1OaKQEAQUhuIBkM,18092
|
731
|
+
imio.smartweb.core-1.2.58.dist-info/LICENSE.rst,sha256=RzkMFz6AX3-cHd531zd2YQcXai8RIbjFWTs6m66Y5u4,653
|
732
|
+
imio.smartweb.core-1.2.58.dist-info/METADATA,sha256=q4e26PQRMzetOvb5H8ePDwH0v7lIooTBbQgK3EFgFjw,54751
|
733
|
+
imio.smartweb.core-1.2.58.dist-info/WHEEL,sha256=pkctZYzUS4AYVn6dJ-7367OJZivF2e8RA9b_ZBjif18,92
|
734
|
+
imio.smartweb.core-1.2.58.dist-info/namespace_packages.txt,sha256=Pg8AH8t9viMMW1hJbNZvTy_n2jXG2igIYUpon5RA4Js,19
|
735
|
+
imio.smartweb.core-1.2.58.dist-info/top_level.txt,sha256=ZktC0EGzThvMTAin9_q_41rzvvfMT2FYbP8pbhSLMSA,5
|
736
|
+
imio.smartweb.core-1.2.58.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{imio.smartweb.core-1.2.56.dist-info → imio.smartweb.core-1.2.58.dist-info}/namespace_packages.txt
RENAMED
File without changes
|
File without changes
|