[ckan-changes] [ckan/ckan] 89dab0: [#3060] set ckan.locale_default as language for Fo...

GitHub noreply at github.com
Fri Jun 3 12:13:11 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/ckan/ckan
  Commit: 89dab0cd3544cc206f5035796e7514c3301ef316
      https://github.com/ckan/ckan/commit/89dab0cd3544cc206f5035796e7514c3301ef316
  Author: Knut Hühne <knut at k-nut.eu>
  Date:   2016-05-27 (Fri, 27 May 2016)

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

  Log Message:
  -----------
  [#3060] set ckan.locale_default as language for FormEncode

- If this is not done FormEncode takes the system LANG for its
  validation messages which might lead to unexpected behaviour.
- This also leads to the tests passing on machines where the LANG is
  set to something other then `en`
- More information can be found at
  http://www.formencode.org/en/latest/Validator.html#localization-of-error-messages-i18n


  Commit: 2cc254d3bfe704b5d797acc2e1388d56b9a6c171
      https://github.com/ckan/ckan/commit/2cc254d3bfe704b5d797acc2e1388d56b9a6c171
  Author: Louis des Landes <ldeslandes at swin.edu.au>
  Date:   2016-06-01 (Wed, 01 Jun 2016)

  Changed paths:
    M ckan/logic/auth/create.py
    M ckan/logic/auth/delete.py
    M ckan/logic/auth/get.py
    M ckan/logic/auth/patch.py
    M ckan/logic/auth/update.py
    M ckan/tests/logic/auth/test_delete.py
    A ckanext/example_iauthfunctions/plugin_v6_parent_auth_functions.py
    M ckanext/example_iauthfunctions/tests/test_example_iauthfunctions.py
    M setup.py

  Log Message:
  -----------
  Fix some auth functions not using IAuthFunctions

Various auth functions are purely wrappers around other auth functions.
Unfortunately this means when overriding one of auth functions (a parent) that is used by others (children),
the children will still call the original version, not the overridden version.

This commit fixes this for most cases.


  Commit: f079e0da448d9e9da53314c400febd653dd64321
      https://github.com/ckan/ckan/commit/f079e0da448d9e9da53314c400febd653dd64321
  Author: Louis des Landes <ldeslandes at swin.edu.au>
  Date:   2016-06-01 (Wed, 01 Jun 2016)

  Changed paths:
    M ckan/tests/legacy/test_coding_standards.py

  Log Message:
  -----------
  Add patch to tested auth action functions


  Commit: 1e4338e61cf53c6e1f2b2b95868970fef4c23150
      https://github.com/ckan/ckan/commit/1e4338e61cf53c6e1f2b2b95868970fef4c23150
  Author: Knut Hühne <knut at k-nut.eu>
  Date:   2016-06-01 (Wed, 01 Jun 2016)

  Changed paths:
    M ckan/lib/i18n.py

  Log Message:
  -----------
  [#3073] smarter way to get available locales


  Commit: e54912ee578557fc6168c08f6ed9085ef018e015
      https://github.com/ckan/ckan/commit/e54912ee578557fc6168c08f6ed9085ef018e015
  Author: Knut Hühne <knut at k-nut.eu>
  Date:   2016-06-02 (Thu, 02 Jun 2016)

  Changed paths:
    M ckan/lib/i18n.py
    M ckan/templates/snippets/language_selector.html

  Log Message:
  -----------
  [#3073] Add  `short_name` to locale for url construction


  Commit: a179ae3fdee075e281926d001bfef3f4e0eb2794
      https://github.com/ckan/ckan/commit/a179ae3fdee075e281926d001bfef3f4e0eb2794
  Author: Knut Hühne <knut at k-nut.eu>
  Date:   2016-06-02 (Thu, 02 Jun 2016)

  Changed paths:
    M ckan/lib/i18n.py

  Log Message:
  -----------
  [#3073] make pep8 happy


  Commit: 30a27cedb445e5c3cabc920cec87b035cc9a02fb
      https://github.com/ckan/ckan/commit/30a27cedb445e5c3cabc920cec87b035cc9a02fb
  Author: Knut Hühne <knut at k-nut.eu>
  Date:   2016-06-02 (Thu, 02 Jun 2016)

  Changed paths:
    M ckan/config/environment.py
    M ckan/lib/navl/dictization_functions.py
    A ckan/tests/lib/test_navl.py

  Log Message:
  -----------
  [#3060] move formencode lang settings to environment.py


  Commit: a4045d1f06de42d9df46a03bf7bed95f4e5bb432
      https://github.com/ckan/ckan/commit/a4045d1f06de42d9df46a03bf7bed95f4e5bb432
  Author: amercader <amercadero at gmail.com>
  Date:   2016-06-03 (Fri, 03 Jun 2016)

  Changed paths:
    M ckan/logic/auth/create.py
    M ckan/logic/auth/delete.py
    M ckan/logic/auth/get.py
    M ckan/logic/auth/patch.py
    M ckan/logic/auth/update.py
    M ckan/tests/legacy/test_coding_standards.py
    M ckan/tests/logic/auth/test_delete.py
    A ckanext/example_iauthfunctions/plugin_v6_parent_auth_functions.py
    M ckanext/example_iauthfunctions/tests/test_example_iauthfunctions.py
    M setup.py

  Log Message:
  -----------
  Merge branch 'bugfix/permissions_call_check_access' of https://github.com/Psykar/ckan into Psykar-bugfix/permissions_call_check_access

Conflicts:
	ckan/logic/auth/patch.py


  Commit: 0856d55d2104d697651aa3e2eb1702997ae95e48
      https://github.com/ckan/ckan/commit/0856d55d2104d697651aa3e2eb1702997ae95e48
  Author: amercader <amercadero at gmail.com>
  Date:   2016-06-03 (Fri, 03 Jun 2016)

  Changed paths:
    M ckan/logic/auth/create.py
    M ckan/logic/auth/delete.py
    M ckan/logic/auth/get.py
    M ckan/logic/auth/patch.py
    M ckan/logic/auth/update.py
    M ckan/tests/legacy/test_coding_standards.py
    M ckan/tests/logic/auth/test_delete.py
    A ckanext/example_iauthfunctions/plugin_v6_parent_auth_functions.py
    M ckanext/example_iauthfunctions/tests/test_example_iauthfunctions.py
    M setup.py

  Log Message:
  -----------
  Merge branch 'Psykar-bugfix/permissions_call_check_access'


  Commit: 0b7aa77e5e38d1376050b638d19a88da67346ea6
      https://github.com/ckan/ckan/commit/0b7aa77e5e38d1376050b638d19a88da67346ea6
  Author: amercader <amercadero at gmail.com>
  Date:   2016-06-03 (Fri, 03 Jun 2016)

  Changed paths:
    M ckan/config/environment.py
    M ckan/lib/navl/dictization_functions.py
    A ckan/tests/lib/test_navl.py

  Log Message:
  -----------
  Merge branch '3060-set-formencode-default-lang' of https://github.com/k-nut/ckan into k-nut-3060-set-formencode-default-lang


  Commit: ae9e163790859331d980c8d3cb0fe13750bcec4c
      https://github.com/ckan/ckan/commit/ae9e163790859331d980c8d3cb0fe13750bcec4c
  Author: amercader <amercadero at gmail.com>
  Date:   2016-06-03 (Fri, 03 Jun 2016)

  Changed paths:
    M ckan/config/environment.py
    M ckan/lib/navl/dictization_functions.py
    A ckan/tests/lib/test_navl.py

  Log Message:
  -----------
  Merge branch 'k-nut-3060-set-formencode-default-lang'


  Commit: 1e747f6d3eee08cdf2e43dab397368154bf55394
      https://github.com/ckan/ckan/commit/1e747f6d3eee08cdf2e43dab397368154bf55394
  Author: amercader <amercadero at gmail.com>
  Date:   2016-06-03 (Fri, 03 Jun 2016)

  Changed paths:
    M ckan/lib/i18n.py
    M ckan/templates/snippets/language_selector.html

  Log Message:
  -----------
  Merge branch '3073-enable-chinese-locale' of https://github.com/k-nut/ckan into k-nut-3073-enable-chinese-locale


  Commit: 4bffd8c2611ae9eacec6b8593681fcc287d9a622
      https://github.com/ckan/ckan/commit/4bffd8c2611ae9eacec6b8593681fcc287d9a622
  Author: amercader <amercadero at gmail.com>
  Date:   2016-06-03 (Fri, 03 Jun 2016)

  Changed paths:
    M ckan/lib/i18n.py
    M ckan/templates/snippets/language_selector.html

  Log Message:
  -----------
  Merge branch 'k-nut-3073-enable-chinese-locale'


Compare: https://github.com/ckan/ckan/compare/87c100078d24...4bffd8c2611a


More information about the ckan-changes mailing list