[ckan-changes] [okfn/ckan] abee9c: [#568] Fix to allow translations to be extracted

GitHub noreply at github.com
Fri Mar 8 10:47:55 UTC 2013


  Branch: refs/heads/fixes-for-2.0
  Home:   https://github.com/okfn/ckan
  Commit: abee9cd6ce27244957da2fbb2257e8786e057244
      https://github.com/okfn/ckan/commit/abee9cd6ce27244957da2fbb2257e8786e057244
  Author: tobes <toby.junk at gmail.com>
  Date:   2013-03-07 (Thu, 07 Mar 2013)

  Changed paths:
    M ckan/lib/jinja_extensions.py

  Log Message:
  -----------
  [#568] Fix to allow translations to be extracted


  Commit: 02dad0d2e55ac23294ce799ed64dd041bff3ac06
      https://github.com/okfn/ckan/commit/02dad0d2e55ac23294ce799ed64dd041bff3ac06
  Author: tobes <toby.junk at gmail.com>
  Date:   2013-03-07 (Thu, 07 Mar 2013)

  Changed paths:
    M ckan/controllers/user.py

  Log Message:
  -----------
  [#548] Fix broken password reset and add FIXMEs


  Commit: ca0a0fa028428104fac92cc87baf4f65daddf431
      https://github.com/okfn/ckan/commit/ca0a0fa028428104fac92cc87baf4f65daddf431
  Author: amercader <amercadero at gmail.com>
  Date:   2013-03-07 (Thu, 07 Mar 2013)

  Changed paths:
    M ckan/controllers/api.py
    M ckan/tests/logic/test_action.py

  Log Message:
  -----------
  [#546] Allow GET API actions to not have parameters

For actions like package_list or group_list you still had to provide
parameters as in:

http://demo.ckan.org/api/3/action/package_list?foo

These changes allow to not pass any param so an empty dict is passed to
the logic layer, where if a necessary param is missing a ValidationError
will be raised.

Also adds some missing tests for GETable actions.


  Commit: 2048b72981ef210993a850292d087ed532f3b9eb
      https://github.com/okfn/ckan/commit/2048b72981ef210993a850292d087ed532f3b9eb
  Author: amercader <amercadero at gmail.com>
  Date:   2013-03-07 (Thu, 07 Mar 2013)

  Changed paths:
    M ckan/lib/datapreview.py
    M ckan/tests/lib/test_datapreview.py

  Log Message:
  -----------
  [#553] Catch exceptions by urlparse with horrible URLs


  Commit: 0422fd12e80326923685e7e59985c8df57887020
      https://github.com/okfn/ckan/commit/0422fd12e80326923685e7e59985c8df57887020
  Author: Dominik Moritz <domoritz at gmail.com>
  Date:   2013-03-07 (Thu, 07 Mar 2013)

  Changed paths:
    M ckan/tests/lib/test_datapreview.py

  Log Message:
  -----------
  [#553] Replace == with is when comparing to bool in test


  Commit: 7057921fbebf773e7e77b865b158f12e70628bc5
      https://github.com/okfn/ckan/commit/7057921fbebf773e7e77b865b158f12e70628bc5
  Author: Dominik Moritz <domoritz at gmail.com>
  Date:   2013-03-07 (Thu, 07 Mar 2013)

  Changed paths:
    M ckan/tests/lib/test_datapreview.py

  Log Message:
  -----------
  [#553] Test whether unicode urls break url comparison


  Commit: 56e54155cafe5474cf93633fd5c983d7430fb768
      https://github.com/okfn/ckan/commit/56e54155cafe5474cf93633fd5c983d7430fb768
  Author: amercader <amercadero at gmail.com>
  Date:   2013-03-07 (Thu, 07 Mar 2013)

  Changed paths:
    M ckan/config/routing.py
    M ckan/controllers/feed.py
    M ckan/controllers/group.py
    M ckan/controllers/organization.py
    M ckan/lib/app_globals.py
    M ckan/lib/plugins.py
    A ckan/public/base/images/table-seperator.png
    A ckan/public/base/javascript/modules/table-toggle-more.js
    M ckan/public/base/javascript/resource.config
    M ckan/public/base/less/ckan.less
    M ckan/public/base/less/dataset.less
    M ckan/public/base/less/homepage.less
    M ckan/public/base/less/mixins.less
    M ckan/public/base/less/module.less
    M ckan/public/base/less/nav.less
    A ckan/public/base/less/tables.less
    M ckan/public/base/less/variables.less
    M ckan/templates/admin/base.html
    M ckan/templates/admin/config.html
    M ckan/templates/admin/index.html
    M ckan/templates/development/snippets/page_header.html
    M ckan/templates/error_document_template.html
    M ckan/templates/footer.html
    M ckan/templates/group/read_base.html
    M ckan/templates/home/about.html
    M ckan/templates/home/index.html
    A ckan/templates/organization/activity_stream.html
    M ckan/templates/organization/edit.html
    M ckan/templates/organization/read_base.html
    M ckan/templates/package/read_base.html
    M ckan/templates/package/resource_read.html
    M ckan/templates/package/search.html
    M ckan/templates/package/snippets/info.html
    M ckan/templates/package/snippets/search_form.html
    M ckan/templates/page.html
    M ckan/templates/snippets/organization.html
    R ckan/templates/snippets/page_header.html
    A ckan/templates/snippets/search_result_text.html
    M ckan/templates/user/edit_base.html
    M ckan/templates/user/read_base.html
    M ckan/templates/user/snippets/followee_dropdown.html
    M ckan/tests/functional/test_group.py

  Log Message:
  -----------
  Merge branch 'fixes-for-2.0' into release-v2.0


  Commit: d83a7f1aa18369ba4bf13b2ce7472a94c2ba9b16
      https://github.com/okfn/ckan/commit/d83a7f1aa18369ba4bf13b2ce7472a94c2ba9b16
  Author: amercader <amercadero at gmail.com>
  Date:   2013-03-07 (Thu, 07 Mar 2013)

  Changed paths:
    M ckan/templates/admin/index.html
    M ckan/templates/ajax_snippets/api_info.html
    M ckan/templates/home/snippets/about_text.html
    M ckan/templates/package/base.html
    M ckan/templates/package/related_list.html
    M ckan/templates/package/resource_edit.html
    M ckan/templates/package/search.html
    M ckan/templates/package/snippets/data_api_button.html
    M ckan/templates/package/snippets/package_metadata_fields.html
    M ckan/templates/package/snippets/search_form.html
    M ckan/templates/related/base_form_page.html
    M ckan/templates/related/snippets/related_form.html
    M ckan/templates/snippets/datapreview_embed_dialog.html
    M ckan/templates/snippets/disqus_trackback.html
    M ckan/templates/snippets/home_breadcrumb_item.html
    M ckan/templates/snippets/license.html
    M ckan/templates/snippets/package_item.html
    M ckan/templates/snippets/popular.html
    M ckan/templates/snippets/related.html
    M ckan/templates/snippets/social.html
    M ckan/templates/snippets/subscribe.html
    M ckan/templates/user/logout_first.html

  Log Message:
  -----------
  Template translation review

Known issue: h.time_ago_in_words_from_str

Conflicts:

	ckan/templates/package/snippets/package_metadata_fields.html


  Commit: a46571a6ac35a5820fb0373e09f19994fbda7596
      https://github.com/okfn/ckan/commit/a46571a6ac35a5820fb0373e09f19994fbda7596
  Author: amercader <amercadero at gmail.com>
  Date:   2013-03-07 (Thu, 07 Mar 2013)

  Changed paths:
    M ckan/templates/package/search.html
    M ckan/templates/package/snippets/data_api_button.html
    M ckan/templates/package/snippets/search_form.html
    M ckan/templates/related/snippets/related_form.html

  Log Message:
  -----------
  Fixes after review


  Commit: e29606eeaaa15a489a7d2f470f2b7ca492bd0e75
      https://github.com/okfn/ckan/commit/e29606eeaaa15a489a7d2f470f2b7ca492bd0e75
  Author: tobes <toby.junk at gmail.com>
  Date:   2013-03-07 (Thu, 07 Mar 2013)

  Changed paths:
    M ckan/templates/package/search.html

  Log Message:
  -----------
  Fix translation issue with package search


  Commit: 10dde35dd91e9b1c8b17d3b989f03c9ab25de074
      https://github.com/okfn/ckan/commit/10dde35dd91e9b1c8b17d3b989f03c9ab25de074
  Author: amercader <amercadero at gmail.com>
  Date:   2013-03-07 (Thu, 07 Mar 2013)

  Changed paths:
    M ckan/controllers/package.py

  Log Message:
  -----------
  Fix crash in stage 3 when ValidationErrors occur

Basically when raising a ValidationError on stage 3 of the dataset
creation, the new_metadata method didn't set context before
_setup_template_variables was called, raising an exception.

Note that this prevents the exception, but the message is still not
shown (see #586).


  Commit: 6d12387a35959410e78934ec1c0310ec82d76971
      https://github.com/okfn/ckan/commit/6d12387a35959410e78934ec1c0310ec82d76971
  Author: amercader <amercadero at gmail.com>
  Date:   2013-03-07 (Thu, 07 Mar 2013)

  Changed paths:
    M ckan/templates/footer.html

  Log Message:
  -----------
  [#307] Fix About translation in footer


  Commit: a09855f884873ffa874af0567d497bd849a69ba3
      https://github.com/okfn/ckan/commit/a09855f884873ffa874af0567d497bd849a69ba3
  Author: tobes <toby.junk at gmail.com>
  Date:   2013-03-07 (Thu, 07 Mar 2013)

  Changed paths:
    R ckanext/publisher_form/__init__.py
    R ckanext/publisher_form/forms.py
    R ckanext/publisher_form/templates/dataset_form.html
    R ckanext/publisher_form/templates/publisher_form.html
    R ckanext/publisher_form/templates/publisher_index.html
    R ckanext/publisher_form/templates/publisher_layout.html
    R ckanext/publisher_form/templates/publisher_new.html
    R ckanext/publisher_form/templates/publisher_read.html

  Log Message:
  -----------
  remove the publisher_form stuff


  Commit: 37bff1e88bd4bb5bc730e4c10f5c6be655b72883
      https://github.com/okfn/ckan/commit/37bff1e88bd4bb5bc730e4c10f5c6be655b72883
  Author: tobes <toby.junk at gmail.com>
  Date:   2013-03-07 (Thu, 07 Mar 2013)

  Changed paths:
    R ckan/tests/mock_publisher_auth.py

  Log Message:
  -----------
  remove mock_publisher_auth.py


  Commit: e8408e06881e32c5572167c6b0879f96669c6e70
      https://github.com/okfn/ckan/commit/e8408e06881e32c5572167c6b0879f96669c6e70
  Author: tobes <toby.junk at gmail.com>
  Date:   2013-03-07 (Thu, 07 Mar 2013)

  Changed paths:
    M ckan/tests/functional/test_group.py

  Log Message:
  -----------
  remove tests related to publisher


  Commit: cd567e9af5a09436a4b13ca5adadc8e411fb7fa1
      https://github.com/okfn/ckan/commit/cd567e9af5a09436a4b13ca5adadc8e411fb7fa1
  Author: tobes <toby.junk at gmail.com>
  Date:   2013-03-07 (Thu, 07 Mar 2013)

  Changed paths:
    R ckan/lib/authztool.py
    M setup.py

  Log Message:
  -----------
  Remove old auth paster commands


  Commit: 3c30303e7450f48a8ce97283b96392d2d3319182
      https://github.com/okfn/ckan/commit/3c30303e7450f48a8ce97283b96392d2d3319182
  Author: tobes <toby.junk at gmail.com>
  Date:   2013-03-07 (Thu, 07 Mar 2013)

  Changed paths:
    M ckan/lib/create_test_data.py

  Log Message:
  -----------
  Remove create_roles() in create_test_data


  Commit: 752aecfb14671357251f50e4bbd5a65aa24d81ff
      https://github.com/okfn/ckan/commit/752aecfb14671357251f50e4bbd5a65aa24d81ff
  Author: tobes <toby.junk at gmail.com>
  Date:   2013-03-08 (Fri, 08 Mar 2013)

  Changed paths:
    M ckan/lib/helpers.py
    M ckan/templates/group/index.html
    M ckan/templates/organization/index.html
    M ckan/templates/snippets/search_result_text.html

  Log Message:
  -----------
  [#583] Improvements to the search text including number formatting, groups, orgs

Conflicts:
	ckan/templates/group/index.html
	ckan/templates/organization/index.html

    not too bad merges


Compare: https://github.com/okfn/ckan/compare/16e3684cb324...752aecfb1467


More information about the ckan-changes mailing list