[ckan-changes] [okfn/ckan] 3d328a: Hook up API call for user's public activity stream

noreply at github.com noreply at github.com
Tue Dec 20 19:23:07 UTC 2011


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

  Commit: 3d328aa07f038287d4ecb3a9ba6facc9fabbddd2
      https://github.com/okfn/ckan/commit/3d328aa07f038287d4ecb3a9ba6facc9fabbddd2
  Author: Sean Hammond <seanhammond at lavabit.com>
  Date:   2011-12-20 (Tue, 20 Dec 2011)

  Changed paths:
    M ckan/config/routing.py
  M ckan/controllers/api.py
  M ckan/logic/action/get.py
  A ckan/tests/functional/api/model/test_activity.py
  M ckan/tests/models/test_activity.py

  Log Message:
  -----------
  Hook up API call for user's public activity stream

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

Adds a mapping from URLs like:

    /api/VERSION/rest/activity/ID

(where version is 1 or 2 and ID is a user ID) to the new
logic.action.get:activity_show() method.

Includes a simple API test case, but proper tests needed.






More information about the ckan-changes mailing list