Releases: PnX-SI/GeoNature-citizen
1.3.3 - Barbastella barbastellus
Warning
Version 1.3.x will be the latest release compatible with python 3.9
🐛 Fixes
- Fix taxa set to undefined within validation module when using taxa
selecttype input. - Fix missing translations on validation modal button (fix #467 issue comment).
- Enable
0value in count input (fix #472). - Improve documentation for validation module (fix #467)
Full Changelog: 1.3.2...1.3.3
1.3.2 - Artibeus concolor
Warning
Version 1.3.x will be the latest release compatible with python 3.9
🐛 Fixes
- Refix servor error when creating or updating programs (missing requirements up to date, temporary patch to fix #477).
🧑💻 Development
- New Makefile to facilitate certain maintenance operations
- Requirements are now generated automatically during commit validation using pre-commit.
Full Changelog: 1.3.1...1.3.2
1.3.1 - Artibeus bogotensis
Warning
Last release compatible with python 3.9
🐛 Fixes
- Fix servor error when creating or updating programs (temporary patch to fix #477).
Full Changelog: 1.3.0...1.3.1
1.3.0 - Ardops nichollsi
Warning
Require TaxHub 2.x (i.e. GeoNature >= 2.15.x)
🚀 Main new features
- Allow using all Taxref in programs (#327, #422)
- Compatibility with TaxHub V2 (#424)
- Taxons search in programs is now based on observed taxons
- If no photo is added to an observation and if an image is available for this to taxa in TaxHub, then this image is displayed on the Congrats popup
- Observation name displayed in program observations list is based on this order:
- 'nom_francais' (from taxhub attribute
nom_francais) - 'taxref.nom_vern'
- 'taxref.nom_valide'
- 'taxref.nom_complet'
- 'taxref.lb_nom'
- 'taxref.cd_nom'
- 'nom_francais' (from taxhub attribute
🧑💻 Development
- Add calls to two TaxHub API routes in order to get media types and bibattribut.
- Add component taxonomy-research which calls
allnamebylistTaxHub API route in Form Observation Program - Remove TaxHub list from cache backend
💬 Release note
- To install or update to this version of GeoNature-citizen, you need TaxHub version 2.0.0 minimum.
- Change
API_TAXHUBvariable to new TaxHub API url inconfig/config.tomlandfrontend/src/conf/app.config.ts(e.g.https://demo.geonature.fr/geonature/api/taxhub/api/) - The field
nom_francaishas been removed from TaxHub v2. To override a vernacular name, you can create and fill an attribute titlednom_francaisin TaxHub. The table content ofbib_noms.nom_francaishas been saved inarchive_bib_noms.nom_francaisarchive table to recover the data and copy it in a newnom_francaisattribute.
Full Changelog: 1.2.1...1.3.0
1.2.1 - Anoura geoffroyi
Warning
Last version compatible with TaxHub 1.x.x (i.e. GeoNature <= 2.14.x)
🐛 Fixes
- Set more explicit taxon list labels on backoffice (using code/label/taxa count)
- Prefills taxon in input select when updating data
- Update translations
1.2.0 - Anoura caudifer
🚀 Main new features
- Add
id_observationto observations list in backoffice (#428 by @hypsug0) - Add compatibility with Python 3.12, revoke compatibility with Python 3.8 (#406 by @hypsug0)
- Use BaseLayers sets in conf and impove map in add-site form component. cf. #411, #413, #414 (#415 by @xavyeah39)
- Add sites count stats on home (#438 by @andriacap)
🐛 Fixes
- Standardization of frontend map components between site and observation modules (#415 by @xavyeah39)
- Fix password scratch when user profile edited from backoffice, cf. #420 (#429, #446 by @hypsug0)
- Fix clicnat-citizen URL (#433 by @PaulLabruyere)
- Fix URL redirection to backoffice (#435 by @andriacap)
- Avoid using single page application to use server side rendering only (#439 by @PaulLabruyere)
- Fix thumbnail label not clickable on shot species list (#443 by @hypsug0)
1.1.0 - Ametrida centurio
📢 Main new features
- New backoffice views to manage site module data (#402 by @hypsug0)
- Some new github actions (by @hypsug0)
- Docs are now migrated to github pages (https://pnx-si.github.io/GeoNature-citizen/) (by @hypsug0)
🐛 Fixes
- Fix send email on registration (#396 by @PNPyrenees)
- Standardizing date formatting (#401 by @hypsug0)
- Fix new obs pointer not customizable (#400 by @hypsug0)
- Improve english translations (by @hypsug0)
- Docs and changelog improvements (by @camillemonchicourt)
- Fix invalid password check on password with some special characters (by @hypsug0)
New Contributors
- @PNPyrenees made their first contribution in #396
Full Changelog: 1.0.0...1.1.0
v1.0.0 - Aeorestes cinereus
🍻 What's Changed
Main new features
- Validation module by @yaal-coop (#359 financed by SHF)
- Registration required can be defined on each program (#278 by @xdidx)
- Refactor and improve performances on observation module (# 363 by @hypsug0)
- New photo galery on programs (#365 by @hypsug0, financed by SHF)
- Add observation export in Admin (#349 by @mvergez)
- Creators can now edit and delete their sites and visits in Sites programs (#319 & #320 by @QuentinJouet)
- Improve Admin panel display (#329 by @mvergez)
- Use Alembic and Flask-Migrate to manage database changes (#342 by @lpofredc)
- Remove TaxHub installation from installation scripts
- Reduce TaxHub database dependencies to use its API (#236 & #321 by @mvergez)
- Remove Ref_geo database dependencies to use Nominatim API (#236 & #321 by @mvergez)
- Improve Docker installation (by @mvergez)
- Automatic resizing of uploaded avatar images (#335 by @xdidx)
Fixes
- Standard installation fixes (thanks to all testers > #352)
- Fix form validation on negative longitude (#360 & #261 by @pierre56 & @hypsug0)
- Fix user creation from Admin panel (#371 by @edelclaux)
- Fix default map center in Admin panel (#370 by @edelclaux)
- Fix email from (#369 by @edelclaux)
Release note
Si vous mettez à jour GeoNature-citizen :
Veillez à ce que votre base de données soit bien à jour des scripts de migration de la base de données du dossier data/migrations (incluant le dernier v0.99.4_to_1.0.0.sql).
Vous pourrez ensuite stamper la migration de GeoNature-citizen et lancer la nouvelle procédure de mise à jour.
cd ~/gncitizen
source backend/venv/bin/activate
flask db stamp e8c1cd57ad16
flask db upgradeSi une table gnc_core.alembic_version est présente dans la base de données, alors vous disposez d'une version récente de l'application avec intégration d'Alembic pour gérer les migrations de base de données. Cette table a été récemment déplacée dans le schéma public et renommée alembic_version_gncitizen. Supprimez cette table et lancez les commandes précédentes.
Si vous disposez déjà d'une table public.alembic_version_gncitizen, lancez les commandes suivantes :
cd ~/gncitizen
source backend/venv/bin/activate
flask db upgradePour ceux qui avaient activé la synchronisation de GeoNature-citizen avec GeoNature, la fonction gnc_core.fct_tri_c_upsert_obstax_to_geonature() a été corrigée. Il est donc conseillé de la supprimer et la recréer (https://github.com/PnX-SI/GeoNature-citizen/blob/1.0.0/data/addons/scripts/gnc2gn_synthese/gnc2gn_synthese.sql#L113-L374), puis de relancer la mise à jour des données dans la synthèse de GeoNature avec la requête SQL : update gnc_obstax.t_obstax set cd_nom=cd_nom;.
New Contributors
- @hypsug0 made their first contribution in #204
- @QuentinJouet made their first contribution in #240
- @tobald made their first contribution in #259
- @mvergez made their first contribution in #285
- @xdidx made their first contribution in #283
- @nobohan made their first contribution in #315
- @geobrun made their first contribution in #355
- @edelclaux made their first contribution in #369
Full Changelog: v0.99.4-dev...v1.0.0
v0.99.4-dev
🚀 New features
- Add a maintenance page
- Disallow ckeditor cleanup code in backoffice
- Review and improve installation documentation
- Adds the ability to use the hCaptcha checker
- Email confirmation of registration is now optional
- Sign-in can be done using username or email (previously only by email)
- Very lightweight observation management in backoffice
- Add new IGN layers to default layers
- Change thumbnail selector to a non interactive image on observations form while there is only one taxa available.
- All visits are now readable on a site details page.
🐛 Fixes
-
Order API taxa list by French name
-
Remove some local taxonomy dependencies
-
Update dependencies versions from
requirements.txtusing:poetry export --without-hashes > requirements.txtpoetry export --without-hashes -D > requirements-dev.txt- but it's preferable to simply use
poetry install
-
Change internal serialization methods to PnX-SI shared modules
utils-flask-sqlalchemy&
utils-flask-sqlalchemy-geo -
Various dependencies updates on both backend and frontend
HELP WANTED: We are looking for testers and contributors to test and improve install script, last important step before release v1.0.0 ;) Thanks; @lpofredc
0.99.3-dev
🚀 New features
- Best new feature: sign up is now configurable (options are : never|optional|always) (by @QuentinJouet, financed by Parc National du Mercantour | @samuelpriou )
- Feat: backend python management with python-poetry
- Feat: improve flask-admin UI (hide columns, now use bootstrap 4)
- Various dependencies updates on both backend and frontend