Skip to content

Latest commit

 

History

History
1485 lines (901 loc) · 120 KB

CHANGELOG.md

File metadata and controls

1485 lines (901 loc) · 120 KB

Changelog

0.37.2 (2025-02-05)

Bug Fixes

  • generic: move split up again and put it inside try/except (543d6ae)

0.37.1 (2025-02-05)

Bug Fixes

  • generic: only split value if it actually exists (997975c)

0.37.0 (2025-02-05)

Features

  • apis_entities: move entities menu to apis_entities app (cf73280)
  • collections: add Collections entry to main menu (954e49d), closes #1565
  • core: enclose user-menu items in a block (4ef987c)
  • core: include bootstrap 5.3.3 instead of bootstrap 4.6.2 (5dc28e9), closes #1529
  • generic: add a collections filter (501ab78), closes #1557
  • generic: add export support to list views (c8c7670)
  • relations: move relations menu to relations app (b04b8f9)
  • sample_project: configure sample project to use bootstrap 5 (aca77f6)

Bug Fixes

  • adapt templates for bootstrap version 5 (6e771bf)
  • core: adapt multiselect settings for bootstrap 5 (6bc99fe)
  • relations: hide empty relations tables (8f13605), closes #1543

0.36.1 (2025-01-27)

Bug Fixes

  • generic: only add collections if app is installed (a709d33), closes #1554

0.36.0 (2025-01-23)

⚠ BREAKING CHANGES

  • utils: let the rdf parser return lists instead of strings
  • utils: drop unused module apis_core.utils.normalize

Features

  • collections: add some helper methods to SkosCollection + Manager (372a5ae)
  • generic: adapt importer to rdf parser list style return values (2a2cdfd)
  • generic: add a form field for managing collections for an instance (e0f7961), closes #1532
  • switch from custom uri normalization to acdh-arche-assets (83c0737), closes #1531
  • utils: let the rdf parser return lists instead of strings (aa1b6ed)

Bug Fixes

  • relations: refactor js and add it to forms Media class (5e4a9c0), closes #1544

Miscellaneous Chores

  • utils: drop unused module apis_core.utils.normalize (ad54c56)

0.35.1 (2025-01-10)

Bug Fixes

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

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)

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)

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

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)

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)

0.31.1 (2024-11-14)

Bug Fixes

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

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

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

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 #1228
  • 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)

0.28.0 (2024-10-03)

Features

  • apis_entities: adapt merge form to use new enrich view (ba7ad4c)
  • apis_entities: add a E21_PersonFromWikidata RDF configuration (d249d99)
  • apis_entities: add a link to the enrich uri to all linked URIs (c0b459d)
  • apis_entities: add a util method to get all entity conten types (0be8476)
  • apis_entities: drop old version style urls (2f85686), closes #1196
  • apis_entities: introduce a map view for E53_Place entities (ba68493)
  • core: add a templatetag that returns the url to the git repo (82fa96d), closes #1217
  • core: allow to skip dateparsing in LegacyDateMixin (0925fc0), closes #1208
  • core: introduce templatetag to list fields for a contenttype (2c02a94)
  • documentation: add a new apis_core.documentation app (5e44520)
  • generic: add a view for enriching entities with external data (9e8fe5c)
  • generic: add an import button to the list views (7c0c5f4), closes #1171
  • generic: allow to set paginate_by using a table attribute (1cc3792)
  • relations: replace bootstrap modal with html dialog (a2e80fa)
  • sample_project: enable debug logging (20ace0e), closes #1252
  • sample_project: enable the apis_core.documentation app (48ab3bf)

Bug Fixes

  • core: redirect to root after logout (b74b6e7)
  • core: use a generic setting instead of an environment variable (2eb364d)
  • documentation: add initial value (af447ce)
  • generic: fix typo logging -> logger (86ee0a2)
  • generic: reuse get_model_fields templatetag in modeldict (9376df7), closes #1249
  • generic: show verbose name instead of contenttype name in list view (3232ea6), closes #1246
  • relations: disable cache on the relation_match_target function (e9a3111), closes #1207

Documentation

  • customization: add documentation regarding paginate_by (5c4da6f)
  • readd the development chapter, that was accidently removed (005f975)
  • update development section (8eb0447)
  • update the CONTRIBUTING file (e09bc43), closes #852

0.27.0 (2024-09-24)

Features

  • apis_entites: introduce js and css for showing a popover map (1e56ad1)
  • apis_entities: introduce a e53_place autocomplete template (ac358a7)
  • apis_entities: introduce a mergeform template tag (f7c5677)
  • apis_metainfo: print warning when APIS_BASE_URI is not set (1727387)
  • apis_relations: add missing migrations (39a1dcd)
  • generic: introduce a generic merge view (5f21c4d)
  • generic: refactor the merge logic and move parts to generic (b0e5294)
  • sample_project: add missing migrations (49c21bc)

Bug Fixes

  • apis_entities: merge - use src obj's bool val (c73203e), closes #818
  • apis_entities: use example.org as fallback and drop global (217ca90)
  • core: replace logout link with a logout form (a8789a6), closes #910
  • generic: fix templatetag loading in merge template (3812512)
  • generic: remove cache decorator from GenericModelImporter (5b44c8a), closes #1204
  • relations: display choices in create form (bb66d57), closes #1193

