Recent Releases of https://github.com/acdh-oeaw/apis-core-rdf

https://github.com/acdh-oeaw/apis-core-rdf - v0.53.1

0.53.1 (2025-09-03)

Bug Fixes

  • uris: drop GenericModel from test model bases (6d44aac)

- Python
Published by github-actions[bot] 10 months ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.53.0

0.53.0 (2025-09-03)

⚠ BREAKING CHANGES

  • generic: GenericModel is now an abstract model, so projects have to adapt their migrations (and remove GenericModel from the bases) and maybe also their models.py (and reorder class inheritance)

Features

  • apis_entities: implement get_default_uri in AbstractEntity (58619af)
  • apis_entities: introduce a form field for looking up a place (cd6936c)
  • apis_entities: use PlaceLookupField in E53_PlaceForm (cef2dae)
  • entities: open geonames link in a new tab (1018fc5)
  • generic: add a css class for the selected filter values (921fdc1)
  • generic: add a custom class to surrounding block of fields (a74c715)
  • generic: make GenericModel a real abstract model (34a28fa)
  • generic: pass the form to FormHelper (93c2bcc)
  • sample_project: add autocomplete queryset for Group (442ae8b), closes #2049
  • uris: refactor Uri creation signal (9b1bc01)

Bug Fixes

  • generic: adapt model inheritance of test models (e0da743)
  • sample_project: remove occurrences of GenericModel from migrations (b9c18c4)
  • sample_project: reorder parent classes on entities (dc88f59)

- Python
Published by github-actions[bot] 10 months ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.52.3

0.52.3 (2025-08-26)

Bug Fixes

  • apis_entities: update base template for place templates (aaf014b)

- Python
Published by github-actions[bot] 10 months ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.52.2

0.52.2 (2025-08-25)

Bug Fixes

  • relations: let template inherit from correct template (4eeb437)
  • uris: move mgmt command to correct app (8299621)

- Python
Published by github-actions[bot] 10 months ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.52.1

0.52.1 (2025-08-21)

Bug Fixes

  • uris: let template inherit from the correct base template (81ebe2e)
  • uris: move template & translation to correct app folder (20b55d3)

- Python
Published by github-actions[bot] 10 months ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.52.0

0.52.0 (2025-08-20)

⚠ BREAKING CHANGES

  • metainfo: The Uri model now resides in the uris app, so you'll have to add apis_core.uris to the INSTALLED_APPS
  • generic: We drop the generic{suffix} fallback of the generic template lookup and use genericmodel{suffix} instead. All the generic_ templates were renamed accordingly. If you extend from one of those, please adapt your templates accordingly.

Features

  • apis_entities: drop useless template override (9dcfdfe)
  • apis_metainfo: introduce signal to retarget Uris on merge (d4416b2), closes #2005
  • apis_metainfo: move signal receiver to correct app (74e17a3), closes #2006
  • generic: drop generic{suffix} as template fallback value (3edf16a)
  • generic: use template lookup instead of hardcoded template_name (5db8acf)
  • generic: use template lookup instead of hardcoded template_name (11aaf96)
  • metainfo: move Uri to new uris app (edb8999)
  • relations: surround relations menu in a block (4c4dbf0)

Bug Fixes

  • core: move remainig script tags to header & use defer (dcee623), closes #1240
  • generic: drop unused class variable (b3c1504)

- Python
Published by github-actions[bot] 10 months ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.51.2

0.51.2 (2025-08-20)

Bug Fixes

  • generic: merge Charfields only if other field has a value (a8b58e1)
  • generic: use empty string as value if self is None (1ec6da6)

- Python
Published by github-actions[bot] 10 months ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.51.1

0.51.1 (2025-08-14)

Bug Fixes

  • generic: fix the request logic of the importer (46a3c6a)

- Python
Published by github-actions[bot] 10 months ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.51.0

0.51.0 (2025-08-13)

Features

  • add simple view for adding something to collections (f8a3d2a)
  • apis_entities: add an option to delete a linked URI from an entity (d887e86)
  • apis_metainfo: override URI confirm delete template (2f30203)
  • collections: add a column that links to the collections view (5a0d936)
  • core: open footer links in new window (3d42c5f), closes #1955
  • generic: add card-header-content block in template form template (3570640)
  • generic: add info messages for create and update view (6af3a77)
  • generic: implement redirect to ?redirect= argument in Delete (d149289)
  • generic: introduce get_verbose_name class method (a394793)
  • generic: use template lookup for create view (52e771f)
  • generic: use template lookup instead of hardcoding duplicate msg (9f36fc0), closes #2003
  • history: add a column that links to collections mgmt view (67e9703)
  • relations: highlight relation elements in edit form heading (4635673)

