imio.smartweb.core 1.4.3__py3-none-any.whl → 1.4.4__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.
@@ -52,7 +52,7 @@ class BaseDirectoryEndpoint(BaseEndpoint):
52
52
  params.append("b_size={}".format(self.context.nb_results))
53
53
  else:
54
54
  params.append("b_size={}".format(self.batch_size))
55
- if self.context.selected_categories is not None:
55
+ if self.context.selected_categories:
56
56
  for category in self.context.selected_categories:
57
57
  params.append(f"taxonomy_contact_category.query={category}")
58
58
  params.append("taxonomy_contact_category.operator=or")
@@ -52,7 +52,7 @@ class EventsView(CarouselOrTableSectionView, HashableJsonSectionView):
52
52
  "sort_on=event_dates",
53
53
  ]
54
54
  url = "{}/@events?{}".format(EVENTS_URL, "&".join(params))
55
- self.json_data = get_json(url)
55
+ self.json_data = get_json(url, timeout=15)
56
56
  self.json_data = remove_cache_key(self.json_data)
57
57
  self.refresh_modification_date()
58
58
  if self.json_data is None or len(self.json_data.get("items", [])) == 0:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: imio.smartweb.core
3
- Version: 1.4.3
3
+ Version: 1.4.4
4
4
  Summary: Core product for iMio websites
5
5
  Home-page: https://github.com/imio/imio.smartweb.core
6
6
  Author: Christophe Boulanger
@@ -208,6 +208,15 @@ Changelog
208
208
  =========
209
209
 
210
210
 
211
+ 1.4.4 (2025-05-26)
212
+ ------------------
213
+
214
+ - Fix bad catalog query when we get contacts from directory
215
+ [boulch]
216
+
217
+ - WEB-4252 : Increase timeout for section events
218
+ [boulch]
219
+
211
220
  1.4.3 (2025-05-20)
212
221
  ------------------
213
222
 
@@ -1,4 +1,4 @@
1
- imio.smartweb.core-1.4.3-py3.9-nspkg.pth,sha256=XZ3YhlzwpUCC8tXtelHRqxVxo3NWomIiMsUfUshrbeE,1011
1
+ imio.smartweb.core-1.4.4-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=TvYHum_puMstTxxe9YjrtOeEm843_ef4cPSD3Eod6H8,1703
@@ -227,7 +227,7 @@ imio/smartweb/core/contents/rest/campaign/view.py,sha256=L96QAMaZveNbOdwzxTGGQFr
227
227
  imio/smartweb/core/contents/rest/directory/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
228
228
  imio/smartweb/core/contents/rest/directory/configure.zcml,sha256=_K34jECLk9RWscAyiRXwoJLLBIVj-EJRGFOEbUU5Ito,1035
229
229
  imio/smartweb/core/contents/rest/directory/content.py,sha256=CpOPKpeBGZp7NSqtv9IWgaUUmMGDDuUiB1rcPQaXCUE,1102
230
- imio/smartweb/core/contents/rest/directory/endpoint.py,sha256=4dJki9sUUmeyT4nk2EwhwyNPm_fFW7PsiSvVqDh0wqU,3315
230
+ imio/smartweb/core/contents/rest/directory/endpoint.py,sha256=A5Go_N_lPYHa-murtM5PSmZE8KfOGzUmvhRAdd7ukg8,3303
231
231
  imio/smartweb/core/contents/rest/directory/view.pt,sha256=ggBxrXvjOGbA_dHu7dfT0Y0XpVMBgFmo3bRGvOeut1U,914
232
232
  imio/smartweb/core/contents/rest/directory/view.py,sha256=rN4k7sqrd32TNMBBOc7RQeosRgYM-dl645Pi1GjVvwA,507
233
233
  imio/smartweb/core/contents/rest/events/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -269,7 +269,7 @@ imio/smartweb/core/contents/sections/events/__init__.py,sha256=47DEQpj8HBSa-_TIm
269
269
  imio/smartweb/core/contents/sections/events/configure.zcml,sha256=FCDIf6w-2qCPqq0QUodw8-xyAopq7l6O8zoU_uMHNwg,1117
270
270
  imio/smartweb/core/contents/sections/events/content.py,sha256=aolTpBgOCKu4EHLQUFjOkFN7YpJId0Wpj_iH5AZ9Vvk,3246
