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

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


  Branch: refs/heads/release-v2.5.6
  Home:   https://github.com/ckan/ckan
  Commit: b4d707262096c971ae97eb0df11a0c07835297e1
      https://github.com/ckan/ckan/commit/b4d707262096c971ae97eb0df11a0c07835297e1
  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: 836d84189362a98f56ffd77fe7119b3a95d9b371
      https://github.com/ckan/ckan/commit/836d84189362a98f56ffd77fe7119b3a95d9b371
  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: 337e14d91773572715a460213206dee7063c9df6
      https://github.com/ckan/ckan/commit/337e14d91773572715a460213206dee7063c9df6
  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: 033f782c97b487860435959e932d2f77113d43d2
      https://github.com/ckan/ckan/commit/033f782c97b487860435959e932d2f77113d43d2
  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: 537d6b57c912322b7bb5e5788d6b023308f952e5
      https://github.com/ckan/ckan/commit/537d6b57c912322b7bb5e5788d6b023308f952e5
  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: 2a5a388607221abbae38a2cf7f990d934e39af0e
      https://github.com/ckan/ckan/commit/2a5a388607221abbae38a2cf7f990d934e39af0e
  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: 1019eda5b2decf23338f3ae5c4e67a6e473ad4c1
      https://github.com/ckan/ckan/commit/1019eda5b2decf23338f3ae5c4e67a6e473ad4c1
  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: 5795eca17a74257957f258b9ecabc1aba14876c8
      https://github.com/ckan/ckan/commit/5795eca17a74257957f258b9ecabc1aba14876c8
  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: afaa03c90d20fa81e0386cac507cf8d3e71ac040
      https://github.com/ckan/ckan/commit/afaa03c90d20fa81e0386cac507cf8d3e71ac040
  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: d9251caf619e7ce2f0358c98ccd5659feddacd9f
      https://github.com/ckan/ckan/commit/d9251caf619e7ce2f0358c98ccd5659feddacd9f
  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: fa17596f1bb6b67ff0b0dae55d13ff78ec67d964
      https://github.com/ckan/ckan/commit/fa17596f1bb6b67ff0b0dae55d13ff78ec67d964
  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/1a40b08ea6c0...fa17596f1bb6


More information about the ckan-changes mailing list