[ckan-changes] [okfn/ckan] 61eddb: Fix following of groups

GitHub noreply at github.com
Thu Nov 22 16:44:13 UTC 2012


  Branch: refs/heads/refactor-dashboard-tests
  Home:   https://github.com/okfn/ckan
  Commit: 61eddb3f99c36a845b415de06ecaf0e9f01d96c1
      https://github.com/okfn/ckan/commit/61eddb3f99c36a845b415de06ecaf0e9f01d96c1
  Author: Sean Hammond <seanhammond at lavabit.com>
  Date:   2012-11-22 (Thu, 22 Nov 2012)

  Changed paths:
    M ckan/logic/action/get.py
    M ckan/model/activity.py
    M ckan/tests/functional/api/test_dashboard.py

  Log Message:
  -----------
  Fix following of groups

Add activities from the datasets of followed groups into the user's
dashboard activity stream. All the test_dashboard.py tests now pass.

Move SQLAlchemy from group_activity_list() into model, alongside the SQLAlchemy
queries for the other types of activity stream.

Change the SQLAlchemy in activities_from_groups_followed_by_user() to be the
union of group_activity_list() for each of the followed groups.

Update some tests.


  Commit: 8225e7306c31b2722884bbb6b0b716d194fdbb85
      https://github.com/okfn/ckan/commit/8225e7306c31b2722884bbb6b0b716d194fdbb85
  Author: Sean Hammond <seanhammond at lavabit.com>
  Date:   2012-11-22 (Thu, 22 Nov 2012)

  Changed paths:
    M ckan/model/activity.py

  Log Message:
  -----------
  Add docstring to group_activity_list()


Compare: https://github.com/okfn/ckan/compare/83d2ef7bc43d...8225e7306c31


More information about the ckan-changes mailing list