Skip to content

Releases: acdh-oeaw/apis-core-rdf

v0.35.1

10 Jan 10:05
Compare
Choose a tag to compare

0.35.1 (2025-01-10)

Bug Fixes

  • apis_metainfo: check for numeric id before iterating related Uris (a909428)

v0.35.0

08 Jan 08:56
Compare
Choose a tag to compare

0.35.0 (2025-01-08)

⚠ BREAKING CHANGES

  • generic: APIS_LIST_VIEWS_ALLOWED and APIS_DETAIL_VIEWS_ALLOWED are replaced with a single setting APIS_ANON_VIEWS_ALLOWED When APIS_ANON_VIEWS_ALLOWED is set to True List views and Detail views will be open to anyone, without having to login. APIS_LIST_VIEW_OBJECT_FILTER and APIS_VIEW_PASSES_TEST are no longer supported. Custom managers should be used instead.
  • generic,apis_metainfo: move duplicate signals to generic app

Features

  • apis_entities: update create_default_uri to use generic uri (2050de3)
  • apis_metainfo: add a signal to remove unused Uris (e64182c)
  • apis_metainfo: replace Uri.root_object with GenericForeignKey (43aec8b)
  • apis_relations: update GenericTripleForm to work with generic uri (e4e5616)
  • core: introduce a MaintenanceMiddleware (dc0cda0), closes #1296
  • generic: add uri_set method to GenericModel (a95c076)
  • generic: add a get_openapi_tags class method (512f769)
  • generic: APIS_ANON_VIEWS_ALLOWED setting (f2e0b2f), closes #1400
  • generic: introduce custom AutoSchema for schema customization (7b4646d)
  • generic: update Enrichview & GenericModel to work with generic uri (c5dbc80)
  • generic: use GenericAutoSchema in ModelViewSet (454de2f)
  • utils: update create_object_from_uri to work with generic uri (1ccfffe)

Bug Fixes

  • generic: remove .html from template_name_suffix (9944661)

Documentation

  • add documentation regarding MaintenanceMiddleware (516b07c)
  • configuration: add APIS_FORMER_BASE_URIS setting (46223a9)
  • configuration: update configs for anonymous views (6f28df6)

Code Refactoring

  • generic,apis_metainfo: move duplicate signals to generic app (3e20f06)

v0.34.1

11 Dec 08:01
Compare
Choose a tag to compare

0.34.1 (2024-12-11)

Bug Fixes

  • relations: only filter queryset if there is actually a value (7cd93e7)
  • relations: only serialize if there is an object (163f3f8)

Documentation

  • history: add documentation on some management commands (320e73f), closes #873
  • history: add section on middleware for user tracking (4694885)

v0.34.0

09 Dec 09:34
Compare
Choose a tag to compare

0.34.0 (2024-12-09)

Features

  • apis_entities: replace apis_entities merge route (40e4618)
  • apis_entities: reuse legacy _merge template (10c524e)
  • apis_metainfo: add a internal method to the Uri (a65617e)
  • core: add additional settings of bootstrap-multiselect (012e1d1)
  • core: drop inclusion of select2 javascript and css (3d53102), closes #1481
  • core: update bootstrap-multiselect dependency (4fdd848)
  • generic: Introduce SelectMergeOrEnrich view and route (fb07e49)
  • utils: introduce an internal_uris settings helper (bb1e7a3)

Bug Fixes

  • apis_entities: disable create_default_uri during fixture loading (f604816), closes #1473
  • apis_entities: show enrich link only for external URIs (8aea255)
  • generic,apis_entities: move action classes to generic app (ff58a98), closes #1469
  • generic: catch exception if .template_name is not set (91f7c77)
  • generic: exclude subclasses from columns selector (14dcb6f), closes #1297

v0.33.0

27 Nov 12:38
Compare
Choose a tag to compare

0.33.0 (2024-11-27)

⚠ BREAKING CHANGES

  • generic: replace object_table.html by template_list lookup

Features

  • generic: add a templatetag wrapper for template_names_via_mro (9605817)
  • generic: allow to disable pagination in table class (e275e59), closes #1444
  • relations: limit the number of subj/obj models in filter (6e6d026), closes #1390

Bug Fixes

  • apis_entities: change icon for enrich functionality (2b44bce), closes #1439
  • apis_entities: replace the update link icon with text (c30eded)
  • core: harmonize footer icon dimension specification (624d74a), closes #1340
  • generic: check for attribute id before using it (076e9f3), closes #1450
  • generic: replace object_table.html by template_list lookup (055ec94), closes #1446

