[ckan-changes] [ckan/ckan] dc3d25: fixing problem with reindex-fast on CKAN 2.7

Adrià Mercader noreply at github.com
Wed Jul 3 09:40:58 UTC 2019


  Branch: refs/heads/2.7
  Home:   https://github.com/ckan/ckan
  Commit: dc3d25ed6ef9f96387eb848d6624c5c1ae74ad8a
      https://github.com/ckan/ckan/commit/dc3d25ed6ef9f96387eb848d6624c5c1ae74ad8a
  Author: Alexandru Gartner <alexandru-m-g at users.noreply.github.com>
  Date:   2019-06-16 (Sun, 16 Jun 2019)

  Changed paths:
    M ckan/lib/cli.py

  Log Message:
  -----------
  fixing problem with reindex-fast on CKAN 2.7

I didn't test this on 2.8 but it might be needed there as well from what i see in the code there


  Commit: debb0280d7f583c8d3672ee648e07a59bc5e125f
      https://github.com/ckan/ckan/commit/debb0280d7f583c8d3672ee648e07a59bc5e125f
  Author: David Read <david.read at hackneyworkshop.com>
  Date:   2019-06-16 (Sun, 16 Jun 2019)

  Changed paths:
    M ckan/lib/navl/validators.py
    M ckan/tests/legacy/lib/test_navl.py
    M ckan/tests/lib/navl/test_validators.py
    M ckanext/datastore/controller.py
    M ckanext/datastore/tests/test_search.py

  Log Message:
  -----------
  Fix and test for include_total not working, because of the default() validator was broken.


  Commit: 9be672b4e9280e0552ccc5e66246364e3d89b116
      https://github.com/ckan/ckan/commit/9be672b4e9280e0552ccc5e66246364e3d89b116
  Author: David Read <david.read at hackneyworkshop.com>
  Date:   2019-06-16 (Sun, 16 Jun 2019)

  Changed paths:
    M ckanext/datastore/controller.py
    M ckanext/datastore/tests/test_search.py

  Log Message:
  -----------
  Address review comments


  Commit: 587c6064b2007ee05d7264c95402c9927a0ff446
      https://github.com/ckan/ckan/commit/587c6064b2007ee05d7264c95402c9927a0ff446
  Author: David Read <david.read at hackneyworkshop.com>
  Date:   2019-06-16 (Sun, 16 Jun 2019)

  Changed paths:
    M ckan/lib/helpers.py

  Log Message:
  -----------
  We dont need the total when just getting the field names


  Commit: 0470702c7d9e5cc9d0e39c2013f0b31819e16a36
      https://github.com/ckan/ckan/commit/0470702c7d9e5cc9d0e39c2013f0b31819e16a36
  Author: David Read <david.read at hackneyworkshop.com>
  Date:   2019-06-16 (Sun, 16 Jun 2019)

  Changed paths:
    M ckan/lib/navl/validators.py

  Log Message:
  -----------
  Changelog and docstring


  Commit: b76f52b8163970cfa9d1017810becccd003742ba
      https://github.com/ckan/ckan/commit/b76f52b8163970cfa9d1017810becccd003742ba
  Author: David Read <david.read at hackneyworkshop.com>
  Date:   2019-06-16 (Sun, 16 Jun 2019)

  Changed paths:
    M ckan/lib/navl/validators.py

  Log Message:
  -----------
  Doc improvements


  Commit: 3b8ef0547eda0d330be06e86ae1b5adf71cd6643
      https://github.com/ckan/ckan/commit/3b8ef0547eda0d330be06e86ae1b5adf71cd6643
  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
    M requirements.in

  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: 318a1b729665cc773e2fef9c7caf23ede678648e
      https://github.com/ckan/ckan/commit/318a1b729665cc773e2fef9c7caf23ede678648e
  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: 594580e516e2792941c386924a1c0ead7e040799
      https://github.com/ckan/ckan/commit/594580e516e2792941c386924a1c0ead7e040799
  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: 51aa086b5841d75c07c6e3e6b0bb28d4c1113c10
      https://github.com/ckan/ckan/commit/51aa086b5841d75c07c6e3e6b0bb28d4c1113c10
  Author: Shahar Evron <shahar at shoppimon.com>
  Date:   2019-06-16 (Sun, 16 Jun 2019)

  Changed paths:
    A ckan/public-bs2/base/less/ckan.less
    M ckan/public/base/less/ckan.less

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


  Commit: 631322ac422237ab75dbd0c91fe468b42e94b8c5
      https://github.com/ckan/ckan/commit/631322ac422237ab75dbd0c91fe468b42e94b8c5
  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: 25ed4b5b3e8f4b7ce31d860975ee3301a94cfdf8
      https://github.com/ckan/ckan/commit/25ed4b5b3e8f4b7ce31d860975ee3301a94cfdf8
  Author: amercader <amercadero at gmail.com>
  Date:   2019-06-16 (Sun, 16 Jun 2019)

  Changed paths:
    M ckan/logic/action/get.py

  Log Message:
  -----------
  [#4684] Use get_action to call activity actions

Otherwise they can not be overridden


  Commit: 4ae4b87323b972cf5027e8a11274abd363559bc6
      https://github.com/ckan/ckan/commit/4ae4b87323b972cf5027e8a11274abd363559bc6
  Author: Jari Voutilainen <jari.voutilainen at iki.fi>
  Date:   2019-06-16 (Sun, 16 Jun 2019)

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

  Log Message:
  -----------
  Make Reorder resources translatable


  Commit: 28d460b78a17d8a417c931f7d7a776b73ad1de68
      https://github.com/ckan/ckan/commit/28d460b78a17d8a417c931f7d7a776b73ad1de68
  Author: Jari Voutilainen <jari.voutilainen at iki.fi>
  Date:   2019-06-16 (Sun, 16 Jun 2019)

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

  Log Message:
  -----------
  Add help text to reordering


  Commit: 971031b48f8e800f76d0fb5211119f0ebb10804d
      https://github.com/ckan/ckan/commit/971031b48f8e800f76d0fb5211119f0ebb10804d
  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.7.6b


  Commit: 0d50c86c38b91151f6693e04643c95c05ba95808
      https://github.com/ckan/ckan/commit/0d50c86c38b91151f6693e04643c95c05ba95808
  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


  Commit: b1e9453817fa5cb8f3583ba09217a55b9841b652
      https://github.com/ckan/ckan/commit/b1e9453817fa5cb8f3583ba09217a55b9841b652
  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-reorder.min.js
    M ckan/public/base/javascript/modules/resource-upload-field.min.js

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


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

  Changed paths:
    A ckan/i18n/eu/LC_MESSAGES/ckan.po
    M ckan/i18n/fi/LC_MESSAGES/ckan.po
    M ckan/i18n/ko_KR/LC_MESSAGES/ckan.po
    M ckan/i18n/nl/LC_MESSAGES/ckan.po
    M ckan/i18n/ru/LC_MESSAGES/ckan.po
    M ckan/i18n/sr_Latn/LC_MESSAGES/ckan.po

  Log Message:
  -----------
  Update translations


  Commit: 4df6860340401c5c3e1887661b9464b01cd42c40
      https://github.com/ckan/ckan/commit/4df6860340401c5c3e1887661b9464b01cd42c40
  Author: amercader <amercadero at gmail.com>
  Date:   2019-06-26 (Wed, 26 Jun 2019)

  Changed paths:
    M ckan/config/middleware/flask_app.py

  Log Message:
  -----------
  Add default cache header


  Commit: 9fcce8213f46db75f20f2429234eb1ece092e802
      https://github.com/ckan/ckan/commit/9fcce8213f46db75f20f2429234eb1ece092e802
  Author: amercader <amercadero at gmail.com>
  Date:   2019-07-01 (Mon, 01 Jul 2019)

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

  Log Message:
  -----------
  [#4827] More robust auth functions for resource_view_show

Fixes #4827.

Right now they rely on resource objects being present in the context.
You should be able to call the auth function with the same parameters
 as the action (ie just the resource view id). This is not an issue
 in core but it can be problematic when extending auth from extensions.


  Commit: a43bbca4e8121003e084f817c4de9131f0a5aefb
      https://github.com/ckan/ckan/commit/a43bbca4e8121003e084f817c4de9131f0a5aefb
  Author: amercader <amercadero at gmail.com>
  Date:   2019-07-01 (Mon, 01 Jul 2019)

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

  Log Message:
  -----------
  [#4827] No need to update resource_view_list


  Commit: ed9bfc9ad3f9d1d48cb14ae5fba4ad04f720f8f3
      https://github.com/ckan/ckan/commit/ed9bfc9ad3f9d1d48cb14ae5fba4ad04f720f8f3
  Author: amercader <amercadero at gmail.com>
  Date:   2019-07-01 (Mon, 01 Jul 2019)

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

  Log Message:
  -----------
  [#4827] Don't rely at all on resource object in context


  Commit: 4adbdbdc79652e640a901f455a0d6322e6fb7224
      https://github.com/ckan/ckan/commit/4adbdbdc79652e640a901f455a0d6322e6fb7224
  Author: amercader <amercadero at gmail.com>
  Date:   2019-07-01 (Mon, 01 Jul 2019)

  Changed paths:
    M ckanext/reclineview/plugin.py
    M ckanext/reclineview/theme/public/recline_view.js
    M ckanext/reclineview/theme/templates/recline_view.html

  Log Message:
  -----------
  [#4874] Allow to provide a custom DataProxy URL

Adds support for providing a custom DataProxy URL via config option.
This will pave the way for deprecating it and completely removing it in
the near future. If someone really wants to use it they can host it
themselves and update the URL that Recline uses.


  Commit: d119258623750b36331038715853db36246f0a68
      https://github.com/ckan/ckan/commit/d119258623750b36331038715853db36246f0a68
  Author: amercader <amercadero at gmail.com>
  Date:   2019-07-01 (Mon, 01 Jul 2019)

  Changed paths:
    M ckanext/reclineview/plugin.py

  Log Message:
  -----------
  [#4874] [#4874] Pep8


  Commit: e6a2e564be7a2d72911521a3cd6c463dc3afec4a
      https://github.com/ckan/ckan/commit/e6a2e564be7a2d72911521a3cd6c463dc3afec4a
  Author: amercader <amercadero at gmail.com>
  Date:   2019-07-01 (Mon, 01 Jul 2019)

  Changed paths:
    M doc/maintaining/configuration.rst

  Log Message:
  -----------
  [#4874] Add config option docs


  Commit: 6e101f3741a23927555ff511611a39bd1a83ec0e
      https://github.com/ckan/ckan/commit/6e101f3741a23927555ff511611a39bd1a83ec0e
  Author: amercader <amercadero at gmail.com>
  Date:   2019-07-01 (Mon, 01 Jul 2019)

  Changed paths:
    M ckanext/datapusher/logic/action.py
    M doc/maintaining/configuration.rst

  Log Message:
  -----------
  [#4878] Allow custom CKAN callback URL for the DataPusher

The DataPusher pings back CKAN when performing or finishing
a job (calling the datapusher_hook action), and it does so
via an HTTP request to the host defined in ckan.site_url.

There are a number of scenarios where this does not work, eg:

* CKAN and DataPusher sitting behind a Firewall that doesn't
  allow external requests
* Standard Docker compose setup for development where the
  ckan.site_url is http://localhost:5000 or similar

This change adds a new config option that allows to define an
alternative internal URL that DataPusher can reach.


  Commit: 7e8a47849a8aaf9f2aed6501b0ef063b74894a17
      https://github.com/ckan/ckan/commit/7e8a47849a8aaf9f2aed6501b0ef063b74894a17
  Author: amercader <amercadero at gmail.com>
  Date:   2019-07-01 (Mon, 01 Jul 2019)

  Changed paths:
    M doc/maintaining/configuration.rst

  Log Message:
  -----------
  [#4878] [#4878] Fix docs heading


  Commit: 65ea71220ca6432bf104eed9b6b83e8456e1177e
      https://github.com/ckan/ckan/commit/65ea71220ca6432bf104eed9b6b83e8456e1177e
  Author: amercader <amercadero at gmail.com>
  Date:   2019-07-01 (Mon, 01 Jul 2019)

  Changed paths:
    M ckan/public/base/css/fuchsia.css
    M ckan/public/base/css/fuchsia.min.css
    M ckan/public/base/css/green.css
    M ckan/public/base/css/green.min.css
    M ckan/public/base/css/main.css
    M ckan/public/base/css/main.min.css
    M ckan/public/base/css/maroon.css
    M ckan/public/base/css/maroon.min.css
    M ckan/public/base/css/red.css
    M ckan/public/base/css/red.min.css
    M ckanext/reclineview/theme/public/recline_view.min.js

  Log Message:
  -----------
  Compile frontend


  Commit: 0bd39df8f9d0b688f12d0a6b44b2f24c75ac4087
      https://github.com/ckan/ckan/commit/0bd39df8f9d0b688f12d0a6b44b2f24c75ac4087
  Author: Sergey Motornyuk <sergey.motornyuk at linkdigital.com.au>
  Date:   2019-07-02 (Tue, 02 Jul 2019)

  Changed paths:
    M CHANGELOG.rst

  Log Message:
  -----------
  Update CHANGELOG


  Commit: 9a6e9cdbd5a9fc8004d472a3d0076ecb3feda01a
      https://github.com/ckan/ckan/commit/9a6e9cdbd5a9fc8004d472a3d0076ecb3feda01a
  Author: amercader <amercadero at gmail.com>
  Date:   2019-07-03 (Wed, 03 Jul 2019)

  Changed paths:
    M CHANGELOG.rst
    M ckan/__init__.py

  Log Message:
  -----------
  Update version to 2.7.6


  Commit: e515116bbc169c0c635503c2deb5e965039e5f20
      https://github.com/ckan/ckan/commit/e515116bbc169c0c635503c2deb5e965039e5f20
  Author: amercader <amercadero at gmail.com>
  Date:   2019-07-03 (Wed, 03 Jul 2019)

  Changed paths:
    M CHANGELOG.rst
    M ckan/__init__.py
    M ckan/config/middleware/flask_app.py
    A ckan/i18n/eu/LC_MESSAGES/ckan.po
    M ckan/i18n/fi/LC_MESSAGES/ckan.po
    M ckan/i18n/ko_KR/LC_MESSAGES/ckan.po
    M ckan/i18n/nl/LC_MESSAGES/ckan.po
    M ckan/i18n/ru/LC_MESSAGES/ckan.po
    M ckan/i18n/sr_Latn/LC_MESSAGES/ckan.po
    M ckan/lib/cli.py
    M ckan/lib/helpers.py
    M ckan/lib/navl/validators.py
    M ckan/logic/action/get.py
    M ckan/logic/auth/get.py
    M ckan/logic/validators.py
    A ckan/public-bs2/base/less/ckan.less
    M ckan/public/base/css/fuchsia.css
    M ckan/public/base/css/fuchsia.min.css
    M ckan/public/base/css/green.css
    M ckan/public/base/css/green.min.css
    M ckan/public/base/css/main.css
    M ckan/public/base/css/main.min.css
    M ckan/public/base/css/maroon.css
    M ckan/public/base/css/maroon.min.css
    M ckan/public/base/css/red.css
    M ckan/public/base/css/red.min.css
    M ckan/public/base/javascript/modules/resource-reorder.js
    M ckan/public/base/javascript/modules/resource-reorder.min.js
    M ckan/public/base/javascript/modules/resource-upload-field.js
    M ckan/public/base/javascript/modules/resource-upload-field.min.js
    M ckan/public/base/less/ckan.less
    M ckan/templates/user/read_base.html
    M ckan/tests/legacy/lib/test_navl.py
    M ckan/tests/lib/navl/test_validators.py
    M ckan/tests/logic/test_validators.py
    M ckanext/datapusher/logic/action.py
    M ckanext/datastore/controller.py
    M ckanext/datastore/tests/test_search.py
    M ckanext/reclineview/plugin.py
    M ckanext/reclineview/theme/public/recline_view.js
    M ckanext/reclineview/theme/public/recline_view.min.js
    M ckanext/reclineview/theme/templates/recline_view.html
    M doc/maintaining/configuration.rst
    M requirements.in

  Log Message:
  -----------
  Merge branch 'dev-v2.7' into 2.7


Compare: https://github.com/ckan/ckan/compare/e838541df3c5...e515116bbc16


More information about the ckan-changes mailing list