- Python
Published by github-actions[bot] 10 months ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.50.4

0.50.4 (2025-08-12)

Bug Fixes

  • relations: check for filter existence before removal (26b01f3), closes #2014
  • relations: remove leading slashes from links to static files (45a26d3), closes #2010

- Python
Published by github-actions[bot] 11 months ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.50.3

0.50.3 (2025-08-11)

Bug Fixes

  • relations: readd option to allow obj creation in relation form (9e62215)

- Python
Published by github-actions[bot] 11 months ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.50.2

0.50.2 (2025-08-04)

Bug Fixes

  • collections: rename view attribute to obj_content_type (64fcca8)
  • generic: also add/remove collections if they are an empty list (775bb59)
  • history: run flattening on m2m fields only (79fb332)

- Python
Published by github-actions[bot] 11 months ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.50.1

0.50.1 (2025-07-31)

Bug Fixes

  • collections: check for filter existence before removing (0bc979e), closes #1978
  • relations: make subj & obj check in Relation.save less strict (b687a4e), closes #1896
  • relations: remove collections filter from relations filterset (13a9b59), closes #1970

- Python
Published by github-actions[bot] 11 months ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.50.0

0.50.0 (2025-07-29)

⚠ BREAKING CHANGES

  • generic: We replace the generic/partials/object_card.html with apis_core/generic/genericmodel_card.html. Please adapt your templates accordingly.

Features

  • apis_entities: add absolute url link next to object title (80c535e)
  • apis_entities: only show external URIs in LOD section (815ec76)
  • collections: add custom filterset for SkosCollectionContentObject (2be3eb5)
  • collections: change menu to link also to list of linked objects (178e476)
  • collections: only show collection menu if permission exist (081c8ba), closes #1924
  • core: add password-change link to user menu (ceb784b)
  • core: introduce a password-change interface (6038fed)
  • generic: add options to mro_paths (0845664)
  • generic: make ModelImportChoiceField more robust (e4b747d)
  • generic: use template_list templatetag in generic_detail.html (9098e19)
  • generic: use custom properties for the action colors (44905bc), closes #1953
  • relations: introduce a relation_card_table.html template (e093d86)
  • relations: introduce a relation_card.html template (b6cb9d3), closes #1728
  • relations: introduce indexes for the relation model (3942587), closes #1952
  • relations: refactor the whole relations form (8ef00b1)

Bug Fixes

  • apis_entities: link to absolute url in local autocomplete results (6de589f)
  • generic: add label to collection form field (0ab326e)
  • relations: adapt template translation to include object (2957cc3)

Documentation

  • readme: correct link to creating your ontology (eca13fd)

- Python
Published by github-actions[bot] 11 months ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.49.1

0.49.1 (2025-06-25)

Bug Fixes

  • generic: use the cleaned url from importer when enriching (c166406)
  • relations: use .pk instead of .id (11af495)

- Python
Published by github-actions[bot] 12 months ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.49.0

0.49.0 (2025-06-23)

Features

  • history: flatten many-to-many relations in ModelChanges (f58e371)
  • history: set the foreign_keys_are_objs argument to True (b077fc2)
  • relations: allow subjobjectid and objobjectid to be null (8ae4335)
  • relations: implement signal to nullify relation ids (4ca4c41)
  • relations: update template to reflect targets that are None (81d0a8c)
  • relations: warn user when objmodel or subjmodel are lists (765a5a1), closes #1923
  • sample_project: add versionperson_profession entries to fixtures (be56610)
  • sample_project: use VersionMixin on Profession (cf6c991)

Bug Fixes

  • core: drop modal block (efc2c82), closes #1917
  • generic: catch exception if relation could not be imported (737f328)
  • generic: only run importer if there is something to import from (0b5b477)
  • relations: adapt relation form for targets that are None (22a6966)
  • relations: make relation field editable again (7ed19c9), closes #1922
  • sample_project: add feature_code to place entities (c3a78ef)

