[ckan-changes] [ckan/ckan] 3e1e48: Start rewriting helpers.py

GitHub noreply at github.com
Wed Apr 13 20:41:18 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/ckan/ckan
  Commit: 3e1e486f4b9735890239d67d566c34bfb9f2b335
      https://github.com/ckan/ckan/commit/3e1e486f4b9735890239d67d566c34bfb9f2b335
  Author: Tyler Kennedy <tk at tkte.ch>
  Date:   2016-03-10 (Thu, 10 Mar 2016)

  Changed paths:
    M ckan/config/environment.py
    M ckan/controllers/user.py
    M ckan/lib/helpers.py

  Log Message:
  -----------
  Start rewriting helpers.py


  Commit: 55f3cd4025468c8c5821f31c16440745aab82e3a
      https://github.com/ckan/ckan/commit/55f3cd4025468c8c5821f31c16440745aab82e3a
  Author: Tyler Kennedy <tk at tkte.ch>
  Date:   2016-03-10 (Thu, 10 Mar 2016)

  Changed paths:
    M ckan/lib/helpers.py

  Log Message:
  -----------
  Do not accept an iterable of functions to builtin_helper.


  Commit: d43e8d503cbdef642fc7048a394ec975b7ff5eb0
      https://github.com/ckan/ckan/commit/d43e8d503cbdef642fc7048a394ec975b7ff5eb0
  Author: Tyler Kennedy <tk at tkte.ch>
  Date:   2016-03-10 (Thu, 10 Mar 2016)

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

  Log Message:
  -----------
  Remove helpers.py from the list of wildcard import blacklists.


  Commit: 0d65d8adb225ca9f671041f365b08db0b0e3dcbc
      https://github.com/ckan/ckan/commit/0d65d8adb225ca9f671041f365b08db0b0e3dcbc
  Author: Tyler Kennedy <tk at tkte.ch>
  Date:   2016-03-10 (Thu, 10 Mar 2016)

  Changed paths:
    M ckan/controllers/tag.py
    M ckan/tests/legacy/lib/test_alphabet_pagination.py

  Log Message:
  -----------
  Fix old files importing AlphaPage from helpers.py. PEP8 teset_alphabet_pagination.


  Commit: 84fc27bf85e31578f2988030c2184322365c9c32
      https://github.com/ckan/ckan/commit/84fc27bf85e31578f2988030c2184322365c9c32
  Author: Tyler Kennedy <tk at tkte.ch>
  Date:   2016-03-10 (Thu, 10 Mar 2016)

  Changed paths:
    M ckan/controllers/tag.py
    M ckan/tests/legacy/lib/test_alphabet_pagination.py

  Log Message:
  -----------
  Fix AlphaPage import, fix asserts.


  Commit: 7dd7f7775f74501bd525146232fef8e40e29fd33
      https://github.com/ckan/ckan/commit/7dd7f7775f74501bd525146232fef8e40e29fd33
  Author: Tyler Kennedy <tk at tkte.ch>
  Date:   2016-03-10 (Thu, 10 Mar 2016)

  Changed paths:
    M ckan/controllers/tag.py

  Log Message:
  -----------
  Missed a usage of asbool in tags.py


  Commit: 3a8debd39dd8f02f5d0a07540cab36ded989deee
      https://github.com/ckan/ckan/commit/3a8debd39dd8f02f5d0a07540cab36ded989deee
  Author: Tyler Kennedy <tk at tkte.ch>
  Date:   2016-03-10 (Thu, 10 Mar 2016)

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

  Log Message:
  -----------
  Remove test_alphabet_pagination from wildcard and pep8 blacklists.


  Commit: b73f41bd2e176e0d3327a25e17df6d6be8223cb9
      https://github.com/ckan/ckan/commit/b73f41bd2e176e0d3327a25e17df6d6be8223cb9
  Author: Tyler Kennedy <tk at tkte.ch>
  Date:   2016-03-10 (Thu, 10 Mar 2016)

  Changed paths:
    M ckan/lib/helpers.py

  Log Message:
  -----------
  linked_user helper needs the results wrapped in literal() or it will display on the group members page as text.


  Commit: f71bcc60b1a6741e266897a2965a0eca86773e31
      https://github.com/ckan/ckan/commit/f71bcc60b1a6741e266897a2965a0eca86773e31
  Author: Tyler Kennedy <tk at tkte.ch>
  Date:   2016-03-14 (Mon, 14 Mar 2016)

  Changed paths:
    M ckan/config/environment.py
    M ckan/lib/helpers.py
    M ckan/plugins/toolkit.py

  Log Message:
  -----------
  First take at removing the _Helper magic.


  Commit: 4668b215d2e88f6873881cd90d074445593646d0
      https://github.com/ckan/ckan/commit/4668b215d2e88f6873881cd90d074445593646d0
  Author: Tyler Kennedy <tk at tkte.ch>
  Date:   2016-03-14 (Mon, 14 Mar 2016)

  Changed paths:
    M ckan/pastertemplates/template/setup.py_tmpl
    M ckanext/datastore/db.py
    M ckanext/datastore/logic/action.py
    M ckanext/datastore/tests/test_delete.py

  Log Message:
  -----------
  Merge branch 'master' of https://github.com/ckan/ckan into rewrite_helpers


  Commit: f994ab0156c6e473151f4a169c5e0254262164b6
      https://github.com/ckan/ckan/commit/f994ab0156c6e473151f4a169c5e0254262164b6
  Author: Tyler Kennedy <tk at tkte.ch>
  Date:   2016-03-14 (Mon, 14 Mar 2016)

  Changed paths:
    M ckan/config/environment.py

  Log Message:
  -----------
  Fix setuptools deprectation warnings on newer versions of setuptools.


  Commit: 5c63150d995c59751772cb9f213919dc8c50c4d7
      https://github.com/ckan/ckan/commit/5c63150d995c59751772cb9f213919dc8c50c4d7
  Author: Tyler Kennedy <tk at tkte.ch>
  Date:   2016-04-06 (Wed, 06 Apr 2016)

  Changed paths:
    M ckan/plugins/toolkit.py

  Log Message:
  -----------
  Simply directly reference the helper_functions dict instead of accessing it through the pylons context.


  Commit: 788a3a49e0493cfd40c64dd2dd198b60e3999a7a
      https://github.com/ckan/ckan/commit/788a3a49e0493cfd40c64dd2dd198b60e3999a7a
  Author: Tyler Kennedy <tk at tkte.ch>
  Date:   2016-04-06 (Wed, 06 Apr 2016)

  Changed paths:
    M ckan/lib/helpers.py

  Log Message:
  -----------
  Rename builtin_helper to core_helper per feedback.


  Commit: b1cdd0971434c5c747ea1c08c8c5cb715bd86cb5
      https://github.com/ckan/ckan/commit/b1cdd0971434c5c747ea1c08c8c5cb715bd86cb5
  Author: Tyler Kennedy <tk at tkte.ch>
  Date:   2016-04-06 (Wed, 06 Apr 2016)

  Changed paths:
    M ckan/lib/helpers.py

  Log Message:
  -----------
  Load external helpers in reverse order per feedback.


  Commit: 705161783e877465eada3d333f8d826a999af0e4
      https://github.com/ckan/ckan/commit/705161783e877465eada3d333f8d826a999af0e4
  Author: Tyler Kennedy <tk at tkte.ch>
  Date:   2016-04-06 (Wed, 06 Apr 2016)

  Changed paths:
    M ckan/lib/helpers.py

  Log Message:
  -----------
  Raise a HelperError when an undefined helper is called.


  Commit: 967b7b78faf4b0555c20901f7ef1b4bdaea99682
      https://github.com/ckan/ckan/commit/967b7b78faf4b0555c20901f7ef1b4bdaea99682
  Author: Tyler Kennedy <tk at tkte.ch>
  Date:   2016-04-06 (Wed, 06 Apr 2016)

  Changed paths:
    A .circleci-matrix.yml
    M CHANGELOG.rst
    M README.rst
    A bin/solr_init/create_core.sh
    M circle.yml
    M ckan/config/deployment.ini_tmpl
    M ckan/config/environment.py
    M ckan/config/middleware.py
    M ckan/config/routing.py
    M ckan/config/solr/schema.xml
    M ckan/controllers/admin.py
    M ckan/controllers/group.py
    M ckan/controllers/home.py
    M ckan/controllers/package.py
    A ckan/controllers/partyline.py
    M ckan/controllers/revision.py
    M ckan/controllers/tag.py
    M ckan/controllers/user.py
    M ckan/lib/app_globals.py
    M ckan/lib/base.py
    M ckan/lib/helpers.py
    M ckan/lib/plugins.py
    M ckan/logic/action/get.py
    M ckan/logic/action/update.py
    M ckan/logic/validators.py
    M ckan/model/domain_object.py
    M ckan/model/modification.py
    M ckan/pastertemplates/template/MANIFEST.in_tmpl
    M ckan/plugins/interfaces.py
    M ckan/templates/footer.html
    M ckan/templates/package/snippets/package_form.html
    M ckan/templates/package/snippets/resource_form.html
    M ckan/templates/package/snippets/resource_view.html
    M ckan/tests/config/test_middleware.py
    M ckan/tests/controllers/test_admin.py
    M ckan/tests/controllers/test_group.py
    M ckan/tests/controllers/test_organization.py
    M ckan/tests/controllers/test_package.py
    M ckan/tests/controllers/test_user.py
    M ckan/tests/helpers.py
    A ckan/tests/i18n/__init__.py
    M ckan/tests/legacy/functional/test_admin.py
    M ckan/tests/legacy/functional/test_package.py
    M ckan/tests/legacy/functional/test_user.py
    M ckan/tests/legacy/lib/test_helpers.py
    M ckan/tests/lib/test_base.py
    M ckan/tests/lib/test_helpers.py
    M ckan/tests/model/test_resource.py
    M ckanext/datapusher/logic/action.py
    M ckanext/datapusher/plugin.py
    M ckanext/datapusher/tests/test.py
    A ckanext/datapusher/tests/test_action.py
    M ckanext/datastore/logic/action.py
    M ckanext/datastore/tests/test_create.py
    M doc/contributing/css.rst
    M doc/contributing/documentation.rst
    M doc/contributing/javascript.rst
    M doc/contributing/pull-requests.rst
    M doc/contributing/python.rst
    M doc/extensions/remote-config-update.rst
    M doc/extensions/translating-extensions.rst
    M doc/maintaining/configuration.rst
    M doc/maintaining/datastore.rst
    M doc/theming/javascript.rst
    M doc/theming/templates.rst
    M requirements.in
    M requirements.txt
    M setup.py
    M test-core.ini

  Log Message:
  -----------
  Merge branch 'master' into rewrite_helpers


  Commit: f90b9c9a79f260785032e00fc4b471497e15f5d0
      https://github.com/ckan/ckan/commit/f90b9c9a79f260785032e00fc4b471497e15f5d0
  Author: Tyler Kennedy <tk at tkte.ch>
  Date:   2016-04-11 (Mon, 11 Apr 2016)

  Changed paths:
    M ckan/exceptions.py
    M ckan/lib/helpers.py

  Log Message:
  -----------
  Move HelperError to exceptions.py


  Commit: bd72547e70915ecf80750d826c5b420ff8a809f0
      https://github.com/ckan/ckan/commit/bd72547e70915ecf80750d826c5b420ff8a809f0
  Author: Tyler Kennedy <tk at tkte.ch>
  Date:   2016-04-12 (Tue, 12 Apr 2016)

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

  Log Message:
  -----------
  Removed exceptions.py from the PEP8 blacklist.


  Commit: 3de7b13decde71f31d6cd9baa7137a21c8ec89e4
      https://github.com/ckan/ckan/commit/3de7b13decde71f31d6cd9baa7137a21c8ec89e4
  Author: Tyler Kennedy <tk at tkte.ch>
  Date:   2016-04-13 (Wed, 13 Apr 2016)

  Changed paths:
    M ckan/lib/helpers.py

  Log Message:
  -----------
  Rename AttributeDict to HelperAttributeDict


  Commit: ff8982a63558bf81f7aff6cf108e1992862ef9df
      https://github.com/ckan/ckan/commit/ff8982a63558bf81f7aff6cf108e1992862ef9df
  Author: Tyler Kennedy <tk at tkte.ch>
  Date:   2016-04-13 (Wed, 13 Apr 2016)

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

  Log Message:
  -----------
  PEP8 toolkit.py and add HelperError to toolkit export list.


  Commit: 32c12bdacf1b126a066c6791b4b4849dc796ad13
      https://github.com/ckan/ckan/commit/32c12bdacf1b126a066c6791b4b4849dc796ad13
  Author: Tyler Kennedy <tk at tkte.ch>
  Date:   2016-04-13 (Wed, 13 Apr 2016)

  Changed paths:
    M ckan/lib/helpers.py

  Log Message:
  -----------
  Remove commented out legacy imports.


  Commit: 691b3bfd14b13d4953f9b24ffc0a00670d89a643
      https://github.com/ckan/ckan/commit/691b3bfd14b13d4953f9b24ffc0a00670d89a643
  Author: Ian Ward <ian at excess.org>
  Date:   2016-04-13 (Wed, 13 Apr 2016)

  Changed paths:
    M ckan/config/environment.py
    M ckan/controllers/tag.py
    M ckan/controllers/user.py
    M ckan/exceptions.py
    M ckan/lib/helpers.py
    M ckan/plugins/toolkit.py
    M ckan/tests/legacy/lib/test_alphabet_pagination.py
    M ckan/tests/legacy/test_coding_standards.py

  Log Message:
  -----------
  Merge pull request #2908 from TkTech/rewrite_helpers

Start rewriting helpers.py


Compare: https://github.com/ckan/ckan/compare/cd553bba49df...691b3bfd14b1


More information about the ckan-changes mailing list