0.26.0 (2024-09-17)

⚠ BREAKING CHANGES

  • core: cleanup the base.html template
  • core: rename templatetags module to core
  • history: rename templatetags module to history
  • generic: rename templatetags module to generic
  • apis_metainfo: drop apis_metainfo_extras templatetag module
  • collections: rename templatetags module to collections
  • apis_entities: rename templatetags module to apis_entities

Features

  • apis_relations: use the base template to override relations menu (5f27f04), closes #1144
  • core: introduce a footer-left.html template with API links (d2d3891)
  • generic: add logging to GenericModelImporter (8d282cd)

Bug Fixes

  • apis_metainfo: drop UriGetOrCreate view and related stuff (57a7b87), closes #1135
  • apis_relations: drop unused templatetag loading in template (46b5ac9)
  • core: readd login.html template that was accidently dropped (9166e86)
  • generic: replace create with add for required permission (dc9b42c), closes #1173
  • generic: replace custom filterset factory with upstream one (a4d171b), closes #952
  • generic: use Serializer as base for SimpleObjectSerializer (e0eaebb)
  • relations: drop the model field from the RelationSerializer (2f1e549)
  • relations: set model of RelationSerializer (9192e97), closes #1178
  • utils: make value detection in get_html_diff more reliable (eed28c0)

Code Refactoring

  • apis_entities: rename templatetags module to apis_entities (c9fe20f)
  • apis_metainfo: drop apis_metainfo_extras templatetag module (ed1c38d)
  • collections: rename templatetags module to collections (a78bb84)
  • core: cleanup the base.html template (f1f7f73)
  • core: rename templatetags module to core (3714227)
  • generic: rename templatetags module to generic (1d9c159)
  • history: rename templatetags module to history (ffa1d14)

0.25.0 (2024-09-06)

Features

  • apis_entites: add a generic entites autocomplete endpoint (c1a76e0)
  • collections: allow add all changes in a session to a collection (27f7e8d), closes #1066
  • collections: introduce custom collections table (fd250c7)
  • generic: add import_into_instance method to GenericModelImporter (2e12b76)
  • generic: add caching to GenericModelImporter (b20fd4e)
  • generic: add the number of objects to the buttons in the overview (a48d172)
  • generic: introduce a get_attribute templatetag (8654d1b)
  • generic: introduce filter that counts contenttype instances (052f8de)
  • generic: introduce SimpleObjectSerializer (d03be68)
  • history: add ng relations to history view (36b02ab), closes #1112
  • relations: add a relations_verbose_name_listview_url templatetag (3e39858)
  • relations: allow to specify obj or subj types using natural keys (c0d92f8)
  • relations: extend the base template to include relation menu items (74feebb), closes #1083
  • relations: introduce get_all_relation_subj_and_obj helper function (ed19960)
  • relations: introduce new relations implementation (1799ea6)
  • relations: override default queryset to include subclasses (7ef2959)
  • relations: override the default filterset for relations (1f908de)
  • relations: override the default serializer for relations (9bb30c3)
  • relations: override the viewset queryset to include subclasses (2378dce)

Bug Fixes

  • apis_entities: make autocomplete work with multilevel inheritance (50a2af1), closes #1109
  • apis_relations: fix relations table date render method (3f41633)
  • collections: fix typo in template url argument (8559c49)
  • collections: use an app_name and include urls in apis_core.urls (1c70aa5)
  • history: change column name in table to a more accurate term (368b19c), closes #878
  • history: remove verbose name from APISHistoricalRecord (0c62e85), closes #920
  • relations: make get_relation_targets_from method more targeted (35b6709)
  • sample_project: move generic and core to end of INSTALLED_APPS (d029ed3)
  • sample_project: set the string repr for the Profession model (9c4a87e)
  • sample_project: show password only if passwordfile exists (b9aa308)

Documentation

  • collections: add documentation about new session toggle (bdfde27)
  • ontology: update ontology docs regarding the natural key notation (d205399)
  • relations: add documentation about Relations to ontology chapter (7f16ace)

0.24.0 (2024-08-13)

⚠ BREAKING CHANGES

  • utils: drop filtermethods

Features

  • apis_entities: add changed since filter to entity filterset (fde59c7), closes #335
  • apis_entities: add a default search field to the entity filtersets (7cd7906)
  • apis_entities: add external Uris to detail view (69fe3ba), closes #861

Bug Fixes

  • apis_entities: fix sparql queries for abstract base classes (6ac2373)
  • apis_entities: set return type of serializer method (900eb3a)
  • history: set return types of serialzers methods (667503a)
  • sample_project: add autocomplete querysets for person and place (8d6d8dd), closes #900

Documentation

  • add anker to README to allow for partial include in docs (e0bbaa6), closes #1075
  • add section ontology and describe how to add entities (0603e34)
  • improve configuration chapter (7e24ec2)
  • improve customization chapter (adb1eb0)
  • improve glossary chapter (356f3db)
  • improve installation chapter of the docs (454090a)
  • move history and collections features to dedicated page (4d8c1f2)
  • remove not used and outdated doc sections (5b107cc)
  • remove not used entries from index.rst (e348c53)
  • reuse the pyproject metadata in sphinx docs (e8de605)

