(2024-12-17)
- Allow authorization via tokens, in addition to browser cookies and api keys.
- Update BerlinOnline name.
- Fix failing CI/CD.
- Add publiccode.yml for OpenCode.
(2024-07-22)
- Allow flash messages for displaying errors.
- Fix github workflow.
- Allow
_debug_toolbar
asset.
(2023-05-22)
- Modify the
status_show
API method to show the loaded extensions' version number, based on an__version__
-attribute (orunknown
). - Define extension's version string in VERSION, make it available as
ckanext.berlinauth.__version__
and in setup.py.
(2023-05-08)
- Fix error when a registered non-admin user is looking at
/organization
and would see a technical group in the list of orgs (which they are not authorized to see). - Fix error where password reset links were rejected.
(2023-04-18)
- We no longer configure
berlin.technical_groups
in the plugin initialization in, as this can mess with tests that also set this config option via@pytest.mark.ckan_config()
. Instead, the option needs to be set in the ckan config file. - Fix error in middleware (empty response body for redirects needs to be byte string).
(2023-04-05)
- Enable anonymous access to ckanext-dcat's RDF represesentations through content negotiation, not just through file suffixes.
- Simplify middleware code (fewer conditionals, better imports).
- Fix broken login workflow.
(2023-01-23)
- Add documentation about configuring monitoring services.
- Small adjustment to
MANIFEST.in
.
(2022-10-25)
- Change codecov upload in github CI, now using the recommended approach as defined in https://docs.codecov.com/docs#step-4-upload-coverage-reports-to-codecov.
(2022-10-13)
- Convert to Python 3.
- Add
berlin.public_pages
config setting to define pages that can be accessed by anonymous users (all other pages require login). - Update README.
- This is the first version that requires Python 3 / CKAN >= 2.9.
- Implement the IMiddleWare interface to handle handle access to specific pages and endpoints for anonymous users.
- Add a basic test for each GET-able API function, to ensure that anonymous access to the API is how we want it to be.
- Disable file upload by restricting the auth functions for
resource_create
andresource_update
. - Add Github CI.
- Reformat changelog, add dates and version links.
(2020-07-28)
- This is the last version to work with Python 2 / CKAN versions < 2.9.