- Python
Published by github-actions[bot] about 1 year ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.48.2

0.48.2 (2025-06-18)

Bug Fixes

  • core: update alert close button to bootstrap 5 syntax (17aa9a0)
  • generic: use first element of list for enriching entities (3e50265)

- Python
Published by github-actions[bot] about 1 year ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.48.1

0.48.1 (2025-06-17)

Bug Fixes

  • documentation: revert inadvertently translated material symbol (c255957), closes #1921
  • generic: use correct permission name for duplicate & merge (304cd9e)
  • history: revert "feat(history): use history queryset for views" (8619ab3), closes #1919

- Python
Published by github-actions[bot] about 1 year ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.48.0

0.48.0 (2025-06-04)

Features

  • apis_entities: add create_from_string methods (b013ac4), closes #1872
  • apis_entities: update rdf_configs for regex based matching (32eaed1), closes #1257
  • apis_entities: use get_verbose_name_plural method instead filter (31f4861)
  • deps: replace requests with httpx (278b87e), closes #1040
  • generic: add get_verbose_name_plural method to GenericModel (f264a97)
  • generic: only show columns selector if there are columns to select (d076708)
  • generic: use get_verbose_name_plural method instead of filter (52aaefc)
  • history: add get_reset_url helper method to history models (27dcdf0)
  • history: add a link to the reset view to the history table (4550876)
  • history: introduce view to reset object to a history version (5097096), closes #283
  • history: use history queryset for views (ae5fecd)
  • sample_project: compile translations on startup (c30d185)
  • utils: refactor rdf config to use regex for uri matching (ab7813f)

Bug Fixes

  • apis_entities: drop tag version link from entity actions (c9cfcab)
  • apis_entities: reorder label & select place label using languages (5101da1), closes #1863
  • apis_entities: reorder name sources and also use variantName (c76f8a1), closes #1903
  • generic: catch ObjectDoesNotExist for remote fields (d8ffaed)
  • generic: fix typo in rdf APPELLATION namespace (e729ee0)
  • generic: replace slashes with underscores in ATTRIBUTES ids (4439b6d), closes #1876
  • generic: use plural form in result header (089dce1), closes #1874
  • utils: when resolving, also handle boolean True value (05f6a6b), closes #1905

- Python
Published by github-actions[bot] about 1 year ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.47.1

0.47.1 (2025-05-19)

Bug Fixes

  • generic: only include title block once (25f525b)

- Python
Published by github-actions[bot] about 1 year ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.47.0

0.47.0 (2025-05-16)

Features

  • apis_entities: drop override that is now handled in generic (4c978e3)
  • apis_entities: return rdf types for various base classes (9b84773)
  • generic: add a title string to all the generic templates (046a63d)
  • generic: add skeleton method for returning rdf types (f0d82c0)
  • generic: replace download list with a dropdown (d622892)
  • generic: use instance rdf type list in generic cidoc serializer (cd69425)
  • sample_project: add LocaleMiddleware to the list of middlewares (6e1de25), closes #1867

Bug Fixes

  • apis_entities: use implizit one-off serializer for GetEntityGeneric (3ccace8)
  • collections: add missing translations for collections (232e7ab), closes #1857

Documentation

  • fix grammar, spelling, punctuation (2680e8f), closes #1752

- Python
Published by github-actions[bot] about 1 year ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.46.1

0.46.1 (2025-05-14)

Bug Fixes

  • sample_project: remove version_tag attribute from fixtures (7656a59)

- Python
Published by github-actions[bot] about 1 year ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.46.0

0.46.0 (2025-05-12)

Features

  • apis_entities: add default title for abstractentity template (78f775d)
  • apis_entities: introduce E53_PlaceCidocSerializer (68f68be)
  • apis_entities: introduce E74_GroupCidocSerializer (226aff9)
  • core: replace hardcoded bootstrap class with custom values (c6e0b55), closes #1855
  • generic: add action argument to serializer factory (5fe6080)
  • generic: add default titles for detail and list templates (0743ebd)
  • generic: pass the action name to the serializer factory (b7a356a)
  • history: drop history version_tag field (80f5398), closes #1843

