[ckan-changes] [okfn/ckan] 515a75: Add logic.action.get.user_activity() function

noreply at github.com noreply at github.com
Mon Dec 19 18:25:56 UTC 2011


  Branch: refs/heads/feature-1515-activity-streams
  Home:   https://github.com/okfn/ckan

  Commit: 515a753ccf7ddd2b120aa80bf68518b130a06059
      https://github.com/okfn/ckan/commit/515a753ccf7ddd2b120aa80bf68518b130a06059
  Author: Sean Hammond <seanhammond at lavabit.com>
  Date:   2011-12-19 (Mon, 19 Dec 2011)

  Changed paths:
    M ckan/lib/dictization/model_dictize.py
  M ckan/logic/action/get.py
  M ckan/tests/models/test_activity.py

  Log Message:
  -----------
  Add logic.action.get.user_activity() function

This is for ticket #1511 but doesn't quite close it yet.

Add activity_dictize() and activity_list_dictize() functions to
model_dictize.py. These don't yet include activity detail items in the
activity dicts.

Add user_activity() function to logic.action.get. Returns the public
activity stream for a user as a list of dicts.

Add a simple test case to test_activity.py. Better tests needed.






More information about the ckan-changes mailing list