[ckan-changes] [ckan/ckan] 709453: [#3012] Persist datastore_active on resource updat...
GitHub
noreply at github.com
Fri Aug 26 10:33:57 UTC 2016
Branch: refs/heads/release-v2.5.3
Home: https://github.com/ckan/ckan
Commit: 7094532ea959f194464a6ad37b45f22ce1b643c6
https://github.com/ckan/ckan/commit/7094532ea959f194464a6ad37b45f22ce1b643c6
Author: amercader <amercadero at gmail.com>
Date: 2016-08-26 (Fri, 26 Aug 2016)
Changed paths:
M ckan/logic/action/update.py
M ckan/tests/logic/action/test_update.py
Log Message:
-----------
[#3012] Persist datastore_active on resource updates
As datastore_active is stored as an extra, if it's not provided in the
incoming data_dict on resource_update it will get dropped. This happens
most noticeably when udpating via the frontend, causing the green Data
API button to disappear.
Commit: a425d9817570a024ffd252433f4aa506eb9e816f
https://github.com/ckan/ckan/commit/a425d9817570a024ffd252433f4aa506eb9e816f
Author: amercader <amercadero at gmail.com>
Date: 2016-08-26 (Fri, 26 Aug 2016)
Changed paths:
M ckanext/datastore/db.py
Log Message:
-----------
[#2969] Fix unicode error when indexing field of type JSON
Commit: 0fc89512b64ea28422aa3cbd277c364fb8a15eda
https://github.com/ckan/ckan/commit/0fc89512b64ea28422aa3cbd277c364fb8a15eda
Author: amercader <amercadero at gmail.com>
Date: 2016-08-26 (Fri, 26 Aug 2016)
Changed paths:
M ckanext/datastore/tests/test_upsert.py
Log Message:
-----------
[#2969] Add a couple of tests
Commit: 37db7ee758402f0b11eff66a9df70685a3ab20ef
https://github.com/ckan/ckan/commit/37db7ee758402f0b11eff66a9df70685a3ab20ef
Author: Knut Hühne <knut at k-nut.eu>
Date: 2016-08-26 (Fri, 26 Aug 2016)
Changed paths:
M ckan/logic/action/update.py
Log Message:
-----------
[#3011] do not create default views on package_update
Commit: 9740353b9dfb2ae9c6dbc9a7846609fced770ef9
https://github.com/ckan/ckan/commit/9740353b9dfb2ae9c6dbc9a7846609fced770ef9
Author: Knut Hühne <knut at k-nut.eu>
Date: 2016-08-26 (Fri, 26 Aug 2016)
Changed paths:
M ckan/logic/action/create.py
Log Message:
-----------
[#3011] Create default views on resource_create
- This was not neccessary before because we would call `package_update`
in the `resource_create` function. Now that `package_update` does not
create the default views anymore the `resource_create` function has to
do it itself
Commit: 69a3cda6d4e2d38ec35ff48d91be8b5ff07faa50
https://github.com/ckan/ckan/commit/69a3cda6d4e2d38ec35ff48d91be8b5ff07faa50
Author: Knut Hühne <knut at k-nut.eu>
Date: 2016-08-26 (Fri, 26 Aug 2016)
Changed paths:
M ckan/tests/lib/test_datapreview.py
Log Message:
-----------
[#3011] Remove tests for package_update and resource_update
- The new logic is not to create the views anymore on `*_update` but
just on `*_create`
Commit: 6f6b37eb32fa69e782555eaaa31d07b5ea3e5b82
https://github.com/ckan/ckan/commit/6f6b37eb32fa69e782555eaaa31d07b5ea3e5b82
Author: Knut Hühne <knut at k-nut.eu>
Date: 2016-08-26 (Fri, 26 Aug 2016)
Changed paths:
M ckan/logic/action/create.py
Log Message:
-----------
[#3011] create default views via get_action
Commit: 619da750d7848e08203a15632f06de945e5e24c5
https://github.com/ckan/ckan/commit/619da750d7848e08203a15632f06de945e5e24c5
Author: Knut Hühne <knut at k-nut.eu>
Date: 2016-08-26 (Fri, 26 Aug 2016)
Changed paths:
M ckan/tests/lib/test_datapreview.py
Log Message:
-----------
[#3011] remove empty line for pep8
Commit: 4789cad873aa3d496e9a1fda31b9c8c37194e861
https://github.com/ckan/ckan/commit/4789cad873aa3d496e9a1fda31b9c8c37194e861
Author: Knut Hühne <knut at k-nut.eu>
Date: 2016-08-26 (Fri, 26 Aug 2016)
Changed paths:
M ckanext/reclineview/tests/test_view.py
Log Message:
-----------
[#3011] Spcifiy format in test
Not sure if this is a good idea but all the tests should at least pass
now
Commit: a3da4c38385ccb8a8b11af73caee7af4cdc99252
https://github.com/ckan/ckan/commit/a3da4c38385ccb8a8b11af73caee7af4cdc99252
Author: Knut Hühne <knut at k-nut.eu>
Date: 2016-08-26 (Fri, 26 Aug 2016)
Changed paths:
M ckanext/reclineview/plugin.py
M ckanext/reclineview/tests/test_view.py
Log Message:
-----------
[#3011] properly check for _datastore_only_resource
Commit: 582bdd7a90f291322fadf9f22f6a0e2b0d4eae09
https://github.com/ckan/ckan/commit/582bdd7a90f291322fadf9f22f6a0e2b0d4eae09
Author: Knut Hühne <knut at k-nut.eu>
Date: 2016-08-26 (Fri, 26 Aug 2016)
Changed paths:
M ckanext/reclineview/plugin.py
Log Message:
-----------
[#3011] change check for _datastore_only_resource in ReclineViewBase
Compare: https://github.com/ckan/ckan/compare/8b5a04bf4c05...582bdd7a90f2
More information about the ckan-changes
mailing list