[ckan-changes] [ckan/ckan] a47f7d: Update version number for 2.5.4b

GitHub noreply at github.com
Wed Feb 22 12:57:06 UTC 2017


  Branch: refs/heads/release-v2.5-latest
  Home:   https://github.com/ckan/ckan
  Commit: a47f7dd40ff82519096535d70b940dd3e363b746
      https://github.com/ckan/ckan/commit/a47f7dd40ff82519096535d70b940dd3e363b746
  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.5.4b


  Commit: f51238570276d2771d3e9d9f41d2e13991402998
      https://github.com/ckan/ckan/commit/f51238570276d2771d3e9d9f41d2e13991402998
  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: 0a8fee66e982baa171ecbd23b35a2c249373aac0
      https://github.com/ckan/ckan/commit/0a8fee66e982baa171ecbd23b35a2c249373aac0
  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: 50098e7441cf64e119c68d6cbab7b096fae4e376
      https://github.com/ckan/ckan/commit/50098e7441cf64e119c68d6cbab7b096fae4e376
  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: 423cfd20d8501d168025acea09744c6866c7531e
      https://github.com/ckan/ckan/commit/423cfd20d8501d168025acea09744c6866c7531e
  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: 5dcd2b6ea8709968c41a814591a6ea63991a3443
      https://github.com/ckan/ckan/commit/5dcd2b6ea8709968c41a814591a6ea63991a3443
  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: 03b7ebed9a1c0115f5d993110bcf879f9cfca03b
      https://github.com/ckan/ckan/commit/03b7ebed9a1c0115f5d993110bcf879f9cfca03b
  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: d70db78f5af2d5f0b101241d7701e560f89aefde
      https://github.com/ckan/ckan/commit/d70db78f5af2d5f0b101241d7701e560f89aefde
  Author: Sergey Motornyuk <sergey.motornyuk at linkdigital.com.au>
  Date:   2017-02-14 (Tue, 14 Feb 2017)

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

  Log Message:
  -----------
  3245 datastore_active race condition

