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
- Module permissions (CRUVED) declared in alembic branch.
- Add default creation date (now) in
pr_monitoring_habitat_territory.cor_visit_perturbation
- 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
- Update
install.md
- Update
requirements.in
- The
check_user_cruved_visit
andcruved_scope_for_user_in_module
functions are replaced by theVisitAuthMixin
class, which contains methods for retrieving user rights on data (CRUVED action + scope).
- Fixed Web service
GET /sites
which return now the sites whitout visits. - Fixed Web service
PATCH /visits/<int:idv>
. We exclude the current patched visit from visits year check. - Fix the module assets path used for URL (PnX-SI/GeoNature#2957)
- Reduction of the loading time of sites list on the module home page.
- Added the memorization between two accesses of the values of the filters of the list of sites view (#28).
- Added a loading indicator on the data tables of the visits list view and the sites list view (#29).
- Added a global spinner to the visits list view.
- Added site UUID display to visit list view.
- Added new columns in visits export (#23) :
- Visit identifier is exported in "visit_id" column.
- Sites UUID is exported in "base_site_uuid" column.
- Added the organization name in parentheses for each observer on the visit list view.
- Added the display of non-habitat taxa present in the database in a specific section of the edit visit modal window.
- Added the display of the content of the error message received after submitting the form of the visit editing modal window.
- Municipalities and organisms filters now use an identifier instead of a label to retrieve the corresponding visits.
- Changed the initial zoom used for the map of the sites list view. Zoom down.
- Changed display of map legend :
- Use years number instead of "year+1", "year+2"...
- Use distinct colors instead of a graduation of red color : blue, green, yellow, orange and red.
- Site with recent visit use cold color (blue) and site with old visits use warm color (red).
- Changed the color of the marker used on the map, we use the same color as the geometry of each site (#31).
- Changed visit export format (#23, #30, #35):
- New columns headers in french but with no accent and underscore as words separator.
- Municipalities names are exported in "communes" column with INSEE code between parenthesis (#22).
- Values in multiples values columns ("communes", "observateurs", "perturbations", "organismes", "taxons_cd_nom") are now separated by comma follow by a space.
- "covtaxon" column was renamed "taxon_cd_nom".
- "cdhab" column was renamed "habitatcd_hab".
- Moved site code to "Details" tab of the visit list view.
- Changed the order of the list of taxa (ascending sort) of the modal window for editing visits (#25).
- Changed the alignment of the close button in the visit modal window footer which is now left-aligned. It also looks like a button.
- Changed the
GET /export_visit
web service which now supports multiple filters. - Formated all Python backend source code files with Black.
- Formated all Angular frontend source code files (ts, html, scss) with Prettier.
- Moved
.prettierrc
file to top module project directory. - Updated and improve
.gitignore
content. ⚠️ Changedexport_visits
view inpr_monitoring_habitat_territory
schema. Need to update this manually !
- Fixed removing site markers and geometry displayed on the map in site list view. The data displayed on the map is now synchronized with the data in the list (#26).
- Fixed synchronization between the line selected in the site list view and its map. Half the time it was not selectable.
- Fixed missing display of site information on visit list view.
- Fixed geometry used in visit export. Now use site geometry and not a kilometer mesh (#32).
- Fixed visits export in GeoJson format which now use SRID 4326.
- Fixed Web service
GET /sites
which return now correctly sites infos when organisms or year filters are used. - Fixed Web service
POST /visits
, correct use of module code to add new visit (#33). - Fixed use of join and outerjoin in backend queries.
- Site names are no longer present in visit exports.
- Removed useless
settings.sample.ini
for import Bash scripts.
- Added Alembic support.
- Compatibility with GeoNature v2.9.2.
- Added new module architecture ("packaged").
- Replaced use of id by code for module.
- All Bash import scripts with their SQL files move to
bin/
directory.
- Updated module documentation.
First stable version. Compatibility with GeoNature v2.3.2.
- Update compatibility to GeoNature v2.3.0
- Added Bash imports scripts for : observations, visits, nomenclatures, habitats, sites, taxons.
- Added import script shared library of Bash functions.
- Added documentation for new Bash scripts.
- Added uninstall module script.
- Removed useless checking SQL file.
- Improved install module script.
- Use new utils-flask-sqla syntax.
- Refactorization of export.
- Fixed export.
Initial version.