Skip to content

Releases: PnX-SI/GeoNature-citizen

1.3.3 - Barbastella barbastellus

15 Apr 22:52
7ea4d98

Choose a tag to compare

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 select type input.
  • Fix missing translations on validation modal button (fix #467 issue comment).
  • Enable 0 value 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

01 Dec 22:55
efe03dd

Choose a tag to compare

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

30 Nov 21:59
2e46f9d

Choose a tag to compare

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

26 Nov 23:07
46374e9

Choose a tag to compare

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'

🧑‍💻 Development

  • Add calls to two TaxHub API routes in order to get media types and bibattribut.
  • Add component taxonomy-research which calls allnamebylist TaxHub 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_TAXHUB variable to new TaxHub API url in config/config.toml and frontend/src/conf/app.config.ts (e.g. https://demo.geonature.fr/geonature/api/taxhub/api/)
  • The field nom_francais has been removed from TaxHub v2. To override a vernacular name, you can create and fill an attribute titled nom_francais in TaxHub. The table content of bib_noms.nom_francais has been saved in archive_bib_noms.nom_francais archive table to recover the data and copy it in a new nom_francais attribute.

Full Changelog: 1.2.1...1.3.0

1.2.1 - Anoura geoffroyi

03 Apr 12:57
54fc441

Choose a tag to compare

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

31 Mar 08:42
109d279

Choose a tag to compare

🚀 Main new features

  • Add id_observation to 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

1.1.0 - Ametrida centurio

05 Apr 22:14
68469ff

Choose a tag to compare

📢 Main new features

🐛 Fixes

New Contributors

Full Changelog: 1.0.0...1.1.0

v1.0.0 - Aeorestes cinereus

17 Mar 23:25
cfded5f

Choose a tag to compare

🍻 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

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 upgrade

Si 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 upgrade

Pour 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

Full Changelog: v0.99.4-dev...v1.0.0

v0.99.4-dev

05 Oct 21:41
2f937ff

Choose a tag to compare

v0.99.4-dev Pre-release
Pre-release

🚀 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.txt using:

    • poetry export --without-hashes > requirements.txt
    • poetry 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

11 May 22:26
4ac8ea2

Choose a tag to compare

0.99.3-dev Pre-release
Pre-release

🚀 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