[ckan-changes] [ckan/ckan] 7e516d: Check ValueError in url_validator

Sergey noreply at github.com
Sun Jun 16 14:23:45 UTC 2019


  Branch: refs/heads/dev-v2.6
  Home:   https://github.com/ckan/ckan
  Commit: 7e516dabe30629108d44566c972a8be0031d5625
      https://github.com/ckan/ckan/commit/7e516dabe30629108d44566c972a8be0031d5625
  Author: Stefan Oderbolz <stefan.oderbolz at liip.ch>
  Date:   2019-06-16 (Sun, 16 Jun 2019)

  Changed paths:
    M ckan/logic/validators.py
    M ckan/tests/logic/test_validators.py

  Log Message:
  -----------
  Check ValueError in url_validator

If an invalid URL is provided to urlparse (e.g. `https://example.com]`)
it might raise a ValueError. This breaks the url_validator.
This PR aims to fix that and simply add the error msg if a ValueError
occurs.


  Commit: 36809c1100613b120797ce2f17abf1a16506ea8b
      https://github.com/ckan/ckan/commit/36809c1100613b120797ce2f17abf1a16506ea8b
  Author: Stefan Oderbolz <stefan.oderbolz at liip.ch>
  Date:   2019-06-16 (Sun, 16 Jun 2019)

  Changed paths:
    M ckan/logic/validators.py

  Log Message:
  -----------
  Remove unneeded variables


  Commit: 9f3640efd553a14bcee2edb736be1b784dc47873
      https://github.com/ckan/ckan/commit/9f3640efd553a14bcee2edb736be1b784dc47873
  Author: Francesco Frassinelli <francesco.frassinelli at nina.no>
  Date:   2019-06-16 (Sun, 16 Jun 2019)

  Changed paths:
    M ckan/public/base/javascript/modules/resource-upload-field.js

  Log Message:
  -----------
  Strip local path when uploading (IE fix)


  Commit: b58fe1ce5c7c9e934b4d62d18c55143925952f87
      https://github.com/ckan/ckan/commit/b58fe1ce5c7c9e934b4d62d18c55143925952f87
  Author: Shahar Evron <shahar at shoppimon.com>
  Date:   2019-06-16 (Sun, 16 Jun 2019)

  Changed paths:
    M ckan/public/base/less/ckan.less

  Log Message:
  -----------
  Increase size of h1 headings to 1.8em


  Commit: d988ddd66ccf6323220a6e7f5a2d6b665bf867b3
      https://github.com/ckan/ckan/commit/d988ddd66ccf6323220a6e7f5a2d6b665bf867b3
  Author: Shahar Evron <shahar at shoppimon.com>
  Date:   2019-06-16 (Sun, 16 Jun 2019)

  Changed paths:
    M ckan/templates/user/read_base.html

  Log Message:
  -----------
  Fix block / div nesting in the user/read_base template


  Commit: 56a3dd9d85da5dadac555c05ab274ee10de4bbe8
      https://github.com/ckan/ckan/commit/56a3dd9d85da5dadac555c05ab274ee10de4bbe8
  Author: Sergey Motornyuk <sergey.motornyuk at linkdigital.com.au>
  Date:   2019-06-16 (Sun, 16 Jun 2019)

  Changed paths:
    M ckan/public/base/javascript/modules/resource-upload-field.min.js

  Log Message:
  -----------
  Rebuild front-end


  Commit: 63e54d70cf5740c7c95cfbaa29632661aa507ba3
      https://github.com/ckan/ckan/commit/63e54d70cf5740c7c95cfbaa29632661aa507ba3
  Author: Sergey Motornyuk <sergey.motornyuk at linkdigital.com.au>
  Date:   2019-06-16 (Sun, 16 Jun 2019)

  Changed paths:
    M ckan/__init__.py

  Log Message:
  -----------
  update version to 2.6.8b


  Commit: 4a809ca8c4115dc13aa162a2487f1cb8bf545c5c
      https://github.com/ckan/ckan/commit/4a809ca8c4115dc13aa162a2487f1cb8bf545c5c
  Author: Sergey Motornyuk <sergey.motornyuk at linkdigital.com.au>
  Date:   2019-06-16 (Sun, 16 Jun 2019)

  Changed paths:
    M CHANGELOG.rst

  Log Message:
  -----------
  Update CHANGELOG.rst


Compare: https://github.com/ckan/ckan/compare/77ba71afa04b...4a809ca8c411


More information about the ckan-changes mailing list