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_streamhelper. https://github.com/ckan/ckan/pull/7482 Already in master -
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 -
Fix fontawesome icons (
fontawesome_icons) Fix missing fontawesome icons after migration to bootstrap 5. https://github.com/ckan/ckan/pull/7474 Already in master -
Fix secondary block order (
secondary_order) Fix primary/secondary order regression. https://github.com/ckan/ckan/pull/7468 Already in master -
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 -
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 -
Restyle activities (
restyle_activity) Restyle activities list page in a modern way https://github.com/ckan/ckan/pull/7491 -
Fix group_list missing csrf (
group_list_csrf) Add csrf token to a dataset group list form Already in master -
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
Metadata
Release files for ckanext-core-fix 0.7.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| ckanext_core_fix-0.7.1.tar.gz | 26.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ckanext_core_fix-0.7.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 60.7 kB
Release files / ckanext_core_fix-0.7.1.tar.gz
| Download URL | ckanext_core_fix-0.7.1.tar.gz |
|---|---|
| Size | 26.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
461da34500dedee283a0614107c3459e9298646b0fa3e2469113e9f6db0f785e
|
|
BLAKE2b-256 checksum How to use checksums |
121b1f6947cfed40cbc48154588c77a0ea415b440a6a80bb59a48b3d72b79247
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.8.10
|
Release files / ckanext_core_fix-0.7.1-py3-none-any.whl
| Download URL | ckanext_core_fix-0.7.1-py3-none-any.whl |
|---|---|
| Size | 34.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
20de50739f9d79aae22ad81fc4ddcffde2c1508f946a28cfb46059f05cacd555
|
|
BLAKE2b-256 checksum How to use checksums |
c4ea0da548e7fa2e2750fa0dab58f6f83c4687e3e94558ff661bb465b6a730bf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.8.10
|
Security for ckanext-core-fix 0.7.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.