[ckan-changes] [ckan/ckan] 93ac6b: Separate registration of IDatasetForm plugins and ...
GitHub
noreply at github.com
Thu Aug 16 08:24:50 UTC 2018
Branch: refs/heads/master
Home: https://github.com/ckan/ckan
Commit: 93ac6b004e9900343fd4ea22fdf0218342ab313d
https://github.com/ckan/ckan/commit/93ac6b004e9900343fd4ea22fdf0218342ab313d
Author: amercader <amercadero at gmail.com>
Date: 2018-08-03 (Fri, 03 Aug 2018)
Changed paths:
M ckan/config/environment.py
M ckan/config/middleware/flask_app.py
M ckan/lib/plugins.py
Log Message:
-----------
Separate registration of IDatasetForm plugins and blueprints
Blueprints need to be registered when there is an app available (ie
flask_app.py), but the actual IDatasetForm instances need to be readded
every time the environment is refreshed, as we reset them and start from
scratch. This happens eg when we explicitly load a plugin during tests
with `p.load()`.
Commit: db769e7b0d9ca001b836d97fc47a5e7ad0eca9d2
https://github.com/ckan/ckan/commit/db769e7b0d9ca001b836d97fc47a5e7ad0eca9d2
Author: amercader <amercadero at gmail.com>
Date: 2018-08-03 (Fri, 03 Aug 2018)
Changed paths:
M ckan/config/environment.py
M ckan/config/middleware/flask_app.py
M ckan/lib/plugins.py
Log Message:
-----------
Same logic as the previous commit, but for groups/orgs
Commit: fe305a1efdfb09d506faf071c62cc609ae1ee668
https://github.com/ckan/ckan/commit/fe305a1efdfb09d506faf071c62cc609ae1ee668
Author: amercader <amercadero at gmail.com>
Date: 2018-08-06 (Mon, 06 Aug 2018)
Changed paths:
M ckan/lib/plugins.py
Log Message:
-----------
Fix setting the default group plugin on the right level
Commit: 06b6a3daeee6f5f15e8714d98ef8c2a218bfd53d
https://github.com/ckan/ckan/commit/06b6a3daeee6f5f15e8714d98ef8c2a218bfd53d
Author: Sergey <tonnydexter at gmail.com>
Date: 2018-08-16 (Thu, 16 Aug 2018)
Changed paths:
M ckan/config/environment.py
M ckan/config/middleware/flask_app.py
M ckan/lib/plugins.py
Log Message:
-----------
Merge pull request #4385 from ckan/flask-separate-package-blueprints-and-plugins
Separate IDatasetForm/IGroupForm blueprints and plugins registration
Compare: https://github.com/ckan/ckan/compare/54faab3db653...06b6a3daeee6
**NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.
More information about the ckan-changes
mailing list