From 71a256dc52ed3391638dcf9669cf57d75475d326 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 6 Apr 2023 18:36:47 +0200 Subject: Display of a changelog with alert display when updates are made --- changelog/en/changelog_1.md | 487 ++++++++++++++++++++++++++++++++++++++++++++ changelog/fr/changelog_1.md | 86 ++++++++ 2 files changed, 573 insertions(+) create mode 100644 changelog/en/changelog_1.md create mode 100644 changelog/fr/changelog_1.md (limited to 'changelog') diff --git a/changelog/en/changelog_1.md b/changelog/en/changelog_1.md new file mode 100644 index 000000000..835bb2181 --- /dev/null +++ b/changelog/en/changelog_1.md @@ -0,0 +1,487 @@ +v4.0.44 - 2023-04-07 +-------------------- + +### Features/improvements ### +- Display of a changelog with alert display when updates are made +- Load task refactoring - manage external_id regen with tasks +- Containers: manage history +- Update and fix translations (refs #5578, refs #5579, refs #5581) +- Security: + - Manage expiration of passwords + - Manage strong password policy (ISHTAR_STRONG_PASSWORD_POLICY) with "Each character type" validator + - Add default auth validator + - Default timeout for session is set to 5 days + - Optional security for login attempt: loging, deactivate account after many failed login. + - Force using 128 bits salt for password hasher + +### Bug fixes ### +- Json fields: fix bad save of multi values +- Cascade update from warehouse to containers (refs #5432) +- Sheets: fix history view with associated geo +- Containers: remove division search +- Importer export: fix pre_importer call +- Image detail: do not display Modify link when not relevant (refs #5438) +- Fix french label for geo types (refs #5577) +- Fix permissions for treatments requests (refs #5441) + +v4.0.43 - 2023-03-17 +-------------------- + +### Features/improvements ### +- General: + - add custom cached_label configuration for each main item + - add "created" field on main items in order to facilitate queries +- settings: add "ISHTAR_SECURE_OPTIONS" to activate Django secured options +- Sheet document: better UI for files +- Model: add history for document and containers +- Menu: remove "Administration" entry - put Account management in "Directory" entry +- Admin: + - Global variable: edit in table, add import/export in CSV/JSON + - overload index to add subsection headers +- Geo: create/edit form - new openlayers version - add default IGN tiles +- Import: improve bad encoding detection +- Search: + - add created before/after field + - Operation: add "old code" field + - Find: add "remain" field (operations and sites) + - Account: add "profile type" field +- Free text search: + - use accent and unaccented string + - add french_archeo thesaurus config + - File - add "year-index" +- Maintenance scripts: delete deprecated and migrate to ishtar_maintenance +- Put a serif font for
+- Sheet:
+    - Treatment file: add associated image and document list
+
+### Bug fixes ###
+- Search:
+    - fix many excluded facet
+    - improve many facet query
+    - Document - source type is now a hierarchic search
+    - Context record: add identification and activity criteria
+- File: filter plan action when preventive_operator is activated in profile 
+- Profile:
+    - do not display geo item list when mapping is deactivated
+    - custom footer message
+- Explicit message on associated container deletion when a warehouse is deleted
+- Administrative act: add a warning when associated item is deleted
+- Imports: register automatically type models for export
+- Site: quick action for creation of virtual operation from site with many operations
+- UI:
+    - sheet header - add caret to show collapse
+    - show/hide password on login
+- Forms:
+    - custom form - can add header message
+    - Find: remove TAQ/TPQ check
+
+- Sheet:
+    - fix treatment and file treatment sheet display (bad QR code link)
+    - Operation - statistics number of parcels fix
+    - basket: display shared with by alpha order
+
+v4.0.42 - 2023-01-25
+--------------------
+
+### Features/improvements ###
+- Sheet treatment: improve layout - add detail links
+- Allow complex format for formula
+
+### Bug fixes ###
+- Installation: fix installation script to allow custom DB PORT and DB HOST
+
+v4.0.41 - 2023-01-23
+--------------------
+
+### Bug fixes ###
+- Fix javascript filter on field
+
+v4.0.40 - 2023-01-22
+--------------------
+
+### Features/improvements ###
+- Improve some translations
+
+v4.0.39 - 2023-01-20
+--------------------
+
+### Features/improvements ###
+- Person search: salutation/title fields
+
+v4.0.38 - 2023-01-20
+--------------------
+
+### Bug fixes ###
+- PDF export: fix new line on 
 blocks
