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

Bug: filter form should take care of restricted user rights #4599

Draft
wants to merge 6,029 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
6029 commits
Select commit Hold shift + click to select a range
24b4c31
Cache tooltip layers
nboisteault Mar 15, 2024
8cc97bf
Add controller to get tooltips
nboisteault Apr 30, 2024
5d54929
Bump actions/upload-artifact from 4.3.1 to 4.3.3
dependabot[bot] May 1, 2024
5986533
e2e: add HTML for dataviz filtered in popup
nboisteault May 2, 2024
773cc8d
[Fix] Add Popup dock server side
rldhont May 1, 2024
f45ccfe
[end2end] edition form relationnel value : convert cypres test to pla…
nworr May 3, 2024
e3c932d
Tooltip module followup
nboisteault May 3, 2024
1633d42
Tests - Remove docker compose version
Gustry May 3, 2024
5aa43c6
Use clean config for tooltips
nboisteault May 3, 2024
be97987
Handle (de)activation on mini-dock opening/closing
nboisteault May 3, 2024
8ef1f97
Activate automatically tooltip layer when there is only one
nboisteault May 3, 2024
8d1852e
Tooltip: display spinner when loading data
nboisteault May 3, 2024
3506b5d
Docs - Update changelog for 3.6
Gustry May 3, 2024
a1f7dab
Docs - Update changelog for 3.7
Gustry May 3, 2024
ce52ec5
Docs - Update changelog for 3.8
Gustry May 3, 2024
439bafe
Don't show tooltip tool when device has coarse pointer
nboisteault May 3, 2024
d62e409
Tests e2e: Test error occured
rldhont May 3, 2024
70308e0
Merge pull request #4408 from rldhont/e2e-error-occured
rldhont May 3, 2024
494af43
Tooltips: remove legacy code
nboisteault May 3, 2024
5227d4d
Tooltip: handle linestring layers
nboisteault May 6, 2024
c2edb45
Ignore jsts file created w/ `npm run watch`
nboisteault May 6, 2024
a3a6951
Move lizmap variables from window to globalThis
rldhont May 2, 2024
aa90738
ESLint: enable globalThis
rldhont May 3, 2024
b4d7235
Get lizUrls from globalThis
rldhont May 3, 2024
b2243cc
Get lizProj4 from globalThis
rldhont May 3, 2024
f967e4c
Get filterConfigData from globalThis
rldhont May 3, 2024
0b19e03
Get filterConfig from globalThis
rldhont May 3, 2024
f552aba
Get datavizConfig from globalThis
rldhont May 3, 2024
3bc0b79
Github Actions: Node version 21
rldhont Apr 19, 2024
2471584
Merge pull request #4398 from rldhont/fix-dock-popup-lizdict
rldhont May 7, 2024
b0db982
Merge pull request #4403 from rldhont/fix-lizmap-variables-globalThis
rldhont May 7, 2024
2f36f21
[Feature] Add and remove OpenLayers to Lizmap's map
rldhont Apr 25, 2024
f31bbda
[Feature] Add and remove OpenLayers to Lizmap's treeview
rldhont Apr 25, 2024
642d547
JS OL lib: add OGC Tile Layers and sources
rldhont Apr 26, 2024
435dfb8
Gitlab CI - JS units - load lizmap dependancies
rldhont May 1, 2024
fcaa347
JS tests: Create and remove external map group and OpenLayers map layer
rldhont Apr 27, 2024
5dcd34e
JS tests: create and remove External layer tree group and OpenLayers …
rldhont May 1, 2024
6f01b88
Tests e2e: try the add remove OL layers API
rldhont May 3, 2024
8181110
Content sanitisation in attributes table (#4409)
nworr May 7, 2024
d354f2f
Popup: FeatureToolbar in compact table
nboisteault May 6, 2024
97b00f1
e2e: test FeatureToolbar in compact table
nboisteault May 6, 2024
977162a
I18N - Update strings from Transifex
Gustry May 7, 2024
047f75a
Popup: don't display explode/compact buttons when there is no table o…
nboisteault May 7, 2024
a91499c
e2e: modify test because of lizmap-feature-toolbar added in table
nboisteault May 7, 2024
71e8803
update jelix locales and upgrade jelix to 1.8.9
laurentj May 7, 2024
42f5654
Merge pull request #4411 from nboisteault/select-in-compact-table
nboisteault May 7, 2024
f1143bf
Release of 3.6.12
Gustry May 7, 2024
656a833
Tooltip: display error message when data can't be loaded
nboisteault May 7, 2024
8abfd63
Merge pull request #4104 from nboisteault/tooltip-ol8
nboisteault May 7, 2024
c55728d
Merge pull request #4389 from rldhont/feature-add-ext-layer
rldhont May 7, 2024
19b8b73
UX - Rephrase tooltip about CORS settings
Gustry May 13, 2024
5ceee60
Merge pull request #4420 from Gustry/rephrase-cors-settings
Gustry May 13, 2024
d327e40
Fix issue in nl_NL translation of templates for mails
laurentj May 13, 2024
6642ccd
[Fix] Popup children compact table
rldhont May 13, 2024
bdbac3e
Lint map.js
rldhont May 13, 2024
7bde676
Dataviz - Fix display of HTML plots in popups
mdouchin May 13, 2024
df58a56
Merge pull request #4421 from rldhont/fix-compact-children
rldhont May 13, 2024
70107c5
Merge pull request #4401 from nboisteault/fix-html-dataviz-in-childre…
nboisteault May 13, 2024
cc58f31
Fix tests e2e cypress dataviz
rldhont May 13, 2024
bbf140e
Merge pull request #4427 from rldhont/fix-tests-e2e-cypress-dataviz
rldhont May 13, 2024
320f355
[Fix] JS: Empty group
rldhont May 13, 2024
f66c004
Merge pull request #4426 from rldhont/fix-empty-group-as-group
rldhont May 14, 2024
810cf6d
Docs - Update changelog for 3.6
Gustry May 14, 2024
5217af9
Docs - update changelog for 3.7
Gustry May 14, 2024
dbeff1a
Docs - update changelog for 3.8
Gustry May 14, 2024
67e4eab
Bump versions about required server plugin and recommended desktop pl…
Gustry May 14, 2024
d2737f4
Dev - Add basic pre-commit hook
Gustry May 13, 2024
c1727ef
Skip files from checking trailing whitespace or end of line fixer
Gustry May 14, 2024
6875503
Merge pull request #4432 from Gustry/min-versions
Gustry May 14, 2024
3b0cd4e
Tests JS Units: Check default_background_color_index
rldhont May 14, 2024
4c6f8c2
Fix: Add project-background-color even if the default_background_colo…
rldhont May 14, 2024
84aa9b2
Merge pull request #4425 from Gustry/pre-commit
Gustry May 14, 2024
5e01711
Merge pull request #4435 from rldhont/fix-3_34-default_background_col…
rldhont May 14, 2024
efef59b
Docs - Update changelog for 3.7
Gustry May 14, 2024
6850b2e
Release of 3.7.7
Gustry May 14, 2024
9e25ab6
CI - Add script to fetch the previous funded by and labels
Gustry May 14, 2024
6f0fa6c
Fix previous commit about my own debug
Gustry May 14, 2024
6cf79ef
GH Action - Skip own backport label
Gustry May 14, 2024
1d3da95
Tests e2e : playwright request.postData() is possibly null
rldhont May 14, 2024
53b9558
Merge pull request #4442 from rldhont/playwright-postData-possibly-null
rldhont May 14, 2024
4ba74b8
Fix use external WMS
rldhont May 16, 2024
2c788fb
Merge pull request #4445 from rldhont/fix-use-external-wms
Gustry May 16, 2024
495fdd4
CI - Check for all author of backport PR
Gustry May 16, 2024
2cbd874
CI - Add some debug for the backport bot
Gustry May 16, 2024
838d9dd
CI - Follow up previous commit about backport
Gustry May 16, 2024
5dfcb05
CI - Print traceback
Gustry May 16, 2024
4fa8c8b
CI - Use proper label name instead of its ID
Gustry May 16, 2024
e7fe1cd
CI - Backport link is a full URL, not a GitHub link
Gustry May 17, 2024
9bd3882
Fix: Group with layers can be used as baselayer
rldhont May 16, 2024
21e43d9
Merge pull request #4447 from rldhont/fix-baselayer-group-based
rldhont May 17, 2024
6404325
CI - Backport script add debug about parent PR URL
Gustry May 17, 2024
6aa7013
CI - Backport, fix wrong variable name
Gustry May 17, 2024
1784073
CI - For backport PR description, handle raw text or GitHub Markdown …
Gustry May 17, 2024
6c85bd1
Fix popup display in minidock
nboisteault May 17, 2024
6c1f83f
e2e: test popup visible in minidock
nboisteault May 17, 2024
931884f
Merge pull request #4449 from nboisteault/fix-popup-minidock
nboisteault May 17, 2024
3e009de
Tests e2e Base layers enhancing
rldhont May 17, 2024
8499991
Merge pull request #4451 from rldhont/tests-e2e-baselayers
rldhont May 17, 2024
d472cad
check tag with thumbnail class and generate thumbnail
nworr May 7, 2024
99de625
Reduce loading image size and get back previous white color on animat…
nboisteault May 17, 2024
02d7534
[end2end] check thumnil creation for attributes table
nworr May 17, 2024
0f8f6c1
refresh layer after editing
mind84 May 21, 2024
aea0fc6
[Bugfix] Attribution only for baselayers
rldhont May 17, 2024
4cba325
Tests e2e playwright: gotoMap global method
rldhont May 22, 2024
34f8f94
Tests e2e attributions
rldhont May 22, 2024
871d90a
Merge pull request #4457 from rldhont/fix-map-layer-attribution
rldhont May 22, 2024
033c6dc
get geometry column in a predictable way
mind84 May 22, 2024
0b76d6e
UI: Greyscale symbols when layer is not visible
rldhont May 23, 2024
da839bf
Merge pull request #4464 from rldhont/treeview-greyscale-not-visible
rldhont May 23, 2024
d8bb3fb
Tests e2e playwright popup uses gotoMap
rldhont May 23, 2024
4a767d2
Tests e2e playwright popup Lint
rldhont May 23, 2024
1ba80f5
[Bugfix] LEGEND_ON and LEGEND_OFF parameters in GetFeatureInfo
rldhont May 23, 2024
4a1816a
Merge pull request #4461 from rldhont/getfeatureinfo-legend-on-off
rldhont May 23, 2024
e125208
Merge pull request #4417 from nworr/thumbnail-in-data
rldhont May 24, 2024
0e2a312
Merge pull request #4460 from mind84/geometryColumn
rldhont May 24, 2024
97b1be6
Tests e2e playwright Edition form format spaces
rldhont May 24, 2024
026eaed
[Bugfix] Treeeview symbols not in scale
rldhont May 23, 2024
7efcd29
Tests e2e playwright Legend form ts to js
rldhont May 24, 2024
806ff20
Tests e2e playwright Legend format file
rldhont May 24, 2024
42aa11e
Tests e2e playwright Legend using gotoMap
rldhont May 24, 2024
d848f51
Tests e2e playwright Legend checked symbol in scale
rldhont May 24, 2024
8bcf575
Tests e2e playwright Permalink: update because of layer_legends proje…
rldhont May 24, 2024
773f6f1
Merge pull request #4466 from rldhont/treeview-symbol-not-in-scale
rldhont May 24, 2024
e2057b2
[Bugfix] Treeview: italic and greyscaled uncheked symbols and their c…
rldhont May 24, 2024
fd4fec6
Merge pull request #4473 from rldhont/treeview-symbol-unchecked
rldhont May 24, 2024
a705a90
For admin, check plugin version first, before checking for warnings
Gustry May 24, 2024
f29f700
Merge pull request #4471 from Gustry/check-plugin-version-first
Gustry May 24, 2024
1219a6b
Merge pull request #4456 from mind84/reload_after_edit_singlewms
rldhont May 24, 2024
ae46d53
Tests e2e playwright from ts to js
rldhont May 25, 2024
c2f9311
Tests e2e playwright format document
rldhont May 25, 2024
a4a7d57
Tests e2e playwright gotoMap
rldhont May 25, 2024
0fc22e8
Merge pull request #4478 from rldhont/lint-tests-e2e-playwrigth
rldhont May 25, 2024
b52c623
Update dompurify
nboisteault May 27, 2024
a2655ab
Update OL to 9.2.3
nboisteault May 27, 2024
b8092d6
Docs - Update changelog for 3.7
Gustry May 27, 2024
8d3b423
Docs - Update changelog for 3.6
Gustry May 27, 2024
eabf2e6
Tests - Add helper to test if the map is OK when opening it
Gustry May 7, 2024
943bd1d
Merge pull request #4416 from Gustry/check-error
Gustry May 27, 2024
fdc787e
Release of 3.6.13
Gustry May 27, 2024
6922c6c
Update QGIS Desktop recommended version
Gustry May 27, 2024
45d799f
Release of 3.7.8
Gustry May 27, 2024
283bd7e
Create `lizmap-message` component
nboisteault May 28, 2024
ef3e9b3
Close message on next button click
nboisteault May 28, 2024
4e4d453
Get message in tooltip on hover
nboisteault May 28, 2024
d9fcb01
Admin - Add legend about warning icon in project table
Gustry May 14, 2024
44e2e2f
Merge pull request #4485 from Gustry/legend-warning
Gustry May 28, 2024
52f5eb6
Tests - Update time_manager project
Gustry May 28, 2024
769e9ac
Tests - Update 3 projects from QGIS 3.16 to 3.28 with latest plugin v…
Gustry May 28, 2024
711742f
Tests - Upgrade 4 projects from QGIS 3.16 to 3.28
Gustry May 30, 2024
50f14fe
Tests - Upgrade 6 projects from 3.16 to 3.28
Gustry May 30, 2024
b234c1e
Merge pull request #4494 from Gustry/upgrade-projects
Gustry May 30, 2024
744ff33
Admin - Add missing variable in locale in the project page
Gustry May 30, 2024
3f5c93c
Take component's innerHTML as message
nboisteault Jun 3, 2024
abdcdb2
Merge pull request #4484 from nboisteault/lizmap-message-component
nboisteault Jun 3, 2024
99251ca
Remove zoom to layer extent button
nboisteault Jun 3, 2024
f00c642
Fix: let min/max resolutions be handled by OpenLayers for WMTS
nboisteault Jun 4, 2024
58b5c62
js-units: follow up f00c6428dca707ec5af4673d9450490ee4295e70
nboisteault Jun 4, 2024
7b6e542
UI: set border-bottom for popup's title
nboisteault Jun 5, 2024
9c93d52
Fix #4359
nboisteault Jun 6, 2024
417ade4
Refresh baselayers select on change
nboisteault Jun 6, 2024
a85265e
Handle baselayers visibility in theme
nboisteault Jun 6, 2024
cfbb155
e2e: Handle baselayers visibility in theme
nboisteault Jun 6, 2024
5ede82e
Merge pull request #4504 from nboisteault/theme-baselayers-visibility
nboisteault Jun 6, 2024
be5ae15
I18N - Update strings from Transifex
Gustry Jun 6, 2024
1838654
Update Playwright to 1.44.1
nboisteault Jun 6, 2024
60efb5f
Update minimum LWC target version to 3.5 and minimum Lizmap server pl…
Gustry Jun 6, 2024
2b54d8b
Docs - Update changelog for 3.8
Gustry Jun 6, 2024
abc063c
Release of 3.8.0-rc.1
Gustry Jun 6, 2024
ef2b8a2
Bump to version 3.9.0-pre.1
Gustry Jun 6, 2024
ce31bfd
Docs - New changelog file for 3.9
Gustry Jun 6, 2024
fedfa62
Admin - Display the list of warning ID in the admin panel, in the too…
Gustry Jun 7, 2024
8fef371
Fix version
laurentj Jun 10, 2024
88dc87f
Fix: project-background-color group as startup base layer
rldhont Jun 12, 2024
b612e70
Tests e2e: move WMS/WMTS layers from demo.lizmap.com to liz.lizmap.com
rldhont Jun 14, 2024
060efb0
Merge pull request #4516 from rldhont/fix-startup-project-background-…
rldhont Jun 14, 2024
05d2fc6
Tests - Two lines seem to be strict or flaky for E2E tests
Gustry Jun 13, 2024
9d743d5
Expose more OL 9 classes
nboisteault Jun 14, 2024
859efc5
Add QMS Google Maps Tiles
mind84 Mar 19, 2024
1d0f9b1
prevent empty baselayers group error, add test
mind84 Jun 14, 2024
e31c400
Expose some `lit-html` classes
nboisteault Jun 14, 2024
0450880
Merge pull request #4527 from nboisteault/expose-more-ol
nboisteault Jun 14, 2024
7a5199c
Popup: allow toggling of active state
nboisteault Jun 17, 2024
2639959
[security] Fix cross-site scripting issue with the theme parameter
laurentj Jun 17, 2024
abfed69
Update 2_Feature_request.md
Gustry Jun 18, 2024
ab3ffe9
Bump cypress-io/github-action from 6.6.1 to 6.7.0
dependabot[bot] Jun 1, 2024
4125788
GitHub - Review some actions
Gustry Jun 18, 2024
f859795
Tests - Fix instance name in README.md
Gustry Jun 18, 2024
cc6c25b
GitHub Action - Follow up about stale bot
Gustry Jun 19, 2024
777135d
Follow up previous commit
Gustry Jun 19, 2024
adf83d9
Popup: remove remaining OL2 dependencies (#4535)
nboisteault Jun 20, 2024
c27f007
Popup: respect `popupMaxFeatures` parameter (#4537)
nboisteault Jun 20, 2024
f0a34d5
Remove CSS height and width (16px) for legends
nboisteault Jun 20, 2024
78db78a
Merge pull request #4357 from mind84/google_wmts
Gustry Jun 21, 2024
9c970ef
[fix] print atlas
maxencelaurent Jun 23, 2024
8a277a0
Fix feature filtering when PK is of type string
maxencelaurent Jun 23, 2024
5584c2f
Tests e2e playwright: Print empty or external base layer
rldhont Jun 25, 2024
9a27860
Test e2e Cypress: Enhancing external WMS layer
rldhont Jun 24, 2024
0141ead
Merge pull request #4544 from rldhont/fix-e2e-cypress-base-external-l…
rldhont Jun 25, 2024
b005599
Merge pull request #4550 from rldhont/tests-e2e-playwright-print-empt…
rldhont Jun 25, 2024
b3944ca
JS Docstrings
rldhont Feb 8, 2024
86c45dd
UI: Double clicking on group propagating the checked state
rldhont Feb 8, 2024
4bb7a16
tests e2e
rldhont Feb 20, 2024
0351242
JsDocs
rldhont Apr 15, 2024
cdf445c
Merge pull request #4179 from rldhont/dblclick-treeview-legend-group
rldhont Jun 26, 2024
2349455
Update index.html in the docs folder
Gustry Jul 1, 2024
64e99e4
Docs - Update changelog for 3.8
Gustry Jul 1, 2024
937f001
Docs - Update changelog for 3.6
Gustry Jul 1, 2024
c45a652
Docs - Update changelog for 3.7
Gustry Jul 1, 2024
158c54d
Review PR template markdown
Gustry Jul 1, 2024
b19151a
Merge pull request #4542 from maxencelaurent/fix-string_pkey
rldhont Jul 1, 2024
2f2df97
Bump cypress-io/github-action from 6.7.0 to 6.7.1
dependabot[bot] Jul 1, 2024
7d77c50
Switch to QGIS Server 3.34 minimum for LWC 3.8 for tests
Gustry Apr 15, 2024
651110b
Merge pull request #4563 from 3liz/dependabot/github_actions/cypress-…
Gustry Jul 2, 2024
7f19ab1
E2E - Disable two asserts for QGIS 3.34, temporary
Gustry Jul 2, 2024
aa7ba8b
Merge pull request #4367 from Gustry/min-qgis-34
Gustry Jul 2, 2024
11b7fb3
Fix: overview map with print
nboisteault Jul 2, 2024
23b168d
[Bugfix] JS: activateFirstMapTheme options config
rldhont Jun 11, 2024
50a5482
[Bugfix] JS: Config module enhancement
rldhont Jun 11, 2024
0444fd0
[Bugfix] JS: Theme Config add expanded legends and checked groups
rldhont Jun 11, 2024
c3f2753
[Bugfix] JS: theme selecting baselayer
rldhont Jun 29, 2024
4739461
Define mapTheme parameter
rldhont Jun 29, 2024
1b0d6e7
E2E - Renable some tests due to QGIS 3.34
rldhont Jul 2, 2024
30a6b47
Fix installation: some upgraders were not launched when upgrading fro…
laurentj Jul 3, 2024
bbcf296
Update locales for Jelix
laurentj Jul 3, 2024
53a6b17
Merge pull request #4514 from rldhont/fix-themes
rldhont Jul 3, 2024
d96c5fe
Release of 3.6.14
Gustry Jul 4, 2024
3496151
Tests - Upgrade CFG which were on LWC 3.5 to 3.7 and QGIS 3.28
Gustry Jul 4, 2024
356ed34
Demo - Update tests projects to LWC 3.7 and QGIS 3.28
Gustry Jul 4, 2024
00ef2fd
Merge pull request #4573 from Gustry/upgrade-3-5-projects
Gustry Jul 4, 2024
b84f7aa
Merge pull request #4574 from Gustry/demo-upgrade
Gustry Jul 4, 2024
09b3ee4
Tests e2e playwright: Catching errors
rldhont Jul 4, 2024
9b3e20b
[Bugfix] Still support bbox parameter
rldhont Jun 11, 2024
1b4a49f
[Bugfix] Projects in map: click on project image stay at the same extent
rldhont Jul 4, 2024
7fcfaab
Merge pull request #4513 from rldhont/fix-bbox-parameter
rldhont Jul 4, 2024
d436f5c
Update .gitignore
Gustry Jul 4, 2024
de50c51
e2e: test overview map with print
nboisteault Jul 2, 2024
9df8b6f
Merge pull request #4566 from nboisteault/print-overview
nboisteault Jul 4, 2024
a8c71ee
Docs - Update changelog for 3.7
Gustry Jul 4, 2024
2c821d0
Release of 3.7.9
Gustry Jul 4, 2024
425eea1
New option to disable the automatic permalink
rldhont Jul 5, 2024
5a41ffc
Fix installation: version constraints were not checked during upgrade…
laurentj Jul 8, 2024
af9898f
Merge pull request #4586 from rldhont/disable-automatic-permalink
rldhont Jul 8, 2024
db68a62
Release of 3.8.0-rc.2
Gustry Jul 8, 2024
3f22f5d
Release of 3.8.0-rc.2 with updating the changelog
Gustry Jul 8, 2024
b941a56
Automatic permalink will be disabled by default
rldhont Jul 8, 2024
5d5b743
Merge pull request #4591 from rldhont/fix-disable-automatic-permalink
rldhont Jul 9, 2024
e981da8
Fix JS Dataviz: When dataviz is not available
rldhont Jul 11, 2024
282aae5
Tests e2e playwright Embed: Dataviz does not generate error
rldhont Jul 11, 2024
9857768
Merge pull request #4595 from rldhont/fix-dataviz-embed
rldhont Jul 11, 2024
b0fe582
e2e: project to test form filter w/ restricted user rights
nboisteault Jul 12, 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? (in English)
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
22 changes: 22 additions & 0 deletions .github/ISSUE_TEMPLATE/2_Feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
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'
- 'Sponsor or PR needed'
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? (in English)
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.
15 changes: 15 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<!--
Add the word "fix" in front of "#" if it fixes the ticket
or do nothing to only mention it.

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

Please mention if the PR should be backported and to which versions.

Please add new tests if possible (JS, PHP, End2End…)
-->

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/**',
]
Loading
Loading