[ckan-changes] [okfn/ckan] e02487: [#316] Disable follower lists

GitHub noreply at github.com
Mon Feb 4 10:21:22 UTC 2013


  Branch: refs/heads/master
  Home:   https://github.com/okfn/ckan
  Commit: e024873f596d481137845951af57988b077969fb
      https://github.com/okfn/ckan/commit/e024873f596d481137845951af57988b077969fb
  Author: Sean Hammond <seanhammond at lavabit.com>
  Date:   2013-01-30 (Wed, 30 Jan 2013)

  Changed paths:
    M ckan/controllers/group.py
    M ckan/controllers/user.py
    M ckan/logic/action/get.py
    M ckan/logic/auth/get.py
    M ckan/templates/group/read_base.html
    M ckan/templates/package/read_base.html
    M ckan/templates/user/read_base.html

  Log Message:
  -----------
  [#316] Disable follower lists

Disable follower lists for normal users

Make it so that only sysadmins can see a dataset, user or group's list
of followers.

Add auth functions to user, dataset and group follower_list functions.

user controller, group controller, package controller:
  /followers pages send 401 if not authorized

Remove followers tabs from user, dataset and group pages.

Some tests need to be fixed now


  Commit: 44a1fd16956341331e9eb534911a9d08acc6a758
      https://github.com/okfn/ckan/commit/44a1fd16956341331e9eb534911a9d08acc6a758
  Author: Sean Hammond <seanhammond at lavabit.com>
  Date:   2013-01-30 (Wed, 30 Jan 2013)

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

  Log Message:
  -----------
  [#316] Update follower api tests

Make it pass a sysadmin's API key whenever calling *_follower_list,
since only sysadmins are authorised to call that now.


  Commit: 40e4630d24a81b3294d31d93d5b942f02713acff
      https://github.com/okfn/ckan/commit/40e4630d24a81b3294d31d93d5b942f02713acff
  Author: Sean Hammond <seanhammond at lavabit.com>
  Date:   2013-01-30 (Wed, 30 Jan 2013)

  Changed paths:
    M ckan/tests/functional/test_follow.py

  Log Message:
  -----------
  [#316] Update follower frontend tests


  Commit: 825117eca63105ac582b7708f3dde242499c30db
      https://github.com/okfn/ckan/commit/825117eca63105ac582b7708f3dde242499c30db
  Author: Sean Hammond <seanhammond at lavabit.com>
  Date:   2013-01-30 (Wed, 30 Jan 2013)

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

  Log Message:
  -----------
  [#316] Add tests for new follower list auth


  Commit: 5c7e022a09798d02b1fd30356517a9ef071d0577
      https://github.com/okfn/ckan/commit/5c7e022a09798d02b1fd30356517a9ef071d0577
  Author: Sean Hammond <seanhammond at lavabit.com>
  Date:   2013-01-30 (Wed, 30 Jan 2013)

  Changed paths:
    M ckan/logic/action/create.py

  Log Message:
  -----------
  [#316] Remove "started following" activities


  Commit: a20d0b3f9aa5cf65d1f9780a98a7faaff90f6ab7
      https://github.com/okfn/ckan/commit/a20d0b3f9aa5cf65d1f9780a98a7faaff90f6ab7
  Author: Sean Hammond <seanhammond at lavabit.com>
  Date:   2013-01-30 (Wed, 30 Jan 2013)

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

  Log Message:
  -----------
  [#316] Update activity streams API tests


  Commit: b722815983378201dba41a4b2adc36c4430aafac
      https://github.com/okfn/ckan/commit/b722815983378201dba41a4b2adc36c4430aafac
  Author: Sean Hammond <seanhammond at lavabit.com>
  Date:   2013-01-30 (Wed, 30 Jan 2013)

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

  Log Message:
  -----------
  [#316] Update activity streams frontend tests


  Commit: 7f4f0def48560951d0d171e2665dfeefaad80e82
      https://github.com/okfn/ckan/commit/7f4f0def48560951d0d171e2665dfeefaad80e82
  Author: Sean Hammond <seanhammond at lavabit.com>
  Date:   2013-01-30 (Wed, 30 Jan 2013)

  Changed paths:
    M ckan/logic/action/get.py
    M ckan/logic/auth/get.py
    M ckan/tests/functional/api/test_follow.py

  Log Message:
  -----------
  [#316] Add auth for followee_list APIs

Don't let visitors or other users see what a user is following.


  Commit: 6903985d1f89e8de59434ce1fdd7da3d96aaa204
      https://github.com/okfn/ckan/commit/6903985d1f89e8de59434ce1fdd7da3d96aaa204
  Author: Sean Hammond <seanhammond at lavabit.com>
  Date:   2013-01-30 (Wed, 30 Jan 2013)

  Changed paths:
    M .gitignore
    M ckan/lib/helpers.py
    M ckanext/reclinepreview/theme/public/preview_recline.js

  Log Message:
  -----------
  Merge branch 'master' of github.com:okfn/ckan into 316-disable-follower-lists


  Commit: 6adc06072ad1535e5671ad3142a16408cae60cb5
      https://github.com/okfn/ckan/commit/6adc06072ad1535e5671ad3142a16408cae60cb5
  Author: Sean Hammond <seanhammond at lavabit.com>
  Date:   2013-01-30 (Wed, 30 Jan 2013)

  Changed paths:
    M ckan/logic/action/create.py

  Log Message:
  -----------
  [#316] Removed 'follow dataset' and 'follow group' activities

Forgot to remove these in earlier commit
5c7e022a09798d02b1fd30356517a9ef071d0577


  Commit: 99920836a6ee3ed4a4d8f4812ae28918d0278ee7
      https://github.com/okfn/ckan/commit/99920836a6ee3ed4a4d8f4812ae28918d0278ee7
  Author: Sean Hammond <seanhammond at lavabit.com>
  Date:   2013-01-30 (Wed, 30 Jan 2013)

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

  Log Message:
  -----------
  [#316] Update user dashboard tests


  Commit: 7ea77f068fff68e669b3dafc69d31515ff535c55
      https://github.com/okfn/ckan/commit/7ea77f068fff68e669b3dafc69d31515ff535c55
  Author: Sean Hammond <seanhammond at lavabit.com>
  Date:   2013-01-30 (Wed, 30 Jan 2013)

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

  Log Message:
  -----------
  [#316] Update some more activity streams tests


  Commit: 6c0c8957d8fd9d0187214072ed38dbecb26ae665
      https://github.com/okfn/ckan/commit/6c0c8957d8fd9d0187214072ed38dbecb26ae665
  Author: kindly <kindly at gmail.com>
  Date:   2013-02-04 (Mon, 04 Feb 2013)

  Changed paths:
    M ckan/model/__init__.py
    M ckan/model/meta.py
    M ckan/tests/__init__.py
    M ckanext/datastore/plugin.py
    M ckanext/datastore/tests/test_create.py
    M ckanext/datastore/tests/test_delete.py
    M ckanext/datastore/tests/test_search.py
    M ckanext/datastore/tests/test_upsert.py

  Log Message:
  -----------
  Merge branch 'master' into 316-disable-follower-lists


  Commit: ca1a7d76aaa2f8949a5150e886a993d9a3a142c4
      https://github.com/okfn/ckan/commit/ca1a7d76aaa2f8949a5150e886a993d9a3a142c4
  Author: kindly <kindly at gmail.com>
  Date:   2013-02-04 (Mon, 04 Feb 2013)

  Changed paths:
    M ckan/controllers/group.py
    M ckan/controllers/user.py
    M ckan/logic/action/create.py
    M ckan/logic/action/get.py
    M ckan/logic/auth/get.py
    M ckan/templates/group/read_base.html
    M ckan/templates/package/read_base.html
    M ckan/templates/user/read_base.html
    M ckan/tests/functional/api/test_activity.py
    M ckan/tests/functional/api/test_dashboard.py
    M ckan/tests/functional/api/test_follow.py
    M ckan/tests/functional/test_activity.py
    M ckan/tests/functional/test_follow.py

  Log Message:
  -----------
  Merge branch '316-disable-follower-lists'


Compare: https://github.com/okfn/ckan/compare/4313177506f7...ca1a7d76aaa2


More information about the ckan-changes mailing list