+- Sheet warehouse: prevent duplicate label
+
+
+v4.0.37 - 2023-01-20
+--------------------
+
+### Bug fixes ###
+- Find search: fix discovery date search
+- Sheet find/container: fix date and float format
+
+
+v4.0.36 - 2023-01-20
+--------------------
+
+### Features/improvements ###
+- Sheet find refactoring
+- Free search:
+    - "raw" index for reference (add in index whole reference and split ref)
+    - improve parent only search index
+- Warehouse: new slug field to prevent ID change when name is changed
+- Warehouse: cached town column
+- Change labels
+    - Identifiant musée -> Numéro d'inventaire musée
+    - Localisation (fiche) -> Localisation géographique
+    - Date de découverte (exacte ou TPQ) -> Date de découverte (exacte ou début)
+    - Date de découverte (TAQ) -> Date de découverte (fin)
+
+
+v4.0.35 - 2023-01-18
+--------------------
+
+### Bug fixes ###
+- WIP: fix types searches with *
+- Imports: fix cultural attribution import
+- Table: fix default sort when pk is not "id" 
+- Sheet:
+    - warehouse: fix localisation - fix data
+    - container: fix localisation - fix data
+- Admin: container and warehouse performance
+
+v4.0.34 - 2023-01-13
+--------------------
+
+### Bug fixes ###
+- Syndication:
+    - sheet - fix set default permissions
+    - admin ApiSearchModel - fix exporter filter for Find
+    - sheet - fix display detail of a dict (display associated label)
+    - table - select/deselect all
+    - table - reinit headers on load
+
+v4.0.33 - 2023-01-12
+--------------------
+
+### Features/improvements ###
+- Search result - export: export only selected
+- Commands: manage update search vector with maintenance script
+- utils: adapt to v4 OSM relations importer
+- Syndication ui: better color for external sources
+- Syndication - export external sources
+- Search: sort by ID by default
+- UI bootstrap for stats
+
+### Bug fixes ###
+- Fix geo finds for external sources: do not display
+- Fix pinned search for external source
+- Fix strange bug on statistics with criteria
+
+v4.0.32 - 2022-12-12
+--------------------
+
+### Features/improvements ###
+- Sheet: set default permissions to False
+- Find sheet: do not display container information if no permission
+- Image field: can use camera for mobile device
+- Import value formater: can use {item} notation for format
+
+### Bug fixes ###
+- Full text search: add "simple" config in search
+
+v4.0.31 - 2022-12-05
+--------------------
+
+### Features/improvements ###
+- Admin: importer model export
+- Imports: manage defaults with "__"
+
+### Bug fixes ###
+- Migration v4: disable M2M post treatment
+
+v4.0.30 - 2022-12-02
+--------------------
+
+### Improvements ###
+- Use supervisor instead of systemd script for celery daemon
+- Forms: minor template fix
+
+
+v4.0.29 - 2022-11-29
+--------------------
+
+### Improvements ###
+- Context record: add Unit to indexed search
+- Import: add ActType to imported types
+- Admin: small improvements on syndication
+
+### Bug fixes ###
+- Fix redirect URL after logout
+- Fix choice display - non-relevant translation is deactivated
+- Minor translation fixes
+
+
+v4.0.28 - 2022-11-18
+--------------------
+
+### Improvements ###
+- Admin: site profile - better form layout
+- Imports: display post-process advance
+- File refactoring
+- Remove dead code
+
+### Bug fixes ###
+- Fix import when no object is created and no error is caught
+- Operation from file creation - fix automatic town association and parcel recopy
+
+v4.0.27 - 2022-11-10
+--------------------
+
+## Features ##
+- Improve tests
+- French translation
+
+### Bug fix ###
+- Fix m2m display for historized items
+
+
+v4.0.26 - 2022-11-08
+--------------------
+
+### Features ###
+- remove deprecated x, y, z fields on main item forms
+
+### Bug fix ###
+- Sheet find: fix map display
+- Find form: fix order of decoration field
+
+
+v4.0.25 - 2022-11-07
+--------------------
+
+### Features ###
+- Geodata: display first item associated as a name when no name is provided
+
+### Bug fix ###
+- Geodata import: fix total number evaluation on imports
+- Basket modification: fix wizard update
+
+
+v4.0.24 - 2022-10-27
+--------------------
+
+### Bug fix ###
+- Geodata save: transactions to limit deadlocks
+
+
+v4.0.23 - 2022-10-26
+--------------------
+
+### Features ###
+- Geo data: zoom to extent
+
+### Bug fix ###
+- Geodata post save: transactions and targeted post save to limit deadlocks
+
+v4.0.22 - 2022-10-14
+--------------------
+
+### Features ###
+- Context records: Excavation technic become many-to-many
+
+v4.0.21 - 2022-10-14
+--------------------
+
+### Features ###
+- Geo: quick add geo action for context records, sites and finds
+- Geo data: manage m2m association and cascade association
+
+### Bug fix ###
+
+- Geo data: fix main_geodata association test
+- fix some admin pages
+
+v4.0.20 - 2022-10-03
+--------------------
+
+### Features ###
+
+Geo form - redirect to source item after edit
+
+
+v4.0.19 - 2022-09-18
+--------------------
+
+Backport of v3 changes.
+
+v4.0.18 - 2022-09-12
+--------------------
+
+### Features ###
+
+- Import GIS: default to 0 skip lines (for geopackage and SHP it must be 0)
+
+### Bug fix ###
+
+- Geo - migration script: more tolerant with no geo item data - main geo is poly when defined 
+
+v4.0.17 - 2022-09-10
+--------------------
+
+### Bug fix ###
+
+- Geo: fix zoom to the extent - fix item counts
+
+v4.0.16 - 2022-09-09
+--------------------
+
+### Features ###
+
+- Geo: display associated context records and associated finds on sheet map
+- Geo: display lines and polygons on search
+
+### Bug fix ###
+
+- Fix safe_or template tags
+
+v4.0.15 - 2022-08-30
+--------------------
+
+### Features ###
+
+- "is locked" search
+
+### Bug fix ###
+- Fix INSEE number generation on error with years
+- Fix many count search such has "has-finds"
+
+v4.0.14 - 2022-08-05
+--------------------
+
+### Features ###
+
+- Import: manage CSV geo data
+
+### Bug fix ###
+
+- Geo sheet: fix display coordinates
+
+v4.0.13 - 2022-08-05
+--------------------
+
+### Bug fix ###
+
+- Imports: CSV check fix encoding check
+- Imports: add post importer actions in order to manage account importer
+
+v4.0.12 - 2022-08-05
+--------------------
+
+### Bug fix ###
+
+- fix bug for vanilla installation (db query before db is initialized)
+
+v4.0.11 - 2022-08-02
+--------------------
+
+### Bug fix ###
+
+- Admin - custom form: fix form choice initialization
+- File:
+    - Parcel form: fix town initialization
+    - Remove Parcel formset from wizard
+    - Fix modification when general contractor is missing
+
+v4.0.10 - 2022-07-22
+--------------------
+
+### Features ###
+
+- Admin - Custom fields: exports and imports CSV, json
+
+### Bug fix ###
+
+- Sheet document - fix permalink content
+- migrate_to_geo_v4:
+    - fix migration of item multi_polygon_source_item and point_source_item
+    - fix "Contour" label
+
+v4.0.9 - 2022-07-21
+-------------------
+
+### Bug fix ###
+
+- Import creation: fix importer type filter
+
+v4.0.8 - 2022-07-18
+-------------------
+
+### Features ###
+
+- Update French translations
+
+v4.0.7 - 2022-07-18
+-------------------
+
+### Features ###
+
+- Operation wizard refactoring
+
+v4.0.6 - 2022-07-17
+--------------------
+
+### Bug fix ###
+
+- Site creation: fix post message
+
+v4.0.5 - 2022-07-17
+--------------------
+
+### Bug fix ###
+
+- Geo - sheet: fix coordinates display
+- Account deletion: fix summary
+
+v4.0.4 - 2022-07-17
+--------------------
+
+### Features ###
+
+- update translations
+
+v4.0.3 - 2022-07-15
+--------------------
+
+### Bug fix ###
+
+- migrate_to_geo_v4: fix operation and site import when SRID != 4326
+
+v4.0.2 - 2022-06-15
+--------------------
+
+### Bug fix ###
+
+- migrate_to_geo_v4: fix main item import when SRID=4326
+
+v4.0.1 - 2022-06-15
+--------------------
+
+### Main features ###
+
+- Migration to Django 2.2
+- New geo item management
+- Syndication of ishtar databases
+
+### Features ###
+
+- specific form for parcel management
+- quick search action: grouping treatment
+- better UI for imports
+
+### Bug fix ###
+
+- increase length of phone numbers
diff --git a/changelog/fr/changelog_1.md b/changelog/fr/changelog_1.md
new file mode 100644
index 000000000..4e47eed56
--- /dev/null
+++ b/changelog/fr/changelog_1.md
@@ -0,0 +1,86 @@
+v4.0.44 - 2023-04-06
+--------------------
+
+### Fonctionnalités/améliorations ###
+- Affichage d'un journal des modifications avec affichage d'alerte lors de mises à jour
+- Contenants : gestion de l'historique
+- Sécurité:
+    - Gestion de l'expiration des mots de passe
+    - Gestion d'une politique de mot de passe fort (possibilité de forcer des classes de caractères).
+    - Ajout de validateurs d'authentification par défaut pour les changements de mots de passe
+    - Expiration de session configurée à 5 jours par défaut
+    - Sécurisation optionnelle (désactivé par défaut) des tentatives de connexion : traçage, blocage de compte après multiples erreurs de connexion.
+
+### Corrections de dysfonctionnements ###
+- Champs Json : correction d'une mauvaise sauvegarde de valeurs multiples
+- Fiches : correction de l'affichage de l'historique avec la géographie associée
+- Contenants : suppression de la recherche par division
+- Détail de l'image : ne pas afficher le lien Modifier lorsqu'il n'est pas pertinent (#5438)
+- Correction du libellé français pour les types de géographie (#5577)
+- Correction des permissions pour les demandes de traitements (#5441)
+- Mise à jour en cascade des contenants lors de modifications des lieux de conservation
+
+### Technique ###
+- Refactorisation des tâches de chargement - gestion de la régénération de l'identifiant externe avec les tâches
+- Mise à jour et correction des traductions (#5578, #5579, #5581)
+- Export d'importeur : correction de l'appel au pre_importer
+- Utilisation d'une longueur de sel de 128 bits pour le hachage des mots de passe
+
+v4.0.43 - 2023-03-17
+--------------------
+
+### Fonctionnalités/améliorations ###
+- Modèle : ajout d'un historique pour les documents et les contenants
+- Menu :
+    - Suppression de l'entrée "Administration"
+    - Gestion des comptes déplacé dans l'entrée "Annuaire"
+    - Les variables globales sont maintenant seulement éditables dans l'administration Django
+- Imports : amélioration de la détection des mauvais codages de caractères
+- Critères de recherche :
+    - Ajout du critère "créé avant/après"
+    - Opération : ajout du critère "ancien code"
+    - Opérations et sites : ajout du critère "vestiges"
+    - Compte : ajout du critère "type de profil"
+    - Unité d'enregistrement : ajout des critères "identification" et "activité"
+- Recherche en texte libre :
+    - Amélioration de la recherche sur les chaînes accentuées
+    - Ajout de la configuration d'un thésaurus dédié french_archeo
+    - Dossier : indexation de la référence "année-index"
+- Fiche :
+    - Document : amélioration de l'affichage pour les fichiers
+    - Demande de traitement : ajout d'une image associée et d'une liste de documents
+- Configuration : ajout de message personnalisé en bas de page
+- Message explicite sur la suppression du contenant associé lors de la suppression d'un lieu de conservation
+- Acte administratif : ajout d'un avertissement lors de la suppression d'un élément associé
+- Utilisation d'une police avec empattement pour les balises 
 (utilisée notamment pour les descriptions)
+- Administration Django :
+    - Variable globale : édition depuis le tableau, ajout de l'import/export en CSV/JSON
+    - Ajouter d'en-têtes de sous-section
+    - Imports : enregistrer automatiquement les "types de modèles" en export JSON
+- Geographie : ajout des tuiles IGN par défaut
+- Site : action rapide pour la création d'une opération virtuelle à partir d'un site avec de nombreuses opérations
+- Interface utilisateur :
+    - en-tête de fiche - ajout d'une flèche pour signifier la possibilité de replier la fiche
+    - bouton pour afficher/masquer le mot de passe lors de la connexion
+- Formulaires :
+    - formulaire personnalisé - possibilité d'ajouter un message d'en-tête
+
+### Corrections de dysfonctionnements ###
+- Recherche :
+    - Correction de recherche par critères (en particulier recherche en exclusion et recherche cumulant plusieurs critères)
+    - Document : le type de source est maintenant une recherche hiérarchique
+- Formulaire mobilier : suppression de la vérification de cohérence TAQ/TPQ
+- Fiche :
+    - ne pas afficher la liste des éléments géographiques lorsque la cartographie est désactivée
+    - Traitement, demande de traitement : correction de l'affichage (mauvais lien avec le QR-code)
+    - Opération : correction des statistiques sur le nombre de parcelles
+    - Panier : affichage des partages par ordre alphabétiques
+- Dossier : retrait de l'action d'édition du plan d'intervention lorsque  le module "opérateur préventif" est désactivé dans le profil 
+
+### Technique ###
+- Général :
+    - ajout d'une configuration personnalisée de libellé en cache pour chaque élément principal
+    - ajout d'un champ "créé" sur les éléments principaux afin de faciliter les requêtes
+- Paramètres : ajout de "ISHTAR_SECURE_OPTIONS" pour activer les options sécurisées de Django
+- Geographie : nouvelle version openlayers
+- Scripts de maintenance : suppression des scripts obsolètes et migration vers ishtar_maintenance
-- 
cgit v1.2.3