`datastore_create` directly updates database and solr index and
this reduces possibility of conflicts inside simultaneous calls


  Commit: 30fb0d2c5e32d925c6feca7a9ec81b4c98937a66
      https://github.com/ckan/ckan/commit/30fb0d2c5e32d925c6feca7a9ec81b4c98937a66
  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: c125131b9b6354811e771f0767f51aaf51b9712c
      https://github.com/ckan/ckan/commit/c125131b9b6354811e771f0767f51aaf51b9712c
  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: 21c1d6ce3fbc8fabc240ebf2f7b9939d32f509d7
      https://github.com/ckan/ckan/commit/21c1d6ce3fbc8fabc240ebf2f7b9939d32f509d7
  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: 6f27eb5ca2ed83f2cd57f05cdacf4ec4cdc9cc6a
      https://github.com/ckan/ckan/commit/6f27eb5ca2ed83f2cd57f05cdacf4ec4cdc9cc6a
  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: 76b76f5db6bde9be088779a9219814e24ce182c0
      https://github.com/ckan/ckan/commit/76b76f5db6bde9be088779a9219814e24ce182c0
  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: 0b1d3e1e1ae99e102bf6a222aa1d49a5d907a467
      https://github.com/ckan/ckan/commit/0b1d3e1e1ae99e102bf6a222aa1d49a5d907a467
  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: 71a637b9aac3df54997d103272c6c0ebf81930ca
      https://github.com/ckan/ckan/commit/71a637b9aac3df54997d103272c6c0ebf81930ca
  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: 139724c7a11e29a34ffd08327706a28be5062693
      https://github.com/ckan/ckan/commit/139724c7a11e29a34ffd08327706a28be5062693
  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: 741a26494f464748f4da801776490db0fa572fd0
      https://github.com/ckan/ckan/commit/741a26494f464748f4da801776490db0fa572fd0
  Author: Sergey Motornyuk <sergey.motornyuk at linkdigital.com.au>
  Date:   2017-02-14 (Tue, 14 Feb 2017)

  Changed paths:
    M doc/extensions/tutorial.rst
    M doc/maintaining/configuration.rst

  Log Message:
  -----------
  Updated value for `ckan.auth.user_create_groups

Now documentation contains correct default value - False.
Also this option mentioned in writhing extension guide


  Commit: e6e755e0a0c1be24fa5f02e3850751558679ce15
      https://github.com/ckan/ckan/commit/e6e755e0a0c1be24fa5f02e3850751558679ce15
  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: ce65ab68d15f1ffaa446937b655559d23f5c02fc
      https://github.com/ckan/ckan/commit/ce65ab68d15f1ffaa446937b655559d23f5c02fc
  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: 1b327e87498a08b45fa29a4dcaa03137bd3b23d4
      https://github.com/ckan/ckan/commit/1b327e87498a08b45fa29a4dcaa03137bd3b23d4
  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.


  Commit: 6d47ecfac1be47d0bdf17baafce1bbe385df9e67
      https://github.com/ckan/ckan/commit/6d47ecfac1be47d0bdf17baafce1bbe385df9e67
  Author: Yan <yan.rudneko at linkdigital.com.au>
  Date:   2017-02-22 (Wed, 22 Feb 2017)

  Changed paths:
    M ckan/model/resource.py

  Log Message:
  -----------
  [#3447] Resource creation date use datetime.utcnow()


  Commit: e766b676f4cb1efed3b5aa747aa4073a7da17c15
      https://github.com/ckan/ckan/commit/e766b676f4cb1efed3b5aa747aa4073a7da17c15
  Author: Jukka Heino <jukka.heino at gofore.com>
  Date:   2017-02-22 (Wed, 22 Feb 2017)

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

  Log Message:
  -----------
  Use the url_for() helper for datapusher URLs


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

  Changed paths:
    M CHANGELOG.rst

  Log Message:
  -----------
  Update CHANGELOG ahead of 2.5.4


  Commit: 8abbb3b4be6aef95b253d69f625f833f3a9713b7
      https://github.com/ckan/ckan/commit/8abbb3b4be6aef95b253d69f625f833f3a9713b7
  Author: amercader <amercadero at gmail.com>
  Date:   2017-02-22 (Wed, 22 Feb 2017)

  Changed paths:
    M ckan/__init__.py

  Log Message:
  -----------
  Update version number for 2.5.4


  Commit: 03664c851d0c6e13ab066553996954c969495c70
      https://github.com/ckan/ckan/commit/03664c851d0c6e13ab066553996954c969495c70
  Author: amercader <amercadero at gmail.com>
  Date:   2017-02-22 (Wed, 22 Feb 2017)

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

  Log Message:
  -----------
  Fix exception caused by bad merged on d70db78


  Commit: 675c120e998a92bc89b8b1d1841b8e477469ce27
      https://github.com/ckan/ckan/commit/675c120e998a92bc89b8b1d1841b8e477469ce27
  Author: amercader <amercadero at gmail.com>
  Date:   2017-02-22 (Wed, 22 Feb 2017)

  Changed paths:
    M CHANGELOG.rst
    M ckan/__init__.py
    M ckan/config/environment.py
    M ckan/controllers/util.py
    M ckan/lib/cli.py
    M ckan/lib/helpers.py
    M ckan/logic/action/create.py
    M ckan/logic/action/delete.py
    M ckan/logic/action/get.py
    M ckan/logic/action/update.py
    M ckan/logic/auth/create.py
    M ckan/model/dashboard.py
    M ckan/model/resource.py
    M ckan/tests/legacy/functional/api/test_activity.py
    M ckan/tests/lib/test_helpers.py
    M ckan/tests/logic/action/test_delete.py
    M ckan/tests/logic/action/test_update.py
    M ckanext/datapusher/logic/action.py
    M ckanext/datapusher/tests/test.py
    M ckanext/datastore/logic/action.py
    M ckanext/datastore/plugin.py
    M ckanext/datastore/tests/test_create.py
    M doc/extensions/tutorial.rst
    M doc/maintaining/configuration.rst

  Log Message:
  -----------
  Merge branch 'release-v2.5.4' into release-v2.5-latest


Compare: https://github.com/ckan/ckan/compare/0dfa2df5ea40...675c120e998a


More information about the ckan-changes mailing list