Skip to content

Commit 4a5910b

Browse files
committed
For Lizmap Cloud, start increasing from QGIS 3.28 to 3.34
1 parent 6b28a8d commit 4a5910b

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

lizmap/definitions/lizmap_cloud.py

+2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
CLOUD_ONLINE_LANGUAGES = ('en', 'fr')
1111

1212
# TODO Fixme, the minimum version recommended varies on the LWC version
13+
# When changed, check for occurrences about the date
14+
# TODO change to 3.34 soon, translated text are ready
1315
CLOUD_QGIS_MIN_RECOMMENDED = (3, 28, 0)
1416

1517
UPLOAD_EXTENSIONS = ('fgb', 'gpkg', 'xlsx', 'xls', 'csv', 'ods', 'kml', 'geojson')

lizmap/plugin.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -3667,10 +3667,12 @@ def project_config_file(
36673667
+ "<br><br>"
36683668
+ tr(
36693669
'This version of QGIS Server has now reached its end of life and is not supported '
3670-
'anymore by QGIS.org since February 2023, see the '
3670+
'anymore by QGIS.org since {month_and_year}, see the '
36713671
'<a href="https://www.qgis.org/en/site/getinvolved/development/roadmap.html#release-schedule">'
36723672
'QGIS roadmap'
36733673
'</a>.'
3674+
).format(
3675+
month_and_year=tr("February 2024"),
36743676
)
36753677
+ "<br><br>"
36763678
+ tr(

lizmap/server_lwc.py

+7-2
Original file line numberDiff line numberDiff line change
@@ -1065,9 +1065,14 @@ def _messages_for_version(
10651065
qgis_server = (int(split[0]), int(split[1]), int(split[2]))
10661066
if lizmap_cloud and qgis_server < CLOUD_QGIS_MIN_RECOMMENDED:
10671067
messages.insert(0, tr(
1068-
'QGIS Server version {}.{} is not maintained anymore by QGIS.org since February 2023. '
1068+
'QGIS Server version {major}.{minor} is not maintained anymore by QGIS.org since '
1069+
'{month_and_year}. '
10691070
'Please visit your administration panel in the web browser to ask for the update.'
1070-
).format(qgis_server[0], qgis_server[1]))
1071+
).format(
1072+
major=qgis_server[0],
1073+
minor=qgis_server[1],
1074+
month_and_year=tr("February 2024"),
1075+
))
10711076
level = Qgis.Critical
10721077

10731078
if len(messages) == 0:

0 commit comments

Comments
 (0)