[ckan-changes] [ckan/ckan] 546804: 3260 removed idle connection

GitHub noreply at github.com
Tue Feb 14 14:10:39 UTC 2017


  Branch: refs/heads/dev-v2.6
  Home:   https://github.com/ckan/ckan
  Commit: 54680449a9f6205cf3d11b174280aadcbe041411
      https://github.com/ckan/ckan/commit/54680449a9f6205cf3d11b174280aadcbe041411
  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: 1f2ebed3a1ee7b8b427b253c63194ba514535391
      https://github.com/ckan/ckan/commit/1f2ebed3a1ee7b8b427b253c63194ba514535391
  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: dfe7b36cd50ae702cd65b99ae88ba9e69dd04c8c
      https://github.com/ckan/ckan/commit/dfe7b36cd50ae702cd65b99ae88ba9e69dd04c8c
  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: db260d0d906494b456db9be09683ba46027857f9
      https://github.com/ckan/ckan/commit/db260d0d906494b456db9be09683ba46027857f9
  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: 06a9b4d845c9bd2a22f897f499f283429c49decb
      https://github.com/ckan/ckan/commit/06a9b4d845c9bd2a22f897f499f283429c49decb
  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: 54e7827fd4522be69cada43daa9dc40f738a04f9
      https://github.com/ckan/ckan/commit/54e7827fd4522be69cada43daa9dc40f738a04f9
  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: 32ebf41beaac0577f72ffe42395483445752081b
      https://github.com/ckan/ckan/commit/32ebf41beaac0577f72ffe42395483445752081b
  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: 4000de5789dbe8de6ed74caaae5283416125c044
      https://github.com/ckan/ckan/commit/4000de5789dbe8de6ed74caaae5283416125c044
  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: 0ca17cb79ea7ee9183f145606574bfd84dc9b6e4
      https://github.com/ckan/ckan/commit/0ca17cb79ea7ee9183f145606574bfd84dc9b6e4
  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: 421f03659a089c10ce62f405a199f543877b05f4
      https://github.com/ckan/ckan/commit/421f03659a089c10ce62f405a199f543877b05f4
  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: 99d9181109238c1668ee58db5c3720d084e29d30
      https://github.com/ckan/ckan/commit/99d9181109238c1668ee58db5c3720d084e29d30
  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: f8e423a398180f692ec42131527570977ba05bb3
      https://github.com/ckan/ckan/commit/f8e423a398180f692ec42131527570977ba05bb3
  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: df5a5d659f17c959b5f9006dfd925454b4fc1e2e
      https://github.com/ckan/ckan/commit/df5a5d659f17c959b5f9006dfd925454b4fc1e2e
  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: 760ecdf0fa68cb0f2dbddfc9f691f8367ba0a514
      https://github.com/ckan/ckan/commit/760ecdf0fa68cb0f2dbddfc9f691f8367ba0a514
  Author: amercader <amercadero at gmail.com>
  Date:   2017-02-14 (Tue, 14 Feb 2017)

  Changed paths:
    M ckan/i18n/ar/LC_MESSAGES/ckan.po
    M ckan/i18n/bg/LC_MESSAGES/ckan.po
    M ckan/i18n/ca/LC_MESSAGES/ckan.po
    M ckan/i18n/cs_CZ/LC_MESSAGES/ckan.po
    M ckan/i18n/da_DK/LC_MESSAGES/ckan.po
    M ckan/i18n/el/LC_MESSAGES/ckan.po
    M ckan/i18n/en_AU/LC_MESSAGES/ckan.po
    M ckan/i18n/en_GB/LC_MESSAGES/ckan.po
    M ckan/i18n/es/LC_MESSAGES/ckan.po
    M ckan/i18n/es_AR/LC_MESSAGES/ckan.po
    M ckan/i18n/fa_IR/LC_MESSAGES/ckan.po
    M ckan/i18n/fi/LC_MESSAGES/ckan.po
    M ckan/i18n/he/LC_MESSAGES/ckan.po
    M ckan/i18n/hr/LC_MESSAGES/ckan.po
    M ckan/i18n/hu/LC_MESSAGES/ckan.po
    M ckan/i18n/id/LC_MESSAGES/ckan.po
    M ckan/i18n/is/LC_MESSAGES/ckan.po
    M ckan/i18n/it/LC_MESSAGES/ckan.po
    M ckan/i18n/ja/LC_MESSAGES/ckan.po
    M ckan/i18n/km/LC_MESSAGES/ckan.po
    M ckan/i18n/ko_KR/LC_MESSAGES/ckan.po
    M ckan/i18n/lt/LC_MESSAGES/ckan.po
    M ckan/i18n/lv/LC_MESSAGES/ckan.po
    M ckan/i18n/mn_MN/LC_MESSAGES/ckan.po
    M ckan/i18n/nl/LC_MESSAGES/ckan.po
    M ckan/i18n/no/LC_MESSAGES/ckan.po
    M ckan/i18n/pl/LC_MESSAGES/ckan.po
    M ckan/i18n/pt_BR/LC_MESSAGES/ckan.po
    M ckan/i18n/pt_PT/LC_MESSAGES/ckan.po
    M ckan/i18n/ro/LC_MESSAGES/ckan.po
    M ckan/i18n/ru/LC_MESSAGES/ckan.po
    M ckan/i18n/sk/LC_MESSAGES/ckan.po
    M ckan/i18n/sl/LC_MESSAGES/ckan.po
    M ckan/i18n/sq/LC_MESSAGES/ckan.po
    M ckan/i18n/sr/LC_MESSAGES/ckan.po
    M ckan/i18n/sr_Latn/LC_MESSAGES/ckan.po
    M ckan/i18n/sv/LC_MESSAGES/ckan.po
    M ckan/i18n/th/LC_MESSAGES/ckan.po
    M ckan/i18n/tr/LC_MESSAGES/ckan.po
    M ckan/i18n/uk_UA/LC_MESSAGES/ckan.po
    M ckan/i18n/vi/LC_MESSAGES/ckan.po
    M ckan/i18n/zh_CN/LC_MESSAGES/ckan.po

  Log Message:
  -----------
  Pull translations from Transifex before 2.6.1


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

  Changed paths:
    M ckan/i18n/ar/LC_MESSAGES/ckan.mo
    M ckan/i18n/bg/LC_MESSAGES/ckan.mo
    M ckan/i18n/ca/LC_MESSAGES/ckan.mo
    M ckan/i18n/cs_CZ/LC_MESSAGES/ckan.mo
    M ckan/i18n/da_DK/LC_MESSAGES/ckan.mo
    M ckan/i18n/el/LC_MESSAGES/ckan.mo
    M ckan/i18n/en_AU/LC_MESSAGES/ckan.mo
    M ckan/i18n/en_GB/LC_MESSAGES/ckan.mo
    M ckan/i18n/es/LC_MESSAGES/ckan.mo
    M ckan/i18n/es_AR/LC_MESSAGES/ckan.mo
    M ckan/i18n/fa_IR/LC_MESSAGES/ckan.mo
    M ckan/i18n/fi/LC_MESSAGES/ckan.mo
    M ckan/i18n/he/LC_MESSAGES/ckan.mo
    M ckan/i18n/hr/LC_MESSAGES/ckan.mo
    M ckan/i18n/hu/LC_MESSAGES/ckan.mo
    M ckan/i18n/id/LC_MESSAGES/ckan.mo
    M ckan/i18n/is/LC_MESSAGES/ckan.mo
    M ckan/i18n/it/LC_MESSAGES/ckan.mo
    M ckan/i18n/ja/LC_MESSAGES/ckan.mo
    M ckan/i18n/km/LC_MESSAGES/ckan.mo
    M ckan/i18n/ko_KR/LC_MESSAGES/ckan.mo
    M ckan/i18n/lt/LC_MESSAGES/ckan.mo
    M ckan/i18n/lv/LC_MESSAGES/ckan.mo
    M ckan/i18n/mn_MN/LC_MESSAGES/ckan.mo
    M ckan/i18n/nl/LC_MESSAGES/ckan.mo
    M ckan/i18n/no/LC_MESSAGES/ckan.mo
    M ckan/i18n/pl/LC_MESSAGES/ckan.mo
    M ckan/i18n/pt_BR/LC_MESSAGES/ckan.mo
    M ckan/i18n/pt_PT/LC_MESSAGES/ckan.mo
    M ckan/i18n/ro/LC_MESSAGES/ckan.mo
    M ckan/i18n/ru/LC_MESSAGES/ckan.mo
    M ckan/i18n/sk/LC_MESSAGES/ckan.mo
    M ckan/i18n/sl/LC_MESSAGES/ckan.mo
    M ckan/i18n/sq/LC_MESSAGES/ckan.mo
    M ckan/i18n/sr/LC_MESSAGES/ckan.mo
    M ckan/i18n/sr_Latn/LC_MESSAGES/ckan.mo
    M ckan/i18n/sv/LC_MESSAGES/ckan.mo
    M ckan/i18n/th/LC_MESSAGES/ckan.mo
    M ckan/i18n/tr/LC_MESSAGES/ckan.mo
    M ckan/i18n/uk_UA/LC_MESSAGES/ckan.mo
    M ckan/i18n/vi/LC_MESSAGES/ckan.mo
    M ckan/i18n/zh_CN/LC_MESSAGES/ckan.mo

  Log Message:
  -----------
  Compile translations before 2.6.1


Compare: https://github.com/ckan/ckan/compare/2b33801e646a...1283061f8a6f


More information about the ckan-changes mailing list