Code Refactoring

0.23.2 (2024-07-03)

Bug Fixes

  • apis_entities: remove inherited related fields from column list (44a983d), closes #1029
  • core: add schema information to the dumpdata api endpoint (e622977)
  • generic: ModelViewSet: check if renderer exists before using it (dd21e84)

0.23.1 (2024-07-02)

Bug Fixes

  • generic: include ManyToManyFields in list view (2763e0e), closes #1020
  • generic: repair table columns ordering (6762a17), closes #1022

0.23.0 (2024-07-01)

⚠ BREAKING CHANGES

  • generic: rename GenericImporter to GenericModelImporter

Features

  • generic: add data received to importer error message (9570bbd)
  • generic: allow apiview to use custom serializers (0bcd61b)
  • generic: allow to set default search fields in the model (763a866)
  • generic: fix and extend the columns selector (eaef405), closes #735
  • generic: let the importer try rdf before the json fallback (97dba9d)
  • generic: make importer return a message on error (c60ad36)
  • generic: ship generic RDF renderers (b60a0e5)

Bug Fixes

  • apis_entities: let EntityToContenttypeConverter handle ContentType (16534ad)
  • apis_entities: only list possible properties in filterset form (a156cb4), closes #949
  • apis_entities: split excluded filters and excluded columns (d8649d7)
  • apis_relations: make relation edit link change color on hover (bbdf4c7)
  • core: add version to base template if debug is turned on (c8f293e), closes #981
  • utils: add a margin class to the NewlineSeparatedListField's widget (59c4402)
  • utils: create_object_from_uri: raise error if no importer found (89b119a)

Performance Improvements

  • apis_entities: refactor and cache the prev and next url methods (c7ae953)

Code Refactoring

  • generic: rename GenericImporter to GenericModelImporter (2784acb)

0.22.0 (2024-06-25)

⚠ BREAKING CHANGES

  • utils: drop caching module

Features

  • apis_entities: add info message to duplicated object (77a50fa), closes #893
  • generic: list all generic models on overview page (eb53743), closes #912

Bug Fixes

  • apis_metainfo: add missing import (a4ecc61)
  • apis_metainfo: handle unique fields in the duplication logic (3e66876)
  • apis_metainfo: make entity_type orderable in the UriTable (02452ec), closes #874
  • apis_relations: replace LinkColumn with Column in TripleTables (2bdd812), closes #676
  • docs: add documentation regarding GetEntityGeneric (d883896), closes #381
  • docs: fix underline to make sphinx happy (2a05361)
  • docs: remove migrations from the exclude_patterns (75be82a)
  • docs: repair some docstring formatting issues (fa88195)
  • docs: replace broken README.rst include with README.md (719931c)
  • docs: set the language to make sphinx happy (761367b)
  • sample_project: fix countdown (31b05b0), closes #992
  • sample_project: show countdown until redeployment (f061b0a), closes #976
  • utils: drop caching module (04f1c9f), closes #884

0.21.0 (2024-06-20)

Features

  • apis_core: use CustomDefaultRouter instead of DRF DefaultRouter (9ced7a7)
  • apis_entities: introduce CustomSearchFilter and use it (5c40bc0), closes #855
  • generic: add CustomAPIRootView & CustomDefaultRouter (d0428f0), closes #836
  • generic: allow passing a prefix to generate_search_filter (335bb75)
  • sample_project: add password to login page (0be54d2)
  • sample_project: provide discworld sample data (b1bb01f)
  • utils: add a NewlineSeparatedListField (6211dc7)

Bug Fixes

  • api: move /entities endpoint to /api/entities (638bc1b)
  • apis_entities: implement correct related entity query (13a8a08), closes #943
  • apis_entities: trigger htmx process after form reloading (7118205)
  • apis_relations: respect pagination setting in form table (1e1c028)
  • apis_vocabularies: remove collections from migrations (a72e6cd)
  • ci: replace workflow_call with workflow_dispatch (5ecf426)
  • deactivate simple_history plugin for loaddata (4f5742f)
  • drop apis namespace for all url resolvers (24f91f1), closes #876
  • generic: let ContenttypeConverter also handle string arguments (2d67cbe)
  • readme: clean up installation instructions (5c6ad82)
  • sample_project: allow all hosts (37dd165)
  • sample_project: listen on port 5000 by default (ec10764)
  • sample_project: move app to beginning of INSTALLED_APPS (7ce3a05)
  • sample_project: show credentials only if not logged in (d83a68f)
  • sample_project: use environment variables for Django settings (7ddd8f2)
  • use loaddata specific settings in the entrypoint (5cc2172)

Documentation

  • include sample_project configs instead duplicating them (571b52e)
  • sample_project: add comments to the sample projects settings (9a7be81)

0.20.1 (2024-06-11)

Bug Fixes

  • apis_relations: pass the request to the table (1340968)
  • apis_relations: set default fields (0f89e92)
  • generic: use request intead of context for checking user (b74158e)

0.20.0 (2024-06-11)

