[ckan-changes] [okfn/ckan] 6a4701: Fix handling of 'deleted package' activity streams
GitHub
noreply at github.com
Thu Jan 19 21:03:15 UTC 2012
Branch: refs/heads/feature-1515-activity-streams
Home: https://github.com/okfn/ckan
Commit: 6a47014209c625f9fecfb48f734ddbceb89a6545
https://github.com/okfn/ckan/commit/6a47014209c625f9fecfb48f734ddbceb89a6545
Author: Sean Hammond <seanhammond at lavabit.com>
Date: 2012-01-19 (Thu, 19 Jan 2012)
Changed paths:
M ckan/logic/action/get.py
M ckan/model/package.py
A ckan/templates/activity_streams/deleted_package.html
M ckan/tests/models/test_activity.py
Log Message:
-----------
Fix handling of 'deleted package' activity streams
They now show up as 'deleted package' activities instead of as 'changed
package'. The implementation is a bit of a hack.
Commit: dfa51745084183e1db2d17f10d48d5c5df82ac2b
https://github.com/okfn/ckan/commit/dfa51745084183e1db2d17f10d48d5c5df82ac2b
Author: Sean Hammond <seanhammond at lavabit.com>
Date: 2012-01-19 (Thu, 19 Jan 2012)
Changed paths:
M ckan/logic/action/get.py
M ckan/model/resource.py
M ckan/tests/models/test_activity.py
Log Message:
-----------
Fix handling of deleted resource activity streams
They now show up as deleted instead of changed resource activities.
The implementation is a bit of a hack.
Commit: afa2a4f6fd4be672755034c2c12ba4984702b5ed
https://github.com/okfn/ckan/commit/afa2a4f6fd4be672755034c2c12ba4984702b5ed
Author: Sean Hammond <seanhammond at lavabit.com>
Date: 2012-01-19 (Thu, 19 Jan 2012)
Changed paths:
M ckan/logic/action/get.py
M ckan/logic/action/update.py
M ckan/tests/models/test_activity.py
Log Message:
-----------
Fix handling of deleted group activity streams
They now show up as 'deleted group' activities instead of 'changed
group'.
The implemenetation is a bit of a hack.
The group_update() logic function gets called when you delete a group
through the web interface, but there is also a group_delete() logic
function, when is this used?
Also add a test/
Compare: https://github.com/okfn/ckan/compare/48798be...afa2a4f
More information about the ckan-changes
mailing list