All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Compatibility with GeoNature 2.14
- Possibility of choosing the Dataset in the creation of ZP.
- Creation of datasets, acquisitions frameworks and taxa list is done in a separate Alembic branch (
priority_flora_sample
) - The parameter for the list of taxa is no longer mandatory. By default, we query all Taxref. It can be restricted via the
taxons_list_code
parameter. - Possibility to export prospect zones separately from presence areas
- Use new
pyproject.toml
file for installation and requirements instead ofsetup.py
- Add the example
tsconfig.json
file to use with module development outside the GeoNature directory
- Fixed a redirection bug caused by bootstrap “tabs” on ZP info sheets and switching to Material tabs.
- Handle ZP and AP exports with a null value for geometry fields
- The field
id_source
used in trigger previously get from__init__.py
is now get from module source code (viagn_synthese.t_sources
). ⚠️ taxons_list_code
must be set with a value of the primary key (id_liste
) oftaxonomie.bib_listes
table.⚠️ Theobservaters
field of the presence area export has been renamed toobservers
. With the module update, you need toDROP VIEW pr_priority_flora.export_ap;
and recreate the view with the SQL code from the file schema.sql⚠️ Since GeoNature 2.12, the module configuration file is present in the module'sconfig/
directory but it must be copied and used from the GeoNatureconfig/
directory with the name<code-module>_config.toml
(ex.priority_flora_config.toml
) (voir GeoNature#2423).
- Fixed use of datetime in export web service
- Added a right management of this module in a section of the installation documentation.
- Added possibility to sort, select and rename export columns names.
- Added new stats webservice for Conservation Strategy module.
- Fixed changelog text errors.
- Fixed migration script. We are now using the correct geometry field for the ZP geometry.
- Enable edit mode on the
pnx-leaflet-filelayer
component to avoid deletion of the GPX file when geometry is drawn. - In the ZP map list view, organism filter no longer returns "Internal Server Error". Export is possible again.
- User SRID 4326 for GeoJson export.
- Added missing ZP and AP geometry fields in CSV export.
- In the ZP map list view, the taxon filter tooltip is now displayed above the filter.
- In the ZP details view, in expanded line section of the AP details,
NA
is displayed if no counting is being done. - In the AP form view, the percentage label is dynamically changed from "Estimated frequency in %" to "Computed frequency in %" when the frequency method value is "Transect".
- Changed Prettier config. Trailing comma is not removed when compatible with ES5.
- Reformatted all frontend source code files with Prettier.
- Reformatted all backend source code files with Black.
- GeoJson export includes ZP geometries.
- Used english for export view fields.
- Improved debug for models DB classes with a parent class.
- Added icons to form controls and detail pages.
- Added helper tooltips on forms controls.
- Added triggers to insert, update or delete observations in the Synthese module database tables.
- Added triggers to history insert, update or delete actions on the database
t_zprospect
andt_apresence
tables. - Added GPX file loader in the ZP and AP forms maps.
- All models classes show their attributes and values when we use
print()
for their debug. - ZP list view store filters values between accesses.
- Improved the names of web services functions.
- Improved the naming of configuration parameters.
- Automatically added default values for
date_max
andinitial_insert
of prospecting zone. - SRID for module local geometry fields will be read from the data returned by the database.
- Ordered incline nomenclature values.
- Seted observers field as mandatory on ZP form.
- Installation guide is now more detailed. The commands to install and vectorize the DEM are indicated.
- Updated module schema to improve compatibility for migration from v1 of this module.
- Improved migration script, added data to new fields (physiognomies, habitat status...).
- Used injection token for module configuration parameters in views.
- In AP form, the area field is now required and enabled when Point geometry is used.
- Form AP contains new controls and new fieldsets (physiognomies, habitat status...).
- AP list view show frequency, favorable status percent, surface and all AP infos in each expanded row section.
- ZP list view show surface and AP count.
- Fixed
insert_zp()
,insert_ap()
database function : generategeom_point_4326
value. - Fixed multiple extenssions syntax used in
.editorconfig
file. - Fixed module code letters case in web services permissions checks.
- Fixed duplicate geometry added on map when editing a ZP or AP.
- Fix of rights user management in list of ZP.
- Fix triggers that generate ZP and AP area value. We only set the area if it is null.
- Fix enabling of area field and save button for AP form when editing.
- Fixed duplicate organisms names in ZP list.
- Remove of square draw tool on map.
- First release.
- Packaged module for GeoNature 2.9.2
- Giant code refactoring.
- Interface is now usable and has been improved.
- Migration script from GeoNature v1 Priority Flora module get all old data (use of
additional_data
fields). - Web services are now more REST oriented.
- Database has been reviewed and improved.
- Add database MPD image and a Collection of Postman web services.