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

BS5: add form-select class to <select> #4838

Open
wants to merge 6,314 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
6314 commits
Select commit Hold shift + click to select a range
3882d63
Merge pull request #4627 from rldhont/fix-tiles-resolutions
rldhont Jul 17, 2024
0b1cfd8
Fix JS XYZ Grid Tile
rldhont Jul 17, 2024
3a32f93
Tests e2e playwrigth: enhancing base layers tests
rldhont Jul 17, 2024
465d43e
Merge pull request #4634 from rldhont/tests-e2e-playwright-baselayers
rldhont Jul 17, 2024
62705f6
e2e: update playwright to 1.45.2
nboisteault Jul 18, 2024
b34fd6e
Fix: don't rely on `window.location.hash` as it can be empty
nboisteault Jul 19, 2024
f8ab124
Fix: If geobookmark is the same than the hash there is no `hashchange…
nboisteault Jul 19, 2024
d536cd2
Docs - Update changelog for 3.8
Gustry Jul 19, 2024
2937b52
Docs - Update changelog for 3.7
Gustry Jul 19, 2024
76c5b33
Docs - Update changelog for 3.9
Gustry Jul 19, 2024
dbda54c
JS External OpenLayers Layer: defined custom title
rldhont Jul 19, 2024
d623871
Tests - Update versions in commented lines for E2E tests before release
Gustry Jul 19, 2024
0b7e66b
Release of 3.8.0-rc.3
Gustry Jul 19, 2024
bdf8adf
Fix Project properties WMS Extent empty
rldhont Jul 20, 2024
4bb87d3
Merge pull request #4638 from rldhont/fix-properties-wmsextent-null
rldhont Jul 20, 2024
573e8cf
Tests : Attribute Table config
rldhont Jul 20, 2024
ecd4aa1
Merge pull request #4639 from rldhont/tests-attribute-table-config
rldhont Jul 21, 2024
5b23736
JS Extent: enhancing docs and tests
rldhont Jul 22, 2024
192fee7
JS State Map: enhancing intialization and properties
rldhont Jul 22, 2024
082a430
JS: mainLizmap.center has to be provided by map state
rldhont Jul 21, 2024
930477e
Merge pull request #4643 from rldhont/js-main-lizmap-center
rldhont Jul 22, 2024
6f50201
Fix JS externalLayer: defaultol icon and events
rldhont Jul 22, 2024
71ff103
Merge pull request #4645 from rldhont/fix-external-layer-icon-events
rldhont Jul 22, 2024
c9788a9
clean JS
rldhont Jul 22, 2024
fb2462a
Fix UI: mapmenu tooltip z-index
rldhont Jul 23, 2024
4ad0a5d
Update e2e package
rldhont Jul 23, 2024
c610597
Fix Projects switcher in maps
rldhont Jul 22, 2024
deacd69
Add dataset to lizmap project div
rldhont Jul 23, 2024
d0183af
Projects switcher in maps compatibility with 3.8
rldhont Jul 23, 2024
aae0ccb
Tests e2e playwright: Map projects switcher
rldhont Jul 23, 2024
1a4d96a
Merge pull request #4647 from rldhont/fix-map-projects
rldhont Jul 23, 2024
ed8eed1
Fix JS loadProjDefinition
rldhont Jul 23, 2024
4ed67f3
Tests e2e playwright: Map projects switcher - Enhancing
rldhont Jul 23, 2024
987fdef
Tests e2e playwright: Map projects switcher - CI
rldhont Jul 23, 2024
4cd9850
Merge pull request #4650 from rldhont/fix-map-projects-ci
rldhont Jul 23, 2024
7447b67
Fix: Enable popup when digitizing is disabled
rldhont Jul 25, 2024
a79677a
e2e
rldhont Jul 25, 2024
c84219a
Merge pull request #4654 from rldhont/fix-popup-digitizing
rldhont Jul 25, 2024
1b77514
Fix ci pacakge map-projects.js
rldhont Jul 26, 2024
5b10d9c
Fix: disable popup when edition or erasing draw are enabled
rldhont Jul 29, 2024
28e94f7
Update dompurify to 3.1.6
nboisteault Jul 29, 2024
206e829
Update OL to 10 and proj4 to 2.11.0 (#4660)
nboisteault Jul 29, 2024
1cafca4
JS Component Digitizing: Attributes measure, save, import-export
rldhont Jul 29, 2024
12658a0
JS Component Digitizing: Attribute context
rldhont Jul 30, 2024
8471e70
JS Component Digitizing: Attribute selected-tool
rldhont Jul 30, 2024
d2dccbc
JS Component Digitizing: Attribute available-tools
rldhont Jul 30, 2024
02a025d
JS Component Digitizing: Docs
rldhont Jul 30, 2024
8b72f86
Fire treecreated event at proper time (#4658)
mind84 Jul 30, 2024
ab85d18
New Lizmap web component lizmap-features-table to display a compact l…
mdouchin Jun 6, 2024
17615f9
Merge pull request #4502 from mdouchin/lizmap-features-table
mdouchin Jul 31, 2024
f9285fa
Add link to the commit SHA on GitHub if possible
Gustry Jul 31, 2024
3212b12
Merge pull request #4666 from Gustry/commit_id
Gustry Jul 31, 2024
8137fc7
Update copyright date from 2023 to 2024 in 2 files
Gustry Jul 31, 2024
b5ae857
JSDoc - Add some comment in the FeaturesTable.js file
Gustry Jul 31, 2024
562f421
Docs - Update changelog for 3.7
Gustry Jul 31, 2024
570136f
Docs - Update changelog for 3.8
Gustry Jul 31, 2024
6992fab
Initialization of group checkboxes based on Lizmap configuration
mind84 Jul 26, 2024
f8769a3
CI - Care of updates on PR for the stale bot
Gustry Jul 31, 2024
37b8a00
restrict hideGroupsCheckbox logic in LayerGroupState class
mind84 Jul 30, 2024
dfbe62d
Merge pull request #4657 from mind84/init_group_checkboxes
rldhont Jul 31, 2024
36ca147
Rephrase strings from item to feature #4502
Gustry Aug 1, 2024
0bcd32d
Bump braces from 3.0.2 to 3.0.3 in /tests/js-units
dependabot[bot] Jun 18, 2024
88bbb3d
Release of 3.7.10
Gustry Aug 1, 2024
0224cfd
Bump actions/upload-artifact from 4.3.3 to 4.3.4
dependabot[bot] Aug 1, 2024
e790025
[Feature] JS: Addinig Open Layers format for reading WFS capabilities…
rldhont Aug 1, 2024
0b1a3e4
Bump cypress-io/github-action from 6.7.1 to 6.7.2
dependabot[bot] Aug 1, 2024
0c0f8f5
Run pre-commit
Gustry Aug 5, 2024
f8c953c
Php unit 10 compatibility (#4683)
nworr Aug 8, 2024
4378947
remove phpstan ignored errors no more existing (#4686)
nworr Aug 8, 2024
21e6b56
Tests - Update phpunit version
Gustry Aug 1, 2024
73fb130
Try 11.2.9 for PHPunit
Gustry Aug 9, 2024
17c06fd
Merge pull request #4679 from Gustry/phpunit
Gustry Aug 9, 2024
d5065e4
Update playwright to 1.46.0
nboisteault Aug 12, 2024
0be209f
Docs - Update changelog for 3.8
Gustry Aug 14, 2024
1a23737
Fix previous changelog entries for 3.8 and release 3.8.0-rc.4
Gustry Aug 19, 2024
d994a39
Remove some deprecated statements from Dockerfile (#4692)
Gustry Aug 19, 2024
d63dbe5
Tests - Remove monitoring folder (#4698)
Gustry Aug 22, 2024
4ec0a25
Filter by user - Attribute filter: allow having multiple users or gro…
nboisteault Jun 27, 2024
865c5d1
PlayWright test - Filter by user: replace GetMap screenshot compariso…
mdouchin Aug 22, 2024
f6c968a
GH Action - minor update in the YML file (#4702)
Gustry Aug 22, 2024
08b833a
Attribute filter - activate multiple values capability only for Postg…
mdouchin Aug 23, 2024
2c4843f
Merge pull request #4559 from nboisteault/filter_by_multiple_users_or…
mdouchin Aug 23, 2024
c2625ff
PHP - Add helper for property_exists
Gustry Aug 23, 2024
7290778
Remove unwanted web assets from local configuration
laurentj Aug 26, 2024
2bf9e6a
Docs - Update changelog for 3.8.0
Gustry Aug 27, 2024
1229039
Tests - Update PHPStan to 8.0, to match minimum of PHPUnit
Gustry Aug 27, 2024
5d7a6ec
Merge pull request #4710 from Gustry/phpstan
Gustry Aug 27, 2024
9d87a80
Fix phpstan errors
laurentj Aug 27, 2024
5ba8fda
[CI] Fix phpstan errors and freeze version
laurentj Aug 27, 2024
681e064
use preg_match return value and remove useless preg match array count…
nworr Aug 27, 2024
226ffb9
update phpstan version
nworr Aug 27, 2024
965afa7
Merge pull request #4712 from nworr/phpstan-1-11
rldhont Aug 28, 2024
bfb4e69
[Bugfix] lizMap.getFeaturePopupContentByFeatureIntersection choosing …
rldhont Aug 28, 2024
53a4cbe
Merge pull request #4705 from Gustry/property-exists-helper
Gustry Aug 29, 2024
9e583ea
Admin panel - Update of string
Gustry Aug 30, 2024
b3f14a8
Headed chrome for Cypress (#4720)
nboisteault Aug 30, 2024
1c0681f
Bump cypress-io/github-action from 6.7.2 to 6.7.5
dependabot[bot] Sep 1, 2024
b9d424c
Bump actions/upload-artifact from 4.3.4 to 4.4.0
dependabot[bot] Sep 1, 2024
a0b5e64
Bump PHP unit to 11.3.1
Gustry Sep 2, 2024
df7c4e5
I18N - Update strings from Transifex
Gustry Sep 2, 2024
eccfc7f
Fix: JS error on portrait mode
nboisteault Sep 2, 2024
48346a1
Release of 3.8.0
Gustry Sep 2, 2024
419f9de
Bump Lizmap server plugin to version 2.8.10, and fix a typo in a PHP …
Gustry Sep 2, 2024
7076fec
PHP - Rollback phpunit to version 10.5.29 instead of 11.3.1, because …
Gustry Sep 2, 2024
99b2195
Merge pull request #4723 from 3liz/dependabot/github_actions/cypress-…
Gustry Sep 2, 2024
e815272
Merge pull request #4716 from rldhont/fix-getFeaturePopupContentByFea…
rldhont Sep 2, 2024
f214de6
Merge pull request #4662 from rldhont/element-digitizing-attributes
rldhont Sep 3, 2024
f61b333
Merge pull request #4671 from rldhont/ol-wfs-capabilities
rldhont Sep 3, 2024
40a3458
[Bugfix] JS Digitizing measure : Provide map projection
rldhont Sep 5, 2024
02ac1d3
Tests: Update draw project
rldhont Sep 5, 2024
2a6fbe1
Tests e2e draw: close left dock to draw all
rldhont Sep 5, 2024
2888f6c
Fix: Shifted geometry during editing (#4731)
nboisteault Sep 5, 2024
20cfb54
Merge pull request #4730 from rldhont/fix-digitizing-measure
rldhont Sep 6, 2024
ee456ed
Fix: Target "_blank" disapeared on hyperlinks in popups (#4734)
nboisteault Sep 6, 2024
67c3e5f
Update files for bootstrap 5
nboisteault May 13, 2024
8a60e37
Update dock and minidock without tabs
nboisteault May 21, 2024
ac7c0e6
Update digitizing dropdown
nboisteault Jun 7, 2024
74f22c4
Migrate tooltips
nboisteault Jun 21, 2024
cd10f04
Refactor docks
nboisteault Jun 21, 2024
60cea19
Refacto bootstrap 5
nboisteault Jun 21, 2024
fe10295
Migrate theme selector
nboisteault Jul 5, 2024
e8499ac
Pass dnd-form.spec.js test
nboisteault Jul 12, 2024
76ca22f
e2e: pass popup.spec.js test
nboisteault Jul 12, 2024
cd56a8f
e2e: pass snap.spec.js test
nboisteault Jul 12, 2024
a60bafd
e2e: pass popup.spec.js test (follow up)
nboisteault Jul 15, 2024
c53086f
Update tabs in permalink dock
nboisteault Jul 15, 2024
fd690c2
Migrate theme selector (follow up)
nboisteault Jul 15, 2024
1b3fb51
e2e: fix attribute-table.spec.js
nboisteault Jul 19, 2024
9abce3d
Migrate `btn-mini` and `btn-small` to `btn-sm`
nboisteault Jul 19, 2024
e1e5f70
Bootstrap5: upgrade project page's input search
nboisteault Jul 19, 2024
cbc2172
Bootstrap5: some upgrade
nboisteault Jul 19, 2024
5a6805f
Migrate top navbar to BS5
nboisteault Aug 23, 2024
6905c1e
Migrate alert message to BS 5
nboisteault Aug 26, 2024
bb707c7
Migrate tabs for children layers
nboisteault Aug 26, 2024
b785415
e2e: update popup test
nboisteault Aug 26, 2024
7cff681
e2e: update print test
nboisteault Aug 26, 2024
2437935
Refactor docks
nboisteault Aug 27, 2024
1d321dc
Convert <a> to <button> for tabs in dataviz
nboisteault Aug 29, 2024
87dbda6
BS5: more refacto
nboisteault Aug 29, 2024
dc97c43
e2e: foce click because of tooltip hovering the input
nboisteault Aug 29, 2024
a2929c9
e2e: upgrade form_edition
nboisteault Aug 29, 2024
b70cf0f
Fix: tab behavior in attribute table
nboisteault Aug 29, 2024
9bf79a8
Migrate tabs for dynamic forms
nboisteault Aug 30, 2024
643498a
e2e: more test fix
nboisteault Aug 30, 2024
6392538
Migrate admin nav to BS5
nboisteault Sep 2, 2024
8dd82cf
Migrate BS `alert` component
nboisteault Sep 2, 2024
aaa345a
Adapt style to replace `thumbnail` class which does not exist in BS5
nboisteault Sep 2, 2024
984e54d
Migrate project page modal
nboisteault Sep 2, 2024
ae43fb4
Convert remaining `.alert-error` to `.alert-danger`
nboisteault Sep 3, 2024
b5785b0
Fix
nboisteault Sep 6, 2024
68744f3
Merge pull request #4455 from nboisteault/bootstrap_5
nboisteault Sep 6, 2024
57a09b6
Put back dock title
nboisteault Sep 6, 2024
65bcec3
Lookup layer by any name for client cache.
ppetru Sep 6, 2024
60d408a
Lookup layer by any name for server cache.
ppetru Sep 6, 2024
3746acc
Fix dock UI for BS5
nboisteault Sep 6, 2024
ed1f000
Revert b5785b07077e03c20a1ac9ae157704a617a979dc
nboisteault Sep 9, 2024
2bb987b
Update image to latest UI, missing transparency
Gustry Sep 9, 2024
d32c2e5
e2e: give correct path for playwright session files
nboisteault Sep 10, 2024
e82c6a5
Fix digitizing dropdown after BS5 upgrade (#4739)
nboisteault Sep 10, 2024
d9e16ac
Merge branch 'master' into patch-1
ppetru Sep 11, 2024
22acce2
Import zipped Shapefile (#4742)
nboisteault Sep 12, 2024
7e01bda
Update playwright to 1.47.0
nboisteault Sep 12, 2024
78086fa
Fix localization of datetime pickers
laurentj Sep 12, 2024
f2e9a2d
Use OL10 map instead of OL2 for actions (#4743)
nboisteault Sep 12, 2024
1478ac4
Jelix files not updated for the datetimepicker fix
laurentj Sep 12, 2024
2b6b5e8
UX - Be more explicit about downloading vector files layers only
Gustry Sep 13, 2024
d026642
Merge branch 'master' into patch-1
ppetru Sep 13, 2024
3743e1a
Docs - Update changelog for 3.7
Gustry Sep 16, 2024
4ae1580
Docs - Update changelog for 3.8
Gustry Sep 16, 2024
d33bfd7
Docs - Update changelog for 3.9
Gustry Sep 16, 2024
00ba7f0
Bugfix Permalink: checked groups are not respected when hash is applied
rldhont Sep 16, 2024
525e8b6
Tests e2e: Check unfound for echo request
rldhont Sep 16, 2024
9997b88
Merge pull request #4753 from rldhont/fix-permalink-group-unchecked
rldhont Sep 16, 2024
aec373f
Merge pull request #4737 from ppetru/patch-1
rldhont Sep 16, 2024
085dac0
Merge pull request #4755 from rldhont/tests-e2e-echo-unfound
rldhont Sep 16, 2024
e78c96c
Merge pull request #4747 from Gustry/export-vector-layer
Gustry Sep 17, 2024
d8847b3
PHP: Using getXml instead of direct acces to xml protected attribute
rldhont Sep 16, 2024
96375dd
Fix PHP Unit Warning: Jelix AppContextInterface getCache can be null
rldhont Sep 17, 2024
5e9eaca
Merge pull request #4765 from rldhont/php-qgisProject-getXml
rldhont Sep 17, 2024
640664e
get specific connection object for fields quoting
mind84 Sep 12, 2024
c0d86b2
Merge pull request #4746 from mind84/enclose_fieldname_filter
Gustry Sep 17, 2024
2387f92
Remove PHP gettext from composer.json
Gustry Sep 18, 2024
3ccb28e
Docs - update changelog for 3.8
Gustry Sep 18, 2024
0536090
Bump recommended desktop plugin version, increase server plugin versi…
Gustry Sep 18, 2024
8470d94
Release of 3.8.1
Gustry Sep 18, 2024
bde02f8
Do not provide a link to Py-QGIS-Server repository if n/a
Gustry Sep 19, 2024
655b2ba
Update Jelix file about password
Gustry Sep 19, 2024
537b783
Merge pull request #4772 from Gustry/password
Gustry Sep 19, 2024
a93a41d
Activate tooltips only on hover
nboisteault Sep 19, 2024
e5be62a
GetFeatureInfo - Request with BootStrap5 instead of the default Boots…
Gustry Sep 18, 2024
28d38e2
Update lizmap/modules/lizmap/lib/Request/WMSRequest.php
Gustry Sep 23, 2024
fdaed40
init bs5 tooltip (#4775)
mind84 Sep 23, 2024
f6a2d6c
Update OL to 10.2.0
nboisteault Sep 24, 2024
d39c665
e2e: update cache.qgs
nboisteault Sep 24, 2024
9a2093c
Merge pull request #4771 from Gustry/py-qgis-server-na
Gustry Sep 24, 2024
b3993e1
Merge pull request #4769 from Gustry/lwc-version
Gustry Sep 24, 2024
68391bc
merge single tests (#4780)
mind84 Sep 24, 2024
6879e8a
Count user defined js , adapt message when js exception (#4776)
nworr Sep 24, 2024
5676693
Fix BS5 dropdown opening (#4790)
ygorigor Sep 26, 2024
295f787
Merge pull request #4767 from Gustry/remove-gettext
Gustry Sep 26, 2024
8b20a08
bug:4779 opening layer group information window (#4793)
cfsgarcia Sep 26, 2024
7a51676
Fix BS5 badge, use a badge for Lizmap server update instead of adding…
Gustry Sep 25, 2024
d51a863
The table shows layers and groups, so rephrasing labels to mention gr…
Gustry Sep 25, 2024
268b36b
Merge pull request #4788 from Gustry/use-badge
Gustry Sep 26, 2024
367ab46
Merge pull request #4796 from 3liz/backport-4787-to-master
Gustry Sep 26, 2024
87cd814
Upgrade legend modal to BS5
nboisteault Sep 26, 2024
abea6fd
Update OL to 10.2.1
nboisteault Sep 27, 2024
7aacb76
Fix: reproject circle when printing + use `CURVEPOLYGON` to get full …
nboisteault Sep 27, 2024
2b1927d
JS: Extent add center property
rldhont Sep 27, 2024
5215e17
JS Map State: transform initial extent on projection changes
rldhont Sep 27, 2024
77032e9
e2e: add `CURVEPOLYGON` for circle print tests
nboisteault Sep 27, 2024
fc87147
E2E - Fix version of Py-QGIS-Server
Gustry Sep 27, 2024
2a0a63f
Merge pull request #4799 from nboisteault/fix-print-circle
nboisteault Sep 27, 2024
75c6049
Merge pull request #4801 from Gustry/py-qgis-server
Gustry Sep 27, 2024
f752cb6
UX - Provide a HTTP link about the main plugin homepage/help
Gustry Sep 19, 2024
9fc6f4b
Merge pull request #4800 from rldhont/fix-js-state-map-initialextent-…
rldhont Sep 27, 2024
14de1fd
Merge pull request #4773 from Gustry/plugin-help
Gustry Sep 30, 2024
effa48b
Fix: allow tiled wms when singleTile is false and layer is not cached
nboisteault Sep 26, 2024
3297f8d
ModuleInfo class
nworr Sep 27, 2024
7b2c91a
show modules info
nworr Sep 27, 2024
fef5649
Add list of modules in the JSON of the server
Gustry Sep 30, 2024
4136b3e
e2e: set `quartiers` as a single tile layer
nboisteault Sep 30, 2024
45a3581
Move the module section into server information
Gustry Sep 30, 2024
3a47b9f
Tests - Improve Playwright helper to load a project with error
Gustry Sep 30, 2024
9b61969
Fix UI for digitizing export button
nboisteault Sep 30, 2024
e00c853
Merge pull request #4785 from nboisteault/tiled_wms
nboisteault Sep 30, 2024
c36eeda
Merge pull request #4811 from Gustry/error-js
Gustry Sep 30, 2024
a708329
Fix phpstan and add tests in Paywrights about modules
Gustry Sep 30, 2024
c75b84d
UX - Improve UX about handling JavaScript errors
Gustry Sep 30, 2024
428b374
Merge pull request #4804 from nworr/modules-show
Gustry Sep 30, 2024
77797c1
Merge pull request #4784 from Gustry/javascript-test
Gustry Sep 30, 2024
b70853e
Git ignore back `tests/qgis-projects/tests/media/`
nboisteault Sep 30, 2024
f70f2f2
fix typo, improve html for module view (#4816)
nworr Oct 1, 2024
cc01c51
Remove dynamicLayers module
Gustry Oct 1, 2024
674cd45
Remove some occurences "dynamicLayers" in the source code
Gustry Oct 1, 2024
8280e75
Release of 3.8.2
Gustry Oct 1, 2024
afad5c8
Tests - Change URL to data.geopf.fr
Gustry Oct 1, 2024
f44c6fc
Merge pull request #4818 from Gustry/dynamic
Gustry Oct 1, 2024
8066358
Docs - Update changelog for 3.7
Gustry Oct 1, 2024
eeef035
Bump cypress-io/github-action from 6.7.5 to 6.7.6
dependabot[bot] Oct 1, 2024
74834ea
Update phpunit/phpunit requirement in /tests/units
dependabot[bot] Oct 1, 2024
e8f2856
Release of 3.7.11
Gustry Oct 2, 2024
1a236b1
Merge pull request #4828 from 3liz/dependabot/composer/tests/units/ph…
Gustry Oct 2, 2024
f426c8b
Merge pull request #4827 from 3liz/dependabot/github_actions/cypress-…
Gustry Oct 2, 2024
9fd91fd
Tests - Add small tests data about upload
Gustry Oct 2, 2024
b9e6a36
Merge pull request #4829 from Gustry/e2e
Gustry Oct 2, 2024
f552444
I18N - Update strings from Transifex
Gustry Oct 3, 2024
c80fff5
Revert "Update phpunit/phpunit requirement in /tests/units"
Gustry Oct 3, 2024
527595b
Update `lizmap-modal` for BS5
nboisteault Oct 3, 2024
0ddde53
BS5: add `form-select` class to <select>
nboisteault Oct 1, 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