[ckan-changes] [ckan/ckan] 05375b: If a test app exists, reset it for each test

GitHub noreply at github.com
Tue May 24 10:03:42 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/ckan/ckan
  Commit: 05375b57cb80f80f4510f47964eb457bb85758b1
      https://github.com/ckan/ckan/commit/05375b57cb80f80f4510f47964eb457bb85758b1
  Author: Louis des Landes <ldeslandes at swin.edu.au>
  Date:   2016-05-19 (Thu, 19 May 2016)

  Changed paths:
    M ckan/tests/helpers.py

  Log Message:
  -----------
  If a test app exists, reset it for each test


  Commit: 991c40c48dd9d9a853e98275618872b025c485f5
      https://github.com/ckan/ckan/commit/991c40c48dd9d9a853e98275618872b025c485f5
  Author: Louis des Landes <ldeslandes at swin.edu.au>
  Date:   2016-05-19 (Thu, 19 May 2016)

  Changed paths:
    M ckan/controllers/user.py
    M ckan/tests/controllers/test_user.py

  Log Message:
  -----------
  Fix user log out on username change

Fixes #2394


  Commit: 41039d48188fd058736eec03d10e0f6b2606ac35
      https://github.com/ckan/ckan/commit/41039d48188fd058736eec03d10e0f6b2606ac35
  Author: Knut Hühne <knut at k-nut.eu>
  Date:   2016-05-20 (Fri, 20 May 2016)

  Changed paths:
    M ckan/logic/action/get.py
    M ckan/tests/controllers/test_organization.py

  Log Message:
  -----------
  [#2990] Create 403 on organization_index if user has no permission


  Commit: 0fa410b710e8d06c2d1e698772237dfa937e5d54
      https://github.com/ckan/ckan/commit/0fa410b710e8d06c2d1e698772237dfa937e5d54
  Author: Knut Hühne <knut at k-nut.eu>
  Date:   2016-05-20 (Fri, 20 May 2016)

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

  Log Message:
  -----------
  [#2990] Add test for organization_list

- The test makes sure that the response is a 403
- Mosly this is to make sure that the view renders at all and that it
  does not throw an exception in the backend anymore like it used to


  Commit: bcc644f67dcc983a127f31ce9fc44d6b6924c711
      https://github.com/ckan/ckan/commit/bcc644f67dcc983a127f31ce9fc44d6b6924c711
  Author: Knut Hühne <knut at k-nut.eu>
  Date:   2016-05-20 (Fri, 20 May 2016)

  Changed paths:
    M ckan/controllers/group.py
    M ckan/logic/action/get.py

  Log Message:
  -----------
  [#2990] Move check for permission to controller


  Commit: 3c802655579f2e94087626f55f3d09ed6531b20b
      https://github.com/ckan/ckan/commit/3c802655579f2e94087626f55f3d09ed6531b20b
  Author: Knut Hühne <knut at k-nut.eu>
  Date:   2016-05-20 (Fri, 20 May 2016)

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

  Log Message:
  -----------
  [#2990] remove stray import


  Commit: b1f9c75fedf9beadc16ae4a10eed73ac723cb336
      https://github.com/ckan/ckan/commit/b1f9c75fedf9beadc16ae4a10eed73ac723cb336
  Author: Knut Hühne <knut at k-nut.eu>
  Date:   2016-05-20 (Fri, 20 May 2016)

  Changed paths:
    M ckan/templates/group/index.html
    M ckan/tests/controllers/test_group.py

  Log Message:
  -----------
  [#2981] Preserve sort order in groups on pagination

- Uses the same code that was introuced in #2153 for organizations
- Changes the tests to sort descending so that they actually make sure
  that the sort order is not changed


  Commit: 4d64ec6c2b9e7d62ced5d2780df2b1f4da131546
      https://github.com/ckan/ckan/commit/4d64ec6c2b9e7d62ced5d2780df2b1f4da131546
  Author: Knut Hühne <knut at k-nut.eu>
  Date:   2016-05-23 (Mon, 23 May 2016)

  Changed paths:
    M ckan/tests/legacy/functional/test_pagination.py

  Log Message:
  -----------
  [#2981] add empty params to paginated url in tests


  Commit: b0f0cd2c46d55b46b2502782981c1c5dcfc1f99d
      https://github.com/ckan/ckan/commit/b0f0cd2c46d55b46b2502782981c1c5dcfc1f99d
  Author: Louis des Landes <ldeslandes at swin.edu.au>
  Date:   2016-05-24 (Tue, 24 May 2016)

  Changed paths:
    M ckan/controllers/group.py
    M ckan/lib/plugins.py
    M ckanext/example_igroupform/plugin.py
    M ckanext/example_igroupform/tests/test_controllers.py
    M setup.py

  Log Message:
  -----------
  Add missing routes to IGroupForm

(And fix bulk process to check 'is_organization' instead of the group type)


  Commit: 8f17532c09b4b94749d3c5dc040bec9163d2dee3
      https://github.com/ckan/ckan/commit/8f17532c09b4b94749d3c5dc040bec9163d2dee3
  Author: amercader <amercadero at gmail.com>
  Date:   2016-05-24 (Tue, 24 May 2016)

  Changed paths:
    M ckan/controllers/user.py
    M ckan/tests/controllers/test_user.py
    M ckan/tests/helpers.py

  Log Message:
  -----------
  Merge branch 'bugfix/username-change-error' of https://github.com/Psykar/ckan into Psykar-bugfix/username-change-error


  Commit: e5381619538a8ee259eb4f34a8c76e15c8b16092
      https://github.com/ckan/ckan/commit/e5381619538a8ee259eb4f34a8c76e15c8b16092
  Author: amercader <amercadero at gmail.com>
  Date:   2016-05-24 (Tue, 24 May 2016)

  Changed paths:
    M ckan/controllers/user.py
    M ckan/tests/controllers/test_user.py
    M ckan/tests/helpers.py

  Log Message:
  -----------
  Merge branch 'Psykar-bugfix/username-change-error'


  Commit: 391ebe760936653d7757e8c2e3d92598fe58f96b
      https://github.com/ckan/ckan/commit/391ebe760936653d7757e8c2e3d92598fe58f96b
  Author: amercader <amercadero at gmail.com>
  Date:   2016-05-24 (Tue, 24 May 2016)

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

  Log Message:
  -----------
  Merge branch '2990-server-error-for-organization_list' of https://github.com/k-nut/ckan into k-nut-2990-server-error-for-organization_list


  Commit: 28eb8c0c0ced20af753d537d6c0181c784357b32
      https://github.com/ckan/ckan/commit/28eb8c0c0ced20af753d537d6c0181c784357b32
  Author: amercader <amercadero at gmail.com>
  Date:   2016-05-24 (Tue, 24 May 2016)

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

  Log Message:
  -----------
  Merge branch 'k-nut-2990-server-error-for-organization_list'


  Commit: 1437d5567d44c0efa2bf173478bde5f3fd5c1206
      https://github.com/ckan/ckan/commit/1437d5567d44c0efa2bf173478bde5f3fd5c1206
  Author: amercader <amercadero at gmail.com>
  Date:   2016-05-24 (Tue, 24 May 2016)

  Changed paths:
    M ckan/controllers/group.py
    M ckan/lib/plugins.py
    M ckanext/example_igroupform/plugin.py
    M ckanext/example_igroupform/tests/test_controllers.py
    M setup.py

  Log Message:
  -----------
  Merge branch 'feature/IGroupForm-routes' of https://github.com/Psykar/ckan into Psykar-feature/IGroupForm-routes


  Commit: a74370286111945f60128a7bdca68db5fa76dc8c
      https://github.com/ckan/ckan/commit/a74370286111945f60128a7bdca68db5fa76dc8c
  Author: amercader <amercadero at gmail.com>
  Date:   2016-05-24 (Tue, 24 May 2016)

  Changed paths:
    M ckan/controllers/group.py
    M ckan/lib/plugins.py
    M ckanext/example_igroupform/plugin.py
    M ckanext/example_igroupform/tests/test_controllers.py
    M setup.py

  Log Message:
  -----------
  Merge branch 'Psykar-feature/IGroupForm-routes'


  Commit: ebcbb05edecaaefc32e65c0b630b3c6bd210a71f
      https://github.com/ckan/ckan/commit/ebcbb05edecaaefc32e65c0b630b3c6bd210a71f
  Author: amercader <amercadero at gmail.com>
  Date:   2016-05-24 (Tue, 24 May 2016)

  Changed paths:
    M ckan/templates/group/index.html
    M ckan/tests/controllers/test_group.py
    M ckan/tests/legacy/functional/test_pagination.py

  Log Message:
  -----------
  Merge branch '2981-preserve-group-sort-order-on-pagination' of https://github.com/k-nut/ckan


  Commit: 7363a402c4506520e8b163998e426f2de1b4e6e5
      https://github.com/ckan/ckan/commit/7363a402c4506520e8b163998e426f2de1b4e6e5
  Author: amercader <amercadero at gmail.com>
  Date:   2016-05-24 (Tue, 24 May 2016)

  Changed paths:
    M ckan/templates/group/index.html
    M ckan/tests/controllers/test_group.py
    M ckan/tests/legacy/functional/test_pagination.py

  Log Message:
  -----------
  Merge branch 'k-nut-2981-preserve-group-sort-order-on-pagination'


Compare: https://github.com/ckan/ckan/compare/1fae410b2fd9...7363a402c450


More information about the ckan-changes mailing list