Bug Fixes

  • apis_metainfo: move method from utils to apis_metainfo.utils (f7869f7), closes #1816
  • collections: filter by pk and not by id (baa0da4)
  • collections: use .pk instead of .id for collection mgmt (c3c7654)
  • core: drop the fallback for the title block (12bcc38), closes #1769
  • core: fix text alignment in site footer (ddfbfcc), closes #1856
  • generic: make endpoint enumeration exclude more generic (cce8851)
  • generic: only run .mro() if model is an actual object (e71177a)
  • history: move css class from li element to a element (3f31b5c), closes #1812
  • relations: only check for subj & obj in concrete subclasses (7fc7495), closes #1837
  • sample_project: add migration for history tag removal (96c508a)

- Python
Published by github-actions[bot] about 1 year ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.45.1

0.45.1 (2025-04-30)

Bug Fixes

  • generic: only use .split on strings (def4348), closes #1840

- Python
Published by github-actions[bot] about 1 year ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.45.0

0.45.0 (2025-04-28)

Features

  • generic: add a get_namespace_uri method to GenericModel (7af8b83)

Bug Fixes

  • apis_entities: add margin to bottom of the pills in the lod block (2b01f34), closes #1773
  • apis_entities: fix misspelled verbose_name (c9e17aa), closes #1817
  • generic: use .model instead of .name.lower() for prefix (084528c)
  • relations: add {suffix}RelationsTable before RelationsTable (7a4c348), closes #1830
  • relations: make RelationMultiWidget not use a fieldset (d9bd5a4), closes #1814
  • sample_project: add migration for verbose name update (8e1b22b)

Documentation

  • apis_core: add basic docstring to urls module (28aa6ce)
  • apis_metainfo: add docstring to Uri model (2b290c1)
  • customization: replace Triple with Relation in model listing (ccbff74)
  • features: remove documentation of dropped collections features (87b1501)
  • generic: update importers docstrings, comments (886f3bf)
  • ontology: drop reference to legacy triples (f8630aa)
  • readme: drop reference to git logo file (824df23)

- Python
Published by github-actions[bot] about 1 year ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.44.1

0.44.1 (2025-04-17)

Bug Fixes

  • core: load i18n templatetags in template (36ee1e3)

- Python
Published by github-actions[bot] about 1 year ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.44.0

0.44.0 (2025-04-17)

⚠ BREAKING CHANGES

  • collections: drop parent key from collections

Features

  • apis_entities: introduce AbstractEntityModelBase (108482e)
  • collections: drop parent key from collections (1ccddea), closes #1603
  • core: add select2-bootstrap-5-theme to default stylesheet (7e2b670)
  • core: replace icon for code repository (1a9e7c5), closes #1331
  • generic: move css include into the base template (0288c6d)
  • generic: use gettext for the form submit buttons (b36aa52)
  • relations: add check for Meta.ordering to Relation metaclass (98ac168)

Bug Fixes

  • core: drop the User string in front of the username (5e31248)
  • core: use end instead of right for aligning dropdown (211135a)
  • core: use bootstrap5 theme for Select2 widgets (c01e01c), closes #1754

Documentation

  • fix import path of README.md (d197698), closes #1808
  • readme: remove references to poetry from readme (7a3572d)

- Python
Published by github-actions[bot] about 1 year ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.43.1

0.43.1 (2025-04-15)

Bug Fixes

  • generic: make the object-action css classes important (fadebe9), closes #1795
  • generic: templates: show only existing values (7103231), closes #1797

- Python
Published by github-actions[bot] about 1 year ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.43.0

0.43.0 (2025-04-15)

⚠ BREAKING CHANGES

  • collections: drop code that relies on SkosCollection.parent

Features

  • apis_core: inner block in entitybasenav (4c1abb5)
  • apis_entities: open URIs in a new window/tab (9f75920)
  • apis_entities: ship a CIDOC serializers for E21_Person (bb7bfad)
  • documentation: add menu entry for the documentation app (826a62b), closes #1637
  • generic: add a GenericModelCidocSerializer (a8cd90c)
  • generic: hide filters that are based on auto_created fields (e9e9d14)
  • utils: introduce a apisbaseuri settings helper (b286bc7)
  • utils: introduce a rdfnamespaceprefix settings helper (5e7f93b)
  • utils: let config lookup return config if no filter is defined (a2f4fb9)
  • utils: make the rdf.find_matching_config method more verbose (af99368)

