[ckan-changes] [ckan/ckan] cf9f2d: Add tests for activity stream

David Read noreply at github.com
Fri Feb 1 20:25:39 UTC 2019


  Branch: refs/heads/master
  Home:   https://github.com/ckan/ckan
  Commit: cf9f2df744b59f74c137aab6e965dd8bddab96b7
      https://github.com/ckan/ckan/commit/cf9f2df744b59f74c137aab6e965dd8bddab96b7
  Author: David Read <david.read at hackneyworkshop.com>
  Date:   2019-01-18 (Fri, 18 Jan 2019)

  Changed paths:
    M ckan/tests/controllers/test_organization.py
    M ckan/tests/controllers/test_package.py

  Log Message:
  -----------
  Add tests for activity stream


  Commit: 95c38f8cae05e107743213d764e45e2a9c4822aa
      https://github.com/ckan/ckan/commit/95c38f8cae05e107743213d764e45e2a9c4822aa
  Author: David Read <david.read at hackneyworkshop.com>
  Date:   2019-01-18 (Fri, 18 Jan 2019)

  Changed paths:
    M ckan/logic/action/get.py
    M ckan/model/activity.py
    M ckan/views/group.py

  Log Message:
  -----------
  Split group_activity_list off for when its an organization, so query can be based on owner_org.


  Commit: 4e8cef96ab87068b4c039a01916034c975c8129e
      https://github.com/ckan/ckan/commit/4e8cef96ab87068b4c039a01916034c975c8129e
  Author: David Read <david.read at hackneyworkshop.com>
  Date:   2019-01-18 (Fri, 18 Jan 2019)

  Changed paths:
    M ckan/model/activity.py
    M ckan/tests/controllers/test_group.py
    M ckan/tests/controllers/test_organization.py

  Log Message:
  -----------
  Fix group activity stream to show deleted datasets. Add tests.


  Commit: 6d3ede9b5ba447e90fbfab8e90c0effcf108299c
      https://github.com/ckan/ckan/commit/6d3ede9b5ba447e90fbfab8e90c0effcf108299c
  Author: David Read <david.read at hackneyworkshop.com>
  Date:   2019-01-18 (Fri, 18 Jan 2019)

  Changed paths:
    M ckan/views/group.py

  Log Message:
  -----------
  Fix to make sure we show html in the tempalte


  Commit: 07e5c0382d92e836eea743d34ba8eb280edd84cd
      https://github.com/ckan/ckan/commit/07e5c0382d92e836eea743d34ba8eb280edd84cd
  Author: David Read <david.read at hackneyworkshop.com>
  Date:   2019-01-18 (Fri, 18 Jan 2019)

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

  Log Message:
  -----------
  Fix tests


  Commit: ea276b8b073f4782f23d981c09692291a8d23c0e
      https://github.com/ckan/ckan/commit/ea276b8b073f4782f23d981c09692291a8d23c0e
  Author: David Read <david.read at hackneyworkshop.com>
  Date:   2019-01-18 (Fri, 18 Jan 2019)

  Changed paths:
    M ckan/tests/controllers/test_group.py
    M ckan/tests/controllers/test_organization.py
    M ckan/tests/controllers/test_package.py
    M ckan/tests/logic/action/test_get.py

  Log Message:
  -----------
  Move a couple of activity stream tests from the controllers to the action tests, where they are better suited.\nAdd lots of basic tests to action tests with a view to getting rid of ckan/tests/legacy/functional/api/test_activity.py


  Commit: c881587bf05f38ea6ffc60052a0209f98eccc098
      https://github.com/ckan/ckan/commit/c881587bf05f38ea6ffc60052a0209f98eccc098
  Author: David Read <david.read at hackneyworkshop.com>
  Date:   2019-01-18 (Fri, 18 Jan 2019)

  Changed paths:
    M ckan/tests/legacy/functional/api/test_activity.py
    M ckan/tests/logic/action/test_get.py

  Log Message:
  -----------
  Move activity stream tests from legacy to modern - related to extra fields. Not testing the ActivityDetail because thats going soon.


  Commit: d2079579bfbfdfeb97adb48da849d8100977de0f
      https://github.com/ckan/ckan/commit/d2079579bfbfdfeb97adb48da849d8100977de0f
  Author: David Read <david.read at hackneyworkshop.com>
  Date:   2019-01-18 (Fri, 18 Jan 2019)

  Changed paths:
    M ckan/tests/legacy/functional/api/test_activity.py
    M ckan/tests/logic/action/test_get.py

  Log Message:
  -----------
  Move activity stream tests from legacy to modern - related to resources


  Commit: bf4c7c787799f31925d258e74c92ae14ad4314e1
      https://github.com/ckan/ckan/commit/bf4c7c787799f31925d258e74c92ae14ad4314e1
  Author: David Read <david.read at hackneyworkshop.com>
  Date:   2019-01-18 (Fri, 18 Jan 2019)

  Changed paths:
    M ckan/logic/action/delete.py
    M ckan/tests/legacy/functional/api/test_activity.py
    M ckan/tests/logic/action/test_get.py

  Log Message:
  -----------
  Fix creating an Activity when you delete a group using group_delete.


  Commit: 6ee934f36203f40f91f95f72d3a128e93d29dc41
      https://github.com/ckan/ckan/commit/6ee934f36203f40f91f95f72d3a128e93d29dc41
  Author: David Read <david.read at hackneyworkshop.com>
  Date:   2019-01-19 (Sat, 19 Jan 2019)

  Changed paths:
    M ckan/tests/controllers/test_organization.py
    R ckan/tests/legacy/functional/api/test_activity.py
    M ckan/tests/logic/action/test_get.py
    M ckan/tests/logic/auth/test_create.py

  Log Message:
  -----------
  Completely replaced ckan/tests/legacy/functional/api/test_activity.py


  Commit: 0463be507a55810e4bbd2abbf9c83d233815fea1
      https://github.com/ckan/ckan/commit/0463be507a55810e4bbd2abbf9c83d233815fea1
  Author: David Read <david.read at hackneyworkshop.com>
  Date:   2019-01-19 (Sat, 19 Jan 2019)

  Changed paths:
    M ckan/logic/action/delete.py
    M ckan/logic/action/update.py
    M ckan/tests/controllers/test_group.py
    M ckan/tests/controllers/test_organization.py
    M ckan/tests/logic/action/test_get.py

  Log Message:
  -----------
  Fix: Deleting an organization via organization_update state=deleted displayed as "deleted the group" (instead of "organization")


  Commit: fef5cead91d80904a9bb50af2f8010c9c5ae495d
      https://github.com/ckan/ckan/commit/fef5cead91d80904a9bb50af2f8010c9c5ae495d
  Author: David Read <david.read at hackneyworkshop.com>
  Date:   2019-01-20 (Sun, 20 Jan 2019)

  Changed paths:
    M ckan/tests/controllers/test_user.py
    R ckan/tests/legacy/functional/test_activity.py
    M ckan/tests/logic/action/test_create.py

  Log Message:
  -----------
  Modernize tests from ckan/tests/legacy/functional/test_activity.py


  Commit: f54e2b72f4d991256c455af6f1dec4aaf4551326
      https://github.com/ckan/ckan/commit/f54e2b72f4d991256c455af6f1dec4aaf4551326
  Author: David Read <david.read at hackneyworkshop.com>
  Date:   2019-01-20 (Sun, 20 Jan 2019)

  Changed paths:
    R ckan/tests/legacy/functional/api/test_dashboard.py
    M ckan/tests/logic/action/test_get.py
    M ckan/tests/logic/action/test_update.py
    M ckan/views/dashboard.py

  Log Message:
  -----------
  Modernize tests ckan/tests/legacy/functional/api/test_dashboard.py


  Commit: 070d19979856fa25f43b46be2818c3387e08ac69
      https://github.com/ckan/ckan/commit/070d19979856fa25f43b46be2818c3387e08ac69
  Author: David Read <david.read at hackneyworkshop.com>
  Date:   2019-02-01 (Fri, 01 Feb 2019)

  Changed paths:
    M .github/ISSUE_TEMPLATE.md
    M CHANGELOG.rst
    A bin/remove-old-git-branches.sh
    M ckan/config/deployment.ini_tmpl
    M ckan/config/middleware/flask_app.py
    M ckan/lib/jobs.py
    M ckan/logic/validators.py
    M ckan/templates-bs2/group/member_new.html
    M ckan/templates-bs2/organization/member_new.html
    M ckan/templates/group/member_new.html
    M ckan/templates/organization/member_new.html
    M ckan/tests/controllers/test_api.py
    M ckan/tests/controllers/test_organization.py
    M ckan/tests/controllers/test_package.py
    M ckan/tests/controllers/test_util.py
    M ckan/tests/helpers.py
    M ckan/tests/legacy/__init__.py
    M ckan/tests/legacy/functional/api/base.py
    M ckan/tests/legacy/functional/api/model/test_ratings.py
    M ckan/tests/legacy/functional/api/model/test_tag.py
    M ckan/tests/legacy/functional/api/model/test_vocabulary.py
    M ckan/tests/legacy/functional/api/test_api.py
    M ckan/tests/legacy/functional/api/test_email_notifications.py
    M ckan/tests/legacy/functional/api/test_follow.py
    M ckan/tests/legacy/functional/api/test_package_search.py
    M ckan/tests/legacy/functional/api/test_user.py
    M ckan/tests/legacy/functional/api/test_util.py
    M ckan/tests/legacy/functional/test_package.py
    M ckan/tests/legacy/functional/test_user.py
    M ckan/tests/legacy/lib/test_cli.py
    M ckan/tests/legacy/lib/test_dictization.py
    M ckan/tests/legacy/lib/test_hash.py
    M ckan/tests/legacy/lib/test_tag_search.py
    M ckan/tests/legacy/logic/test_action.py
    M ckan/tests/legacy/logic/test_auth.py
    M ckan/tests/legacy/misc/test_mock_mail_server.py
    M ckan/tests/legacy/misc/test_sync.py
    M ckan/tests/legacy/models/test_package_relationships.py
    M ckan/tests/legacy/models/test_resource.py
    M ckan/tests/legacy/models/test_revision.py
    M ckan/tests/legacy/test_coding_standards.py
    M ckan/tests/lib/search/test_index.py
    M ckan/tests/lib/test_jobs.py
    M ckan/tests/lib/test_navl.py
    M ckan/tests/logic/action/test_patch.py
    M ckan/tests/logic/test_conversion.py
    M ckan/tests/logic/test_validators.py
    M ckan/tests/model/test_system_info.py
    M ckanext/datastore/backend/postgres.py
    M ckanext/datastore/controller.py
    M ckanext/datastore/logic/action.py
    M ckanext/datastore/logic/schema.py
    M ckanext/datastore/tests/test_dump.py
    M ckanext/datastore/tests/test_search.py
    M ckanext/reclineview/theme/public/widget.recordcount.js
    M contrib/docker/ckan-entrypoint.sh
    M contrib/docker/docker-compose.yml
    M doc/maintaining/background-tasks.rst
    M doc/maintaining/configuration.rst
    M doc/maintaining/datastore.rst
    M test-core.ini

  Log Message:
  -----------
  Merge branch 'master' into activity-stream-fixes


  Commit: 4f8513579d575de8c275f2beedff67013046566c
      https://github.com/ckan/ckan/commit/4f8513579d575de8c275f2beedff67013046566c
  Author: David Read <david.read at hackneyworkshop.com>
  Date:   2019-02-01 (Fri, 01 Feb 2019)

  Changed paths:
    M .travis.yml

  Log Message:
  -----------
  Merge branch 'master' into activity-stream-fixes


  Commit: 23998d3762c0b5c886d0c00a811c9e4034f71a86
      https://github.com/ckan/ckan/commit/23998d3762c0b5c886d0c00a811c9e4034f71a86
  Author: David Read <david.read at hackneyworkshop.com>
  Date:   2019-02-01 (Fri, 01 Feb 2019)

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

  Log Message:
  -----------
  Fix indent


  Commit: fb38f34b9228b435f8793cb434ba4db6d3f147d0
      https://github.com/ckan/ckan/commit/fb38f34b9228b435f8793cb434ba4db6d3f147d0
  Author: David Read <david.read at hackneyworkshop.com>
  Date:   2019-02-01 (Fri, 01 Feb 2019)

  Changed paths:
    M ckan/logic/action/delete.py
    M ckan/logic/action/get.py
    M ckan/logic/action/update.py
    M ckan/model/activity.py
    M ckan/tests/controllers/test_group.py
    M ckan/tests/controllers/test_organization.py
    M ckan/tests/controllers/test_package.py
    M ckan/tests/controllers/test_user.py
    R ckan/tests/legacy/functional/api/test_activity.py
    R ckan/tests/legacy/functional/api/test_dashboard.py
    R ckan/tests/legacy/functional/test_activity.py
    M ckan/tests/logic/action/test_create.py
    M ckan/tests/logic/action/test_get.py
    M ckan/tests/logic/action/test_update.py
    M ckan/tests/logic/auth/test_create.py
    M ckan/views/dashboard.py
    M ckan/views/group.py

  Log Message:
  -----------
  Merge pull request #4626 from ckan/activity-stream-fixes

Activity Stream deleted datasets fix


Compare: https://github.com/ckan/ckan/compare/e3f3fa0f85f2...fb38f34b9228


More information about the ckan-changes mailing list