Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: add atlas with locked layers #4111

Open
wants to merge 5,425 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
5425 commits
Select commit Hold shift + click to select a range
bb1788a
Bump to version 3.7.0-beta.1
Gustry Oct 13, 2023
6c09826
Release of 3.7.0-beta.1
Gustry Oct 13, 2023
c601368
Bump to version 3.7.0-beta.2
Gustry Oct 13, 2023
016f3b9
Raise QGIS minimum version to 3.22
Gustry Apr 4, 2023
25756a7
Fix regexp in sed about the release name
Gustry Oct 13, 2023
afd5e85
Docs - Changelog 3.7
Gustry Oct 13, 2023
c79883f
Set permalink in mini-dock component
nboisteault Oct 13, 2023
7a3ed21
Apply permalink when hash changes
nboisteault Oct 16, 2023
08aa1af
Refactor geobookmarks
nboisteault Oct 16, 2023
066291c
Remove legacy permalink/geobookmark code
nboisteault Oct 19, 2023
3ecb9d4
Draw: put labels in front of rotation and scale inputs
nboisteault Oct 20, 2023
08905a1
Display default text size (1)
nboisteault Oct 20, 2023
f124bc5
Display constraints panel only when drawing lines or polygons
nboisteault Oct 20, 2023
b57aadd
Add text to explain digitizing constraints
nboisteault Oct 20, 2023
bc1e7f0
Change digitizing text title + add hint
nboisteault Oct 20, 2023
009bdc4
Add points to vertices when editing a geometry
nboisteault Oct 20, 2023
c7a565c
fix phpDoc to match with logic/type
nworr Oct 20, 2023
2e7683a
add phpDoc for jForm
nworr Oct 20, 2023
504c0b1
ignore jDaoFactory related error / objet with dynamix properties
nworr Oct 20, 2023
b0dca7f
remove phpstan.neon errors
nworr Oct 20, 2023
e7d0c4f
Merge pull request #3934 from nboisteault/finish-text-draw
Gustry Oct 23, 2023
fa467d9
Merge pull request #3936 from nworr/phpstan-fix-phpdoc-ignore-dao
rldhont Oct 23, 2023
31c263c
Fix: `display_when_layer_visible` was not handled
nboisteault Oct 19, 2023
1bc8859
JS: Fix selected default style with ''
rldhont Oct 20, 2023
a16b28c
JS unit tests: Add State Layer WMS selected styles''
rldhont Oct 20, 2023
b9dac1a
Update PHP packages
laurentj Oct 24, 2023
15e16d5
Merge pull request #3933 from nboisteault/fix-plot-visibility-from-la…
mdouchin Oct 24, 2023
f6acd81
[Tests] e2e: Extending permalink tests
rldhont Oct 24, 2023
a40fbf8
Fix PHPStan baseline after b9dac1a15972dbf919f311d2acb7d667f6c9351d
rldhont Oct 24, 2023
58b98cd
Merge pull request #3935 from rldhont/fix-wms-selected-default-style
rldhont Oct 24, 2023
a3c0512
Editing - autocompletion fields: add minlength, delay & accent-insens…
mdouchin Oct 25, 2023
260bc5b
Update PULL_REQUEST_TEMPLATE.md
Gustry Oct 25, 2023
0f1384f
Update labeler.yml
Gustry Oct 25, 2023
fa23f6f
[CI] change parameters for deployment
laurentj Oct 25, 2023
fab532a
Form filter - Date range: add a day to the max values when requesting…
mdouchin Oct 25, 2023
efc51fa
Atlas: fix popup w/ layer name having space or accent
nboisteault Oct 30, 2023
8ebd6b7
Editing - JS events lizmapeditionfeaturecreated & lizmapeditionfeatur…
mdouchin Sep 13, 2023
7c0a151
Merge pull request #3928 from nboisteault/permalink-finish
nboisteault Nov 2, 2023
3aa0206
Dataviz - Use the popup title when showing plot in a popup
mdouchin Nov 2, 2023
cd5891f
Dataviz - Respect the new option trigger_filter to avoid filtering th…
mdouchin Nov 3, 2023
ed90564
Don't block the map when there is a wrong layer name in URL parameter…
nboisteault Nov 3, 2023
a15926b
Bump stefanzweifel/git-auto-commit-action from 4 to 5
dependabot[bot] Nov 1, 2023
1a797bf
Bump actions/setup-node from 3 to 4
dependabot[bot] Nov 1, 2023
94fe865
Permalink: avoid error on missing style or opacity
nboisteault Nov 6, 2023
90da9bc
Permalink: accept layers with comma in their name
nboisteault Nov 6, 2023
3e502f0
Merge pull request #3957 from nboisteault/fix-permalink
nboisteault Nov 6, 2023
aad41e4
Fix error when executing the command "jcommunity~user:create" + multi…
laurentj Nov 6, 2023
7fe0bb2
Fix the auto-login feature ("remember me" checkbox)
laurentj Nov 8, 2023
b19ce2f
Fix a potential regression in the password reset feature
laurentj Nov 10, 2023
5769ade
Fix config for attribution
nboisteault Nov 13, 2023
6a6017f
Set attribution w/ OL8
nboisteault Nov 13, 2023
59c5636
[Bugfix] fixed typo qsgmtime
mind84 Nov 16, 2023
36239e9
Docs - Update changelog for 3.6
Gustry Nov 20, 2023
11ba133
Docs - Update changelog for 3.7
Gustry Nov 20, 2023
1429a4e
Fix js-units test
nboisteault Nov 20, 2023
46fb7b0
Fix attribution
nboisteault Nov 20, 2023
3207af3
Merge pull request #3962 from nboisteault/attribution
nboisteault Nov 20, 2023
ede45f9
Update OL to 8.2.0 + proj4 to 2.9.2
nboisteault Nov 20, 2023
9c9b59e
GH Actions - Disable LWC 3.5 cron job
Gustry Nov 21, 2023
6d6b8d2
GH Actions - Disable the custom token for stale bot
Gustry Nov 21, 2023
1a8545a
Feature: upload/delete files on WebDav storage, edition form
mind84 Oct 20, 2023
bce9957
fixed php linters issues
mind84 Oct 31, 2023
445b9c6
fix php-cs-fixer errors
mind84 Oct 31, 2023
11b9e03
get file from webdav storage (getMedia), refactor php code, use Guzzl…
mind84 Nov 4, 2023
f4f52fd
refactor php code, add webdav support for non postgre layers and for …
mind84 Nov 14, 2023
4520342
fix WFS XML request error
mind84 Nov 14, 2023
e359e26
avoid local storage path checks on form saving if the field is webdav…
mind84 Nov 16, 2023
f2ec762
rollback webdav url replacement in WFS requests, remove jsonmachine d…
mind84 Nov 21, 2023
61385d8
use regexp for trail spaces to replace qgis file name expression and …
mind84 Nov 22, 2023
ef625b3
store dav prefix in lizUrls object for client side utilization
mind84 Nov 22, 2023
78db196
Merge pull request #3937 from mind84/upload_webdav
mdouchin Nov 22, 2023
411e13e
[Fix] round the 'I' and 'J' paramters of WMS GetFeatureInfo service
mind84 Nov 22, 2023
ca74532
Merge pull request #3972 from mind84/wms_getfeature_decimal_params
rldhont Nov 22, 2023
5f66c01
User Interface - Improvements
mdouchin Nov 23, 2023
f4ed757
use new IGN WMTS URL
nworr Nov 23, 2023
7a9e81d
update js-unit
nworr Nov 23, 2023
83e3c5e
GH Action - Remove references to LWC 3.5
Gustry Nov 23, 2023
a949ba8
e2e: use a more robust selector to click on the map
nboisteault Nov 23, 2023
1002deb
GH Action - Review order of steps
Gustry Nov 23, 2023
68cd3c3
Tests - Try to run some new CI versions
Gustry Nov 23, 2023
7d4fc27
Remove some ol2 code (#3973)
nboisteault Nov 23, 2023
2656a51
Merge pull request #3974 from nworr/ign_url_37
Gustry Nov 23, 2023
5528681
Update strings from Transifex
3liz-bot Nov 23, 2023
8de817b
Docs - Update changelog for 3.7
Gustry Nov 23, 2023
fbaf8f7
Update locales for jelix modules
laurentj Nov 23, 2023
9da85dd
upgrade jelix to 1.8.4
laurentj Nov 23, 2023
2b4769a
Fix: GFI - mouse spinner when click on the map
nboisteault Nov 23, 2023
b880a16
Tests - Add command to remove unused files from QGIS
Gustry Nov 23, 2023
30df29d
Attribute table - Allow to display popups for non-spatial layer & imp…
mdouchin Nov 23, 2023
a19e22c
Disable PHP 7.4, update code from Jelix
Gustry Nov 24, 2023
2ebe2b4
Update JS deps (#3981)
nboisteault Nov 24, 2023
7aa2889
Tests: use `default` styles for every layers in print_in_project_proj…
nboisteault Nov 24, 2023
0c765bc
Docs - Update changelog for 3.7
Gustry Nov 24, 2023
60859fb
Release of 3.7.0-rc.1
Gustry Nov 24, 2023
dc1cf86
Bump version to 3.8.0-pre
Gustry Nov 24, 2023
c3b5239
GH Action - Enable cron job for 3.7 branch
Gustry Nov 24, 2023
ff2dbaa
User interface - Implement a brand new light default theme
mdouchin Nov 24, 2023
446b47c
Editing - Prevent the user from quitting Lizmap when an editing sessi…
mdouchin Nov 24, 2023
9307fb3
Remove Stamen key from CFG file
Gustry Nov 27, 2023
052628b
Draw text: better form display
nboisteault Nov 27, 2023
4176392
Don't display text button for selection tool
nboisteault Nov 27, 2023
81e59c6
Docs - Update changelog for 3.6
Gustry Nov 28, 2023
e0568e1
Release of 3.6.8
Gustry Nov 28, 2023
6747134
Minor CSS fixes
mdouchin Nov 28, 2023
022d93e
Merge pull request #3984 from mdouchin/ui_improvement_for_3_7
rldhont Nov 30, 2023
798b50a
UI: adjust spinner position
nboisteault Nov 30, 2023
c9f78b0
Bugfix JS: ReferenceError: assignment to undeclared variable l
rldhont Nov 30, 2023
3935cbd
update locales
laurentj Nov 30, 2023
e34f631
Add eslint-plugin-jsdoc
nboisteault Nov 30, 2023
0dbef44
Fix all eslint errors with `--fix`
nboisteault Nov 30, 2023
51a4a59
Bugfix JS: Disable print without templayes
rldhont Nov 30, 2023
78c7776
Bugfix JS: Use https OpenStreetMap tiles
rldhont Nov 30, 2023
bc77fc0
Test JS: Use https OpenStreetMap tiles
rldhont Nov 30, 2023
e132fcf
CSS - Replace the Lizmap header logo by a smaller and transparent one
mdouchin Nov 30, 2023
1a0e9ad
Merge pull request #3993 from nboisteault/eslint-auto-fix
nboisteault Dec 1, 2023
5821798
Bugfix JS: Print baselayer can be unknown in project
rldhont Dec 1, 2023
74c466d
Bugfix JS: Permalink - lizMap.mainLizmap is undefined
rldhont Dec 1, 2023
5d714a5
Bugfix JS: Catch error from GetLegendGraphics
rldhont Dec 1, 2023
2f6b033
Merge pull request #3995 from rldhont/fix-js-catch-getlegendgraphic-e…
rldhont Dec 1, 2023
f4dc901
Bugfix JS: OL2 getLonLatFromPixel can return null
rldhont Dec 1, 2023
669e901
CSS - Change boostrap btn colors && loading animated Lizmap icon
mdouchin Dec 1, 2023
8c7919b
PHP: Add CORS headers for serviceException
rldhont Dec 1, 2023
8662a6b
Small review about the ticket template
Gustry Dec 4, 2023
99c5e43
Fullscreen component: make it more clear it needs a selector attribute
nboisteault Dec 4, 2023
5a6db56
Extendable map parameters for redirection after authentication
rldhont Dec 4, 2023
a8d5c44
Fix: Respect maximum WMS GetMap size
rldhont Dec 4, 2023
520acc8
Using QGIS Server TILED mode
rldhont Dec 5, 2023
d4101c7
Merge pull request #4002 from rldhont/fix-respect-wms-max-size
rldhont Dec 5, 2023
1fa45e3
Merge pull request #4001 from rldhont/redirect-url-map-params
rldhont Dec 5, 2023
620c017
Zoom to box w/ OL8
nboisteault Dec 5, 2023
9bb7f34
Merge pull request #4005 from nboisteault/zoom-to-box-ol8
nboisteault Dec 5, 2023
9f58805
Fix map popup's background-color and borders
nboisteault Dec 5, 2023
0582b2e
Permalink: enforce constraints on permalink format
nboisteault Dec 6, 2023
9b0da0e
Handle map popups w/ OL8 (#4008)
nboisteault Dec 7, 2023
0512ca7
[end2end] cors and projet filename test converted from cypress to pla…
nworr Dec 11, 2023
683ec9d
JS: Use native zoom levels
rldhont Dec 6, 2023
8a9a7f7
Fix switcher layers because of removing OL2 codes
rldhont Dec 7, 2023
24fe2e3
Print rotation: display none
rldhont Dec 7, 2023
946311a
Fix Print and Mask to use web map scales
rldhont Dec 8, 2023
b8e600a
JS: hide numeric scale value
rldhont Dec 8, 2023
2bcbce5
Tests E2E: Enhancing Print
rldhont Dec 11, 2023
e332f4f
JS: Remove deprecated codes
rldhont Dec 11, 2023
0fa6cfa
use IGN geoplateforme geocode completion service (#3991)
nworr Dec 12, 2023
8f9c5d4
Merge pull request #4007 from rldhont/use-native-zoom-levels
rldhont Dec 12, 2023
ec292f1
Update translations from Transifex
Gustry Dec 12, 2023
a3c37a7
Remove docker/.dockerignore
laurentj Dec 12, 2023
95ae6e8
Fix support of SSL PostgreSQL connection in PostgreSQL layers
laurentj Dec 12, 2023
a09f87c
Update jelix locales
laurentj Dec 12, 2023
914bdfc
Docs - Changelog for the 3.7.0 final
Gustry Nov 30, 2023
9deb6e3
Update files from Jelix
Gustry Dec 13, 2023
e20409d
Release of 3.7.0
Gustry Dec 13, 2023
ea1dbc1
Add highlight layer on top all layers
nboisteault Dec 15, 2023
ddadd32
Display features at startup when set in URL
nboisteault Dec 15, 2023
6897307
Refactor search.js to be a module
nboisteault Dec 18, 2023
26d8d6f
Refactor updateExternalSearch() to use highlight layer
nboisteault Dec 18, 2023
8930ad9
Replace function callbacks by arrow functions
nboisteault Dec 18, 2023
6839c2f
Replace <b> => <strong> and style => class
nboisteault Dec 18, 2023
43199e0
[Bugfix] JS: Layer ID can be used as WMS Name
rldhont Dec 19, 2023
357ddc6
Merge pull request #4033 from rldhont/fix-wms-name-layer-id
rldhont Dec 19, 2023
ee86e11
Refactor methods for highlightfeatures
nboisteault Dec 19, 2023
79311e4
Use highlightfeatures methods in legacy code
nboisteault Dec 21, 2023
fb12f48
Remove OL2 locatelayer
nboisteault Dec 21, 2023
c3aab1c
Set default highlight color
nboisteault Dec 21, 2023
a55da37
init FormControl property only if exists (#4023)
nworr Dec 21, 2023
e34ec64
Tests: update atlas and popup projects
nboisteault Dec 21, 2023
6af1685
Merge pull request #4025 from nboisteault/ol8map-ontop
nboisteault Dec 21, 2023
73e19eb
Popup w/ OL8 follow up
nboisteault Dec 22, 2023
8d5677c
e2e: fix popup test
nboisteault Dec 22, 2023
5d0caea
Tests - Upgrade old CFG file having a 3.4 target version
Gustry Dec 21, 2023
6de0284
Remove an unused key from the CFG file in tests
Gustry Dec 21, 2023
9084682
Bump minimum versions required QGIS 3.28
Gustry Nov 24, 2023
b16bfdc
Merge pull request #3983 from Gustry/minimum-versions
Gustry Dec 22, 2023
49690dc
[Fix] uncaught exception on layerFilterParamChanged event (#4042)
mind84 Dec 22, 2023
8cb4e9a
Fix the display order of layers when the 'Group as layer'option is used
mind84 Jan 4, 2024
a3bfd20
add js-unit test
mind84 Jan 4, 2024
84fdc6d
removed useless import statement
mind84 Jan 4, 2024
98c78a9
Merge pull request #4053 from mind84/layer_zindex
rldhont Jan 4, 2024
bb0b8bd
Bump actions/stale from 8.0.0 to 9.0.0
dependabot[bot] Jan 1, 2024
2567cda
Bump actions/labeler from 4 to 5
dependabot[bot] Jan 1, 2024
35919da
Bump actions/upload-artifact from 3.1.3 to 4.0.0
dependabot[bot] Jan 1, 2024
4c21da4
Bump actions/setup-python from 4 to 5
dependabot[bot] Jan 1, 2024
a8fafd5
GH Action - New version of labeler has the correct fix for sync-labels
Gustry Jan 8, 2024
0039f80
Put OpenLayers 8 maps on top
nboisteault Dec 22, 2023
b026fe5
Put old OL2 map on top only for edition
nboisteault Dec 22, 2023
d6cad06
e2e: fix cypress tests w/ ol8 map on top by default
nboisteault Dec 22, 2023
ad0cc0d
Migrate Action.js to OL8
nboisteault Jan 5, 2024
d410ed7
Migrate Action.js to OL8, follow up
nboisteault Jan 8, 2024
5437712
Migrate Geolocation.js to OL8
nboisteault Jan 8, 2024
356f95d
e2e: use OL8 styles for actions
nboisteault Jan 8, 2024
aef7e89
Docs - Update changelog for 3.7
Gustry Jan 8, 2024
a879dcc
Docs - Update changelog for 3.6
Gustry Jan 8, 2024
8abaee4
Docs - Update changelog for 3.8
Gustry Jan 8, 2024
f8d8436
Merge pull request #4044 from nboisteault/ol8map
nboisteault Jan 8, 2024
400734a
Remove completly action.js (#4057)
nboisteault Jan 9, 2024
59a14db
Merge OL8 maps (#4059)
nboisteault Jan 9, 2024
93903a2
Update treeview.qgs to reproduce layer/group rights issue
nboisteault Jan 9, 2024
967d1d2
Fail w/ console.log instead of exception
nboisteault Jan 11, 2024
69e76f1
Merge pull request #4062 from nboisteault/fix-error-group-rights
nboisteault Jan 11, 2024
98c4176
Fix: zoom to feature from featuretoolbar
nboisteault Jan 15, 2024
061f62e
Fix: center to feature from featuretoolbar
nboisteault Jan 15, 2024
a15218c
Fix: zoom and center fix follow up
nboisteault Jan 15, 2024
d0b4d96
Update strings from Transifex for LWC 3.8
Gustry Jan 15, 2024
914b155
Bump Lizmap server plugin version to 2.8.2
Gustry Jan 16, 2024
ef1cf1a
Update locales and upgrade jelix framework to 1.8.6
laurentj Jan 16, 2024
b767e09
Docs - Update changelog for 3.6
Gustry Jan 16, 2024
3c27cbb
Release of 3.6.9
Gustry Jan 16, 2024
b97ecfb
CI - Remove assert, failing due to new version of QGIS 3.32
Gustry Jan 17, 2024
c707d9a
[Bugfix] Projects in map: Keep extent between map
rldhont Jan 17, 2024
5fb8f8e
Merge pull request #4072 from rldhont/fix-projects-in-map-view-map
rldhont Jan 17, 2024
a1fbc29
Merge pull request #4070 from Gustry/qgis-32-playwright
Gustry Jan 17, 2024
5464a06
Release of 3.7.1
Gustry Jan 17, 2024
f4aa58b
Docs - Update table and changelog for 3.7.1
Gustry Jan 17, 2024
faa797b
Fix: tile mode when getMap requests are over wmsMaxWidth/wmsMaxHeight
nboisteault Jan 18, 2024
ac81537
Release of 3.7.2
Gustry Jan 18, 2024
5fbcf77
Docs - Add some funders to 3.7
Gustry Jan 18, 2024
bb64ca4
Zoom to last features added bounding extent
nboisteault Jan 19, 2024
1268f8d
Import files in map projection
nboisteault Jan 19, 2024
7ab5787
Test: Use 2154 instead of 4326 to test map reprojection
nboisteault Jan 19, 2024
f852b4c
Zoom to last features added bounding extent follow up
nboisteault Jan 19, 2024
87103df
Merge pull request #4079 from nboisteault/fix-import-data-to-draw-tool
nboisteault Jan 19, 2024
35ad848
GitHub - Rephrase a sentence in the bug template
Gustry Jan 19, 2024
49d5a05
[Bugfix] SelectionTool: Use typeName instead of featureType
rldhont Jan 19, 2024
65f3fa2
KML import: remove features default style to display layer style
nboisteault Jan 19, 2024
17abe62
Merge pull request #4083 from rldhont/fix-selection-typename
rldhont Jan 19, 2024
df5b1f1
e2e: Wait for image stability
nboisteault Jan 22, 2024
c917bc1
e2e: add location search project
nboisteault Jan 22, 2024
c0b25cc
Temporary revert LWC minimum target version
Gustry Jan 22, 2024
0dac57c
Fix link to the documentation about Actions
Gustry Jan 22, 2024
f370ab3
GitHub - Rephrase a sentence in the template
Gustry Jan 22, 2024
891502a
check if repository has a valid path (#4080)
nworr Jan 23, 2024
33d492d
Fix: `display_when_layer_visible` only useful for layers w/ geometry …
nboisteault Jan 23, 2024
0faf890
Update JS dependencies
nboisteault Jan 23, 2024
dae4501
Update playwright to 1.41.1
nboisteault Jan 23, 2024
55c99f0
use css transitions instead of js (#4055)
nworr Jan 23, 2024
b63ba4e
Fix: layer group visible only and location
nboisteault Jan 25, 2024
cffcd13
Tests: project to test layer group visible only
nboisteault Jan 25, 2024
f2ce37c
Merge pull request #4096 from nboisteault/fix-layer_group_visible_onl…
nboisteault Jan 25, 2024
7f092c1
Make treeview checkbox width fix
nboisteault Jan 26, 2024
498bd77
Editing form - Upload fields: allow to use an expression to set up th…
mdouchin Jan 8, 2024
42e04b6
Merge pull request #4058 from mdouchin/editing-upload-improvements
mdouchin Jan 26, 2024
763bd41
[Bugfix] JS Attribute Table: using wmsName for getFeaturePopupContent
rldhont Jan 26, 2024
662672b
Merge pull request #4101 from rldhont/fix-attributetable-getfeaturepo…
rldhont Jan 26, 2024
8160963
Docs - Update changelog for 3.6
Gustry Jan 26, 2024
d73e6fd
Docs - Update changelog for 3.7
Gustry Jan 26, 2024
6aadd6e
Bump Lizmap server to version 2.8.3
Gustry Jan 29, 2024
8f5369f
Config file - Add some comments to avoid conflict when cherry-picking…
Gustry Jan 29, 2024
dd7f519
[Bugfix] keep print capabilities even if the config has not been upda…
rldhont Jan 29, 2024
d85a21f
Merge pull request #4105 from rldhont/fix-print-list-before-3_6
rldhont Jan 29, 2024
8ddefac
[end2end]fix DOM search in cypress test (#4099)
nworr Jan 30, 2024
bd95b1a
test: add atlas with locked layers
nboisteault Jan 30, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
8 changes: 8 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.gitattributes export-ignore
.gitignore export-ignore
.github export-ignore
.jelixlocales.ini export-ignore
.gitlab-ci.yml export-ignore
.php-cs.dist export-ignore
phpstan.neon export-ignore
./tests export-ignore
90 changes: 90 additions & 0 deletions .github/ISSUE_TEMPLATE/1_bug-form.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
name: 🐞 Bug Report
description: Report errors and problems. The more precise is your bug report, the more quickly it will be fixed.
title: "[Bug]: "
labels: [bug]
body:

- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report!
Tip: small projects and screenshots/gifs help a lot debugging ;)

- type: textarea
id: what
attributes:
label: What is the bug?
placeholder: When clicking on button...
validations:
required: true

- type: textarea
id: steps
attributes:
label: Steps to reproduce the issue
placeholder: |
1. Go to '...'
2. Click on '...'
3. Scroll down to '...'
4. See error
validations:
required: true

- type: textarea
id: versions
attributes:
label: Versions, safeguards, check summary etc
description: |
You must go in QGIS Desktop, then Lizmap plugin, right click on your server, then "Copy versions in the clipboard". Finally paste here. There isn't any personal data provided.
Check any messages displayed by the plugin if any. Read https://docs.lizmap.com/current/en/publish/lizmap_plugin/information.html#request-for-support
Do not make a screenshot, it's not a searchable by a search engine for instance.
validations:
required: true

- type: checkboxes
id: lizmap-plugin
attributes:
label: Check Lizmap plugin
options:
- label: I have done the step just before in the Lizmap QGIS desktop plugin before opening this ticket. Otherwise, my ticket is not considered valid and might get closed.
# required: true

- type: input
id: os
attributes:
label: Operating system
placeholder: Ubuntu 20.04, Windows 10, ...
validations:
required: true

- type: dropdown
id: browsers
attributes:
label: Browsers
multiple: true
options:
- Firefox
- Chrome
- Safari
- Microsoft Edge
validations:
required: true

- type: input
id: browsers-version
attributes:
label: Browsers version
placeholder: Firefox 89, Chrome 90, ...
validations:
required: true

- type: textarea
id: logs
attributes:
label: Relevant log output
description: |
WARNING: obfuscate all sensible data (IP, passwords, domain name...).
Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
To find logs in your browser, open developer console (F12 or Ctrl + Shift + I).
Lizmap error logs can be found in admin panel.
render: shell
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/2_Feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: "☝️ Feature request"
about: Suggest an idea for a new feature or an improvement. 3Liz's paid software development => https://www.3liz.com/services.html#software-dev
title: ''
labels: enhancement
assignees: ''

---

### Is your feature request related to a problem? Please describe
<!-- A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] -->

### Describe the solution you'd like
<!-- A clear and concise description of what you want to happen. -->

### Describe alternatives you've considered
<!-- A clear and concise description of any alternative solutions or features you've considered. -->

### Additional context
<!-- Add any other context or screenshots about the feature request here. -->
79 changes: 79 additions & 0 deletions .github/ISSUE_TEMPLATE/3_Support_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
name: ❓ Support/Questions
description: Questions about using or installing Lizmap. 3Liz's paid support => https://www.3liz.com/services.html#3liz-support-offer
title: "[Question]: "
labels: [question]
body:

- type: markdown
attributes:
value: |
Before asking your question, please check that the response is not in the documentation: https://docs.3liz.com/

Questions about using or installing Lizmap. 3Liz's paid support => https://www.3liz.com/services.html#3liz-support-offer

- type: textarea
id: what
attributes:
label: What is the question?
placeholder: When clicking on button...
validations:
required: true

- type: textarea
id: versions
attributes:
label: Versions, safeguards, check summary etc
description: |
You must go in QGIS Desktop, then Lizmap plugin, right click on your server, then "Copy versions in the clipboard". Finally paste here. There isn't any personal data provided.
Check any messages displayed by the plugin if any. Read https://docs.lizmap.com/current/en/publish/lizmap_plugin/information.html#request-for-support
Do not make a screenshot, it's not a searchable by a search engine for instance.
validations:
required: true

- type: checkboxes
id: lizmap-plugin
attributes:
label: Check Lizmap plugin
options:
- label: I have done the step just before in the Lizmap QGIS desktop plugin before opening this ticket. Otherwise, my ticket is not considered valid and might get closed.
# required: true

- type: input
id: os
attributes:
label: Operating system
placeholder: Ubuntu 20.04, Windows 10, ...
validations:
required: true

- type: dropdown
id: browsers
attributes:
label: Browsers
multiple: true
options:
- Firefox
- Chrome
- Safari
- Microsoft Edge
validations:
required: true

- type: input
id: browsers-version
attributes:
label: Browsers version
placeholder: Firefox 89, Chrome 90, ...
validations:
required: true

- type: textarea
id: logs
attributes:
label: Relevant log output
description: |
WARNING: obfuscate all sensible data (IP, passwords, domain name...).
Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
To find logs in your browser, open developer console (F12 or Ctrl + Shift + I).
Lizmap error logs can be found in admin panel.
render: shell
8 changes: 8 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
blank_issues_enabled: false
contact_links:
- name: Documentation
url: https://github.com/3liz/lizmap-documentation/issues
about: Please fill an issue about documentation here.
- name: Lizmap QGIS plugin issue
url: https://github.com/3liz/lizmap-plugin/issues
about: Please fill an issue about Lizmap QGIS plugin here.
11 changes: 11 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!--
Add the word "fix" in front of "#" if it fixes the ticket
or do nothing to only mention it.

Funded by NAME URL
If funded by someone else than 3Liz, please add label "sponsored development"
-->

Ticket : #

Funded by
68 changes: 68 additions & 0 deletions .github/auto_milestone.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
#!/usr/bin/python3

import os
import requests

from typing import Optional

from pkg_resources.extern import packaging


def parse_branch(branch: str, milestones_available: list) -> Optional[packaging.version.Version]:
""" Returns the milestones available according to the branch name, otherwise None. """
if branch == 'master':
return milestones_available[-1]

try:
branch = branch.replace('release_', '').replace('_', '.')
branch = packaging.version.Version(branch)
for m in milestones_available:
if m.major == branch.major and m.minor == branch.minor:
return m
except Exception as e:
print(e)


def all_gh_milestones(token: str, repo: str):
r = requests.get(
f"https://api.github.com/repos/{repo}/milestones",
headers={
'Authorization': f'Bearer {token}'
}
)
milestones = r.json()
github_valid_milestones = []
for m in milestones:
if len(m['title'].split('.')) != 3:
continue

try:
github_valid_milestones.append(packaging.version.Version(m['title']))
except packaging.version.InvalidVersion:
continue
github_valid_milestones.sort()
return github_valid_milestones, milestones


if __name__ == "__main__":
token = os.getenv("GITHUB_TOKEN")
repo = os.getenv("GITHUB_REPOSITORY")
base_branch = os.getenv("GITHUB_BASE")
gh_milestones, gh_milestones_object = all_gh_milestones(token=token, repo=repo)
final_milestone = parse_branch(base_branch, gh_milestones)

print(f"Found milestone {final_milestone} for base branch {base_branch}")

milestone_id = None
for milestone in gh_milestones_object:
if milestone['title'] == str(final_milestone):
milestone_id = milestone['number']
break

if not milestone_id:
exit(0)

print(f"Retuning milestone {final_milestone} wih ID {milestone_id}")

with open(os.environ['GITHUB_OUTPUT'], 'a') as fh:
print(f'milestone_number={milestone_id}', file=fh)
27 changes: 27 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "monthly"
assignees:
- "Gustry"

- package-ecosystem: "composer"
directory: "/lizmap"
schedule:
interval: "monthly"
# assignees:
# - "laurentj"

- package-ecosystem: "composer"
directory: "/tests/units"
schedule:
interval: "monthly"

# - package-ecosystem: "npm"
# directory: "/assets"
# schedule:
# interval: "monthly"
# assignees:
# - "nboisteault"
48 changes: 48 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
"administration pages":
- any: [
'lizmap/modules/admin/**',
]

"CI & packages":
- any: [
'.github/**',
'.gitlab-ci.yml',
'Makefile',
]

"data editor":
- any: [
'lizmap/modules/lizmap/lib/Form/**',
]

"dataviz":
- any: [
'lizmap/modules/dataviz/**',
'lizmap/www/assets/js/dataviz/**',
]

"docker":
- any: [
'docker/**',
]

"javascript":
- any: [
'assets/**',
'lizmap/www/assets/js/**',
'assets/src/modules/**',
'tests/js-units/**',
]

#"run cypress":
# - any: ['tests/end2end/**/*']

"QGIS Server":
- any: [
'lizmap/modules/lizmap/lib/Request/**',
]

"tests":
- any: [
'tests/**',
]
17 changes: 17 additions & 0 deletions .github/workflows/backport.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: ♻ Backport
on:
pull_request_target:
types:
- closed

jobs:
backport:
runs-on: ubuntu-latest
name: Backport
steps:
- name: Backport Bot
id: backport
uses: m-kuhn/[email protected]
with:
github_token: ${{ secrets.BOT_HUB_TOKEN }}
add_labels: 'backport'
Loading
Loading