[ckan-changes] [ckan/ckan] e9000f: [#3644] Fix activity test to use utcnow

GitHub noreply at github.com
Thu Jun 29 17:17:02 UTC 2017


  Branch: refs/heads/dev-v2.6
  Home:   https://github.com/ckan/ckan
  Commit: e9000f0ec2f74d21ac2bcfb85390d27f17d70ee2
      https://github.com/ckan/ckan/commit/e9000f0ec2f74d21ac2bcfb85390d27f17d70ee2
  Author: amercader <amercadero at gmail.com>
  Date:   2017-06-29 (Thu, 29 Jun 2017)

  Changed paths:
    M ckan/tests/logic/action/test_update.py

  Log Message:
  -----------
  [#3644] Fix activity test to use utcnow


  Commit: b499f8aab5fee8ac75d2f12a13bec0fb1dbdbdf8
      https://github.com/ckan/ckan/commit/b499f8aab5fee8ac75d2f12a13bec0fb1dbdbdf8
  Author: iewil <liwei at data.gov.sg>
  Date:   2017-06-29 (Thu, 29 Jun 2017)

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

  Log Message:
  -----------
  Changed required permission from 'update' to 'manage_group'


  Commit: afd03e49c9d866038d2d362e90f7c7413a372574
      https://github.com/ckan/ckan/commit/afd03e49c9d866038d2d362e90f7c7413a372574
  Author: amercader <amercadero at gmail.com>
  Date:   2017-06-29 (Thu, 29 Jun 2017)

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

  Log Message:
  -----------
  Catch invalid sort param exception

Providing a sort param like `sort=title xx desc` or `sort=title xx`
causes an exception due to an uncaught `ValidationError`


  Commit: 1a442a41cff9274c7e18f3f2f84084a4375b1006
      https://github.com/ckan/ckan/commit/1a442a41cff9274c7e18f3f2f84084a4375b1006
  Author: amercader <amercadero at gmail.com>
  Date:   2017-06-29 (Thu, 29 Jun 2017)

  Changed paths:
    M ckan/controllers/group.py

  Log Message:
  -----------
  pep8 fix


  Commit: 0dbe05687048c2a282e416674f85dce0465fed31
      https://github.com/ckan/ckan/commit/0dbe05687048c2a282e416674f85dce0465fed31
  Author: Sergey Motornyuk <sergey.motornyuk at linkdigital.com.au>
  Date:   2017-06-29 (Thu, 29 Jun 2017)

  Changed paths:
    M ckan/model/package.py
    M ckan/tests/legacy/models/test_package_relationships.py

  Log Message:
  -----------
  Choose direction of recreated relationship depending on its type


  Commit: 04e25b809de3a962b7d4ad9f60b855376fc0bbba
      https://github.com/ckan/ckan/commit/04e25b809de3a962b7d4ad9f60b855376fc0bbba
  Author: Aleksandar Jovanov <aleksandar.jovanov at keitaro.com>
  Date:   2017-06-29 (Thu, 29 Jun 2017)

  Changed paths:
    M ckan/lib/helpers.py

  Log Message:
  -----------
  [#2228] Fix render_datetime error for year before 1900

There is a bug in Python in datetime.strftime where if a passed year is before 1900 it will raise a ValueError


  Commit: a9771c0519074d99f4ba872f09271d9306f0d67e
      https://github.com/ckan/ckan/commit/a9771c0519074d99f4ba872f09271d9306f0d67e
  Author: Aleksandar Jovanov <aleksandar.jovanov at keitaro.com>
  Date:   2017-06-29 (Thu, 29 Jun 2017)

  Changed paths:
    M ckan/tests/legacy/lib/test_helpers.py

  Log Message:
  -----------
  [#2228] Add additional test for render_datetime


  Commit: a65c56b45733adf3b090a44e77dc0db8a20efb27
      https://github.com/ckan/ckan/commit/a65c56b45733adf3b090a44e77dc0db8a20efb27
  Author: Aleksandar Jovanov <aleksandar.jovanov at keitaro.com>
  Date:   2017-06-29 (Thu, 29 Jun 2017)

  Changed paths:
    M ckan/lib/helpers.py

  Log Message:
  -----------
  [#2228] Use regexp to replace year


  Commit: 760aaca29202c8b93cef478022162cd3f05b2735
      https://github.com/ckan/ckan/commit/760aaca29202c8b93cef478022162cd3f05b2735
  Author: Aleksandar Jovanov <aleksandar.jovanov at keitaro.com>
  Date:   2017-06-29 (Thu, 29 Jun 2017)

  Changed paths:
    M ckan/tests/legacy/lib/test_helpers.py

  Log Message:
  -----------
  [#2228] Add additional test for render_datetime


  Commit: 209dd7cddc10172d643c71e0b299cf9f6a500e33
      https://github.com/ckan/ckan/commit/209dd7cddc10172d643c71e0b299cf9f6a500e33
  Author: Carl Lange <carl at flax.ie>
  Date:   2017-06-29 (Thu, 29 Jun 2017)

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

  Log Message:
  -----------
  Don't a 500 when printing the validation errors.

If there's no 'resources' key, or the error is on a different resource,
just prints the base error_dict.


  Commit: 1dbe89eff16ef132927300e3a24f68ba87ca1f89
      https://github.com/ckan/ckan/commit/1dbe89eff16ef132927300e3a24f68ba87ca1f89
  Author: Sergey Motornyuk <sergey.motornyuk at linkdigital.com.au>
  Date:   2017-06-29 (Thu, 29 Jun 2017)

  Changed paths:
    M CHANGELOG.rst

  Log Message:
  -----------
  Updated changelog


Compare: https://github.com/ckan/ckan/compare/74fdd7883c7e...1dbe89eff16e


More information about the ckan-changes mailing list