⚠ BREAKING CHANGES

  • apis_entities: drop GenericNetworkEntitiesAutocomplete
  • apis_entities: drop obsolete templatetag

Features

  • add Docker image + sample_project entrypoint & setup (7a5d265)
  • apis_entities: add string methods to abstract base entities (3f6cb9c)
  • core: use django messages framework in base template (9fd8080)
  • sample_project: enable bootstrap4 table theme (ced59f4)

Bug Fixes

  • apis_entities: allow to skip default uri creation (8332a3d), closes #436
  • apis_relations, apis_entities: use lower when comparing modelname (db10fcb)
  • apis_relations,apis_entities: replace get_object_or_404 (6785b80)
  • core: don't cache the possible relation entities (8055f7b), closes #914
  • sample_project: add apis_override_select2js to INSTALLED_APPS (dce75d9)

Documentation

  • fix formatting issues in history documentation (111abd4), closes #843

Miscellaneous Chores

  • apis_entities: drop obsolete templatetag (9e7965d)

Code Refactoring

  • apis_entities: drop GenericNetworkEntitiesAutocomplete (c471255)

0.19.1 (2024-06-05)

Bug Fixes

  • apis_entities: fix typo in template (duplciate -> duplicate) (08f6904)
  • apis_entities: remove None values before checking model_class (05fca69)
  • apis_metainfo: fix object duplication (b8e0e81), closes #889
  • sample_project: move apis root to / and include auth & admin urls (b1383a6)

0.19.0 (2024-06-04)

⚠ BREAKING CHANGES

  • core: drop libre franklin font
  • drop old api views
  • apis_metainfo: drop Collection model

Features

  • apis_entities: add endpoint that lists all entities (6d77a9d), closes #850
  • generic: add getter for api detail endpoint (3c80aef)
  • generic: introduce success_url getters for create and update (eb870f5), closes #834
  • generic: make the form template title differ between create & edit (ca6d8ef)

Bug Fixes

  • apis_entities,core: add templatetag for generating entitymenu (481ded5), closes #860
  • apis_entities: set max_length for charfields in abstract classes (6f7c3dc)
  • docs: update settings file of doc config (9774af2)
  • generic: also add detail views to enumarated api_endpoints (302b18e)
  • history: returning triples makes only sense for RootObjects (b292d97)
  • sample_project: add missing settings and provide urlconf wrapper (782b5c8)

Documentation

  • add information about the custom schema generator setting (3278ea1)
  • Add test coverage information to documentation subfolder (f6767d4)

Code Refactoring

  • apis_metainfo: drop Collection model (7a9aaf2), closes #576
  • core: drop libre franklin font (77929e3)
  • drop old api views (8da1372)

0.18.1 (2024-05-13)

Bug Fixes

  • apis_entities: remove self from list of entities to merge with (a4fdd63)
  • core: use the capfirst filter on entity menu entries (4587783), closes #799
  • history: implement history_date fallback directly in property (fed77c8)

0.18.0 (2024-05-07)

Features

  • utils: introduce get_html_diff helper (4af4a60)

Bug Fixes

  • apis_entities: fix wording of history links (fd8f6d9)
  • apis_entities: use generic search filter for related entity search (aa8515f)
  • apis_relations: catch missing RootObject in relation representation (b9f277c)
  • history: add a get_absolute_url method to APISHistoryTableBase (dc8eec5)
  • history: rename change_history to history (592de1d), closes #802
  • history: use signal instead of method for setting timestamp (ca5bf94), closes #814

0.17.3 (2024-04-17)

Bug Fixes

  • history: make history timezone aware (c157479), closes #789

0.17.2 (2024-04-16)

Bug Fixes

  • history: sort history data directly in model, not in templatetag (ace42ef), closes #784

0.17.1 (2024-04-15)

Bug Fixes

  • core: add a model_meta templatetag filter (8b334c7)
  • generic: use dal widget only for models with autocomplete endpoint (1de88f0), closes #764
  • relations: Property fields unicode normalization (f1dd3db)
  • relations: save with update_fields (c4fe0e3)
  • utils: use verbose_name for relation card title (7df428b)

0.17.0 (2024-04-08)

Features

  • apis_entities: add method for retrieving merge url of instance (e4c0cd9)
  • apis_entities: import improvements for E53_Place imports (bffebc7)
  • generic: add methods for retrieving permssion names (0a48a72)
  • history: add new history plugin (1c8550d), closes #340 #242

Bug Fixes

  • apis_entities: replace custom permission name logic (3ff23cb)
  • core: fix css for select2 autocompletes (805e336), closes #330
  • generic: let the importer give more meaningfull error messages (f036445)
  • generic: move permission check to individual rows (d3eb810)

Documentation

  • history: add basic doc for new history plugin (f3ee6c8)

0.16.0 (2024-03-27)

⚠ BREAKING CHANGES

  • apis_metainfo: drop RootObject.deprecated_name

Features

  • apis_entities: surround navigation elements with block (6b2fb49)
  • apis_relations: add and use PropertySubjObjFilter (246b7f3)
  • generic: add ContentTypeInstanceSerializer (3307074)
  • generic: implement custom schema generator (09a1d6d)
  • generic: introduce GenericFilterBackend and use it (dac1f6d)
  • generic: ship a JSON based and a newline based list widget (8704d21), closes #733

