9.2.0 (2024-11-25)
Enhancements
- allow uploading JSON files as assets (DEV-4327) (#1267) (8f6be06)
- rename CLI command
xml-validate
tovalidate-data
(DEV-4219) (#1203) (8c10f83) - start-stack: make api version necessary for validation accessible through a flag (DEV-4200) (#1194) (081a6f2)
- validate-data: add unique value constraint (DEV-4202) (#1236) (595bb11)
- validate-data: check file value cardinality (DEV-4338) (#1264) (cefc466)
- validate-data: ensure only known resources are used (DEV-4268) (#1263) (dbbaefe)
- validate-data: make content validation conform with
dash
syntax (DEV-4233) (#1211) (2af7a69) - validate-data: validate
MovingImageRepresentation
(DEV-4333) (#1268) (4594ff9) - validate-data: validate cardinality with
dash:closedByTypes
(DEV-4231) (#1209) (e883cbb) - validate-data: validate generic content of values (DEV-4225) (#1208) (86042ff)
- validate-data: validate link value class type (DEV-4237) (#1215) (9e306c2)
- validate-data: validate list nodes (DEV-4131) (#1240) (332387a)
- validate-data: validate text value type (DEV-4209) (#1205) (cafca60)
- xmllib: add
create_label_to_name_list_node_mapping()
to lib (DEV-4293) (#1245) (c0cdbeb) - xmllib: add english and german to boolean value converter (DEV-4311) (#1260) (9b70810)
- xmllib: add factory method to resources (DEV-4189) (#1185) (99c76ea)
- xmllib: add helpers from
excel2xml
toxmllib
(DEV-4316) (#1261) (fb88558) - xmllib: add migration metadata to resources (DEV-4194) (#1190) (1784065)
- xmllib: add optional value to dsp base resource (DEV-4289) (#1244) (ef309ba)
- xmllib: change order of parameters in add values (DEV-4255) (#1232) (44b3d44)
- xmllib: check tags of richtext values (RDU-58) (#1282) (289251a)
- xmllib: create permissions (DEV-4192) (#1191) (cfe95aa)
- xmllib: rename add multiple function (DEV-4249) (#1223) (df5f87f)
- xmllib: rename default permissions enum (DEV-4248) (#1222) (8b5f858)
- xmllib: replace newline with XML tag (DEV-4195) (#1189) (3419b34)
- xmlvalidate: add CLI command (DEV-4119) (#1193) (1db3135)
- xmlvalidate: add save graph flag to CLI (DEV-4206) (#1199) (aa55a2f)
- xmlvalidate: reformat validation results graph (DEV-4133) (#1187) (e655d98)
- xmlvalidate: save large number of errors as csv (DEV-4208) (#1200) (841975a)
- xmlvalidate: send validation request to API (DEV-4177) (#1186) (57099e4)
- xmlvalidate: value type checks (DEV-4122) (#1197) (bf509cd)
Bug Fixes
- add missing dependency in xmllib (DEV-4254) (#1228) (26bd3dc)
- ci: pin the python version used in the CI (#1230) (ec75682)
- create: always respect admin status of user in JSON file (DEV-4239) (#1217) (0e3c654)
- ingest-xmlupload: correctly encode special chars / support absolute paths (DEV-4156, DEV-4166) (#1247) (435e283)
- ingest-xmlupload: strip leading
/
of absolute paths before sending to ingest (DEV-4300) (#1252) (695b189) - ingest: escape slash in filepath / improve error communication (#1291) (b580f89)
- validate-data: don't crash if list nodes have special characters (DEV-4299) (#1251) (e7871fc)
- validate-data: enable usage of other ontologies besides the default ontology (DEV-4263) (#1235) (a2f7959)
- validate-data: extract richtext as string if it starts with a tag (DEV-4280) (#1250) (71eaa23)
- validate-data: fix inheritance cardinality violations in properties (DEV-4278) (#1241) (e745e2a)
- validate-data: prevent SimpleText Class shape to be used at the wrong place (DEV-4224) (#1206) (e0e686f)
- validate-data: revert to exclusion of properties through gui-order (DEV-4279) (#1242) (e78f4f8)
- xmllib: make permission serialisation into correct string (DEV-4256) (#1225) (1be649a)
- xmllib: resolve typing issues (RDU-57) (#1270) (172054c)
- xmllib: turn
Resource.new()
intostaticmethod
(DEV-4250) (#1220) (00a66d9) - xmlupload: downgrade fuseki to prevent backend from crashing (#1201) (12ebe12)
- xmlvalidate: duplicate cardinalities of LinkValues (DEV-4203) (#1198) (a8a67ab)
Maintenance
- bump dependencies (#1231) (bb10677)
- bump start-stack to 2024.11.01 (#1290) (4de93b8)
- change default permissions to new standard (RDU-48) (#1180) (8dedbe2)
- ci: delegate python installation to uv (#1218) (0d7f91c)
- ci: use uv publish instead of twine (#1219) (39f91d8)
- fix
just clean
recipe (#1269) (5ce8b6f) - make info string of schema validation more precise (#1202) (59bd01a)
- Move authentication out of general purpose connection (DEV-3762) (#1238) (4456c56)
- remove obsolete python version definitions (#1221) (a34b45d)
- remove some pre-commit-hooks (DEV-4295) (#1243) (f1e7894)
- rename folder with test data (#1204) (e147d55)
- tidy up generated data after ingest e2e tests (#1275) (8599250)
- validate-data: change base info extraction from validation report (DEV-4258) (#1227) (c1f78a2)
- validate-data: change identification of FileValue cardinality violation (DEV-4342) (#1286) (bd85640)
- validate-data: change identification of property from guiOrder to isEditable (DEV-4241) (#1234) (ec57ba1)
- validate-data: extract requests to api from clients (DEV-4294) (#1246) (84df21c)
- validate-data: include onotlogy name in LinkValue violation message (DEV-4275) (#1262) (d42b363)
- validate-data: make abstract methods explicit (#1276) (cd2f940)
- validate-data: move prefix constants to separate file (#1210) (a4b08f7)
- validate-data: optimise queries for user results (DEV-4244) (#1224) (2e42602)
- validate-data: refactor
ShaclValidator
(DEV-4199) (#1239) (f0cb819) - validate-data: separate cardinality and content validation (DEV-4217) (#1207) (c0b057e)
- xmllib: check and convert erroneous input datatypes (DEV-4190) (#1184) (8ea7914)
- xmllib: fix typing in XMLRoot (#1229) (2f60f0e)
- xmllib: improve decimal checks (#1195) (324e7ca)
- xmllib: remove "title" parameter from (Video|Audio)SegmentResource.create_new() (#1258) (99478f1)
- xmlupload: bundle resource serialisation scripts (#1289) (b3960a4)
- xmlupload: change serialisation of date value (#1277) (2b31398)
- xmlupload: change serialisation of file value (#1273) (a8b1b68)
- xmlupload: change serialisation of values (#1279) (f82383a)
- xmlupload: change serialisation of values with rdflib (#1274) (ec14df4)
- xmlupload: make value transformers (#1280) (f8466e2)
- xmlupload: move create resource out of
resource_create_client
(#1283) (7f66210) - xmlupload: serialise all values with rdflib (#1287) (3728089)
- xmlupload: serialise color prop in class (#1271) (46ce0d1)
- xmlupload: serialise resource (#1278) (839bb2e)
- xmlupload: serialise values in classes (#1272) (0279615)
- xmlvalidate: ignore built-in dsp-properties (DEV-4191) (#1192) (3c01cfb)
- xmlvalidate: improve error message (DEV-4201) (#1196) (6b386e9)
Documentation
- fix documentation of
--no-iiif-uri-validation
(#1237) (755a8f0) - start-stack: describe how to login in locally running DSP-APP (RDU-54) (#1266) (6ae63d1)
- xmllib: add minimal docstrings (DEV-4297) (#1257) (4c029f1)
- xmllib: make args consistent (DEV-4314) (#1259) (fb5f5a9)
- xmllib: serve docstrings on docs.dasch.swiss (DEV-4298) (#1256) (7db2f94)