Bug Fixes

  • apis_entities: update translations (1679ddd)
  • core: update translations (982b953)
  • relations: make default relations abstract (b44396e)

Documentation

  • cleanup some leftover content from the docs (1a0e7e5)
  • move from sphinx to mkdocs (8b7bc04)
  • spell and style check using vale (ee8d490)

Code Refactoring

  • collections: drop code that relies on SkosCollection.parent (4ac58ad)

- Python
Published by github-actions[bot] about 1 year ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.42.6

0.42.6 (2025-04-08)

Bug Fixes

  • generic: put extends at beginning of template (0ca8402), closes #1761

Documentation

  • add Sphinx autosectionlabel extension (777a90a)
  • ontology: add note regarding history plugin (48faa9f), closes #1329

- Python
Published by github-actions[bot] about 1 year ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.42.5

0.42.5 (2025-04-04)

Bug Fixes

  • collections: use .parent_collection instead of .parent (48372f5)

- Python
Published by github-actions[bot] about 1 year ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.42.4

0.42.4 (2025-04-04)

Bug Fixes

  • apis_entities: only show map link if there are results (ca24017), closes #1718

- Python
Published by github-actions[bot] about 1 year ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.42.3

0.42.3 (2025-04-02)

Bug Fixes

  • collections: use blocktranslate with with statement (66eade2)
  • generic: use blocktranslate with with statement (1400479)
  • templates: repeat the default settings for htmx.responseHandling (ac17b83)

- Python
Published by github-actions[bot] about 1 year ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.42.2

0.42.2 (2025-04-02)

Bug Fixes

  • generic: load i18n in generic_form template (48f84f5)

- Python
Published by github-actions[bot] about 1 year ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.42.1

0.42.1 (2025-04-02)

Bug Fixes

  • build: fix project-name that was broken in 0feff6e (96468e9)

- Python
Published by github-actions[bot] about 1 year ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.42.0

0.42.0 (2025-04-02)

Features

  • add po files for german translation (fabcc3b)
  • apis_entities: add metadata & verbose names for abstract models (e89d5d8)
  • apis_entities: use translate blocks for all template stings (240e1a2)
  • collections: use translate blocks for all template stings (a1e4da0)
  • core: use translate blocks for all template stings (f03c008)
  • documentation: use translate blocks for all template stings (45bab12)
  • generic: print exception message if module not found (f8b8f85)
  • generic: refactor the generic rdf renderer (83eb0ab)
  • generic: use translate blocks for all template strings (d2e4c81)
  • relations: use translate blocks for all template stings (2bfd2a6)
  • sample_project: add migrations based on enhanced entities (7642671)
  • utils: allow to pass a language to the rdf importer definition (23858bb)

Bug Fixes

  • tunnel models through importer chain (dd55edf), closes #1716

Documentation

  • readme: remove deprecated apps from sample config (2516fc3)

- Python
Published by github-actions[bot] about 1 year ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.41.1

0.41.1 (2025-03-27)

Bug Fixes

  • relations: work around initial data being empty (242c6ef), closes #1712

- Python
Published by github-actions[bot] about 1 year ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.41.0

0.41.0 (2025-03-26)

⚠ BREAKING CHANGES

  • apis_entities: drop legacy EntityToContenttypeConverter
  • generic: This change also removes the id field from the colums selector, which means it can not be deselected anymore. This is a known issue and we might want to look up a way that all the existing table columns (desc, view, edit...) can be deselected.

Features

  • apis_entities: adapt place js to also work with lists of points (71039d5)
  • apis_entities: add a custom view showing all the places on a map (623bf50), closes #1158
  • apis_entities: override the list template for e53_place (1712d68)
  • apis_entities: refactor linkedopendata template (1f22dc0)
  • apis_entities: ship SimpleLabelModel (e64c38f), closes #1686
  • apis_entities: use uri shortname in linkedopendata template (bc39960)
  • apis_metainfo: provide a shortname for Uris (a73a983)
  • collections: add CollectionsIncludeExcludeFilter (26c222d)
  • generic: introduce model_field_template_lookup_list templatetag (72d8c93)
  • generic: introduce RowColumnMultiValueField + RowColumnMultiWidget (d7b7d38)
  • generic: readd the get_queryset method to the List view (e0465d3)
  • generic: use model_field_template_lookup_list for generic table (2f4b97a)
  • generic: use CollectionsIncludeExcludeFilter in generic filterset (d71fd51)
  • relations: ship some default relations (b51945c), closes #1104

