c2cgeoportal-geoportal 2.9.0.298__py3-none-any.whl → 2.9.0.301__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.

Potentially problematic release.


This version of c2cgeoportal-geoportal might be problematic. Click here for more details.

@@ -1,4 +1,4 @@
1
- # Copyright (c) 2011-2024, Camptocamp SA
1
+ # Copyright (c) 2011-2025, Camptocamp SA
2
2
  # All rights reserved.
3
3
 
4
4
  # Redistribution and use in source and binary forms, with or without
@@ -148,9 +148,11 @@ def canvas_view(request: pyramid.request.Request, interface_config: dict[str, An
148
148
  def custom_view(
149
149
  request: pyramid.request.Request, interface_config: dict[str, Any]
150
150
  ) -> pyramid.response.Response:
151
- """Get view used as entry point of a canvas interface."""
151
+ """Get view used as entry point of a canvas or custom interface."""
152
152
 
153
153
  set_common_headers(request, "index", Cache.PUBLIC_NO, content_type="text/html")
154
+ # Force urllogin to be converted to cookie when requesting the main HTML page
155
+ request.user # noqa
154
156
 
155
157
  html_filename = interface_config.get("html_filename", f"{interface_config['name']}.html")
156
158
  if not html_filename.startswith("/"):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: c2cgeoportal-geoportal
3
- Version: 2.9.0.298
3
+ Version: 2.9.0.301
4
4
  Summary: c2cgeoportal geoportal
5
5
  Home-page: https://github.com/camptocamp/c2cgeoportal/
6
6
  Author: Camptocamp
@@ -155,7 +155,7 @@ c2cgeoportal_geoportal/templates/testi18n.html,sha256=Br6Vf5zTDdaH0L07saV_8dIIT3
155
155
  c2cgeoportal_geoportal/views/__init__.py,sha256=KNfldZFuKFfNjGJsE2HyW3gUfWUY5IKSPlQbwZpLH3Y,2639
156
156
  c2cgeoportal_geoportal/views/dev.py,sha256=4_xprN8ccbiEInXcpIWRGI55nU7LZI98JN7rNy4sQVg,2539
157
157
  c2cgeoportal_geoportal/views/dynamic.py,sha256=w92NRkIn0Ahahn0LG9F-KpMOx0lhffZxK4ecn6k8i40,8907
158
- c2cgeoportal_geoportal/views/entry.py,sha256=wlDCRGNpFlECGgwLktBEQckFAz0XBWuVwS8vHSGfBLA,6931
158
+ c2cgeoportal_geoportal/views/entry.py,sha256=95f04wfE5NiTLPgCBQTvnQ-SD6t7ofVLLfrEIqr_ng4,7048
159
159
  c2cgeoportal_geoportal/views/fulltextsearch.py,sha256=i6d0-1N2pNG6KWq9Bih_kD4TQAZ54zMbuOFZTN-fqaU,8602
160
160
  c2cgeoportal_geoportal/views/geometry_processing.py,sha256=5dkJ20Lk12zqfzvmfws2YFxutSX2vxzdetQ4CmYxSi8,2958
161
161
  c2cgeoportal_geoportal/views/i18n.py,sha256=EEyM5Y7DSuQffiwpFrkFclUcneRCiir4bakXY6lGZjI,5343
@@ -187,8 +187,8 @@ tests/test_mapserverproxy_route_predicate.py,sha256=SzILSSzIuilzIkUYVPZiVzLwW1du
187
187
  tests/test_raster.py,sha256=82NJ2MXgZlMqs0ytN-VgNw376iURdk4PkAg__dyh5ns,11948
188
188
  tests/test_wmstparsing.py,sha256=xjA8nJuXFl3H5Bfs4sJw_8qX8E8qvAALK7Hs2-DTP2A,9054
189
189
  tests/xmlstr.py,sha256=rkTKSU4FGjupBKLx75H8o-goB0KbQrxDvdpc6xVX_uQ,5985
190
- c2cgeoportal_geoportal-2.9.0.298.dist-info/METADATA,sha256=nDhYIN9QfiXeXf5hXP7Moaw6Wn_5LBRHhBddwnbpCms,2049
191
- c2cgeoportal_geoportal-2.9.0.298.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
192
- c2cgeoportal_geoportal-2.9.0.298.dist-info/entry_points.txt,sha256=3dnX260FsLX_AubeNMdyeta_z1X4CxcD3steAlfPx2I,1414
193
- c2cgeoportal_geoportal-2.9.0.298.dist-info/top_level.txt,sha256=PJIbY7Nx51dDrJ052f5mDA7c6Tehm5aD-Gb32L_CtJA,29
194
- c2cgeoportal_geoportal-2.9.0.298.dist-info/RECORD,,
190
+ c2cgeoportal_geoportal-2.9.0.301.dist-info/METADATA,sha256=C3BOuZF5DpV1gS0phee_RTCCnf85AfFTW0mrtKK2mBM,2049
191
+ c2cgeoportal_geoportal-2.9.0.301.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
192
+ c2cgeoportal_geoportal-2.9.0.301.dist-info/entry_points.txt,sha256=3dnX260FsLX_AubeNMdyeta_z1X4CxcD3steAlfPx2I,1414
193
+ c2cgeoportal_geoportal-2.9.0.301.dist-info/top_level.txt,sha256=PJIbY7Nx51dDrJ052f5mDA7c6Tehm5aD-Gb32L_CtJA,29
194
+ c2cgeoportal_geoportal-2.9.0.301.dist-info/RECORD,,