diff --git a/CHANGELOG-3.7.md b/CHANGELOG-3.7.md index bc6a405ce4..010f2db7fb 100644 --- a/CHANGELOG-3.7.md +++ b/CHANGELOG-3.7.md @@ -8,6 +8,154 @@ with some extra keywords: backend, tests, test, translation, funders, important ## Unreleased +### Added + +* New theme of the Lizmap Web Client interface +* **Dataviz** + * Use the popup title when showing plot in a popup + * Respect the new option "trigger filter" to avoid filtering the plot on layer filtered + * The editor can now configure how the plots will be organized in the web interface. + A new **Drag & Drop layout** tab has been added in Lizmap plugin Dataviz tab, + which allows to create **tabs and groups** like it can be done for forms. +* **Legend** + * Add checkbox in the legend to enable/disable some symbols within the layer + * Add symbols of the legend item by default for all layers and rendering rules + * Group `project-background-color` to display the default background color + * Use any base layer as a background, the usage of legacy keywords `osm-mapnik` etc. is now deprecated + * These new background layers must be in a group called `baselayers`. +* Improve the "QGIS theme" feature +* **Editing** + * Better user experience with **1-n** relations: the data tables of the related child layers + now respect the position configured in the QGIS editing drag&drop designer. + * Add a combobox in the popup to allow creating a new child feature for the related + layers. This will allow creating child features directly from the parent popup. + * Add some constraints : distance, angle when adding a new geometry + * Add a button to paste a geometry +* Drawing tool + * New display for measurements on the map + * Set feature's color individually + * Delete features individually + * **Draw text** on the map canvas + * Rotation + * Scaling +* **Form filter**: Allow using a second field for the numeric type like it is already possible for dates. + This is useful when the layer features contain two fields describing a minimum and maximum value of the same property. +* **Action module** + * New support for `project` and `layer` scopes: the actions can now be used outside the popup, for a specific chosen layer or as a generic project action. + * A **new web component** `` is used to let the user choose an action and run it (for the layer and project scopes) + * A **new dock** is available and shows the list of the **project actions**, with buttons to run an action and another to reset the results. + * For the layers with actions configured, a click on the layer in the legend also shows the action selector and buttons and allows running this **layer actions** + * An **SVG icon** can be used instead of a bootstrap icon as a background of the popup action buttons + * the current **map extent** and **map center** are sent as parameters in `WKT` format (projection `EPSG:4326`) and can be used in the PostgreSQL function + * Actions can be run from external **JavaScript** scripts, for example: + ```javascript + // Run an action + lizMap.mainLizmap.action.runLizmapAction(actionName, scope = 'feature', layerId = null, featureId = null, wkt = null); + // Reset the action + lizMap.mainLizmap.action.resetLizmapAction() + ``` + * A WKT in `EPSG:4326` can also be sent as an **additional parameter**. + This is only possible when running the action with JavaScript. + This allows to **send a geometry** to be used by the PostgreSQL action + (for example, to get data from another table with geometries intersecting this passed WKT geometry) + * The **JavaScript and HTML code** has been **modernized** (no more jQuery calls, usage of web components, etc.) +* Review of the **permalink** feature + * The URL is now automatically updated when we pan or zoom, or check/uncheck some layers +* **Print configurations**. + * For each layout, you can: + * enable/disable it + * set allowed groups + * set formats and default one + * set DPIs and default one + * set a custom icon for a QGIS atlas layout in the feature's popup + * New user interface for printing + * print area is now displayed as a [mask on the map](https://user-images.githubusercontent.com/2145040/216579235-8b438ea5-7ea3-4549-95fa-398dea1450e8.png) + * an advanced panel allows you to: + * set X/Y parameters for the grid + * set main map rotation + * set DPI +* Add [MGRS](https://en.wikipedia.org/wiki/Military_Grid_Reference_System) coordinates display on the map +* Support of the **Webdav** attachement widget (contributions from @mind84) : + * Upload and delete files on a Webdav server from Lizmap Web Client + * View files stored in a webdav server within a Lizmap popup +* Set a custom title on the landing page, instead of "Projects" +* On the **landing page**, possible to add some content in the footer. + It's set in the administration interface, then "Landing page" +* Login + * New password security checker + * Add possibility to log with an email + +### Changed + +* Avoid downloading the default project image multiple times. + This improves the first load of the project page +* Change the configurations of the Lizmap editing form fields published with autocompletion + * add a delay of 300ms to lessen the number of requests sent to the server + * add a minimum of 3 characters to trigger the autocompletion + * the search is now accent-insensitive : You can type forets and it will find Forêts +* Refactor the geobookmark feature +* Javascript events `lizmapeditionfeaturecreated` and `lizmapeditionfeaturemodified` +* Update URLs from the French IGN map provider +* Fix increase the login length in the database in order to use email as logins +* The minimal length of password is now 12 characters to improve the security +* The keyword `overview` for a group in the legend is not case-sensitive + +### Deprecated + +* The AtlasPrint QGIS server plugin should be removed from the installation. It's not used anymore. +* Layers called `osm-mapnik`, `ign-photo`, `google-satellite` etc + * See the documentation about these ["legacy" layers](https://docs.lizmap.com/3.6/en/publish/configuration/print.html#allow-printing-of-external-baselayers) + +### Fixed + +* Fix typo about wrong key used for caching an embedded layer, contribution from @mind84 +* Fix selected default style on a WMS layer +* In the Lizmap atlas, fix the popup when the name has an accent or a space +* Do not block the loading of the map if the layer name is wrong in a permalink +* Round the `I` and `J` parameters of WMS GetFeatureInfo service, contributions from @mind84 +* Display the reverse geometry button only for linestring and polygons, not for points +* When creating/editing a geometry, check the spatial constraint +* Fix an error about GetFeatureInfo and GetFilterToken requests to QGIS server +* Fix cascade layer's filter to use the parent WMS name instead of the layer name +* Fix latest features about QGIS layouts : groups allowed, order etc +* Fix getting the table for sub-queries with escaped double-quotes +* Use layer name as option label for locate-by-layer selector in mobile +* Editing & Filter - Fix editing right access from popup +* Warning about "qgsmtime" for an embedded layer + +### Removed + +* Some code about OpenLayers 2 + +### Backend + +* Upgrade Lizmap Web Client target minimum version to 3.4 +* A lot of JavaScript code cleanups +* Remove some old code about QGIS Server 2 +* Switch to PHP 8.1 in the docker image +* Update of Jelix to version 1.8.4 +* Update some PHP packages +* Update OpenLayers to 8.2.0 +* Update proj4 to 2.9.2 +* Update Plotly.js to 2.16.3 +* Update some JavaScript dependencies +* Fix some PHP notice when running PHP 8, contribution from @Antoviscomi + +### Funders + +* **[Faunalia](https://www.faunalia.eu/fr)**, contributions on source code from @mind84 +* **[Avignon](https://www.avignon.fr)** +* **[Calvados](https://www.calvados.fr)** +* **Direction Départementale des Territoires et de la Mer de l’Hérault (DDTM 34)** +* **[ICRC](https://www.icrc.org/)** +* **[Geolab.re](https://geolab.re/)** +* **[Le Grand Narbonne](https://www.legrandnarbonne.com/)** +* **[Parc naturel régional du Haut-Jura](http://www.parc-haut-jura.fr/)** +* **[Tenergie](https://tenergie.fr/)** +* **[Terre de Provence Agglomération](https://www.terredeprovence-agglo.com)** +* **[Vaucluse province in France](https://www.vaucluse.fr/)** +* **[WPD](https://www.wpd.fr/)** + ## 3.7.0-rc.1 - 2023-11-24 ### Added