Bug Fixes

  • apis_entities: add permission class to GetEntityGeneric view (d67a782), closes #1678
  • core: include the main autocomplete_light js in the header (afa96df), closes #1696
  • generic: use different attribute for excluding column choices (253171a)

Documentation

  • configuration: correct references to APISBASEURI (2d13c62), closes #1680

Code Refactoring

  • apis_entities: drop legacy EntityToContenttypeConverter (214e634)

- Python
Published by github-actions[bot] about 1 year ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.40.1

0.40.1 (2025-03-19)

Bug Fixes

  • generic: don't coerce values to string in modeldict (cfbbb92)
  • relations: repair the relation target autocomplete (5f22e67), closes #1676
  • utils: allow to pass an URI string to rdf config filter (ac6a68f), closes #1668

- Python
Published by github-actions[bot] over 1 year ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.40.0

0.40.0 (2025-03-11)

⚠ BREAKING CHANGES

  • relations: The refactoring of the relations template tags leads to a slightly different behaviour in the lookup of the relations tables; please have a look at the lookup debug statements if your relations tables are not found anymore.
  • utils: drop the DateParser and the corresponding tests
  • core: drop LegacyDateMixin

Features

  • apis_metainfo: adapt Uri model for new type rdf import (4184584)
  • generic: adapt importer for new type rdf import methods (db6f4bf)
  • generic: introduce new templatetags (37f8f11)
  • generic: introduce small helper functions (2b6bef8)
  • relations: implement a relation filter (5f56b45)
  • relations: major rewrite of the relations list (29d39da)
  • sample_project: update sample project for new relation templates (c1f293c)
  • utils: drop old rdf import methods (0852822)
  • utils: implement new type rdf importer (73e738e)

Bug Fixes

  • apis_entities: fix entities autocomplete (dcc479b)
  • apis_entities: reorder entity menu items (cb242cf), closes #1657
  • apis_metainfo: drop references to apis_metainfo.collection (2a7500e), closes #1377
  • collections: repair the new collection toggle templatetags (c3f4f6b)
  • generic: show form errors of generic filter form (d8e81c8), closes #1604

Documentation

  • customization: add documentation about new rdf parser (c51ada4)

Code Refactoring

  • core: drop LegacyDateMixin (7a1d940)
  • utils: drop the DateParser and the corresponding tests (5325d46)

- Python
Published by github-actions[bot] over 1 year ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.39.0

0.39.0 (2025-02-28)

⚠ BREAKING CHANGES

  • apis_metainfo: The self_contenttype field is removed from the RootObject. This means that all models inheriting from RootObject (i.e. all models inheriting from AbstractEntity) loose this field. For the models using the VersionMixin, this leads to a migration removing the self_contenttype field from the historic version of that model.

Features

  • apis_entities: add a feature code field to E53_Place (f8867db)
  • apis_entities: replace entity list templatetag with generic one (0d1abd6), closes #1576
  • apis_metainfo: drop self_contenttype field from RootObject (cf2ea10)
  • apis_vocabularies: drop apis_vocabularies app (3602f85)
  • collections: implement toggling collection without the parent (1d63c15)
  • core: update htmx script inclusion to v2.0.4 (0e63150), closes #1606
  • generic: allow to inject additional modules into lookup path (fa9ede2)
  • generic: fallback to custom create method if value is not an URI (15831c1)
  • generic: introduce a content_type property on GenericModel (c103b90)
  • relations: remove relation_ptr from columns selector (a697a78), closes #1612
  • relations: replace self_contenttype with content_type property (31c7191)
  • relations: replace relation list template tag with generic one (79d8691), closes #1577
  • sample_project: add migration introducing E53Place.featurecode (3458a7f)
  • sample_project: add migration that drops self_contenttype (ed02d02)
  • sample_project: move generic app up in INSTALLED_APPS list (321a061)

Bug Fixes

  • generic: don't show subclasses in columns selector (37e9170), closes #1297
  • generic: remove many2many relation tables from columns (82235c7), closes #1500
  • generic: use verbosenameplural for generic menu items (d3f4c8c), closes #1624
  • sample_project: drop self_contenttype from fixtures (e77665a), closes #1633