271
271
  imio/smartweb/core/contents/sections/events/macros.pt,sha256=llSq-xstFiOXctseKDwvhVCM7A1_Z1Jq-_cUgNiBe10,1522
272
- imio/smartweb/core/contents/sections/events/view.py,sha256=L9GFxQa5BDYA4coXdz1BIaOQil8ZCfv1wF6wOxmMcR4,4744
272
+ imio/smartweb/core/contents/sections/events/view.py,sha256=te1tTnqCTcbGEnH5KxtzgAOrWo3Y9E2_-LV3S-tavFQ,4756
273
273
  imio/smartweb/core/contents/sections/external_content/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
274
274
  imio/smartweb/core/contents/sections/external_content/configure.zcml,sha256=6ZvD4hJiXMZM2-mz9D7ipZcphS5HKJFREG9XUzF_6ms,1651
275
275
  imio/smartweb/core/contents/sections/external_content/content.py,sha256=apHtfPwxkHkLQJVFVXs4F8O0gE09uI49AFQ8xRFrXgo,1096
@@ -812,10 +812,10 @@ imio/smartweb/core/webcomponents/src/utils/Map.jsx,sha256=EpmA8-iqHIkWrjgjR9JKvZ
812
812
  imio/smartweb/core/webcomponents/src/utils/Map.scss,sha256=DVQ6sUQOKFvLhbcamY6EmSrfWYq61gqaQUZ_YM1Le0Q,343
813
813
  imio/smartweb/core/webcomponents/src/utils/translation.js,sha256=KYomzpin3vMdS_QyK7QF0lBRXho_6WlHnkCJaRJm4N4,10702
814
814
  imio/smartweb/core/webcomponents/src/utils/url.js,sha256=iyl_1QXfPBgUn0LEbZYT_zMEEjmj5DMiEz44Z6AKLcg,244
815
- imio_smartweb_core-1.4.3.dist-info/licenses/LICENSE.GPL,sha256=gXf5dRMhNSbfLPYYTY_5hsZ1r7UU1OaKQEAQUhuIBkM,18092
816
- imio_smartweb_core-1.4.3.dist-info/licenses/LICENSE.rst,sha256=RzkMFz6AX3-cHd531zd2YQcXai8RIbjFWTs6m66Y5u4,653
817
- imio_smartweb_core-1.4.3.dist-info/METADATA,sha256=gqATJR6EZtWDzA667L1S8tYUecyUXExeEIQUtI3xyX8,65441
818
- imio_smartweb_core-1.4.3.dist-info/WHEEL,sha256=Nw36Djuh_5VDukK0H78QzOX-_FQEo6V37m3nkm96gtU,91
819
- imio_smartweb_core-1.4.3.dist-info/namespace_packages.txt,sha256=Pg8AH8t9viMMW1hJbNZvTy_n2jXG2igIYUpon5RA4Js,19
820
- imio_smartweb_core-1.4.3.dist-info/top_level.txt,sha256=ZktC0EGzThvMTAin9_q_41rzvvfMT2FYbP8pbhSLMSA,5
821
- imio_smartweb_core-1.4.3.dist-info/RECORD,,
815
+ imio_smartweb_core-1.4.4.dist-info/licenses/LICENSE.GPL,sha256=gXf5dRMhNSbfLPYYTY_5hsZ1r7UU1OaKQEAQUhuIBkM,18092
816
+ imio_smartweb_core-1.4.4.dist-info/licenses/LICENSE.rst,sha256=RzkMFz6AX3-cHd531zd2YQcXai8RIbjFWTs6m66Y5u4,653
817
+ imio_smartweb_core-1.4.4.dist-info/METADATA,sha256=0h0moT1gMSsyXfzl4JlV4O31lmi7zlW863V27khqF8E,65613
818
+ imio_smartweb_core-1.4.4.dist-info/WHEEL,sha256=zaaOINJESkSfm_4HQVc5ssNzHCPXhJm0kEUakpsEHaU,91
819
+ imio_smartweb_core-1.4.4.dist-info/namespace_packages.txt,sha256=Pg8AH8t9viMMW1hJbNZvTy_n2jXG2igIYUpon5RA4Js,19
820
+ imio_smartweb_core-1.4.4.dist-info/top_level.txt,sha256=ZktC0EGzThvMTAin9_q_41rzvvfMT2FYbP8pbhSLMSA,5
821
+ imio_smartweb_core-1.4.4.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