Bug Fixes

  • apis_metainfo: drop RootObject.deprecated_name (5fc11d7)
  • apis_relations: reuse GenericTable.Meta.sequence for tables (b15e587), closes #716
  • generic: fix typo in Import View (b28de6e)
  • generic: use fallback if ModelViewSet attributes don't exist (11e097d)

0.15.2 (2024-03-19)

Bug Fixes

  • apis_entities: don't duplicate equal values when mergin charfield (67f2aa5)
  • apis_metainfo: use ContentType instead of custom caching (58e6c25)
  • core: drop webpage remains from template (6b3573e), closes #410
  • core: remove hardcoded imprint pointing to 404 (e8441d9), closes #415
  • generic: typo in module_paths argument (3f3b71e)
  • generic: use import_string instead of custom method (591b1ca), closes #697

0.15.1 (2024-03-11)

Bug Fixes

  • utils: make rdfimport parent model check more loose (84b97d3)

0.15.0 (2024-03-07)

⚠ BREAKING CHANGES

  • apis_metainfo: The renaming of RootObject's "name" field to "deprecated_name" affects all inheriting model classes as well as class Property. You will need to create new fields in your model classes to replace it/to preserve its contents before it gets dropped.
  • core: projects using the confirm_delete.html template will have to change that. There is a replacement in generic/generic_confirm_delete.html.
  • apis_metainfo,apis_entities: drop str_ overrides

Features

  • apis_entities: implement default abstract entity classes (b1ebd0a), closes #403
  • apis_relations: add obj and subj class filter to triple filters (4b890c4), closes #668
  • generic: allow to override serializer based on renderer (676251d)

Bug Fixes

  • apis_entities: move duplicate button after other action buttons (1683968), closes #694
  • apis_entities: use modelname instead of verbose_name (ef10a69)
  • apis_entities: use modelname instead of verbose_name in javascript (6fee852)
  • generic: pass existing queryset to custom queryset (12d4ed8)

Code Refactoring

  • apis_metainfo,apis_entities: drop str_ overrides (c9fbcc8)
  • apis_metainfo: rename RootObject.name to deprecated_name (fcd4854), closes #299
  • core: drop unused template (391f2de), closes #518

0.14.2 (2024-02-29)

Bug Fixes

  • apis_metainfo: let Collection inherit from GenericModel (0e32a80)

0.14.1 (2024-02-29)

Bug Fixes

  • generic,core: move htmx setup from generic template to base.html (bc4ba98)
  • generic: use serializer_factory even with custom serializers (247200e)

0.14.0 (2024-02-27)

⚠ BREAKING CHANGES

  • generic: projects will have to inherit from GenericModel from now on, if they want their models to be accessible via the generic views. Models inheriting from APIS models automatically inherit from GenericModel.

Features

  • generic: use lru cache for smaller methods (7e56e48)
  • utils: provide some abstract base classes for autocomplete (b3d2cbe), closes #653

Bug Fixes

  • apis_entities: make import form deal with html data (e7882e2)
  • apis_entities: remove buggy jQuery code (f4fd17e), closes #529
  • apis_relations: remove choice limit in Property (babfe4e), closes #412
  • generic: add __init__.py to generic module (a74d445)
  • utils: make rdf parser more robust (d3ba5e3), closes #666
  • utils: refactor access_for_all (b021696), closes #582

Documentation

  • cleanup configuration section and rename it to settings (d2c141c)
  • generic: add documentation about GenericModel (54fbb09)

Code Refactoring

  • generic: introduce generic.abc.GenericModel (8a58abc), closes #657

0.13.1 (2024-02-15)

Bug Fixes

  • apis_entities: hide duplicate button on missing permission (096181f)
  • apis_relations: linkify subject and object columns (bd1ed3d), closes #1
  • generic: check for permissions in actions nav (0ec25df)
  • generic: hide create button if permission does not exist (154d2dd)
  • generic: the relevant permission name is change not edit (fcdb491)
  • generic: use custom permission solution in views (edb783e)

0.13.0 (2024-02-14)

⚠ BREAKING CHANGES

  • apis_entities: with the removal of filters.py and tables.py your configuration in APIS_ENTITIES won't have any effect anymore. Please replace them with custom tables and custom filtersets. Also the the locations and names and structure of the templates changed, so you will have to update those.

Features

  • add collection name as css class to collection templates (44e1cf1), closes #604
  • generic: add debug log message to first_match_via_mro (458ffd2)
  • generic: display foreign key fields as value instead of id (7936d8a)
  • generic: fix and enhance the generate_search_filter helper (03eb3fe)
  • generic: make GenericImporter more verbose (63aa960)
  • generic: use data-html in autocomplete widgets (c6d326f)
  • generic: use template attribute of autocomplete view (a9f0d38)
  • utils: use dict_from_toml_directory for cleaning uris (a703f51)

Bug Fixes

  • apis_entities: f string in merge_textfield missing f (2b7bdb9)
  • apis_entities: fix wikidata uri mapping (7372ff1)
  • apis_metainfo: set the alters_data attribute of duplicate (d5cfdb5)
  • apis_relations: don't rely on APIS_BASE_URI for editing relations (39f2cf1)
  • apis_relations: use generic autocomplete in GenericTripleForm (0b23cc7)
  • generic: don't set template_name_suffix, only use it if its set (71aef12)
  • generic: redirect to update view after create or update (1faf5c4)