- Python
Published by github-actions[bot] over 1 year ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.38.0

0.38.0 (2025-02-18)

Features

  • apis_relations: drop apis_relations app (31a37b6), closes #1528
  • core: introduce a custom select2 function (0468c3f)
  • generic: add get_view_permission to GenericModel (a3fb75d)
  • generic: introduce pure_genericmodel_content_types templatetag (eaf7d5a)
  • generic: introduce anyviewpermission templatetag (4c35738)
  • generic: override base.html to inject menu entry (54a5b37)
  • generic: use custom autocomplete widgets instead of upstreams (bd9e49a)
  • relations: replace custom select2 call (7377e38)
  • relations: use custom autocomplete widgets instead of upstreams (ae7dfba)

Bug Fixes

  • apis_entities: drop apis_relation related code parts (4962949)
  • documentation: drop apis_relation related code parts (3f06425)
  • generic: set unknownfieldbehavior to WARN in GenericFilterSet (291cb14), closes #1583
  • history: drop apis_relation related code parts (e588c70), closes #1536
  • urls: drop apis_relations entry from urllist (09b7fea)

Documentation

- Python
Published by github-actions[bot] over 1 year ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.37.2

0.37.2 (2025-02-05)

Bug Fixes

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

- Python
Published by github-actions[bot] over 1 year ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.37.1

0.37.1 (2025-02-05)

Bug Fixes

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

- Python
Published by github-actions[bot] over 1 year ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.37.0

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

- Python
Published by github-actions[bot] over 1 year ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.36.1

0.36.1 (2025-01-27)

Bug Fixes

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

- Python
Published by github-actions[bot] over 1 year ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.36.0

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)

- Python
Published by github-actions[bot] over 1 year ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.35.1

0.35.1 (2025-01-10)

Bug Fixes

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

- Python
Published by github-actions[bot] over 1 year ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.35.0

0.35.0 (2025-01-08)

⚠ BREAKING CHANGES

  • generic: APISLISTVIEWSALLOWED and APISDETAILVIEWSALLOWED are replaced with a single setting APISANONVIEWSALLOWED When APISANONVIEWSALLOWED is set to True List views and Detail views will be open to anyone, without having to login. APISLISTVIEWOBJECTFILTER and APISVIEWPASSES_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: APISANONVIEWS_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 createobjectfrom_uri to work with generic uri (1ccfffe)

Bug Fixes

  • generic: remove .html from templatenamesuffix (9944661)

Documentation

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

Code Refactoring

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

- Python
Published by github-actions[bot] over 1 year ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.34.1

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)

- Python
Published by github-actions[bot] over 1 year ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.34.0

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 createdefaulturi 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

- Python
Published by github-actions[bot] over 1 year ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.33.0

0.33.0 (2024-11-27)

⚠ BREAKING CHANGES

  • generic: replace object_table.html by template_list lookup

Features

  • generic: add a templatetag wrapper for templatenamesvia_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)

- Python
Published by github-actions[bot] over 1 year ago

https://github.com/acdh-oeaw/apis-core-rdf - apis-core-rdf: v0.32.0

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)

- Python
Published by github-actions[bot] over 1 year ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.31.1

0.31.1 (2024-11-14)

Bug Fixes

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

- Python
Published by github-actions[bot] over 1 year ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.31.0

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

- Python
Published by github-actions[bot] over 1 year ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.30.0

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

- Python
Published by github-actions[bot] over 1 year ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.29.0

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

  • apisentities,apisrelations: 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)

- Python
Published by github-actions[bot] over 1 year ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.28.0

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 relationmatchtarget 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

- Python
Published by github-actions[bot] over 1 year ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.27.0

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 APISBASEURI 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

- Python
Published by github-actions[bot] over 1 year ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.26.0

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 gethtmldiff 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)

- Python
Published by github-actions[bot] almost 2 years ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.25.0

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 relationsverbosenamelistviewurl 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 getallrelationsubjand_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 appname and include urls in apiscore.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)

- Python
Published by github-actions[bot] almost 2 years ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.24.0

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

- Python
Published by github-actions[bot] almost 2 years ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.23.2

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)

- Python
Published by github-actions[bot] almost 2 years ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.23.1

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

- Python
Published by github-actions[bot] almost 2 years ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.23.0

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: createobjectfrom_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)

