From aab08f0337002bb90a002e22153f9fd68e1dd61d Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 19 Jun 2025 10:55:05 +0200 Subject: 🔖 version 4.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- changelog/en/changelog_2022-06-15.md | 82 ++++++++++++++++++++---------------- changelog/fr/changelog_2023-01-25.md | 32 ++++++++++---- ishtar_common/version.py | 4 +- 3 files changed, 71 insertions(+), 47 deletions(-) diff --git a/changelog/en/changelog_2022-06-15.md b/changelog/en/changelog_2022-06-15.md index 2fcec9441..0d0eef33a 100644 --- a/changelog/en/changelog_2022-06-15.md +++ b/changelog/en/changelog_2022-06-15.md @@ -1,3 +1,15 @@ +v4.2.0 - 2025-06-19 +-------------------- + +v4.2 is now the official stable branch + +### Bug fixes ### +- sheet warehouse/container: fix container hosted/owned labels (#6368) + +### Technical ### +- fix full location save on packaging with no containers (should not occur but...) + + v4.1.63 - 2025-06-13 -------------------- @@ -292,7 +304,7 @@ v4.1.30 - 2024-09-22 ### Technical ### - import: - manage post processing of linked items - - post processor for Parcel: set_parcel + - post processor for Parcel: `set_parcel` - sheets: add getter for templates and index formula @@ -417,10 +429,10 @@ v4.1.20 - 2024-07-25 -------------------- ### Features/improvements ### -- user with "view_import" permission can view import list +- user with "`view_import`" permission can view import list ### Technical ### -- commands: fix ishtar_import script - add verbose display +- commands: fix `ishtar_import script` - add verbose display v4.1.19 - 2024-07-15 @@ -491,7 +503,7 @@ v4.1.14 - 2024-06-05 -------------------- ### Bug fixes ### -- hot fix geo forms - no history_creator +- hot fix geo forms - no `history_creator` v4.1.13 - 2024-06-05 -------------------- @@ -518,7 +530,7 @@ v4.1.12 - 2024-06-05 - installation: - add missing typology - communicability, functional area, cultural attribution - add spatial reference system -- JS: put load_window at the end of ishtar.js to prevent loading error +- JS: put `load_window` at the end of ishtar.js to prevent loading error v4.1.11 - 2024-05-10 -------------------- @@ -536,14 +548,12 @@ v4.1.11 - 2024-05-10 - when base finds are deleted, delete the associated finds if not other base find is associated (#3871) - search query: fix multiple date criteria on the same attribute -v4.0.XX - 2099-12-31 --------------------- - -- museum... -- biographical note -- Biographical notes edit form +v4.1.1 -> v4.1.10 - 2024-05-01 +------------------------------ ### Features/improvements ### +- museum fields +- biographical note (sheet and form) - geo form: - add coordinates display - get coordinates from geolocalisation @@ -595,7 +605,7 @@ v4.0.XX - 2099-12-31 - imports: - fix post import actions in defaults - document: post importer action - set main image -- ishtar_maintenance script: fix_geographic_items task +- `ishtar_maintenance` script: `fix_geographic_items` task - geodata: fix default attachment for find, context records, warehouse and container - GIS import: fix bad SRID comparison @@ -665,8 +675,8 @@ v4.0.69 - 2023-12-18 -------------------- ### Technical ### -- values associated with archaeological find for templates: use "base_find_" prefix and simple prefix (#5695) -- account form: on modification set profile_type to readonly in order to prevent some errors on deletion (#5696) +- values associated with archaeological find for templates: use "`base_find_`" prefix and simple prefix (#5695) +- account form: on modification set `profile_type` to readonly in order to prevent some errors on deletion (#5696) v4.0.68 - 2023-11-30 @@ -711,7 +721,7 @@ Many improvement in post-treatments. Better performance for imports are expected ### Technical ### - remove bulk update: should not be useful anymore and can severely degrade performance -- improve parcel post-treatments - add timestamp to prevent multiple geo and cached_label edition +- improve parcel post-treatments - add timestamp to prevent multiple geo and `cached_label` edition v4.0.63 - 2023-11-08 @@ -746,7 +756,7 @@ v4.0.59 - 2023-09-29 ### Bug fixes ### - fix missing translations -- remove "BASE_URL" on image sheet (unnecessary locally and buggy on remote access) +- remove "`BASE_URL`" on image sheet (unnecessary locally and buggy on remote access) - areas automatically created by operation with many towns are not "available" by default v4.0.58 - 2023-09-25 @@ -775,7 +785,7 @@ v4.0.56 - 2023-09-06 ### Technical ### - imports - linking: remove irrelevant keys -- imports - geo: fix import association when import_key is matched +- imports - geo: fix import association when `import_key` is matched - fix update of cached coordinates on precision change of the SRS v4.0.55 - 2023-08-07 @@ -812,16 +822,16 @@ v4.0.53 - 2023-07-06 ### Bug fixes ### - wizards: fix autofocus of first field -- do not overload when no complete_id is available +- do not overload when no `complete_id` is available v4.0.52 - 2023-07-06 -------------------- ### Bug fixes ### -- message after creation: use the generate_cached_label if no label is available +- message after creation: use the `generate_cached_label` if no label is available ### Technical ### -- fix infinite loop on regenerate_all_id +- fix infinite loop on `regenerate_all_id` v4.0.51 - 2023-07-05 @@ -915,7 +925,7 @@ v4.0.45 - 2023-05-15 - Migration font-awesome -> fork-awesome - Inline JS migrated to a dynamic, cacheable settings.js - Container import: do not crash on empty container type -- media_find_missing_files command: added set-alt-media-dir option to link missing media from an alternate directory and set-empty-image option to link to dummy images for missing images +- `media_find_missing_files` command: added set-alt-media-dir option to link missing media from an alternate directory and set-empty-image option to link to dummy images for missing images v4.0.44 - 2023-04-17 -------------------- @@ -925,7 +935,7 @@ v4.0.44 - 2023-04-17 - Containers: manage history - Security: - Manage expiration of passwords - - Manage strong password policy (ISHTAR_STRONG_PASSWORD_POLICY) with "Each character type" validator + - 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. @@ -940,9 +950,9 @@ v4.0.44 - 2023-04-17 - Fix permissions for treatments requests (#5441) ### Technical ### -- Load task refactoring - manage external_id regen with tasks +- Load task refactoring - manage `external_id` regen with tasks - Update and fix translations (#5578, #5579, #5581) -- Importer export: fix pre_importer call +- Importer export: fix `pre_importer` call - Force using 128 bits salt for password hasher - Mark false security issues detected by bandit - Fix low severity security issues detected by bandit @@ -952,9 +962,9 @@ v4.0.43 - 2023-03-17 ### Features/improvements ### - General: - - add custom cached_label configuration for each main item + - 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 +- 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 @@ -970,10 +980,10 @@ v4.0.43 - 2023-03-17 - Account: add "profile type" field - Free text search: - use accent and unaccented string - - add french_archeo thesaurus config + - add `french_archeo `thesaurus config - File - add "year-index" -- Maintenance scripts: delete deprecated and migrate to ishtar_maintenance -- Put a serif font for
+- Maintenance scripts: delete deprecated and migrate to `ishtar_maintenance`
+- Put a serif font for `
`
 - Sheet:
     - Treatment file: add associated image and document list
 