Documentation

  • generic: add documentation about generic app customization (6de3708)

Code Refactoring

  • apis_entities: use new generic app (45de48b)

0.12.6 (2024-01-31)

Bug Fixes

  • let the autocomplete form create objects (a07f23b)

0.12.5 (2024-01-31)

Bug Fixes

  • exclude metadata field from legacy api viewset stuff (dd2fb57)

0.12.4 (2024-01-31)

Bug Fixes

  • generic: don't allow access to admin, auth and sessions (ff43fc8)

0.12.3 (2024-01-31)

Bug Fixes

  • apis_entities: add more information to autocomplete results (db1c0c7)
  • generic: only show table actions if user has required permissions (79d74a3), closes #584

0.12.2 (2024-01-30)

Bug Fixes

  • use the ListViewObjectFilterMixin in the generic.views.List view (94734dc)

0.12.1 (2024-01-30)

Bug Fixes

  • api_routers: fix generic_serializer_creation_factory (eeb7430), closes #577
  • drop TextSerializer and use GenericHyperlinkedModelSerializer (5c0091b)

0.12.0 (2024-01-30)

Features

  • generic: allow to extend autocomplete results with custom results (cbad572)
  • generic: implement extendable importer (06ad57b), closes #541

Documentation

  • document extending the autocomplete endpoint (8f1613b)
  • document importing data from external resources (280413e)
  • update readme (bba2c8c)

0.11.3 (2024-01-26)

Bug Fixes

  • apis_entities: fix accidently removed form save (33792cc)

0.11.2 (2024-01-26)

Bug Fixes

  • add missing skoscollection migration (7c8d861)
  • generic: the permission string must also contain the app_label (8140a3d)

0.11.1 (2024-01-25)

Bug Fixes

  • collections: add collection_content_objects templatetag (865754a)
  • collections: set default order of SkosCollection (88543d2)
  • let users override generic views (7b30880)

0.11.0 (2024-01-24)

Features

  • add collections app (6e6753e)
  • allow to exclude fields from table columns (92cba82)

Documentation

  • add documentation for new collections app (e5020be)

0.10.1 (2024-01-19)

Bug Fixes

  • generic: backport filterset_factory from django-filters (c235107)
  • generic: filter the iterator before returning the first element (a6fba0f)

0.10.0 (2024-01-18)

⚠ BREAKING CHANGES

  • apis_entities: drop TempEntityClass
  • apis_vocabularies: remove apis_vocabularies app

Features

Bug Fixes

  • apis_entities: drop TempEntityClass (b08bfb6), closes #6
  • drop collectiontype field from Collection model (c74f628)

Code Refactoring

  • apis_vocabularies: remove apis_vocabularies app (e89e03d), closes #514

0.9.1 (2023-12-21)

Bug Fixes

0.9.0 (2023-12-19)

⚠ BREAKING CHANGES

  • drop EntityToProsopogrAPhI API endpoint
  • drop resolve_abbrevations command
  • drop apis_vocabularies.models.TextType
  • drop apis_vocabularies.models.LabelType
  • deps: django-crispy-forms uses separate template packs since version 2. we depend on crispy-bootstrap4 by default, but projects have to add crispy_bootstrap4 to the INSTALLED_APPS themselves.
  • apis_labels: APIS projects will have to remove apis_core.apis_labels from their settings INSTALLED_APPS

Features

Bug Fixes

  • allow dumpdata API access for all authenticated users (a2ffbfd)

Miscellaneous Chores

  • deps: add crispy-bootstrap4 as dependency (759e0c6)

Code Refactoring

  • drop apis_vocabularies.models.LabelType (d690d93), closes #498
  • drop apis_vocabularies.models.TextType (22562cb), closes #499
  • drop resolve_abbrevations command (7c3edd8), closes #501
  • drop EntityToProsopogrAPhI API endpoint (0448fec)

0.8.1 (2023-12-14)

Bug Fixes

  • checks if collections exist in merge function (f9c5d6d), closes #492

0.8.0 (2023-12-13)

⚠ BREAKING CHANGES

  • APIS projects will have to remove the custom_context_processors from the list of used context_processors
  • apis_entites: any template in your ontology that inherits from the person_detail_generic template needs to point to the detail_generic template instead

Features

  • apis_entites: remove person detail template (75753d4), closes #397
  • implement dumpdata view and admin command (9115fc9), closes #273
  • let projects override entities forms using classes (14a2489)

Bug Fixes

  • drop meta_fields from forms (378d162), closes #475
  • drop unused code block (a8488f3)
  • drop unused custom context processors (5b2bfd6)
  • link to delete view in entity edit template (5503a6d), closes #437
  • provide a fallback template if basetemplate is not set (2ee69ce)

Documentation

  • drop PyYAML from dependency list, add apis-override-select2js (087ed95)

Code Refactoring

  • drop custom_context_processors (c3d7155)

0.7.1 (2023-11-27)

