Skip to main content

No project description provided

Project description

ckanext-core-fix

This extensions comes to provide temprorary fixes to CKAN core that isn't yet applied, but will be (probably) applied soon.

By default, all the fixes are enabled. Check the List of fixes and Config settings section to understand how to disabled specific fix.

All the fixes must be associated with a PR to the CKAN core.

Merged fixes could be deleted from this extension with new versions, as I don't want to store them forever and increase the list of disabled fixes in config.

Requirements

Compatibility with core CKAN versions:

CKAN version Compatible?
2.7 and earlier not tested
2.8 not tested
2.9 not tested
2.10.0 yes

Installation

I suggest using pip install ckanext-core-fix to install package. If you want to install it from github, you probably know what to do.

Add core_fix to ckan.plugins to enable the plugin.

List of fixes

Use a fix name from the parentheses to disable it via ckanext.core_fix.disable_fix

  1. Fix dashboard activity page (dashboard_activity) Fix call of dashboard_activity_stream helper. https://github.com/ckan/ckan/pull/7482 Already in master

  2. Fix markdown macro regression (markdown_macro) Fix a regression of markdown.html macro after migration to bootstrap 5. https://github.com/ckan/ckan/pull/7485 Already in master

  3. Fix fontawesome icons (fontawesome_icons) Fix missing fontawesome icons after migration to bootstrap 5. https://github.com/ckan/ckan/pull/7474 Already in master

  4. Fix secondary block order (secondary_order) Fix primary/secondary order regression. https://github.com/ckan/ckan/pull/7468 Already in master

  5. Fix button icon/text gap (button_icon_text_gap) Fix missing gap between btn icon and text. https://github.com/ckan/ckan/pull/7470 Already in master

  6. Fix mobile layout breakpoint (mobile_layout_breakpoint) Fix improper breakpoint for mobile view after migration to bootstrap 5. https://github.com/ckan/ckan/pull/7467 Already in master

  7. Restyle activities (restyle_activity) Restyle activities list page in a modern way https://github.com/ckan/ckan/pull/7491

  8. Fix group_list missing csrf (group_list_csrf) Add csrf token to a dataset group list form Already in master

  9. Fix dashboard organization tab org labels and link (dashboard_organization) Already in master

Config settings

# Provide a list of fixes names to disable it
# (optional, default: None).
ckanext.core_fix.disable_fix = dashboard_activity

Tests

To run the tests, do:

pytest --ckan-ini=test.ini

License

AGPL

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ckanext_core_fix-0.7.0.tar.gz (26.8 kB view details)

Uploaded Source

Built Distribution

ckanext_core_fix-0.7.0-py3-none-any.whl (34.6 kB view details)

Uploaded Python 3

File details

Details for the file ckanext_core_fix-0.7.0.tar.gz.

File metadata

  • Download URL: ckanext_core_fix-0.7.0.tar.gz
  • Upload date:
  • Size: 26.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.8.10

File hashes

Hashes for ckanext_core_fix-0.7.0.tar.gz
Algorithm Hash digest
SHA256 f09f4eeb480c15c89897cca2e0bb9a60449e6c2687c4ff0ee9bfaf8d67bd38c8
MD5 db804b8703d01f7a8c95888ba4a2b85a
BLAKE2b-256 1dc72473605bef8f416b793abbf04d845e70e96076939224d13a6848b3f989b5

See more details on using hashes here.

File details

Details for the file ckanext_core_fix-0.7.0-py3-none-any.whl.

File metadata

File hashes

Hashes for ckanext_core_fix-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ade2b3028338e864580390266d3748f69d2a91f66d8ec3bb5eaa378277432c2a
MD5 14384070bcc1013c29dabeb160754eaa
BLAKE2b-256 bf87c239592813104295eb770fc7a4c7b965992f4c533119d7c1ff9169b663df

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page