Skip to content

Conversation

@TkTech
Copy link

@TkTech TkTech commented May 26, 2025

Changes:

  • Migrate schema to Solr 8
  • Validated functionality on Postgres 17 - no changes required.
  • Remove the need for ckanext-asc-csa-scheming completely, can use upstream chanext-scheming again.
  • Strip out metadata and temporary file cruft that was accidentally committed, some unused variables and code.
  • Consistent linting and static checks with ruff.
  • Fix legacy Python 2 basestring instance check.
  • Ported from CKAN 2.9 to 2.11. ckanext-scheming and ckanext-fluent updated to master.
  • Fixes to dataset indexing for 2.11.
  • Fixes for missing CSRF meta tags on base template, required in 2.11.
  • CSS compatibility fixes for 2.11 and WET.
  • Adds support ckanext-bulk (need to add bulk to the list of plugins in the ckan.ini when deployed)
  • Add views for Geo types, pdf, csv, images, etc
  • Add long-form descriptions to resources.

Todo:

  • Remove ckan/lib/* files and include only the 3 helpers that have changes in our plugin.
  • Switch to built-in message flashing helpers, get rid of pop_message usage.

Issues:

  • Keywords facet appears 3 times in search results - English, French, and raw JSON
  • Spatial representation type search facet appears as a blank JSON list ([])
  • Clear filters button has gone missing
  • "More on this record" is showing all metadata fields

Required configuration:

At a minimum, the following must be in the ckan ini:

ckan.plugins = scheming_datasets datastore xloader stats resource_proxy geo_view text_view image_view datatables_view pdf_view fluent bulk csa

# Generate with `ckan -c <your ckan ini> user token add <username> xloader`
ckanext.xloader.api_token = 
# Same value as sqlalchemy.url
ckanext.xloader.jobs_db.uri =

ckan.views.default_views = datatables_view pdf_view geo_view image_view text_view recline_view video_view

The datastore and its related settings must also be configured.

@TkTech TkTech marked this pull request as draft May 26, 2025 10:36
emilinecsa and others added 6 commits June 3, 2025 15:05
These meta values are used by 3rd party and built-in extensions to implement CSRF protection for forms and POST requests.
Adds basic support for bulk dataset updates and deletes.
@TkTech TkTech mentioned this pull request Jun 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants