summaryrefslogtreecommitdiff
path: root/changelog/en/changelog_2022-06-15.md
blob: ec31a54f72e0c1135fd109960798a21d523eb975 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
v4.99.2 - 2025-09-11
--------------------

### Features/improvements ###
- base find: on associated find label change, if there is only one base find, change base find label
- document type field - use searchable widget
- document type: add order
- templates: `short_date` filter, `TODAY` and `TIME` variables
- templates operations: add town codes
- operation templates: clean and add fields (#6435)
- statistics - finds: sum by number of remains
- container table - old reference changed by code
- criteria search: more explicit labels
- finds - specific tables for recommended treatments
- sheet operation: find statistics with number of remains
- treatment search: add start and end date criteria
- search online documentation: add documentation for "today" keyword


### Bug fixes ###
- fixes and improvement for QGIS API
- fix media exporter for all media export
- fix add (+) shortcut in some popup windows
- import: prevent crash on some unexpected errors
- select2 widget: fix translation
- menu - exhibition: do not put Exhibition at top of treatment requests
- import: do not create m2m item when no value is provided
- imports: force string convertion from ODS to CSV (i.e: do not convert 1.0 to 1)
- fix town autocomplete input
- import list: do not display detail for groups (details are in sub imports)
- treatment from treatment request: copy start/end dates


### Technical ###
- formula: add splitpart filter
- imports - documents - post importer action: `set_container_by_code`, `set_container_ref_by_code`


v4.99.1 - 2025-09-03
--------------------

### Technical ###
- imports adaptations, GIS API and token management for QGIS plugin
- adaptations for django 3 and django 4


v4.3.65 - 2025-10-15
--------------------

### Technical ###
- Imports - manage post-import errors


v4.3.64 - 2025-10-10
--------------------

### Features/improvements ###
- UI: improve criteria panel layout - add shortcuts for search, sheet opening
- template - containers:
    - improve performance
    - `find_denominations` - list find denominations and `find_range_labels` - get first and last label of finds contained by the container


v4.3.63 - 2025-10-02
--------------------

### Features/improvements ###
- criteria search: more explicit labels
- finds - specific tables for recommended treatments
- sheet operation: find statistics with number of remains
- treatment search: add start and end date criteria
- search online documentation: add documentation for "today" keyword


### Bug fixes ###
- imports: force string convertion from ODS to CSV (i.e: do not convert 1.0 to 1)
- fix town autocomplete input
- import list: do not display detail for groups (details are in sub imports)
- treatment from treatment request: copy start/end dates


v4.3.62 - 2025-09-24
--------------------

### Features/improvements ###
- container table - old reference changed by code


### Bug fixes ###
- fix add (+) shortcut in some popup windows


v4.3.61 - 2025-09-23
--------------------

### Features/improvements ###
- base find: on associated find label change, if there is only one base find, change base find label
- document type field - use searchable widget
- document type: add order


### Bug fixes ###
- import: prevent crash on some unexpected errors
- select2 widget: fix translation
- menu - exhibition: do not put Exhibition at top of treatment requests


v4.3.60 - 2025-09-14
--------------------

### Bug fixes ###
- import: do not create m2m item when no value is provided


v4.3.59 - 2025-09-14
--------------------

### Technical ###
- Imports - documents - post importer action: `set_container_by_code`, `set_container_ref_by_code`


v4.3.58 - 2025-09-12
--------------------

### Features/improvements ###
- statistics - finds: sum by number of remains


### Technical ###
- formula: add splitpart filter


v4.3.57 - 2025-09-11
--------------------

### Features/improvements ###
- templates: `short_date` filter, `TODAY` and `TIME` variables
- templates operations: add town codes


### Bug fixes ###
- fix media exporter for all media export


v4.3.56 - 2025-09-04
--------------------

### Features/improvements ###
- operation templates: clean and add fields (#6435)


v4.3.55 - 2025-08-27
--------------------

### Features/improvements ###
- finds - fields (#6423):
    - add field "Owner"
    - add field "Ownership status"
    - change field "donor" to many-to-many
    - change field "collection" to many-to-many


### Bug fixes ###
- document template - archaeological files - "redevance": fix generation with insistant data


v4.3.54 - 2025-08-11
--------------------

### Features/improvements ###
- templates:
    - add slug to types (#6367)
    - get a text file when VALUES is used


### Bug fixes ###
- searches: fix exact date searches for datetime fields (#6411)


v4.3.53 - 2025-07-31
--------------------

### Technical ###
-  import: force explicitly geo check on post treatments for complex associations (#6406)
-  migrations: fix mysterious bug on some installations (fail on group add with group already here)


v4.3.52 - 2025-07-21
--------------------

### Features/improvements ###
- import tables: vertical scroll buttons (#6400)


### Bug fixes ###
- imports list: fix permissions check (#6400)


v4.3.51 - 2025-07-19
--------------------

### Bug fixes ###
- imports form: fix import link (#6398)


v4.3.50 - 2025-06-27
--------------------

### Bug fixes ###
- relations forms between operations and context records: automatic deletion of duplicates, corrections on deletion (#6399)

### Technical ###
- imports: many performance optimisations


v4.3.49 - 2025-06-19
--------------------

### 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.3.48 - 2025-06-18
--------------------

### Features/improvements ###
- Media exporter: all media attached to an item can now be exported from his sheet. Export is highly configurable: permission management, query filter, "cascade" export, naming rules, media types (images, files or both), high resolution image or thumbnail.


v4.3.47 - 2025-06-17
--------------------

### Technical ###
- searches - raw search index: better management of terms with spaces


v4.3.46 - 2025-06-13
--------------------

### Bug fixes ###
- archaeological sites: remove "add operation" shortcuts (#6329)
- context record bulk update: fix parcel field (#6353)
- find bulk update:
    - free ID field available for many items (#6352)
    - fix header (#6352)
- forms headers: manage header with conditionnal fields


v4.3.45 - 2025-06-13
--------------------

### Features/improvements ###
- operation form: year can start with year from 0


### Bug fixes ###
- templates - finds: do not overload "description" with base find description
- regenerate QRCode when file is missing - better scale for QRCode


v4.3.44 - 2025-05-29
--------------------

### Bug fixes ###
- admin town: fix geojson import/export - manage missing provider


v4.3.43 - 2025-05-27
--------------------

### Bug fixes ###
- admin town: fix geojson import/export


v4.3.42 - 2025-05-15
--------------------

### Bug fixes ###
- fix find location history for loans


v4.3.41 - 2025-05-15
--------------------

### Technical ###
- `migrate_search_queries_v4_2`: migration script for search query


v4.3.40 - 2025-05-13
--------------------

### Bug fixes ###
- templates: fix qrcode generation for finds (#6314)


### Technical ###
- management commands:
    - `dump_towns`, `load_towns`: new and better format for town initialization
    - `import_geofla_csv`, `import_insee_comm_csv`: logging, better verbose CLI


v4.3.39 - 2025-05-06
--------------------

### Bug fixes ###
- fix autocomplete context record to match search query


v4.3.38 - 2025-05-05
--------------------

### Bug fixes ###
- fix open searches for some specifics fields


v4.3.37 - 2025-05-02
--------------------

### Features/improvements ###
- operation - wizards/search: remove person/organization types constraints (#6303)


### Bug fixes ###
- person wizard: fix person creation


v4.3.36 - 2025-04-29
--------------------

### Bug fixes ###
- fix quick add of organization and persons on some wizards forms (#6280, #6279)
- fix missing Add (+) button for treatment and treatement request (#6300)


v4.3.35 - 2025-04-28
--------------------

### Bug fixes ###
- old import list: fix pagination (#6268)


v4.3.34 - 2025-04-25
--------------------

### Features/improvements ###
- operation - quick edit: add comment field


### Bug fixes ###
- forms: fix availability of disabled types on m2m fields (#6266)


v4.3.33 - 2025-04-23
--------------------

### Bug fixes ###
- fix table export with json fields in search (#6292)
- finds forms non museum instances:
    - fix mark label (#6273)
    - fix museum ID display (#6286)
- custom forms: fix custom fields edition


v4.3.32 - 2025-04-03
--------------------

### Bug fixes ###
- regression: fix table export (bad permission filter)
- fix csv export with '|' syntax for export columns


v4.3.31 - 2025-03-24
--------------------

### Bug fixes ###
- custom form: fix administrative act custom forms (#6238, #6239)
- warehouse: auto associate town of the organization if not town is provided (#6192)
- sheet geo:
    - fix label on map view for markers (#6234)
    - shrink display of large values


### Technical ###
- wizards: improve performance when many are attached
- custom form - admin: better filter for JSON fields


v4.3.30 - 2025-03-19
--------------------

### Features/improvements ###
- if user ignore 10 times the new version info message stop displaying it
- sheets:
    - refactor document listing - add edit and unlink actions (#6221)
    - account: display attached items (#6208)
    - archaeological sites: display related context records (#6147)
- operation bulk update form: add button to add collaborator (#6219)
- autocomplete operation: more tolerant search on code
- exhibitions: link documents (#6222)
- criteria search: attached to user - permissions (#6208)
- imports: "match" button in color (warning)


### Bug fixes ###
- sheets:
    - fix own permission (#6183)
    - account: fix link for quick edit action
    - account: fix treaments/treatmesnt requests creation display (#6186)
    - person: fix precise town of organization (#6169)
- treatment type form: fix filter of treatment type by availability (#6143)
- site bulk update: fix header label (#6220)
- bulk update form: fix add button with new permissions
- archaeological files:
    - templates: add `unit_label` to generic equipment cost (#6218)
    - manage business daysfor deadlines (#6218)
- finds: quick move form - more explicits labels (#6164)
- parcel forms: better help message (#6194)
- fix geographic association for warehouse and containers (#6192)
- account form: fix title, area and person type field (#6190)
- simplify person wizard - put person types on main form
- administrative act: fix internal reference label (#6185)
- autocomplete finds: do not display find with downstream treatment (#6178)
- operation quick action: do not display sites relation action if site module is not activated (#6215)
- person search: fix person type search (#6191)


### Technical ###
- fix huge performance problems on permissions when too many items are attached
- fix bad polygon agregation for town area (#6234)
- administrative act: intented to is now many (#6210)
- management command - `ishtar_update_permissions`: add force option


v4.3.29 - 2025-03-07
--------------------

### Features/improvements ###
- imports: "match" button in color (warning)


### Bug fixes ###
- criteria search: fix exact date query for datetime fields (#6206)
- redirect to sheet ishtaruser after account edition


### Technical ###
- GDPR:
    - clean command
    - admin: add person ID to gdpr persons listing


v4.3.28 - 2025-02-28
--------------------

### Bug fixes ###
- forms: fix management of json fields with formsets, limited permissions and custom forms


v4.3.27 - 2025-02-25
--------------------

### Bug fixes ###
- admin: fix previous/next
- QA form: fix error message management
- generic autocomplete: put first exact match - add parent to search


### Features/improvements ###
- sheet ishtaruser: add account management action - add permission message after account edition
- account: redirect to account sheet after save


v4.3.26 - 2025-02-25
--------------------

### Features/improvements ###
- biographical notes:
    - sheet: add json fields
    - forms: manage custom fields
    - admin: search, CSV export and improve form


### Bug fixes ###
- sheet find: fix treatment status display (#6200)
- treament search: fix document type search (#6198)



v4.3.25 - 2025-02-24
--------------------

### Features/improvements ###
- treatments:
    - add search criteria
    - treatment state refactoring: distinct input status and treatment status (#6182)


v4.3.24 - 2025-02-19
--------------------

### Bug fixes ###
- permissions: fix column filter on table exports


v4.3.23 - 2025-02-18
--------------------

### Features/improvements ###
- admin:
    - improve Next/Previous buttons,
    - importer columns - set default importer type and col number


### Bug fixes ###
- fix museum find templates
- imports: fix concat with non string
- permissions: fix '"{AREA}"' syntax (#6125)


### Technical ###
- sheet find refactoring


v4.3.22 - 2025-02-17
--------------------

### Features/improvements ###
- operations searches: add "Result considered negative" field
- exhibition:
    - add description field
    - basket sheet: display associated exhibitions
    - create exhibition from basket


### Bug fixes ###
- permissions: fix author and biographical notes permission generation (refs #6187)


v4.3.21 - 2025-02-11
--------------------

### Features/improvements ###
- import GIS: do not create GIS item if the main item is already GIS
- geo items: add acquisition date - remove mandatory link to another item


v4.3.20 - 2025-02-10
--------------------

### Features/improvements ###
- Town, area searches for person, organisations, archaeological files, context records, warehouses and containers (#6095)

### Bug fixes ###
- many fix on permissions (#6068, #6098, #6099, #6100, #6104, #6109, #6110, #6115, #6118, #6125)
- fix no translations for homepage on new instances (#6136)


v4.3.19 - 2025-01-31
--------------------

### Features/improvements ###
- administration: better management of "Import - Item keys" - import/export, links all user/imports


v4.3.18 - 2025-01-28
--------------------

### Bug fixes ###
- sheet treatment: fix reference display (#6150)
- sheet warehouse: deactivate statistics when too many containers are attached
- fix own permission check (#6126)
- fix view person permissions (#6146)


v4.3.17 - 2025-01-23
--------------------

### Technical ###
- treatments: rename field `other_reference` -> `reference`
- treatments: manage imports


v4.3.16 - 2025-01-20
--------------------

### Bug fixes ###
- permissions:
    - manage quick add/modify forms (#6101)
    - permission sheet: fix treatments list (#6124)
    - add permission for created object to the current user (#6118)
    - fix `permission_check` for action (#6126)
- fix import match listing
- fix generation of `cached_label` for base finds


v4.3.15 - 2024-12-13
--------------------

### Bug fixes ###
- document template: fix associated basket for treatment file and treatments


v4.3.14 - 2024-12-11
--------------------

### Bug fixes ###
- permissions: fix specific administration permissions

### Technical ###
- fix get own function for biographical notes (old behaviour)


v4.3.13 - 2024-12-11
--------------------

### Features/improvements ###
- CSS dark mode
- new map layer: IGN cadastral

### Bug fixes ###
- fix custom form reordering and "add" wizards
- admin: fix geovector form
- QA create warehouse: fix save


v4.3.12 - 2024-12-01
--------------------

### Features/improvements ###
- add exhibition (data model, forms)


v4.3.11 - 2024-11-28
--------------------

### Features/improvements ###
- site profile: ability to set default localisation for treatments

### Technical ###
- add profile slug to default wizard context

### Bug fixes ###
- fix file template when no filter is provided


v4.3.10 - 2024-11-25
--------------------

### Bug fixes ###
- simplify and fix upper permission management
- upper permissions: get container permission from finds


v4.3.9 - 2024-11-24
-------------------

### Bug fixes ###
- news feed fetch silently fail on network error
- fix bad evaluation on wizard for "own" permissions

v4.3.8 - 2024-11-20
-------------------

### Features/improvements ###
- sheet filtering: can set many keys with ';' separator

### Bug fixes ###
- fix administrative act permissions

v4.3.7 - 2024-11-20
-------------------

### Features/improvements ###
- admin: warning message when multiple permission queries have been set for the same profile type

### Bug fixes ###
- fix administrative act permissions


v4.3.6 - 2024-11-20
-------------------

### Bug fixes ###
- fix actions acces for permissions
- more explicit message in case of insufficient permissions


v4.3.5 - 2024-11-17
-------------------

### Features/improvements ###
- filter sheet by profile type
- search: add AND operator "&&"


v4.3.4 - 2024-11-15
-------------------

### Bug fixes ###
- fix permissions menu evaluation - fix forms initialization


v4.3.3 - 2024-11-14
--------------------

### Technical ###
- rename permission request fields to permission queries
- filtered sheets - filters, sheets: model, admin


v4.3.2 - 2024-11-13
--------------------

### Bug fixes ###
- fix own permissions for sheets
- translation in admin page


v4.3.1 - 2024-11-13
--------------------

### Features/improvements ###
- permissions management:
    - use of queries to manage permissions
    - expiration date for profiles
    - specific deletion permissions (not anymore linked to modification)
- search: OR syntax with "||"


### Technical ###
- permissions management:
    - refactoring of possession (direct, on creation, with basket)
    - refactoring of heritage
    - refactoring of areas association
- special syntax for using identifier in search "id:1234" (used by permission query mecanism)

v4.2.0 - 2025-06-19
--------------------

v4.2 is now the official stable branch

v4.1.53 - 2025-02-19
--------------------

### Bug fixes ###
- search forms: fix filter for datation fields (#4281, #6193)


v4.1.52 - 2025-02-14
--------------------

### Bug fixes ###
- fix `VALUES` serialization for preventive archaeological files
- archaeological files sheet: fix preventive formset equipment service order (refs #6173)


### Technical ###
- archaeological files templates: add `taux_recouvrement` variable (refs #6172)
- templates: add `precise_town_name` to person and organization (refs #6167)


v4.1.51 - 2025-02-13
--------------------

### Bug fixes ###
- archaeological files: fix ground daily cost variable


v4.1.50 - 2025-02-12
--------------------

### Bug fixes ###
- templates: fix rounding for `float_format` filter (refs #6172)
- archaeological files - preventive:
    - display detailled cost with `display_label` (refs #6172)
    - forms: fix management of equipment formset (refs #6173)
    - templates: fix miscalculation of preventive fields (refs #6172)
    - admin: fix price agreement duplication (refs #6174)


v4.1.49 - 2025-02-10
--------------------

### Bug fixes ###
- context record forms: do not crash on fields reordering when some of them are filtered (#6166)


v4.1.48 - 2025-01-28
--------------------

### Bug fixes ###
- sheet warehouse: deactivate statistics when too many containers are attached


v4.1.47 - 2025-01-07
--------------------

### Bug fixes ###
- fix generation of base finds labels


v4.1.46 - 2024-12-30
--------------------

### Features/improvements ###
- disable overload translation by default

### Bug fixes ###
- fix disable overload translation


v4.1.45 - 2024-12-09
--------------------

### Bug fixes ###
- fix custom form reordering


v4.1.44 - 2024-12-05
--------------------

### Bug fixes ###
- admin: fix geovector form
- quick action - create warehouse: fix save

v4.1.43 - 2024-10-15
--------------------

### Features/improvements ###
- site and operation relations forms refactoring

### Bug fixes ###
- fix group import (missing skip lines)

### Technical ###
- improve performance on search vector generation


v4.1.42 - 2024-10-11
--------------------

### Bug fixes ###
- fix GIS import (missing skip lines)


v4.1.41 - 2024-10-10
--------------------

### Bug fixes ###
- archaeological files form: fix missing field `internal reference` (#6046)


v4.1.40 - 2024-10-09
--------------------

### Technical ###
- document templates - Archaeological files: add fields for preventive document rendering


v4.1.39 - 2024-10-09
--------------------

### Features/improvements ###
- operation: copying the address and locality when creating from an archaeological file


v4.1.38 - 2024-10-08
--------------------

### Technical ###
- documents templates - new filter: `euro_format`


v4.1.37 - 2024-10-08
--------------------

### Technical ###
- document templates: manage export in PDF, HTML, xlsx, docx
- importer type: add default number of line to skip for CSV

v4.1.36 - 2024-09-30
--------------------

### Technical ###
- document templates:
    - multiply, sub, add filters
    - Archaeological files: add fields for preventive document rendering


v4.1.35 - 2024-09-30
--------------------

### Bug fixes ###
- sheet: fix `full_label` display of hierarchical types
- sheet context record: fix "interpretation tab" display when there is only "identifications"


v4.1.34 - 2024-09-29
--------------------

### Bug fixes ###
- import CSV overview: do not display ignore button when not relevent

### Technical ###
- document templates:
    - more robust templates (don't crash on missing values)
    - add fields for archaeological files
    - `number_to_words` and `float_format` filters


v4.1.33 - 2024-09-28
--------------------

### Technical ###
- Archaeological files templates: add fields for rendering preventive archaeology documents

v4.1.32 - 2024-09-27
--------------------

### Features/improvements ###
- archaeological files - new field: "operation name" (#5795)
- imports: buttons "ignore all errors", "no errors"

### Bug fixes ###
- imports: fix window closing on ignore errors check

### Technical ###
- homepage: simplify and initialize homepage fields management


v4.1.31 - 2024-09-24
--------------------

### Features/improvements ###
- homepage: statistics and more customizations

### Technical ###
- DocumentationType, ExcavationTechnic (context record) add hierarchy and order

### Bug fixes ###
- fix self context record relation creation

v4.1.30 - 2024-09-22
--------------------

### Technical ###
- import:
    - manage post processing of linked items
    - post processor for Parcel: `set_parcel`
- sheets: add getter for templates and index formula


v4.1.29 - 2024-09-21
--------------------

### Bug fixes ###
- fix CSV export


v4.1.28 - 2024-09-20
--------------------

### Features/improvements ###
- new fields (database, forms, searches, sheets):
    - Archaeological files:
        - Monitoring justification type
        - Development type
    - Archaeological sites:
        - Types
        - Current status
        - Discovery status
        - Discoverer
        - Nature of site
        - Interpretation level
        - Precise locality
        - Description
        - Public description
    - Context record:
        - Excavator
    - Find:
        - Discovery method


v4.1.27 - 2024-09-17
--------------------

### Features/improvements ###
- new fields (database, forms, searches, sheets):
    - Town:
        - notice
    - Context records:
        - excavated length
        - excavated width
        - structure
        - texture
        - colors
        - details on colors
        - inclusions
- Operations relations: remove form from the wizard to put in a specific form


v4.1.26 - 2024-09-16
--------------------

### Features/improvements ###
- Context records relations: remove form from the wizard to put in a specific form

### Technical ###
- improve performance
    - do not reevalute ContextRecordTree if not necessary
    - external ID: prevent double save - update query instead of save
- remove dead code


v4.1.25 - 2024-09-12
--------------------

### Bug fixes ###
- sheet find: fix display for simple treatment with no container associated


### Technical ###
- migration script for find container history
-️ admin:
    - fix performance for administrative act form
    - automatic improve forms layout: put generic fields at the end


v4.1.24 - 2024-09-11
--------------------

### Features/improvements ###
- criteria searches: add missing criteria for operation, find and context records (#6020)
- context records bulk update: add fields

### Bug fixes ###
- sheet context record: fix bad conditional evaluation for the interpretation tab

v4.1.23 - 2024-09-10
--------------------

### Features/improvements ###
- quick action - container: move form
- manage find localization history

### Bug fixes ###
- imports:
    - fix default values evaluation
    - fix post-import processing on deleted items
- merge: do not merge import association
- sheets:
    - treatment file: fix applicant organisation address
    - archaeological file: improve layout
    - administrative act: display custom fields
- fix random images for administrative acts


v4.1.22 - 2024-08-28
--------------------

### Bug fixes ###
- LibreOffice context record templates: get datings values

v4.1.21 - 2024-08-28
--------------------

### Bug fixes ###
- LibreOffice templates: more robust generation (attempt to recover malformed XML)

v4.1.20 - 2024-07-25
--------------------

### Features/improvements ###
- user with "`view_import`" permission can view import list

### Technical ###
- commands: fix `ishtar_import script` - add verbose display


v4.1.19 - 2024-07-15
--------------------

### Features/improvements ###
- Find: add the ability to configure a "+ find without context" button

### Bug fixes ###
- map: change IGN map link
- sheet - prevent crash when geodata are corrupted
- fix many date and numeric searches (refs #5928)


v4.1.18 - 2024-07-08
--------------------

### Features/improvements ###
- Context records - identification: switch to multivalued
- add an extra dialog on item deletion
- document deletion: do not display non relevant fields on summary before deletion (refs #5639)


### Bug fixes ###
- document search: fix open containers search
- Imports: manage error on file opening


v4.1.17 - 2024-06-26
--------------------

### Features/improvements ###
- notices - Town: add old town, new town reference on notices (#5380, #5732)


### Bug fixes ###
- templates: add missing m2m values
- forms: fix date validation not possible when switching to english (#5837)


v4.1.16 - 2024-06-24
--------------------

### Features/improvements ###
- criteria search: relative search for dates and numbers
- documentation: improve criteria search documentation
- search: add inline help
- many small fix on forms, sheets


### Bug fixes ###
- fix pin for administrative act

v4.1.15 - 2024-06-11
--------------------

### Features/improvements ###
- Sheet: add many missing fields, improve layout, harmonize creation/modification section 

### Technical ###
- Operation:
    - operator reference field 20 -> 200 characters
    - operator reference search criteria (#5965)
- Document: cache authors field for table display (#5709)
- Import queues - change default launch script in order to process low priority (#5679)

v4.1.14 - 2024-06-05
--------------------

### Bug fixes ###
- hot fix geo forms - no `history_creator`

v4.1.13 - 2024-06-05
--------------------

### Bug fixes ###
- document and geo forms: fix overload of history creator on modification (refs #5964)


v4.1.12 - 2024-06-05
--------------------

### Features/improvements ###
- update documentation
- import sheet: better display of modified and created fields

### Bug fixes ###
- autocomplete towns: fix search for towns with accents (#5557)
- geo, document form: fix label for "Site" when configuration is checked
- criteria search - towns - related model: fix "\*" and "- \*" searches

### Technical ###
- profile - relation engine: default changed to cache tables
- "settings.py" : load custom settings after local settings
- 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

v4.1.11 - 2024-05-10
--------------------

### Features/improvements ###
- Operation:
    - add finds and documentation deposit dates
    - quick action: add administrative act (#5925)

### Bug fixes ###
- table count - fix bad number of items count on finds with many associated context record (#5898)
- import error check: fix error when ID is higher than 1000 (#5931)
- account search tables: display profile type instead of profile name (#5618)
- sheet: restore button is more visible and has been detached from navigation buttons (#5917)
- 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.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
- geo sheet: display point buffer
- Container: new field Code (forms, sheet, search index and autocomplete) (#5704)
- Context record:
    - identification type changes to hierarchical (#5739)
    - cultural attribution field (#5740)
- Operation:
    - improve sheet (#5753)
    - rename "operation code" to "yearly index"
    - finds and documentation deposit dates
    - quick action: add administrative act
- Find:
    - conservation state becomes multi-valued (#5904)
    - batch update: "previous id" can be changed for many find
- Warehouse: autocomplete with slug
- Document form: remove the attachment constraint
- add pagination to archived imports page
- search: for dates, introduce notation 'criteria=">21/12/2023"' and 'criteria="<21/12/2023"' for before and after

#### Imports #####
- pre-import forms
- imports : ability to use natively LibreOffice and Excel files
- imports - group: chain multiple imports
- imports: refactoring of permission management
- imports: allow media import from a web location
- imports: allow to exclude some errors messages
- imports: allow errors to be pointed out line by line
- imports - form: reorganisation of field order
- imports - table :
    - built-in CSV viewer
    - automatic progress refresh
    - reorganization of fields
    - improved presentation
- imports - sheet (links from other sheet to the import sheet)
- imports - match: do not propose "Set to NULL" for required columns
- searches: add criteria "imported from"

#### GDPR Module #####
- documentation
- admin - GDPR log (read only, export)
- record GDPR on log directory view and directory export


### Technical ###
- script to fix grouped towns allocation to operations
- debug mode for imports
- imports:
    - fix post import actions in defaults
    - document: post importer action - set main image
- `ishtar_maintenance` script: `fix_geographic_items` task
- geodata: fix default attachment for find, context records, warehouse and container
- GIS import: fix bad SRID comparison

#### Imports #####
- update relationship between imports and main items
- imports - queues: manage a low priority queue for imports

#### GDPR Module #####
- tables: user, action, IP, routable IP

### Bug fixes ###
- document table: fix gallery view
- geo sheet:
    - do not zoom or select point with no x, y coordinates
    - fix 2d point display
- imports - CSV result:
    - fix missing columns (#5677)
    - improve values format
- context record relations graph - fix '\n' string (#5500)
- fix consultation permissions on the contents of a container (#5767)
- fix default settings for treatment states and treatments types (#5782, #5774)
- fix main image for files (#5789)
- Context record autocomplete: explicit search by operation code (#5834)
- Sheet: prevent overflow of file name on other fields (#5835)
- JSON data date: fix criteria search - sheet display localized version (#5883)
- Operation: rename "operation code" to "yearly index"

v4.0.75 - 2024-04-16
--------------------

### Technical ###
- Find: add index to free text search

v4.0.74 - 2024-04-16
--------------------

### Technical ###
- JINJA formula: padding and deduplicate filters

v4.0.73 - 2024-03-19
--------------------

### Bug fixes ###
- fix gallery for documents

v4.0.72 - 2024-02-05
--------------------

### Technical ###
- update IGN/INSEE import script

v4.0.71 - 2024-01-17
--------------------

### Bug fixes ###
- area: fix automatic slug generation (#5715)
- document table: fix line duplication for authors (#5709). **Warning**: count in table is not relevant anymore, real correction will be available on version v4.1

v4.0.70 - 2023-12-19
--------------------

### Technical ###
- context record relation: force one to one relation on context record relation -> fix archaeological find listing on context record sheet


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)


v4.0.68 - 2023-11-30
--------------------

### Bug fixes ###
- admin container: fix search

### Technical ###
- import: intercept integrity error on post-treatment

v4.0.67 - 2023-11-29
--------------------

### Bug fixes ###
- GIS form - remove "timestamp" fields (#5673)
- Instance Profile:
    - fix migration: provide default for complete id and cached label (#5674)
    - fix "default center" field (#5675)
- Document table: fix performance issue on sort (#5667)
- Document bulk update: fix to add new author (#5681)
- Custom form - add missing forms types (#5668)
- New Geo item form: center map widget on the center of the main geo item or use default center of the instance (#5676)


v4.0.66 - 2023-11-22
--------------------

### Bug fixes ###
- templates - container values: fix find list order (#5661)

v4.0.65 - 2023-11-15
--------------------

### Bug fixes ###
- search: fix -type="*" search for types with no hierarchy

v4.0.64 - 2023-11-14
--------------------

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


v4.0.63 - 2023-11-08
--------------------

### Bug fixes ###
- Statistics: fix image display (#5650)
- Password expiration: delete cache after password reset

v4.0.62 - 2023-10-27
--------------------

### Bug fixes ###
- Operation sheet: add missing preventive archaeology fields, improve date format
- Operation sheet: fix filter on the table of relations between context records (#5647)

v4.0.61 - 2023-10-18
--------------------

### Bug fixes ###
- JS: fix calendar localisation (#5642)
- Custom forms: fix crash when removing fields already filtered (#5643)

v4.0.60 - 2023-10-10
--------------------

### Bug fixes ###
- manage photos with altered bits (#5626)

v4.0.59 - 2023-09-29
--------------------

### Bug fixes ###
- fix missing translations
- 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
--------------------

### Bug fixes ###
- Federation:
    - instead of deleting excluded fields, set them to null
    - distant sheets: add missing default permission check
    - absolute URL for ressources

v4.0.57 - 2023-09-13
--------------------

### Technical ###
- wider main div on mobile device

### Bug fixes ###
- fix photo selector on mobile device

v4.0.56 - 2023-09-06
--------------------

### Features/improvements ###
- improve online documentation

### Technical ###
- imports - linking: remove irrelevant keys
- 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
--------------------

### Technical ###
- `ishtar_maintenance` script: add "filter" option in order to limit script to a specific query
- fix crash with no search counted
- fix cascade update for base finds
- optimise post-treatments: prevent unnecessary cascade update (refs #5617)

v4.0.54 - 2023-07-19
--------------------

### Features/improvements ###
- wizards: automatic scroll on field when navigating with TAB key
- improve layout: update password form, open registration form
- update password form: redirect to start page
- open registration form: disabled by default
- reset email form
- button to show password on admin change password form
- default username naming style is firstname.name

### Bug fixes ###
- fix find redirection after geo item creation/modification
- account form: fix slugify of default username
- fix document quick packaging (#5611)

v4.0.53 - 2023-07-06
--------------------

### Features/improvements ###
- wizards: validate forms with CTRL+ENTER

### Bug fixes ###
- wizards: fix autofocus of first field
- 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

### Technical ###
- fix infinite loop on `regenerate_all_id`


v4.0.51 - 2023-07-05
--------------------

### Features/improvements ###
- sheet: add a refresh button to update informations

### Bug fixes ###
- fix parcel table - wizard summary (inappropriate l10n)
- check of external identifiers when updating cached labels (#5603)


v4.0.50 - 2023-07-03
--------------------

### Features/improvements ###
- update documentation
- improve changelog display
- update translations

### Bug fixes ###
- Operation form: the operation code field (Patriarche) is no longer optional
- fix "*" search for text fields (#5325)
- forms - unit input: fix round float display
- sheet: fix float display for hectare
- fix crash on qrcode generation for base finds

v4.0.49 - 2023-06-21
--------------------

### Features/improvements ###
- improve changelog display
- Sheet: display spatial reference system with coordinates of points

### Technical ###
- JS: fix TrackPositionControl with https


v4.0.48 - 2023-06-08
--------------------

### Features/improvements ###
- Search criteria - geo - "Z lower than", "Z higher than"
- Sheet: display coordinates of points

### Technical ###
- Default round and round z for each spatial reference system 
- Do not put debug log in root path on Debian
- Fix mimetype of settings.js


v4.0.47 - 2023-06-08
--------------------

### Technical ###
- Improve post treatments after imports
- Many fix (or potential fix) in templates (inappropriate l10n) (#5594)


v4.0.46 - 2023-05-26
--------------------

### Features/improvements ###
- Towns/geographical areas :
    - attachment of documents
    - setting up of sheet
    - links from other sheet to the sheets of municipalities/geographical areas

### Bug fixes ###
- recalculation of the weight of a container when find is removed (#5470)


### Technical ###
- JS: fix UnitWidget (inappropriate l10n)
- fix HTML import page (inappropriate l10n)


v4.0.45 - 2023-05-15
--------------------

### Features/improvements ###
- Administration: improved display of subcategories (in color)
- Document - bulk update: add modification of tags (#5415)

### Bug fixes ###
- Fix town search for warehouses and organizations
- Fix container search for documents

### Technical ###
- 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

v4.0.44 - 2023-04-17
--------------------

### Features/improvements ###
- Display of a changelog with alert display when updates are made
- Containers: manage history
- 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.

### Bug fixes ###
- Json fields: fix bad save of multi values
- Cascade update from warehouse to containers (#5432)
- Sheets: fix history view with associated geo
- Containers: remove division search
- Image detail: do not display Modify link when not relevant (#5438)
- Fix french label for geo types (#5577)
- Fix permissions for treatments requests (#5441)

### Technical ###
- Load task refactoring - manage `external_id` regen with tasks
- Update and fix translations (#5578, #5579, #5581)
- 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

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 `<pre>`
- 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 ###
- Treatment sheet: improve layout - add detail links

### Technical ###
- Installation: fix installation script to allow custom DB PORT and DB HOST
- Imports: complex formatting of formulas

v4.0.41 - 2023-01-23
--------------------

### Technical ###
- Fix javascript filter on field

v4.0.40 - 2023-01-22
--------------------

### Technical ###
- 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 <pre> blocks
- Warehouse sheet: correction of duplicate labels


v4.0.37 - 2023-01-20
--------------------

### Bug fixes ###
- Find search: fix discovery date search
- Find/container sheet: correction of date and decimal number display


v4.0.36 - 2023-01-20
--------------------

### Features/improvements ###
- Find sheet 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
- Sheet find: 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 ###
- Find sheet: 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