[ckan-changes] [ckan/ckan] 7b648a: [#4827] More robust auth functions for resource_vi...

Adrià Mercader noreply at github.com
Mon Jul 1 11:41:02 UTC 2019


  Branch: refs/heads/dev-v2.6
  Home:   https://github.com/ckan/ckan
  Commit: 7b648a88cc2db5168925135d82a912d5d19c9998
      https://github.com/ckan/ckan/commit/7b648a88cc2db5168925135d82a912d5d19c9998
  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: 1ba0355c43560bfadfa98a21fa1fd62381f56b79
      https://github.com/ckan/ckan/commit/1ba0355c43560bfadfa98a21fa1fd62381f56b79
  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: eb41bc2da86df157ad6920b64abdbbbc6bdd445e
      https://github.com/ckan/ckan/commit/eb41bc2da86df157ad6920b64abdbbbc6bdd445e
  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: 40c874fa019b1777c4fd69c4c4b9f52be7292d03
      https://github.com/ckan/ckan/commit/40c874fa019b1777c4fd69c4c4b9f52be7292d03
  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: b8d8f1fd4cb3ca1fcfe7cd5286bc469fe2718541
      https://github.com/ckan/ckan/commit/b8d8f1fd4cb3ca1fcfe7cd5286bc469fe2718541
  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: c19c8893c0252e26085f916a9a0752d512f3a2f9
      https://github.com/ckan/ckan/commit/c19c8893c0252e26085f916a9a0752d512f3a2f9
  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: 498323a5aedb6f6056ddb82638169e86776d1324
      https://github.com/ckan/ckan/commit/498323a5aedb6f6056ddb82638169e86776d1324
  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: a11c6b7ac0c1f399f45a2db58805dc42938737ab
      https://github.com/ckan/ckan/commit/a11c6b7ac0c1f399f45a2db58805dc42938737ab
  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: a034ebc6c19e792ccc4a2fb5b0b3a0acc59fe9c6
      https://github.com/ckan/ckan/commit/a034ebc6c19e792ccc4a2fb5b0b3a0acc59fe9c6
  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
    A ckan/public/base/i18n/am.js
    A ckan/public/base/i18n/am.min.js
    M ckan/public/base/i18n/ar.js
    M ckan/public/base/i18n/ar.min.js
    M ckan/public/base/i18n/bg.js
    M ckan/public/base/i18n/bg.min.js
    M ckan/public/base/i18n/ca.js
    M ckan/public/base/i18n/ca.min.js
    M ckan/public/base/i18n/cs_CZ.js
    M ckan/public/base/i18n/cs_CZ.min.js
    M ckan/public/base/i18n/da_DK.js
    M ckan/public/base/i18n/da_DK.min.js
    M ckan/public/base/i18n/de.js
    M ckan/public/base/i18n/de.min.js
    M ckan/public/base/i18n/el.js
    M ckan/public/base/i18n/el.min.js
    M ckan/public/base/i18n/en_AU.js
    M ckan/public/base/i18n/en_AU.min.js
    M ckan/public/base/i18n/en_GB.js
    M ckan/public/base/i18n/en_GB.min.js
    M ckan/public/base/i18n/es.js
    M ckan/public/base/i18n/es.min.js
    M ckan/public/base/i18n/es_AR.js
    M ckan/public/base/i18n/es_AR.min.js
    A ckan/public/base/i18n/eu.js
    A ckan/public/base/i18n/eu.min.js
    M ckan/public/base/i18n/fa_IR.js
    M ckan/public/base/i18n/fa_IR.min.js
    M ckan/public/base/i18n/fi.js
    M ckan/public/base/i18n/fi.min.js
    M ckan/public/base/i18n/fr.js
    M ckan/public/base/i18n/fr.min.js
    M ckan/public/base/i18n/he.js
    M ckan/public/base/i18n/he.min.js
    M ckan/public/base/i18n/hr.js
    M ckan/public/base/i18n/hr.min.js
    M ckan/public/base/i18n/hu.js
    M ckan/public/base/i18n/hu.min.js
    M ckan/public/base/i18n/id.js
    M ckan/public/base/i18n/id.min.js
    M ckan/public/base/i18n/is.js
    M ckan/public/base/i18n/is.min.js
    M ckan/public/base/i18n/it.js
    M ckan/public/base/i18n/it.min.js
    M ckan/public/base/i18n/ja.js
    M ckan/public/base/i18n/ja.min.js
    M ckan/public/base/i18n/km.js
    M ckan/public/base/i18n/km.min.js
    M ckan/public/base/i18n/ko_KR.js
    M ckan/public/base/i18n/ko_KR.min.js
    M ckan/public/base/i18n/lt.js
    M ckan/public/base/i18n/lt.min.js
    M ckan/public/base/i18n/lv.js
    M ckan/public/base/i18n/lv.min.js
    M ckan/public/base/i18n/mn_MN.js
    M ckan/public/base/i18n/mn_MN.min.js
    M ckan/public/base/i18n/nl.js
    M ckan/public/base/i18n/nl.min.js
    M ckan/public/base/i18n/no.js
    M ckan/public/base/i18n/no.min.js
    M ckan/public/base/i18n/pl.js
    M ckan/public/base/i18n/pl.min.js
    M ckan/public/base/i18n/pt_BR.js
    M ckan/public/base/i18n/pt_BR.min.js
    M ckan/public/base/i18n/pt_PT.js
    M ckan/public/base/i18n/pt_PT.min.js
    M ckan/public/base/i18n/ro.js
    M ckan/public/base/i18n/ro.min.js
    M ckan/public/base/i18n/ru.js
    M ckan/public/base/i18n/ru.min.js
    M ckan/public/base/i18n/sk.js
    M ckan/public/base/i18n/sk.min.js
    M ckan/public/base/i18n/sl.js
    M ckan/public/base/i18n/sl.min.js
    M ckan/public/base/i18n/sq.js
    M ckan/public/base/i18n/sq.min.js
    M ckan/public/base/i18n/sr.js
    M ckan/public/base/i18n/sr.min.js
    M ckan/public/base/i18n/sr_Latn.js
    M ckan/public/base/i18n/sr_Latn.min.js
    M ckan/public/base/i18n/sv.js
    M ckan/public/base/i18n/sv.min.js
    M ckan/public/base/i18n/th.js
    M ckan/public/base/i18n/th.min.js
    M ckan/public/base/i18n/tr.js
    M ckan/public/base/i18n/tr.min.js
    M ckan/public/base/i18n/uk_UA.js
    M ckan/public/base/i18n/uk_UA.min.js
    M ckan/public/base/i18n/vi.js
    M ckan/public/base/i18n/vi.min.js
    M ckan/public/base/i18n/zh_CN.js
    M ckan/public/base/i18n/zh_CN.min.js
    M ckan/public/base/i18n/zh_TW.js
    M ckan/public/base/i18n/zh_TW.min.js
    M ckanext/reclineview/theme/public/recline_view.min.js

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


Compare: https://github.com/ckan/ckan/compare/bbc6ac65dd7c...a034ebc6c19e


More information about the ckan-changes mailing list