@@ -983,7 +993,7 @@ v4.0.43 - 2023-03-17
     - 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 
+- 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
@@ -1225,7 +1235,7 @@ v4.0.21 - 2022-10-14
 
 ### Bug fix ###
 
-- Geo data: fix main_geodata association test
+- Geo data: fix `main_geodata` association test
 - fix some admin pages
 
 v4.0.20 - 2022-10-03
@@ -1269,7 +1279,7 @@ v4.0.16 - 2022-09-09
 
 ### Bug fix ###
 
-- Fix safe_or template tags
+- Fix `safe_or` template tags
 
 v4.0.15 - 2022-08-30
 --------------------
@@ -1329,8 +1339,8 @@ v4.0.10 - 2022-07-22
 ### Bug fix ###
 
 - Sheet document - fix permalink content
-- migrate_to_geo_v4:
-    - fix migration of item multi_polygon_source_item and point_source_item
+- `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
@@ -1381,14 +1391,14 @@ v4.0.3 - 2022-07-15
 
 ### Bug fix ###
 
-- migrate_to_geo_v4: fix operation and site import when SRID != 4326
+- `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
+- `migrate_to_geo_v4`: fix main item import when SRID=4326
 
 v4.0.1 - 2022-06-15
 --------------------
diff --git a/changelog/fr/changelog_2023-01-25.md b/changelog/fr/changelog_2023-01-25.md
index 649586fa2..0f30bb153 100644
--- a/changelog/fr/changelog_2023-01-25.md
+++ b/changelog/fr/changelog_2023-01-25.md
@@ -1,3 +1,16 @@
+v4.2.0 - 2025-06-19
+--------------------
+
+La version v4.2 est maintenant la branche stable officielle.
+
+### Correction de dysfonctionnements ###
+- fiche lieu de conservation/contenant : correction des libellés pour les contenants accueillis/possédés (#6368)
+
+
+### Technique ###
+- correction de la définition de la localisation complète lors d'un conditionnement sans contenant associé (ne devrait pas survenir mais des incohérences dans la base de données peuvent subsister)
+
+
 v4.1.63 - 2025-06-13
 --------------------
 
@@ -515,7 +528,7 @@ v4.1.12 - 2024-06-05
     - ajout de typologie manquante - communicabilité, zone fonctionnelle, attribution culturelle
     - ajout des systèmes de référence spatiale
     - suppression des importeurs MCC (obsolètes)
-- JS : load_window à la fin de ishtar.js pour éviter des erreurs de chargement
+- JS : `load_window` à la fin de ishtar.js pour éviter des erreurs de chargement
 
 v4.1.11 - 2024-05-10
 --------------------
@@ -532,8 +545,9 @@ v4.1.11 - 2024-05-10
 - quand du mobilier d'origine est supprimé, suppresion du mobilier associé si aucun autre mobilier d'origine lui est associé (#3871)
 - requête de recherche : correction de la recherche date si plusieurs critères de recherche portent sur le même attribut
 
-v4.0.XX - 2099-12-31
---------------------
+
+v4.1.1 -> v4.1.10 - 2024-05-01
+------------------------------
 
 - Module musée
 - Ajout des notices biographiques
@@ -591,8 +605,8 @@ v4.0.XX - 2099-12-31
 - mode débogage pour les imports
 - imports:
     - correction des actions de post import configurés dans les données par défaut
-    - document : action post import - "set_main_image" - la valeur correspond au type de données associées pour lesquelles associer l'image en tant qu'image principale. Exemple : "finds" pour le mobilier.
-- script ishtar_maintenance : tâche "fix_geographic_items"
+    - document : action post import - "`set_main_image`" - la valeur correspond au type de données associées pour lesquelles associer l'image en tant qu'image principale. Exemple : "finds" pour le mobilier.
+- script `ishtar_maintenance` : tâche "`fix_geographic_items`"
 - données geographiques : correction des attachements par défaut pour mobilier d'origine, unités d'enregistrements, lieux de conservation et contenants.
 - import SIG : correction d'une mauvaise comparaison de SRID
 
@@ -662,7 +676,7 @@ v4.0.69 - 2023-12-18
 --------------------
 
 ### Technique ###
-- valeurs associées au mobilier pour les patrons de documents : utiliser le préfixe "base_find_" et le préfixe simple (#5695)
+- valeurs associées au mobilier pour les patrons de documents : utiliser le préfixe "`base_find_`" et le préfixe simple (#5695)
 - formulaire de compte : en modification le type de profil est en lecture seule afin d'éviter certaines erreurs lors de la suppression (#5696)
 
 v4.0.68 - 2023-11-30
@@ -814,10 +828,10 @@ v4.0.52 - 2023-07-06
 --------------------
 
 ### Corrections de dysfonctionnements ###
-- message après création : utilisation de generate_cached_label si aucun label n'est disponible
+- message après création : utilisation de `generate_cached_label` si aucun label n'est disponible
 
 ### Technique ###
-- correction d'une boucle infinie sur regenerate_all_id
+- correction d'une boucle infinie sur `regenerate_all_id`
 
 
 v4.0.51 - 2023-07-05
@@ -912,7 +926,7 @@ v4.0.45 - 2023-05-15
 - Migration de la bibliothèque font-awesome -> fork-awesome
 - JS inline migré vers un settings.js dynamique pouvant être mis en cache
 - Import contenants : éviter le crash si le type de contenant est vide
-- Commande media_find_missing_files : ajout des options set-alt-media-dir pour faire des liens de media manquants depuis un répertoire alternatif et set-empty-image pour créer des liens vers des images factices pour les images manquantes
+- Commande `media_find_missing_files` : ajout des options set-alt-media-dir pour faire des liens de media manquants depuis un répertoire alternatif et set-empty-image pour créer des liens vers des images factices pour les images manquantes
 
 
 v4.0.44 - 2023-04-17
diff --git a/ishtar_common/version.py b/ishtar_common/version.py
index 0379700d5..1e8edb74f 100644
--- a/ishtar_common/version.py
+++ b/ishtar_common/version.py
@@ -1,5 +1,5 @@
-# 4.1.63
-VERSION = (4, 1, 63)
+# 4.2.0
+VERSION = (4, 2, 0)
 
 
 def get_version():
-- 
cgit v1.2.3