[ckan-changes] [ckan/ckan] fad021: Update version number for 2.4.5b

GitHub noreply at github.com
Tue Feb 14 14:02:50 UTC 2017


  Branch: refs/heads/release-v2.4.5
  Home:   https://github.com/ckan/ckan
  Commit: fad02137c5909c6c4fb390743981be290bc8d0c2
      https://github.com/ckan/ckan/commit/fad02137c5909c6c4fb390743981be290bc8d0c2
  Author: amercader <amercadero at gmail.com>
  Date:   2017-02-10 (Fri, 10 Feb 2017)

  Changed paths:
    M ckan/__init__.py

  Log Message:
  -----------
  Update version number for 2.4.5b


  Commit: d07227f82be27fb32f33548db8a71fd5908759b6
      https://github.com/ckan/ckan/commit/d07227f82be27fb32f33548db8a71fd5908759b6
  Author: Brook Elgie <specialbrew at gmail.com>
  Date:   2017-02-10 (Fri, 10 Feb 2017)

  Changed paths:
    M ckan/logic/action/update.py
    M ckan/tests/logic/action/test_update.py

  Log Message:
  -----------
  [#2661] Add revision if owner-org updated.

package_owner_org_update is called during a package_update to handle
updating the owner organization. A package revision is created during
this by package_update. If package_owner_org_update is called in
isolation, no revision is created and an error occurs in vdm. This
commit ensures a revision is created when package_owner_org_update is
called outside of a package_update.


  Commit: 033044bff76a411c49dd27c7ac75780c8f12d0a7
      https://github.com/ckan/ckan/commit/033044bff76a411c49dd27c7ac75780c8f12d0a7
  Author: Brook Elgie <specialbrew at gmail.com>
  Date:   2017-02-10 (Fri, 10 Feb 2017)

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

  Log Message:
  -----------
  [#2661] Add 'add_revision' to ctx in pkg create.

package_create also calls package_owner_org_update, and requires the
'add_revision' property adding to the context to prevent
package_owner_org_update from creating an unecessary revision.


  Commit: 36409a5b5518c10ecf1537f02f1a20ac61ecf6aa
      https://github.com/ckan/ckan/commit/36409a5b5518c10ecf1537f02f1a20ac61ecf6aa
  Author: Sergey Motornyuk <sergey.motornyuk at linkdigital.com.au>
  Date:   2017-02-10 (Fri, 10 Feb 2017)

  Changed paths:
    M ckan/config/environment.py

  Log Message:
  -----------
  3260 removed idle connection

Session, that used for querying config varibales diring startup
was not finished and one idle connection appeared in postgres.

Now session committed in the end of environment setup.


  Commit: 59e5217905ba511be0d435f9acb8e1d1cb104ef6
      https://github.com/ckan/ckan/commit/59e5217905ba511be0d435f9acb8e1d1cb104ef6
  Author: amercader <amercadero at gmail.com>
  Date:   2017-02-10 (Fri, 10 Feb 2017)

  Changed paths:
    M ckan/tests/logic/action/test_delete.py

  Log Message:
  -----------
  [#3265] Add tests for user_delete


  Commit: 7c4f89c8337ac4c00f8684b46c864f413269cf7a
      https://github.com/ckan/ckan/commit/7c4f89c8337ac4c00f8684b46c864f413269cf7a
  Author: amercader <amercadero at gmail.com>
  Date:   2017-02-10 (Fri, 10 Feb 2017)

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

  Log Message:
  -----------
  [#3265] Use user id to delete memberships

Otherwise when passing the user name on `user_delete` the memberships
where not deleted


  Commit: c03624fca9424a25e7fcfc0023299e1349486f73
      https://github.com/ckan/ckan/commit/c03624fca9424a25e7fcfc0023299e1349486f73
  Author: amercader <amercadero at gmail.com>
  Date:   2017-02-10 (Fri, 10 Feb 2017)

  Changed paths:
    M ckan/lib/cli.py

  Log Message:
  -----------
  [#3265] Use action on user remove CLI command

Otherwise we miss all the membership logic


  Commit: cea71f7333f064ca148ac442890b664198991c90
      https://github.com/ckan/ckan/commit/cea71f7333f064ca148ac442890b664198991c90
  Author: Sergey Motornyuk <sergey.motornyuk at linkdigital.com.au>
  Date:   2017-02-14 (Tue, 14 Feb 2017)

  Changed paths:
    M ckanext/datapusher/tests/test.py
    M ckanext/datastore/plugin.py
    M ckanext/datastore/tests/test_create.py

  Log Message:
  -----------
  \#3189 Datastore doesn't add site_url to resource created via API

Small change in datastore plugin, that generates
fully-qualified url during datastore creation


  Commit: b7102a04da0b9bca55b26aa6a07069a926fda11d
      https://github.com/ckan/ckan/commit/b7102a04da0b9bca55b26aa6a07069a926fda11d
  Author: Fabio Anderegg <fabio.anderegg at liip.ch>
  Date:   2017-02-14 (Tue, 14 Feb 2017)

  Changed paths:
    M ckanext/datastore/logic/action.py

  Log Message:
  -----------
  ckan datastore: convert data error to unicode instead of str to avoid encoding errors


  Commit: 442bd465710cec22b69e2bc8380a5bc39b4ca419
      https://github.com/ckan/ckan/commit/442bd465710cec22b69e2bc8380a5bc39b4ca419
  Author: amercader <amercadero at gmail.com>
  Date:   2017-02-14 (Tue, 14 Feb 2017)

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

  Log Message:
  -----------
  Change order of Solr filters


  Commit: 2166f7a7e93ece5f292d53d7a1c17414886417e4
      https://github.com/ckan/ckan/commit/2166f7a7e93ece5f292d53d7a1c17414886417e4
  Author: Yan <yan.rudenko at linkdigital.com.au>
  Date:   2017-02-14 (Tue, 14 Feb 2017)

  Changed paths:
    M ckan/logic/action/update.py
    M ckan/model/dashboard.py

  Log Message:
  -----------
  [#3373]Dashboard_mark_activities_old is set to utcnow() format

The problem was that dashboard_mark_activities_old method was not changed to utcnow() format, so when datasets were updated, because of the time difference, user have seen them before he actually entered the page.

I've adde utcnow() format for this method and now the time works fine. Also added untnow() to Dashboard model, so the time can be saved correctly.


  Commit: 7f156e36cd3cfa1219906d11b66c16266faf4185
      https://github.com/ckan/ckan/commit/7f156e36cd3cfa1219906d11b66c16266faf4185
  Author: amercader <amercadero at gmail.com>
  Date:   2017-02-14 (Tue, 14 Feb 2017)

  Changed paths:
    M ckan/controllers/util.py

  Log Message:
  -----------
  Clean language url


  Commit: a68a01c5fa74af61b02b5798e86d8e68c20d4fec
      https://github.com/ckan/ckan/commit/a68a01c5fa74af61b02b5798e86d8e68c20d4fec
  Author: Sergey Motornyuk <sergey.motornyuk at linkdigital.com.au>
  Date:   2017-02-14 (Tue, 14 Feb 2017)

  Changed paths:
    M ckan/logic/auth/create.py
    M ckan/tests/legacy/functional/api/test_activity.py

  Log Message:
  -----------
  check group name and id during package creation


  Commit: 75d454c8b677bcbe20402e05dbd135f00c16ed69
      https://github.com/ckan/ckan/commit/75d454c8b677bcbe20402e05dbd135f00c16ed69
  Author: Sergey Motornyuk <sergey.motornyuk at linkdigital.com.au>
  Date:   2017-02-14 (Tue, 14 Feb 2017)

  Changed paths:
    M ckan/tests/legacy/functional/api/test_activity.py

  Log Message:
  -----------
  normal user added to "roger" group in order to pass auth checks


  Commit: 304a592d9583040b974c7d66c367305efccbe793
      https://github.com/ckan/ckan/commit/304a592d9583040b974c7d66c367305efccbe793
  Author: Sergey Motornyuk <sergey.motornyuk at linkdigital.com.au>
  Date:   2017-02-14 (Tue, 14 Feb 2017)

  Changed paths:
    M ckan/tests/legacy/functional/api/test_activity.py

  Log Message:
  -----------
  inside `_create_package` user becomes admin of group


  Commit: 52eaef816e2e331b4bba13359e529d5469ae22ac
      https://github.com/ckan/ckan/commit/52eaef816e2e331b4bba13359e529d5469ae22ac
  Author: Sergey Motornyuk <sergey.motornyuk at linkdigital.com.au>
  Date:   2017-02-14 (Tue, 14 Feb 2017)

  Changed paths:
    M ckan/lib/helpers.py

  Log Message:
  -----------
  `render_markdown` breaks links with ampersands

Added few additional allowed tags to `bleach.clean`
function and changed sanitization sequence so that
markdown applied first and only after that result cleaned


  Commit: e5a23bebc9fdc1960053921665eafecacef98aa7
      https://github.com/ckan/ckan/commit/e5a23bebc9fdc1960053921665eafecacef98aa7
  Author: Sergey Motornyuk <sergey.motornyuk at linkdigital.com.au>
  Date:   2017-02-14 (Tue, 14 Feb 2017)

  Changed paths:
    M ckan/lib/helpers.py
    M ckan/tests/lib/test_helpers.py

  Log Message:
  -----------
  added some tests and src attr to img


  Commit: e92596a32d2a21472ace6e92f27ea53b8a7a9943
      https://github.com/ckan/ckan/commit/e92596a32d2a21472ace6e92f27ea53b8a7a9943
  Author: Marc Fortier <Marc.Fortier at statcan.gc.ca>
  Date:   2017-02-14 (Tue, 14 Feb 2017)

  Changed paths:
    M ckan/lib/helpers.py
    M ckan/tests/lib/test_helpers.py

  Log Message:
  -----------
  fix ckan.root_path

The language selector is passing a babel Locale object but
_add_i18n_to_url expects a str.


Compare: https://github.com/ckan/ckan/compare/fad02137c590^...e92596a32d2a


More information about the ckan-changes mailing list