[ckan-changes] [okfn/ckan] 9cc0f8: [#1664] Add group activity stream page

GitHub noreply at github.com
Fri Oct 26 19:44:32 UTC 2012


  Branch: refs/heads/feature-1664-smarter-group-activity-streams
  Home:   https://github.com/okfn/ckan
  Commit: 9cc0f849b32301be98669d5b725ebc48b305b7f1
      https://github.com/okfn/ckan/commit/9cc0f849b32301be98669d5b725ebc48b305b7f1
  Author: Sean Hammond <seanhammond at lavabit.com>
  Date:   2012-10-26 (Fri, 26 Oct 2012)

  Changed paths:
    M ckan/config/routing.py
    M ckan/controllers/group.py
    A ckan/templates/group/activity_stream.html

  Log Message:
  -----------
  [#1664] Add group activity stream page

You can now see a group's activity stream at /group/activity/GROUP_NAME.

This page is not integrated into the rest of the group pages yet like
the user activity stream page is with the user pages, but can be in
future if we want.

Also remove c.group_activity_stream from the group read context as it's
not used so no need to compute it.


  Commit: 8facd097f6f98cff9f0a448d19e5e29fc747a173
      https://github.com/okfn/ckan/commit/8facd097f6f98cff9f0a448d19e5e29fc747a173
  Author: Sean Hammond <seanhammond at lavabit.com>
  Date:   2012-10-26 (Fri, 26 Oct 2012)

  Changed paths:
    M ckan/tests/functional/api/test_activity.py

  Log Message:
  -----------
  Remove direct logic function access from test_activity.py

Make functional/api/test_activity.py post to the API whenever it wants
to create, update or delete users, packages, groups, etc.

Also gets rid of the need to access resource_list_dictize() directly.


  Commit: c4240fbd72a8c953487ed46f951866c90fbbae7b
      https://github.com/okfn/ckan/commit/c4240fbd72a8c953487ed46f951866c90fbbae7b
  Author: Sean Hammond <seanhammond at lavabit.com>
  Date:   2012-10-26 (Fri, 26 Oct 2012)

  Changed paths:
    M ckan/tests/functional/api/test_activity.py

  Log Message:
  -----------
  Remove direct model access from test_activity.py

Import ckan.model only where needed and don't retain model objects, in
many cases replace accessing the model with going through the API


  Commit: 7ebf0c1e4ecc48661e39e13c18dc8125f39f016e
      https://github.com/okfn/ckan/commit/7ebf0c1e4ecc48661e39e13c18dc8125f39f016e
  Author: Sean Hammond <seanhammond at lavabit.com>
  Date:   2012-10-26 (Fri, 26 Oct 2012)

  Changed paths:
    M ckan/tests/functional/api/test_activity.py

  Log Message:
  -----------
  Fix an import in test_activity.py

Follow the CKAN Coding Standards for imports


  Commit: e5039423d1ba9e34dddb9387efc645c2be9cd892
      https://github.com/okfn/ckan/commit/e5039423d1ba9e34dddb9387efc645c2be9cd892
  Author: Sean Hammond <seanhammond at lavabit.com>
  Date:   2012-10-26 (Fri, 26 Oct 2012)

  Changed paths:
    M ckan/tests/functional/api/test_activity.py

  Log Message:
  -----------
  test_activity.py PEP8 fixes


  Commit: 306d9c37d582f7b2d1e0101bb259d7971837d2db
      https://github.com/okfn/ckan/commit/306d9c37d582f7b2d1e0101bb259d7971837d2db
  Author: Sean Hammond <seanhammond at lavabit.com>
  Date:   2012-10-26 (Fri, 26 Oct 2012)

  Changed paths:
    M ckan/tests/functional/api/test_activity.py

  Log Message:
  -----------
  Remove some commented-out tests


Compare: https://github.com/okfn/ckan/compare/fd37c90e614c...306d9c37d582


More information about the ckan-changes mailing list