Bug Fixes

  • cleanup generic edit template (18234e7)
  • integrate django.contrib.auth.urls into apis_core.urls (39a63f4), closes #426
  • override default for JSONField field (18c05dd)
  • rewrite error message (d560fe8)

Documentation

0.7.0 (2023-11-14)

⚠ BREAKING CHANGES

  • get rid of additional_serializer

Features

  • allow overriding the entity listview queryset (0548faa)
  • introduce get_member_for_entity helper (6436f2f)

Bug Fixes

  • cleanup entities detail template (87834b3), closes #396
  • don't expect entities to have {start|end}_date_written fields (4952af2), closes #405
  • drop object_revisions from generic entities edit view (f08b10c)
  • improve get_member_for_entity helper function (1f9a1a0)
  • use the new get_member_for_entity helper to override table (caa6f65), closes #400

Documentation

  • make install instructions more clear (e6a4efe)

Code Refactoring

  • get rid of additional_serializer (190e5f3), closes #338

0.6.3 (2023-11-08)

Bug Fixes

  • add apis-override-select2js to dependencies (697b4e1), closes #389
  • do not expect fields in EntitySerializer (e4480f3), closes #383
  • use RootObject instead of TempEntityClass in GetEntityGeneric (d03fad5), closes #380

Documentation

  • rearrange installation info and add URL dispatcher info (7d9fff3), closes #393
  • update README, now that apis-override-select2js is a dependency (f23e9eb)

0.6.2 (2023-10-20)

Bug Fixes

  • add setuptools as django-model-utils dependency (de3a10a)
  • drop get_child_class() from AbstractEntity (e10c661), closes #323
  • move management command (f3097ba), closes #372
  • surround embedding of custom stylesheet with if statement (039f9d4), closes #364
  • ux: add nav class in template block (d389856)

Documentation

  • drop the poetry add line, as those are all dependencies (5c61809)
  • start documenting development practices (025186f)
  • update README.md (8c74d97), closes #361

0.6.1 (2023-10-18)

Bug Fixes

  • drop collections as default field from entities filter (05e8ad9), closes #354
  • instead of pointing to admin, use the user login/logout routes (a5073db), closes #353
  • put footer and imprint in separate template blocks (53b3e10), closes #345
  • readd exclude list of fields in detail view and allow customization (0bd2446)
  • use value from model_to_dict instead of getattr (2e2f5fe)

0.6.0 (2023-10-16)

⚠ BREAKING CHANGES

  • drop the charts dependency
  • if the GenericEntityListFilter was used with the method set to one of the included methods, the method attribute should now point to apis_core.utils.filtermethods...

Features

  • add Property to admin interface (b11352d)

Bug Fixes

  • add slash to shared_url templatetag (ff47d2a)
  • fixes merge_with function expecting TempEntityClass (e40ecb3)
  • introduce APIS_LIST_LINKS_TO_EDIT variable (8bc259c)
  • migrate management commands from apis-webpage to apis-rdf-core (09fac5e)
  • put function call in separate document.ready function (dd51f5b)
  • remove duplicate of references attribute in detail view (a381b02)
  • the contenttype of the rootobject should not be user editable (872386e)

Documentation

  • reference utils.filtermethods in configuration (8b6700d)

Code Refactoring

  • drop the charts dependency (c963cd8)
  • move filtermethods from apis_entities to utils (5068b49), closes #152

0.5.0 (2023-10-05)

⚠ BREAKING CHANGES

  • apis_metainfo: drop Source model
  • drop apis module

Features

  • cleanup the default entity detail and edit view (8011894)
  • introduce new templatetags (0ce7df4), closes #293
  • put main-menu submenu items in separate blocks (45e031e), closes #306

Bug Fixes

  • allow overriding the entity form (f56ef89), closes #238
  • apis_entities: only set collection if the attribute exists (e7be0ec), closes #313
  • build docs without apis module (b44a706)
  • get rid of text model remains (8a90be2)
  • workaround for entities not inheriting from TempEntityClass (9ba5778)

Code Refactoring

0.4.0 (2023-09-27)

Features

  • replaces feather icons with material-symbols (1d85d57)

Bug Fixes

  • api_routers: allow to let the id field be writable in API (71f85e6), closes #296
  • apis_entities: fix reversion for tempentity classes (cfb1771)
  • apis_entities: only set field attributes for existing fields (100de8c), closes #298
  • apis_metainfo: register the rootobject with reversion (b7217b9)
  • apis_relations: fix entity lookup for multi URI entities (0febd2a), closes #221
  • apis_relations: fix follow of property reveversion registration (6e4df12)
  • LegacyDateMixin get dates from DateParser datetimes (78215e4), closes #295
  • use empty dict as fallback for PROJECT_DEFAULT_MD (8aa5394)

0.3.1 (2023-09-13)

Bug Fixes

  • add migrations forgotten in 063412f (7fd93f3)

0.3.0 (2023-09-13)

⚠ BREAKING CHANGES

  • apis_entities, apis_metainfo: drop texts
  • apis_metainfo: cleanup menu block in base template

Features

  • apis_entities: enclose the relations listing in a relations block (f052035)
  • apis_metainfo: cleanup menu block in base template (8f5943b)
  • core: add userlogin-menu block to base.html (7bc4a29)
  • provide modal block in base template (86f5d43)