Documentation

  • changelog: replace wrong bug number with correct one (36c97b1), closes #1376
  • customization: document the table_pagination setting (9e35eb7)
  • customization: fix typos you_app -> your_app (e3445d9)
  • customization: replace apis_ontology with your_app (06a960e)
  • point Django documentation links to stable version (f87ad58)
  • README: point Django documentation links to stable version (8accb2b)
  • README: replace note about models.py with link to the docs (f8bb514)
  • remove django-admin-csvexport from list of dependencies (96dd125)

apis-core-rdf: v0.32.0

20 Nov 08:15
Compare
Choose a tag to compare

0.32.0 (2024-11-20)

⚠ BREAKING CHANGES

  • utils: drop unused utils.utils module
  • core: drop unused ViewPassesTestMixin

Features

  • apis_entities: allow to paste string in merge form (6b44299)
  • generic: allow to paste a string in the import form (41cb229), closes #1223
  • relations: put display logic of relations in a block (0d71f8f)

Bug Fixes

  • apis_entities: remove merge form from the entities edit view (2b0dcf1), closes #1285
  • core: remove leading slash from static files (d657a98), closes #1339
  • generic: run the columns names through pretty_name (07951c4), closes #1028
  • generic: use a URL param to enable autocomplete create function (6995a73)
  • history: drop TempTripleHistoryLogs api view (b754e68)
  • relations: support modelselect2 fields (b7ba802)
  • utils: add a raise_on_fail argument to the object create function (16c2ef7), closes #1405
  • utils: raise exception on failing creation of object (d93a17d)

Miscellaneous Chores

  • core: drop unused ViewPassesTestMixin (ed3dfa0)
  • utils: drop unused utils.utils module (734ec4c)

v0.31.1

14 Nov 14:34
Compare
Choose a tag to compare

0.31.1 (2024-11-14)

Bug Fixes

  • apis_entities: set target of merge link to correct route (5b200ed), closes #1374

v0.31.0

13 Nov 10:46
Compare
Choose a tag to compare

0.31.0 (2024-11-13)

Features

  • core: add alt attributes to footer images (cfa9006)
  • sample_project: demo a long relations form (cb80dd3)

Bug Fixes

  • core: fix dimensions of links in footer (c2c5594)
  • generic: use copy instead of working with the original field (1fec441), closes #1346
  • relations: fix modal overflow to access dropdown (e14c806), closes #1359
  • relations: handle overflow in relations dialog (4b08b6f)
  • relations: order fields before initializing FormHelper (c8e9945), closes #1355

v0.30.0

07 Nov 09:10
Compare
Choose a tag to compare

0.30.0 (2024-11-07)

Features

  • generic: add a repr dunder method to the GenericModel (e0b44aa)
  • relations: implement duplicate and merge signal receivers (77b9f10), closes #1251
  • relations: new template to list relations (a6d7030), closes #489
  • relations: put relations in a block (65225d0)
  • relations: run autocomplete results through js method (947fbf4)
  • relations: use content type specific autocomplete in relation form (da939b8)
  • sample_project: automaticall add admin (32c8f4e), closes #1292
  • sample_project: tabbed relations for person (ff675bd)

Bug Fixes

  • core: don't underline hovered footer icon links (20ec314)
  • documentation: force read lazy objects as str (a0f52bf), closes #1319

v0.29.0

15 Oct 12:36
Compare
Choose a tag to compare

0.29.0 (2024-10-15)

⚠ BREAKING CHANGES

  • apis_metainfo: drop unused attributes from Uri model

Features

  • collections: add constraints to collections (818e998)
  • collections: add custom collection manager (3e19e49)
  • generic: introduce default_search_fields method (494ee61)
  • generic: introduce MoreLessColumn (3d8ebc7)
  • generic: use the default_search_fields method (c3ff714)
  • generic: use the default_search_fields method (2279283)
  • relations: allow more generic relation tables (6142910)
  • sample_project: example for MoreLessColumn (8b0d40e)

Bug Fixes

  • apis_entities,apis_relations: move TempTriple update code to signal (ad25547), closes #1288
  • apis_entities: correct merge link (0088fc6), closes #1278
  • apis_relations: call block.super in the col-one block (720b637)
  • apis_relations: edit button appearance (510d0ed)
  • generic: redirect to detail page after merge (86d04a3), closes #1282
  • relations: use form instead of hardcoding the id (08abeba)
  • relations: use javascript onclick instead of htmx on:click (db2b008), closes #1265

Code Refactoring

  • apis_metainfo: drop unused attributes from Uri model (5c0156e)