Newer
Older
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## Unreleased
### Fixed
- Added a check to ensure `data.id` is present before rendering the delete button in the dataset edit form. This prevents server errors when `data.id` is not available, e.g., for new datasets.
### Fixed
- Resolved display issues of the resource view and share icons.

Thorge Petersen
committed
- Fixed display of dataset properties `version_notes` and `is_replaced_by` in view and RDF.
## [2.4.1] - 2024-05-16
### Added
- Hyphens now set to auto for all elements.
- Added description popovers to display information on the contact properties of a package.
### Fixed
- Resolved the issue with navbar rows incorrectly displaying side-by-side on larger screens.
- Support for DCAT-AP properties `hvdCategory` (High Value Dataset) and `applicableLegislation`. Users can now categorize datasets as high value datasets and specify the applicable legislation governing the data.
- Introduced text ellipsis functionality to handle long dataset description texts and distribution descriptions.
- Enhanced dataset pages by displaying comprehensive contact information, including author, maintainer, creator, and contact person.
- Added dataset slug field in the dataset form.
- Added Apache Parquet file format to File Formats RDF file.
### Added
- Municipality geometries for cities (Flensburg, Kiel, Lübeck, and Neumünster) have been incorporated into [sh_bb.csv](./ckanext/odsh/resources/sh_bb.csv).
### Removed
- The flash message for ODaG evaluation has been removed.
### Fixed
- The delete button for packages is now visible again. It was inadvertently missing in a previous update and has been rectified.
- Fixed missing license properties (`od_conformance`, `ods_conformance`) in the [license configuration](./ckanext/odsh/resources/licenses.json).
- CSRF inputs are now included in template forms.
- Introducing a new helper function: `format_resource_format`. This function is used to format a resource format string.
- Resource descriptions are now displayed below the resource title in the resources list.
### Removed
- Completely removed data requests.
- Avoided the usage of the global context variable c where possible.
- Removed deprecated subject mappings JSON template.

Thorge Petersen
committed
- Removed deprecated activities feature (CKAN activities have been extracted into a separate activity plugin).
### Changed
- Updated minimum CKAN version requirement from `2.9` to `2.10`. Please run `ckan db upgrade` after updating.
- Replaced `is_okd_compliant` with `od_conformance` and `is_osi_compliant` with `osd_conformance` in the [licenses.json](./ckanext/odsh/resources/licenses.json) file.

Thorge Petersen
committed
- Deprecated methods replaced with their respective new versions from plugin interfaces:
- `ckan.plugins.interfaces.IResourceController`:
- Replaced `before_create` with `before_resource_create`
- Replaced `after_create` with `after_resource_create`
- Replaced `before_update` with `before_resource_update`
- Replaced `after_update` with `after_resource_update`
- Replaced `before_delete` with `before_resource_delete`
- Replaced `after_delete` with `after_resource_delete`
- Replaced `before_show` with `before_resource_show`
- `ckan.plugins.interfaces.IPackageController`:
- Replaced `after_create` with `after_dataset_create`
- Replaced `after_update` with `after_dataset_update`
- Replaced `after_delete` with `after_dataset_delete`
- Replaced `after_show` with `after_dataset_show`
- Replaced `before_search` with `before_dataset_search`
- Replaced `after_search` with `after_dataset_search`
- Replaced `before_index` with `before_dataset_index`
- Updated minimum version of ckanext-spatial extension to `2.0.0`.
- Moved `fanstatic` webassets to `assets` directory.
### Added
- Added editing of custom extra fields alongside the fixed fields in organizations form.
- Added versioning information (`adms:versionNotes`, `dcterms:isReplacedBy`) in dataset form.
### Removed
- Removed language field from dataset form.
### Added
- Added package-pill indicator for data series in the dataset overview.
- Removed Travis CI `bin/` directory, along with all associated Travis CI configuration files and scripts.

Thorge Petersen
committed
- Removed the functionality that retrieved the current commit hash of the checked out Git repository for the extension. The commit hash was previously inserted into a custom API resource to provide external developers repository information.
- Removed `ckanext.odsh.home` configuration variable.

Thorge Petersen
committed
- Removed `ckanext.odsh.upload_formats` configuration variable. Upload formats are now populated by EU-approved file formats.
- Removed subject mappings and other subject related code used in Transparenzportal SH (TPSH).
- Tag names are no longer restricted by strict validation checks, allowing for nearly unrestricted input (according [DCAT-AP](https://www.dcat-ap.de/def/dcatde/2.0/spec/#datensatz-schlagwort)).
- Reorganized default mapping and resource files for improved organization and maintenance. Mapping and config files (e.g., file formats) are now located in `ckanext/odsh/resources/`.

Thorge Petersen
committed
- Refactor distribution/resource editing form to replace free-text format field with select field populated by EU-approved file formats.
- Reorganized tests and helper TPSH specific code.
- Migrated TPSH helpers to `helpers.py`.
- Moved TPSH tests to `tests/` and legacy tests to `tests_wip`.
## [2.0.0] - 2023-06-08
- Custom `robots.txt` file.
### Changed
- Migrated controllers to blueprints (Pylons to Flask).
- UI and webasset upgrades.
- Nosetests changed to pytests.
- Updated file formats authority data.
- Removed support for old CKAN versions prior 2.9.
- Python 2 support has been dropped to align with the latest standards and focus on Python 3 compatibility.
- ICAP support has been removed. Please note that the functionality associated with ICAP is no longer available.
- Matomo support has been discontinued. Matomo-related features will no longer be accessible.
- Master and slave operation support has been eliminated. The functionality for master and slave operations is no longer supported or available.
## [1.4.3] - 2022-11-03
### Added
- Added "Musterdatenkatalog" references to RDF.
## [1.4.2] - 2022-10-24
## [1.4.1] - 2022-08-17
## [1.4.0] - 2022-08-11