Bug Fixes

  • apis_entities, apis_metainfo: drop texts (063412f)
  • apis_metainfo: drop browsing/generic_list.html template (b5a9f7a), closes #151
  • deps: loosen Python dependency (0d37dcc), closes #255

0.2.0 (2023-09-07)

⚠ BREAKING CHANGES

  • apis_metainfo: rename templatetags
  • apis_vis: drop apis_vis
  • apis_metainfo: drop UriCandidate

Features

  • apis_vis: drop apis_vis (7e69eb1), closes #206
  • core: Introduce LegacyDateMixin (fe3c205), closes #66
  • utils: introduce APIS_ENTITIES settings function (14fa858)

Bug Fixes

  • apis_entities,apis_relations: drop login_url override (2f3c6a4)
  • apis_entities: make relations pagination configurable (164d9dc)
  • apis_metainfo: rename templatetags (22b8145), closes #163
  • show reference button in detail view (9120ed2)

Code Refactoring

  • apis_metainfo: drop UriCandidate (8de5061), closes #183

0.1.1 (2023-08-30)

Bug Fixes

  • replace custom duplication logic with signal (0b1c20d)
  • use the filter method of the superclass, if it exists (b96ec9e), closes #263

0.1.0 (2023-08-28)

⚠ BREAKING CHANGES

  • apis_tei: drop the apis_tei module
  • bump Python dependency to >=3.11
  • apis_entities: this changes the format of the list_filters setting of the APIS_ENTITIES setting to a pure dict.
  • external projects using functionality from helper_functions will have to update their imports.

Features

  • apis_entities, api_routers: use access and filter mixins (47d0cef)
  • apis_entities,utils: introduce new tei renderer (199f2f4)
  • apis_entities: add additional block to generic detail template (994524c)
  • apis_entities: copy fields when merging entities (66d7c51), closes #140
  • apis_entities: filter allowed related types to only allowed (e374239)
  • apis_entities: introduce apis_entities.mixins (5f6c86c)
  • apis_entities: introduce merge_with signal (844852d)
  • apis_entities: let users override the serializer for renderers (e52fa7f)
  • apis_entities: refactor code and make custom filters possible (7e0a087), closes #144
  • apis_metainfo: introduce an API endpoint for resolving URIs (461b0eb)
  • apis_metainfo: introduce duplication signals (a54e00e)
  • apis_metainfo: provide a login template (a8f88f2), closes #210
  • apis_metainfo: replace fundament with pure bootstrap (fd7e288), closes #180
  • apis_tei: drop the apis_tei module (b0bea90)
  • core: Introduce ViewPassesTestMixin and ListViewObjectFilterMixin (082d798)
  • implement duplication of RootObject children (a709639)
  • Implement form, view and route for adding URIs (5a141b6)
  • implement new rdf parser (83ce845)

Bug Fixes

  • add acdh-django-charts dependency (014da3e)
  • apis_entities: get filter fields from APIS_ENTITIES settings (a9eb868)
  • apis_entities: template_name should not be prefixed with namespace (42722f0)
  • apis_entities: use logger instead of an exception (7f1fcbb)
  • apis_entities: drop django guardian related code and dependency (8b5f982)
  • apis_entities: fix transferral of Uris in merge method (c866a1a)
  • apis_entities: remove merge column and form (22f96cf), closes #168
  • apis_entities: return uri.root_object instead of uri itself (abaa1d9)
  • apis_metainfo: add zero margin to the usermenu in the navbar (c35d13b)
  • apis_metainfo: drop unused api_views module (d15fa79)
  • apis_relations: fix accidental newline after if in template (b570a8d), closes #236
  • apis: show an empty page on / instead of an errorpage (95f97d4)
  • Changed ContentType.objects.get(model=<MODEL NAME>) to ContentType.objects.get_for_model() (7dfa2ac)
  • cleanup entity_settings vs APIS_SETTINGS (0bc67a8)
  • drop legacy RDF parser (602aebd)
  • fixes #117 (8e7a713)
  • harden and enhance Uri model (d8f26b8)
  • lowers django version to allow for MariaDB 10.3 (a8f76f7)
  • Set the default_auto_field in all the apps (69af77f)
  • typo in template (082ec37)
  • use the new BASE_TEMPLATE (ea7936e)
  • utils: fix bug and add test case (a3e9a3a)
  • utils: use local files for rdf parser to circument http timeouts (ce0dd89), closes #174

Documentation

  • Add a workflow that builds and publishes documentation (bebc4a7), closes #67
  • Add docs dependencies to pyproject.toml (912f7a8)
  • add documentation for custom access and list view filter settings (efa0fea)
  • add new Makefile and .gitignore (166f223)
  • automatically generate module documentation (6456261)
  • Delete stale generated documentation (1b83caf)
  • remove stale .doctrees directory (9582ac2)
  • Start a glossary (337ecd5)
  • update documentation regarding new entity filters (f828511)

Styles

  • rename helper_functions to utils (0f083d5), closes #131

Miscellaneous Chores

  • bump Python dependency to >=3.11 (3a67844), closes #171