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
-
Fix dashboard activity page (
dashboard_activity
) Fix call ofdashboard_activity_stream
helper. https://github.com/ckan/ckan/pull/7482 -
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 -
Fix fontawesome icons (
fontawesome_icons
) Fix missing fontawesome icons after migration to bootstrap 5. https://github.com/ckan/ckan/pull/7474 -
Fix secondary block order (
secondary_order
) Fix primary/secondary order regression https://github.com/ckan/ckan/pull/7468 -
Fix button icon/text gap (
button_icon_text_gap
) Fix missing gap between btn icon and text https://github.com/ckan/ckan/pull/7470
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
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
Built Distribution
Hashes for ckanext_core_fix-0.6.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 241a6d5410f978691a7a1a565d8cde3c008d582e42640d9746c7cfa017847dbd |
|
MD5 | 360740d213e2486e2212b47395a25921 |
|
BLAKE2b-256 | ea91eb1a40f393846adf32726ba169f6e2d4e17e4e7c1f76829704fa850e86f9 |