- Python
Published by github-actions[bot] almost 2 years ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.22.0

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

- Python
Published by github-actions[bot] almost 2 years ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.21.0

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 workflowcall with workflowdispatch (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)

- Python
Published by github-actions[bot] about 2 years ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.20.1

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)

- Python
Published by github-actions[bot] about 2 years ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.20.0

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
  • apisrelations, apisentities: use lower when comparing modelname (db10fcb)
  • apisrelations,apisentities: replace getobjector_404 (6785b80)
  • core: don't cache the possible relation entities (8055f7b), closes #914
  • sample_project: add apisoverrideselect2js 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)

- Python
Published by github-actions[bot] about 2 years ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.19.1

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)

- Python
Published by github-actions[bot] about 2 years ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.19.0

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)

- Python
Published by github-actions[bot] about 2 years ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.18.1

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)

- Python
Published by github-actions[bot] about 2 years ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.18.0

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 getabsoluteurl 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

- Python
Published by github-actions[bot] about 2 years ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.17.3

0.17.3 (2024-04-17)

Bug Fixes

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

- Python
Published by github-actions[bot] about 2 years ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.17.2

0.17.2 (2024-04-16)

Bug Fixes

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

- Python
Published by github-actions[bot] about 2 years ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.17.1

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)

- Python
Published by github-actions[bot] about 2 years ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.17.0

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)

- Python
Published by github-actions[bot] about 2 years ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.16.0

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)

- Python
Published by github-actions[bot] about 2 years ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.15.2

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

- Python
Published by github-actions[bot] over 2 years ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.15.1

0.15.1 (2024-03-11)

Bug Fixes

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

- Python
Published by github-actions[bot] over 2 years ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.15.0

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.
  • apismetainfo,apisentities: 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

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

- Python
Published by github-actions[bot] over 2 years ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.14.2

0.14.2 (2024-02-29)

Bug Fixes

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

- Python
Published by github-actions[bot] over 2 years ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.14.1

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)

- Python
Published by github-actions[bot] over 2 years ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.14.0

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

- Python
Published by github-actions[bot] over 2 years ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.13.1

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)

- Python
Published by github-actions[bot] over 2 years ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.13.0

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 firstmatchvia_mro (458ffd2)
  • generic: display foreign key fields as value instead of id (7936d8a)
  • generic: fix and enhance the generatesearchfilter 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 dictfromtoml_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 APISBASEURI for editing relations (39f2cf1)
  • apis_relations: use generic autocomplete in GenericTripleForm (0b23cc7)
  • generic: don't set templatenamesuffix, 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)

- Python
Published by github-actions[bot] over 2 years ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.12.6

0.12.6 (2024-01-31)

Bug Fixes

  • let the autocomplete form create objects (a07f23b)

- Python
Published by github-actions[bot] over 2 years ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.12.5

0.12.5 (2024-01-31)

Bug Fixes

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

- Python
Published by github-actions[bot] over 2 years ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.12.4

0.12.4 (2024-01-31)

Bug Fixes

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

- Python
Published by github-actions[bot] over 2 years ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.12.3

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

- Python
Published by github-actions[bot] over 2 years ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.12.2

0.12.2 (2024-01-30)

Bug Fixes

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

- Python
Published by github-actions[bot] over 2 years ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.12.1

0.12.1 (2024-01-30)

Bug Fixes

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

- Python
Published by github-actions[bot] over 2 years ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.12.0

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)

- Python
Published by github-actions[bot] over 2 years ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.11.3

0.11.3 (2024-01-26)

Bug Fixes

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

- Python
Published by github-actions[bot] over 2 years ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.11.2

0.11.2 (2024-01-26)

Bug Fixes

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

- Python
Published by github-actions[bot] over 2 years ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.11.1

0.11.1 (2024-01-25)

Bug Fixes

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

- Python
Published by github-actions[bot] over 2 years ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.11.0

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)

- Python
Published by github-actions[bot] over 2 years ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.10.1

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)

- Python
Published by github-actions[bot] over 2 years ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.10.0

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

- Python
Published by github-actions[bot] over 2 years ago

https://github.com/acdh-oeaw/apis-core-rdf - v0.9.1

0.9.1 (2023-12-21)

Bug Fixes

- Python
Published by github-actions[bot] over 2 years ago