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

GitHub noreply at github.com
Thu Jun 29 16:48:03 UTC 2017


  Branch: refs/heads/release-v2.4.8
  Home:   https://github.com/ckan/ckan
  Commit: 0aa68b7e9afb3ef68754bd4e68e71a6c584f30f3
      https://github.com/ckan/ckan/commit/0aa68b7e9afb3ef68754bd4e68e71a6c584f30f3
  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: e668866c605fa336b6b42f554b42b4559db2cf32
      https://github.com/ckan/ckan/commit/e668866c605fa336b6b42f554b42b4559db2cf32
  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: 781a13c589b7ea31b75ea1d61a868970bc77cb7a
      https://github.com/ckan/ckan/commit/781a13c589b7ea31b75ea1d61a868970bc77cb7a
  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: b90a24fd35062c6d0d49bb6d9d951f9221d56b81
      https://github.com/ckan/ckan/commit/b90a24fd35062c6d0d49bb6d9d951f9221d56b81
  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: cae93e72c719cf8321d0b7b8474cd9f9f696786e
      https://github.com/ckan/ckan/commit/cae93e72c719cf8321d0b7b8474cd9f9f696786e
  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: 76f1c3ad203d1068e12a2825f407b8db7a80115f
      https://github.com/ckan/ckan/commit/76f1c3ad203d1068e12a2825f407b8db7a80115f
  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: f90cdb158b8625604ebef04424c56ffe2a18a954
      https://github.com/ckan/ckan/commit/f90cdb158b8625604ebef04424c56ffe2a18a954
  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: ec961c45c830fba25dfc3c1a10da039f0a3380aa
      https://github.com/ckan/ckan/commit/ec961c45c830fba25dfc3c1a10da039f0a3380aa
  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: f9a5fb84efb28240b8420e342fd65ba1a8730580
      https://github.com/ckan/ckan/commit/f9a5fb84efb28240b8420e342fd65ba1a8730580
  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: 66755563c8f74335ddfc435bc861c4c3896262bb
      https://github.com/ckan/ckan/commit/66755563c8f74335ddfc435bc861c4c3896262bb
  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: 1783e7fe9ed2375a94fb696726de9498becb0cf6
      https://github.com/ckan/ckan/commit/1783e7fe9ed2375a94fb696726de9498becb0cf6
  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/72d00ba11e06...1783e7fe9ed2


More information about the ckan-changes mailing list