-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update - CKAN 2.10 compatibility and UI/Schemas/Profiles improvements #104
Commits on Aug 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 49c4d24 - Browse repository at this point
Copy the full SHA 49c4d24View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2128d6c - Browse repository at this point
Copy the full SHA 2128d6cView commit details
Commits on Aug 4, 2024
-
Add form tabs to dataset creation/editing datasets/resources
This commit adds support for form tabs in the dataset creation and editing forms. The `package_form.html` template has been modified to include a "Next" button and the `save_button` block has been overridden to include the button. Additionally, the `config.py` file has been updated to add the necessary configuration options for form tabs. The `helpers.py` file has been modified to include helper functions related to form tabs, such as setting and retrieving the dataset form tabs. Fixes #87
Configuration menu - View commit details
-
Copy full SHA for 2da1c1f - Browse repository at this point
Copy the full SHA 2da1c1fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9bb1e8d - Browse repository at this point
Copy the full SHA 9bb1e8dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e63426 - Browse repository at this point
Copy the full SHA 0e63426View commit details -
Configuration menu - View commit details
-
Copy full SHA for f980580 - Browse repository at this point
Copy the full SHA f980580View commit details
Commits on Aug 14, 2024
-
Updated schema names and improved validators
- Add subfield validators for legacy fields (new dcat schemas with dict objects for contact, publisher, etc.). - Rename fields according to new common schema names
Configuration menu - View commit details
-
Copy full SHA for 34aedfb - Browse repository at this point
Copy the full SHA 34aedfbView commit details
Commits on Aug 22, 2024
-
Add ckanext-dcat custom profiles
- Add profiles for DCAT-AP, GeoDCAT-AP and NTI-RISP/DCAT (Spanish context). - Added new codelists generator/downloader to improve DCAT-AP mapping values.
Configuration menu - View commit details
-
Copy full SHA for d949571 - Browse repository at this point
Copy the full SHA d949571View commit details -
Add SHACL tests for custom profiles
-Add pytest-ckan, pytest-cov, and pytest-pretty to dev-requirements.txt -Remove flake8.yml workflow file -Add examples/ckan/dataset.json -Add examples/ckan/ckan_dataset.json -Add shacl import files for DCAT-AP 2.1.1 and 3.0.0
Configuration menu - View commit details
-
Copy full SHA for 8f0e6f3 - Browse repository at this point
Copy the full SHA 8f0e6f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for bb9f4fd - Browse repository at this point
Copy the full SHA bb9f4fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for b5dc788 - Browse repository at this point
Copy the full SHA b5dc788View commit details -
Configuration menu - View commit details
-
Copy full SHA for e1e488c - Browse repository at this point
Copy the full SHA e1e488cView commit details -
Configuration menu - View commit details
-
Copy full SHA for f3f655f - Browse repository at this point
Copy the full SHA f3f655fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 617d3ee - Browse repository at this point
Copy the full SHA 617d3eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for d062580 - Browse repository at this point
Copy the full SHA d062580View commit details -
Add reference and representation_type
- Reference, relationship. https://semiceu.github.io/GeoDCAT-AP/releases/3.0.0/#Relationship - Spatial representation type” is meant mainly to describe the “method used to represent geographic information in the dataset” https://semiceu.github.io/GeoDCAT-AP/releases/2.0.0/#spatial-representation-type-spatial-representation-type
Configuration menu - View commit details
-
Copy full SHA for 2184aad - Browse repository at this point
Copy the full SHA 2184aadView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5091c67 - Browse repository at this point
Copy the full SHA 5091c67View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ff0417 - Browse repository at this point
Copy the full SHA 3ff0417View commit details -
Configuration menu - View commit details
-
Copy full SHA for af0710a - Browse repository at this point
Copy the full SHA af0710aView commit details -
Configuration menu - View commit details
-
Copy full SHA for a29d367 - Browse repository at this point
Copy the full SHA a29d367View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d9a305 - Browse repository at this point
Copy the full SHA 5d9a305View commit details -
Configuration menu - View commit details
-
Copy full SHA for ba289eb - Browse repository at this point
Copy the full SHA ba289ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for ce772ba - Browse repository at this point
Copy the full SHA ce772baView commit details -
Configuration menu - View commit details
-
Copy full SHA for e635d71 - Browse repository at this point
Copy the full SHA e635d71View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2b4ddad - Browse repository at this point
Copy the full SHA 2b4ddadView commit details -
Configuration menu - View commit details
-
Copy full SHA for 13d12eb - Browse repository at this point
Copy the full SHA 13d12ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3eb49e7 - Browse repository at this point
Copy the full SHA 3eb49e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 29f80bd - Browse repository at this point
Copy the full SHA 29f80bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for f1841e8 - Browse repository at this point
Copy the full SHA f1841e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b2d0cc - Browse repository at this point
Copy the full SHA 0b2d0ccView commit details
Commits on Aug 23, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 75a45bd - Browse repository at this point
Copy the full SHA 75a45bdView commit details -
Improve es_dcat (NTI-RISP) Profile
A custom RDF profile based on the NTI-RISP for data portals in Spain Default values for some fields: ckanext-dcat/ckanext/dcat/.profiles.default_config.py More information and specification: https://datos.gob.es/es/documentacion/normativa-de-ambito-nacional https://datos.gob.es/es/documentacion/guia-de-aplicacion-de-la-norma-tecnica-de-interoperabilidad-de-reutilizacion-de
Configuration menu - View commit details
-
Copy full SHA for 7a51f3d - Browse repository at this point
Copy the full SHA 7a51f3dView commit details -
Configuration menu - View commit details
-
Copy full SHA for dcd144e - Browse repository at this point
Copy the full SHA dcd144eView commit details -
Refactor field mapping in SchemingDCATHarvester
Simplify error reporting in the `apply_field_mapping` function by refactoring the code. Added a TODO comment to handle the case when `field_mapping` is not present. Fix schema validation in SchemingDCATCKANHarvester Ensure that the configured schema matches the local schema in the CKAN harvester. If they don't match, raise a `ValueError` with instructions to check the remote schema using the CKAN API or specify the correct local schema. Update 'allow_private_datasets' configuration in SchemingDCATCKANHarvester Check if 'allow_private_datasets' is present in the configuration and if it is a boolean. If not, set it to False. Also, raise a `ValueError` if 'api_key' is missing when using 'allow_private_datasets'. Set 'include_private' parameter in SchemingDCATCKANHarvester Set the 'include_private' parameter to False by default in the CKAN harvester. If 'allow_private_datasets' is set to True in the configuration, update the 'include_private' parameter to True. Update 'sort' and 'fq' parameters in SchemingDCATCKANHarvester Set the 'sort' parameter to "id asc" and update the 'fq' parameter based on the provided filter query terms in the CKAN harvester.
Configuration menu - View commit details
-
Copy full SHA for 2386bc7 - Browse repository at this point
Copy the full SHA 2386bc7View commit details -
Add codelists for DCAT profiles
- Improve cli to include download download_rdf_eu_vocabs
Configuration menu - View commit details
-
Copy full SHA for ff4de2c - Browse repository at this point
Copy the full SHA ff4de2cView commit details
Commits on Aug 27, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 5c183ac - Browse repository at this point
Copy the full SHA 5c183acView commit details -
This repository includes a Docker Compose configuration to simplify running tests. The CKAN image is built using the Dockerfile located in the `docker/` directory.
Configuration menu - View commit details
-
Copy full SHA for 9b16a8f - Browse repository at this point
Copy the full SHA 9b16a8fView commit details -
Merge pull request #100 from mjanez/feature/docker-tests
Add docker-compose tests
Configuration menu - View commit details
-
Copy full SHA for 4b5c4b7 - Browse repository at this point
Copy the full SHA 4b5c4b7View commit details
Commits on Sep 10, 2024
-
Fix search and index to ensure proper functionality
- Fix before_dataset_index to use list instead of json lists stringify, remove empty extras keys and fix subfields. - Fix facet search and custom facets - Fix templates to include new helpers - Update search to be compatible with CKAN >2.10 - Fix facet search operators.
Configuration menu - View commit details
-
Copy full SHA for c294495 - Browse repository at this point
Copy the full SHA c294495View commit details -
Improve profiles and add DCAT-AP/GeoDCAT-AP 3
- Align with ckanext-dcat refactorized profiles. - Add GeoDCAT-AP Profiles - Add DCAT-AP 3 profile - Improve ES DCAT-AP 2 profile.
Configuration menu - View commit details
-
Copy full SHA for 7fb647a - Browse repository at this point
Copy the full SHA 7fb647aView commit details
Commits on Sep 16, 2024
-
Improve schemas to align names with ckanext-dcat
- Improve GeoDCAT-AP schemas (EU/ES) and update to GeoDCAT-AP 3.0.0 to match profiles. - Improve DCAT-AP schemas (EU/ES) and update to DCAT-AP 3.0.0 to match profiles.
Configuration menu - View commit details
-
Copy full SHA for 0d6559b - Browse repository at this point
Copy the full SHA 0d6559bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8cb65ff - Browse repository at this point
Copy the full SHA 8cb65ffView commit details -
- Add new home to include detailed stats about portal and categories (themes) with datasets. - Improve header/footer. Move language selector and fix responsive of general web.
Configuration menu - View commit details
-
Copy full SHA for 4810b07 - Browse repository at this point
Copy the full SHA 4810b07View commit details -
Update package/resource forms to Tabs
Metadata creation/editing forms now use tabs instead of steps, allowing all metadata elements to be set as mandatory and greatly improving the interaction and usability of the interface.
Configuration menu - View commit details
-
Copy full SHA for ef76bb3 - Browse repository at this point
Copy the full SHA ef76bb3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4dca2e4 - Browse repository at this point
Copy the full SHA 4dca2e4View commit details -
Fix and improve templates for CKAN 2.10
- Forms that are submitted via JavaScript modules also need to submit the CSRF token. `{{ h.csrf_input() if 'csrf_input' in h }}` to compat with <2.10 versions. - Bootstrap 5 data attributes: `data-module` to `data-bs` - Fix group_items type template. - Improve endpoints index cards (/endpoints). - Used jinja truncate filter instead of helper.
Configuration menu - View commit details
-
Copy full SHA for c7aabef - Browse repository at this point
Copy the full SHA c7aabefView commit details -
Configuration menu - View commit details
-
Copy full SHA for f358203 - Browse repository at this point
Copy the full SHA f358203View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c303d9 - Browse repository at this point
Copy the full SHA 7c303d9View commit details -
Improve package_item.html template
- Update badge classes for draft, metadata template, and deleted states - Update class for private dataset badge - Update link truncation for dataset title - Update data attribute for resource format labels
Configuration menu - View commit details
-
Copy full SHA for fdf55e8 - Browse repository at this point
Copy the full SHA fdf55e8View commit details -
Improve base admin config template
- Remove unnecesary Homepage selector. - Fix POST method errors when upload local logos.
Configuration menu - View commit details
-
Copy full SHA for a344aec - Browse repository at this point
Copy the full SHA a344aecView commit details -
Update configuration and add stats init to plugin
- Add cache config vars.
Configuration menu - View commit details
-
Copy full SHA for 006078e - Browse repository at this point
Copy the full SHA 006078eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3da105a - Browse repository at this point
Copy the full SHA 3da105aView commit details -
Refactor download metadata template and improve metadata profiles
The download_metadata.html template has been refactored to remove unnecessary code and improve the organization of metadata profiles. The changes include: - Simplifying the inspire_metadata_values set by using the h.schemingdcat_get_inspire_dcat_types() helper function - Updating the logic to generate the profiles list by including additional endpoint properties like profile_info_url and profile_label_order - Sorting the profiles list based on the profile_label_order attribute - Modifying the rendering of download links in the dropdown menu by creating a render_download_link macro - Adding logic to display CSW geospatial metadata links only when the package's dcat_type is in the inspire_metadata_values set - Adding logic to display RDF DCAT linked data links based on the package's theme and the profile's profile_label These changes improve the code structure and enhance the usability of the download metadata functionality.
Configuration menu - View commit details
-
Copy full SHA for 6954453 - Browse repository at this point
Copy the full SHA 6954453View commit details -
Improve metadata_info and profile badges
- Add truncate-text class to avoid problems when using in mobile or metadata elements with large texts. - Improve badges for profiles like DCAT, DCAT-AP, GeoDCAT-AP, NTI-RISP, ...
Configuration menu - View commit details
-
Copy full SHA for 0ffa59e - Browse repository at this point
Copy the full SHA 0ffa59eView commit details -
Configuration menu - View commit details
-
Copy full SHA for c4d131b - Browse repository at this point
Copy the full SHA c4d131bView commit details -
Configuration menu - View commit details
-
Copy full SHA for e136909 - Browse repository at this point
Copy the full SHA e136909View commit details -
Configuration menu - View commit details
-
Copy full SHA for 69e04f3 - Browse repository at this point
Copy the full SHA 69e04f3View commit details -
Improve style to improve header language selector dropdown menu
- Prevents languages from being wrapped on multiple lines.
Configuration menu - View commit details
-
Copy full SHA for 66dc66d - Browse repository at this point
Copy the full SHA 66dc66dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1af58e1 - Browse repository at this point
Copy the full SHA 1af58e1View commit details
Commits on Sep 18, 2024
-
Fix Solr indexing by converting dict fields to JSON strings
- Added `_before_index_dump_dicts` method to `PackageController` class to convert dict fields in the data dictionary to JSON strings. - Updated `before_dataset_index` method to call `_before_index_dump_dicts` to ensure all fields can be indexed by Solr. - Enhanced docstring for `_before_index_dump_dicts` to explain the necessity of converting dict fields to JSON strings, referencing related issues and errors. - Ensured that all fields in the data dictionary are in a format that Solr can handle, preventing errors such as "missing required field" even when the field is present. - Addressed issues observed in CKAN versions 2.10.4 and Solr 9, where attempts to upload resources to the Datastore resulted in errors due to the presence of dict fields in the data dictionary (ckan/ckan#8423). - Referenced related issues: CKAN - Custom plugin/theme error datastore using fluent presets #7750 and Solr error: missing required field #7730.
Configuration menu - View commit details
-
Copy full SHA for fb8abf6 - Browse repository at this point
Copy the full SHA fb8abf6View commit details -
Update open data stats: Skip statistics update during DB initializati…
…on or upgrade - Added a check to determine if a database initialization or upgrade command is being executed. - Skipped the statistics update during these operations to avoid potential conflicts. - Ensured that the statistics update only runs when it is safe to do so, preventing issues during database setup or migration.
Configuration menu - View commit details
-
Copy full SHA for e3bb1ee - Browse repository at this point
Copy the full SHA e3bb1eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0cbb625 - Browse repository at this point
Copy the full SHA 0cbb625View commit details -
Configuration menu - View commit details
-
Copy full SHA for 448113e - Browse repository at this point
Copy the full SHA 448113eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b10208 - Browse repository at this point
Copy the full SHA 4b10208View commit details -
Fix spatial_query snippet bugs
Unnecesary update to data-bs boostrap class.
Configuration menu - View commit details
-
Copy full SHA for 3026467 - Browse repository at this point
Copy the full SHA 3026467View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c02458 - Browse repository at this point
Copy the full SHA 2c02458View commit details -
Configuration menu - View commit details
-
Copy full SHA for 50945d0 - Browse repository at this point
Copy the full SHA 50945d0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 537504c - Browse repository at this point
Copy the full SHA 537504cView commit details
Commits on Sep 19, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 767fa65 - Browse repository at this point
Copy the full SHA 767fa65View commit details -
Configuration menu - View commit details
-
Copy full SHA for bac0862 - Browse repository at this point
Copy the full SHA bac0862View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6dc1e4c - Browse repository at this point
Copy the full SHA 6dc1e4cView commit details -
Configuration menu - View commit details
-
Copy full SHA for f2a0ed8 - Browse repository at this point
Copy the full SHA f2a0ed8View commit details
Commits on Sep 20, 2024
-
Removed unnecessary data-bs attributes for custom slug-preview module
The data-bs attributes were removed from the templates as they are specific to Bootstrap and not required for the custom slug-preview module.
Configuration menu - View commit details
-
Copy full SHA for ddc4de6 - Browse repository at this point
Copy the full SHA ddc4de6View commit details -
Configuration menu - View commit details
-
Copy full SHA for fcec54b - Browse repository at this point
Copy the full SHA fcec54bView commit details -
Add highlighting and quote alerts
- Avalaible values are 'tip', 'note', 'warning', 'caution', 'important' Example: {% block api_info %} {% set quote_content %} {% trans %} Further information in the <a href="http://docs.ckan.org/en/latest/maintaining/datastore.html" target="_blank">main CKAN Data API and DataStore documentation</a>. {% endtrans %} {% endset %} {% snippet "schemingdcat/snippets/quote_alerts.html", alert_type='tip', content=quote_content %} {% endblock %}
Configuration menu - View commit details
-
Copy full SHA for eefdcac - Browse repository at this point
Copy the full SHA eefdcacView commit details -
Configuration menu - View commit details
-
Copy full SHA for 53f9dc1 - Browse repository at this point
Copy the full SHA 53f9dc1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f22343 - Browse repository at this point
Copy the full SHA 8f22343View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e504ca - Browse repository at this point
Copy the full SHA 1e504caView commit details -
Configuration menu - View commit details
-
Copy full SHA for 32300b8 - Browse repository at this point
Copy the full SHA 32300b8View commit details
Commits on Sep 21, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 4bfcea4 - Browse repository at this point
Copy the full SHA 4bfcea4View commit details -
Configuration menu - View commit details
-
Copy full SHA for e3d81ff - Browse repository at this point
Copy the full SHA e3d81ffView commit details
Commits on Sep 22, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 5cd2bef - Browse repository at this point
Copy the full SHA 5cd2befView commit details
Commits on Sep 23, 2024
-
Merge pull request #101 from mjanez/feature/2.10-update
Update - CKAN 2.10 compatibility and UI/Schemas/Profiles improvements
Configuration menu - View commit details
-
Copy full SHA for 3a68063 - Browse repository at this point
Copy the full SHA 3a68063View commit details