[ckan-changes] [ckan/ckan] aa2a57: [#4801] Catch exception outside request context

Adrià Mercader noreply at github.com
Thu Nov 28 12:58:55 UTC 2019


  Branch: refs/heads/py3-general-support-2
  Home:   https://github.com/ckan/ckan
  Commit: aa2a57ef656ae0349d14ef555f46ccbc82161880
      https://github.com/ckan/ckan/commit/aa2a57ef656ae0349d14ef555f46ccbc82161880
  Author: amercader <amercadero at gmail.com>
  Date:   2019-11-28 (Thu, 28 Nov 2019)

  Changed paths:
    M ckan/logic/__init__.py

  Log Message:
  -----------
  [#4801] Catch exception outside request context


  Commit: 690a33f9da2df204acf99aa46550b2514342a8d5
      https://github.com/ckan/ckan/commit/690a33f9da2df204acf99aa46550b2514342a8d5
  Author: amercader <amercadero at gmail.com>
  Date:   2019-11-28 (Thu, 28 Nov 2019)

  Changed paths:
    M ckan/lib/fanstatic_resources.py
    M scripts/4042_fix_resource_extras.py

  Log Message:
  -----------
  [#4801] Rename configparser module


  Commit: 9851dd372a71af3097971893ea6825f70e7e65d0
      https://github.com/ckan/ckan/commit/9851dd372a71af3097971893ea6825f70e7e65d0
  Author: amercader <amercadero at gmail.com>
  Date:   2019-11-28 (Thu, 28 Nov 2019)

  Changed paths:
    M requirements.in
    M requirements.txt

  Log Message:
  -----------
  [#4801] Upgrade fanstatic on to a py3 compatible version (only in py3)


  Commit: 5a6e7ad0888bfab6b28fa64819a63db6ebc9fada
      https://github.com/ckan/ckan/commit/5a6e7ad0888bfab6b28fa64819a63db6ebc9fada
  Author: amercader <amercadero at gmail.com>
  Date:   2019-11-28 (Thu, 28 Nov 2019)

  Changed paths:
    M ckan/views/admin.py
    M ckan/views/dataset.py
    M ckan/views/home.py
    M ckan/views/resource.py

  Log Message:
  -----------
  [#4801] Don't import stuff from the old controllers


  Commit: 0018cc2fec696f65080bbe42cbc15c1c904d3135
      https://github.com/ckan/ckan/commit/0018cc2fec696f65080bbe42cbc15c1c904d3135
  Author: amercader <amercadero at gmail.com>
  Date:   2019-11-28 (Thu, 28 Nov 2019)

  Changed paths:
    M ckan/lib/app_globals.py

  Log Message:
  -----------
  [#4801] Don't decode str in py3


  Commit: 1640a46fac313c389d790966562f58cba0bc7bd9
      https://github.com/ckan/ckan/commit/1640a46fac313c389d790966562f58cba0bc7bd9
  Author: amercader <amercadero at gmail.com>
  Date:   2019-11-28 (Thu, 28 Nov 2019)

  Changed paths:
    M ckan/plugins/toolkit.py

  Log Message:
  -----------
  [#4801] Avoid using h.url_for_static when adding a public folder

As at this point there isn't a Flask app context yet and we can't call
the url_for function. But if I understand the code correctly we just
want a link to the root of the site, taking into account stuff like root
path settings etc


  Commit: 3d9c30d5a33d82d6ba39d392f9ca48a813cd8623
      https://github.com/ckan/ckan/commit/3d9c30d5a33d82d6ba39d392f9ca48a813cd8623
  Author: amercader <amercadero at gmail.com>
  Date:   2019-11-28 (Thu, 28 Nov 2019)

  Changed paths:
    M ckan/lib/authenticator.py
    M ckan/lib/repoze_plugins/friendly_form.py

  Log Message:
  -----------
  [#4801] Use the implementer decorator from zope.interface

Rather than the implements method, as this is only supported on py2

https://twistedmatrix.com/pipermail/twisted-python/2013-January/026414.html


  Commit: 26a790c5100796363935d66684ad6201ffb7a137
      https://github.com/ckan/ckan/commit/26a790c5100796363935d66684ad6201ffb7a137
  Author: amercader <amercadero at gmail.com>
  Date:   2019-11-28 (Thu, 28 Nov 2019)

  Changed paths:
    M ckan/controllers/error.py
    M ckan/lib/base.py
    M ckan/lib/helpers.py
    A ckan/lib/pagination.py
    M ckan/plugins/toolkit.py
    M ckan/tests/legacy/functional/api/base.py
    M ckan/tests/legacy/functional/api/test_package_search.py
    M ckan/tests/legacy/lib/test_helpers.py
    M ckan/tests/lib/test_helpers.py
    M ckan/views/feed.py
    M requirements-py2.in
    M requirements-py2.txt
    M requirements.in
    M requirements.txt

  Log Message:
  -----------
  Merge branch 'master' into py3-general-support-2


  Commit: d1ef3fa53fea632c751d45bc87438d65157581b6
      https://github.com/ckan/ckan/commit/d1ef3fa53fea632c751d45bc87438d65157581b6
  Author: amercader <amercadero at gmail.com>
  Date:   2019-11-28 (Thu, 28 Nov 2019)

  Changed paths:
    M ckan/views/feed.py

  Log Message:
  -----------
  Remove webhelpers based class


  Commit: 01605f1d436cfb2ed5ebc3509e36ee2d98d79c86
      https://github.com/ckan/ckan/commit/01605f1d436cfb2ed5ebc3509e36ee2d98d79c86
  Author: amercader <amercadero at gmail.com>
  Date:   2019-11-28 (Thu, 28 Nov 2019)

  Changed paths:
    M ckan/views/group.py

  Log Message:
  -----------
  [#4801] Remove unused imports (including pylons one) in group view


Compare: https://github.com/ckan/ckan/compare/aa2a57ef656a%5E...01605f1d436c


More information about the ckan-changes mailing list