[ckan-changes] [okfn/ckan] 3ee836: Quick fix for deprecated

GitHub noreply at github.com
Sat Aug 18 14:05:12 UTC 2012


  Branch: refs/heads/2845-bug-editing-organization-removes-datasets
  Home:   https://github.com/okfn/ckan
  Commit: 3ee836d08204155968db5c2866fcb7d959af8c07
      https://github.com/okfn/ckan/commit/3ee836d08204155968db5c2866fcb7d959af8c07
  Author: tobes <toby.junk at gmail.com>
  Date:   2012-08-01 (Wed, 01 Aug 2012)

  Changed paths:
    M ckan/lib/maintain.py

  Log Message:
  -----------
  Quick fix for deprecated


  Commit: fdfe6a0aca3252d88490b34e9d99c527811e1ce3
      https://github.com/okfn/ckan/commit/fdfe6a0aca3252d88490b34e9d99c527811e1ce3
  Author: tobes <toby.junk at gmail.com>
  Date:   2012-08-01 (Wed, 01 Aug 2012)

  Changed paths:
    M ckan/lib/maintain.py

  Log Message:
  -----------
  Proper fix of deprecated_context_item


  Commit: c333d08cab5f82596b67e5ed0e83ad68b4b8e452
      https://github.com/okfn/ckan/commit/c333d08cab5f82596b67e5ed0e83ad68b4b8e452
  Author: tobes <toby.junk at gmail.com>
  Date:   2012-08-01 (Wed, 01 Aug 2012)

  Changed paths:
    M ckan/lib/maintain.py

  Log Message:
  -----------
  some documentation


  Commit: ad1785ccdf5a669c5feb5375bf93698e82ebc5d3
      https://github.com/okfn/ckan/commit/ad1785ccdf5a669c5feb5375bf93698e82ebc5d3
  Author: tobes <toby.junk at gmail.com>
  Date:   2012-08-01 (Wed, 01 Aug 2012)

  Changed paths:
    M ckan/lib/maintain.py

  Log Message:
  -----------
  Add the warning again


  Commit: 95a38b5bc9b6ba79dd5257e32d939bd94298964e
      https://github.com/okfn/ckan/commit/95a38b5bc9b6ba79dd5257e32d939bd94298964e
  Author: tobes <toby.junk at gmail.com>
  Date:   2012-08-02 (Thu, 02 Aug 2012)

  Changed paths:
    M ckan/lib/maintain.py

  Log Message:
  -----------
  Store the message plus better names


  Commit: 3ae477bfa84e62a6bdb5fa4f99e9800c007fb681
      https://github.com/okfn/ckan/commit/3ae477bfa84e62a6bdb5fa4f99e9800c007fb681
  Author: Ian Murray <ian.murray at okfn.org>
  Date:   2012-08-02 (Thu, 02 Aug 2012)

  Changed paths:
    M ckan/lib/maintain.py

  Log Message:
  -----------
  Fix the original deprecate_context_item function.


  Commit: 1cdf6a49671693a98789041a753cde81822d2c4c
      https://github.com/okfn/ckan/commit/1cdf6a49671693a98789041a753cde81822d2c4c
  Author: tobes <toby.junk at gmail.com>
  Date:   2012-08-07 (Tue, 07 Aug 2012)

  Changed paths:
    M ckan/lib/maintain.py

  Log Message:
  -----------
  Revert "Fix the original deprecate_context_item function."

This reverts commit 3ae477bfa84e62a6bdb5fa4f99e9800c007fb681.

thread unsafe


  Commit: 4794c6f352be3151048e5eac2354d729f9fb6e94
      https://github.com/okfn/ckan/commit/4794c6f352be3151048e5eac2354d729f9fb6e94
  Author: tobes <toby.junk at gmail.com>
  Date:   2012-08-07 (Tue, 07 Aug 2012)

  Changed paths:
    M ckan/lib/maintain.py

  Log Message:
  -----------
  Fix up as suggested by kindly


  Commit: f9c737403ddd26ea087fc5c66e4dbcc9e0cf6fa2
      https://github.com/okfn/ckan/commit/f9c737403ddd26ea087fc5c66e4dbcc9e0cf6fa2
  Author: kindly <kindly at gmail.com>
  Date:   2012-08-15 (Wed, 15 Aug 2012)

  Log Message:
  -----------
  Merge branch 'deprecated-fix-for-1.8' into release-v1.8


  Commit: 302c2f5644e7dd07e4c5a53f47d377d385685ecc
      https://github.com/okfn/ckan/commit/302c2f5644e7dd07e4c5a53f47d377d385685ecc
  Author: kindly <kindly at gmail.com>
  Date:   2012-08-15 (Wed, 15 Aug 2012)

  Log Message:
  -----------
  Merge pull request #84 from okfn/deprecated-fix-for-1.8

Deprecated fix for 1.8, merged.


  Commit: 3e654786a6c9daf89d65ec1c86b1fb9a2a3ec074
      https://github.com/okfn/ckan/commit/3e654786a6c9daf89d65ec1c86b1fb9a2a3ec074
  Author: tobes <toby.junk at gmail.com>
  Date:   2012-08-16 (Thu, 16 Aug 2012)

  Changed paths:
    M ckan/controllers/related.py

  Log Message:
  -----------
  [#2856] Fix 500 error in related controller


  Commit: 5283b4d08fdf52c43a61c60e271c5d10fda6f2e3
      https://github.com/okfn/ckan/commit/5283b4d08fdf52c43a61c60e271c5d10fda6f2e3
  Author: amercader <amercadero at gmail.com>
  Date:   2012-08-16 (Thu, 16 Aug 2012)

  Changed paths:
    M ckan/controllers/related.py

  Log Message:
  -----------
  Merge branch '2856-related-controller-fix' into release-v1.8


  Commit: 202d6fe42a3d0f60ddf093285b0e3e62b7aff2c3
      https://github.com/okfn/ckan/commit/202d6fe42a3d0f60ddf093285b0e3e62b7aff2c3
  Author: Sean Hammond <seanhammond at lavabit.com>
  Date:   2012-08-16 (Thu, 16 Aug 2012)

  Changed paths:
    M ckan/lib/create_test_data.py
    M ckanext/multilingual/tests/test_multilingual_plugin.py

  Log Message:
  -----------
  Remove 'Other (Open)' from multilingual test data

This fixes a multilingual extension test that was failing. Seems this
string is getting translated by normal gettext interface translation now


  Commit: 080be1bb2521e5d2d7a7800d0ec6bbb1446c3019
      https://github.com/okfn/ckan/commit/080be1bb2521e5d2d7a7800d0ec6bbb1446c3019
  Author: Ross Jones <rossdjones at gmail.com>
  Date:   2012-08-16 (Thu, 16 Aug 2012)

  Changed paths:
    M ckan/controllers/feed.py

  Log Message:
  -----------
  2869 Fixes problem with invalid data being passed to solr.

The feeds take a page number from the query string and use it to determine the
start position in the list.  Occassionally this is 0 and code around line 441
then decrement and then multiply this number, generating a start number less than
0 which solr chokes on.


  Commit: 3aac052841a0b592a562e23afa8552fb63696db4
      https://github.com/okfn/ckan/commit/3aac052841a0b592a562e23afa8552fb63696db4
  Author: Ross Jones <rossdjones at gmail.com>
  Date:   2012-08-16 (Thu, 16 Aug 2012)

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

  Log Message:
  -----------
  Test for 2868


  Commit: 4885895c0f8c0bced0f5392b8938aadcc6004cfd
      https://github.com/okfn/ckan/commit/4885895c0f8c0bced0f5392b8938aadcc6004cfd
  Author: Sean Hammond <seanhammond at lavabit.com>
  Date:   2012-08-16 (Thu, 16 Aug 2012)

  Changed paths:
    M ckan/model/license.py

  Log Message:
  -----------
  Fix for non-open licenses appearing open

The 'This dataset is openly licensed' icon was appearing next to
non-open datasets as well. The problem was that DefaultLicense was
returning u"False" (a string) for boolean attributes such as
is_okd_compliant. Change the class so it no longer turns non-string
attributes into unicode strings when you access them.


  Commit: 888c46a09429b576b08f3b5a2d1faf4354759302
      https://github.com/okfn/ckan/commit/888c46a09429b576b08f3b5a2d1faf4354759302
  Author: Ross Jones <rossdjones at gmail.com>
  Date:   2012-08-16 (Thu, 16 Aug 2012)

  Changed paths:
    M ckan/lib/mailer.py
    M ckan/tests/functional/test_user.py

  Log Message:
  -----------
  2866 Missing key results in strip() being called on None

When no reset key is present then None is used to verify the key
and it is strip()ed first, resulting in an error.


  Commit: bc104c006fd26fe3b9d630d85d1831f272d62740
      https://github.com/okfn/ckan/commit/bc104c006fd26fe3b9d630d85d1831f272d62740
  Author: Ross Jones <rossdjones at gmail.com>
  Date:   2012-08-16 (Thu, 16 Aug 2012)

  Changed paths:
    M ckan/controllers/storage.py

  Log Message:
  -----------
  2867 Fixes a problem with passing unicode to url_for

Forces the file_url to be ascii as it appears that for some reason, and only
occassionally OFS returns unicode instead of str.  We don't want to fix OFS
as it is scheduled for removal and we can fix routes as it is already out of
date.


  Commit: daf63e95d1859327d2afd193145d31f21faa5967
      https://github.com/okfn/ckan/commit/daf63e95d1859327d2afd193145d31f21faa5967
  Author: kindly <kindly at gmail.com>
  Date:   2012-08-16 (Thu, 16 Aug 2012)

  Changed paths:
    M ckan/controllers/feed.py
    M ckan/controllers/related.py
    M ckan/controllers/storage.py
    M ckan/lib/create_test_data.py
    M ckan/lib/mailer.py
    M ckan/model/license.py
    M ckan/tests/functional/test_group.py
    M ckan/tests/functional/test_user.py
    M ckanext/multilingual/tests/test_multilingual_plugin.py

  Log Message:
  -----------
  Merge branch 'release-v1.8' of github.com:okfn/ckan into release-v1.8


  Commit: 8abcfd97bbba237fdab55aad61288bed637153ff
      https://github.com/okfn/ckan/commit/8abcfd97bbba237fdab55aad61288bed637153ff
  Author: Rufus Pollock <rufus.pollock at okfn.org>
  Date:   2012-08-17 (Fri, 17 Aug 2012)

  Changed paths:
    M ckan/public/scripts/vendor/recline/recline.js

  Log Message:
  -----------
  [#2639,js/recline][xs]: re-insert support for serializing all dataset info into state (and vice-versa) which means format is preserved for dataproxy.


  Commit: bbd0fe6af8f46fa316207aae58f63bc7ef07085f
      https://github.com/okfn/ckan/commit/bbd0fe6af8f46fa316207aae58f63bc7ef07085f
  Author: Rufus Pollock <rufus.pollock at okfn.org>
  Date:   2012-08-17 (Fri, 17 Aug 2012)

  Changed paths:
    M ckan/controllers/package.py

  Log Message:
  -----------
  [#2639,bugfix][xs]: bugfix for minor issue with backwards compatibility in embed urls.

* Bug: previous recline setup used elasticsearch_url in recline 'state' (dataset part) when generating embed_url for dataset. But recline no longer supports this. Fixed by moving elasticsearch_urlmoving to url attribute of dataset attribute of state.


  Commit: 9e16c46274f88645414f08abbaeae47c2ee7baba
      https://github.com/okfn/ckan/commit/9e16c46274f88645414f08abbaeae47c2ee7baba
  Author: Rufus Pollock <rufus.pollock at okfn.org>
  Date:   2012-08-17 (Fri, 17 Aug 2012)

  Changed paths:
    M ckan/public/scripts/application.js

  Log Message:
  -----------
  [#2639,bugfix][xs]: remove reference to recline.Model.Dataset.restore (has been removed from recline) and do the dataset restore by hand (trivial).


  Commit: b17ea57856187ed2789e81fcacf5f6731d11da2d
      https://github.com/okfn/ckan/commit/b17ea57856187ed2789e81fcacf5f6731d11da2d
  Author: Sean Hammond <seanhammond at lavabit.com>
  Date:   2012-08-18 (Sat, 18 Aug 2012)

  Changed paths:
    M ckan/controllers/feed.py
    M ckan/controllers/package.py
    M ckan/controllers/related.py
    M ckan/controllers/storage.py
    M ckan/lib/create_test_data.py
    M ckan/lib/mailer.py
    M ckan/model/license.py
    M ckan/public/scripts/application.js
    M ckan/public/scripts/vendor/recline/recline.js
    M ckan/tests/functional/test_group.py
    M ckan/tests/functional/test_user.py
    M ckanext/multilingual/tests/test_multilingual_plugin.py

  Log Message:
  -----------
  Merge branch 'release-v1.8' of github.com:okfn/ckan into 2845-bug-editing-organization-removes-datasets


  Commit: e3a67936f5dea6ec07187c5acd8393e7f60c729a
      https://github.com/okfn/ckan/commit/e3a67936f5dea6ec07187c5acd8393e7f60c729a
  Author: Sean Hammond <seanhammond at lavabit.com>
  Date:   2012-08-18 (Sat, 18 Aug 2012)

  Changed paths:
    M ckan/lib/dictization/model_save.py

  Log Message:
  -----------
  [#2845] Apply allow_partial_update to all group fields

Make 'allow_partial_update': True in the context apply to multiple group
fields: packages, users, groups, tags and extras, when updating a group,
so you can pass a group dict with e.g. no 'packages' key and this will
update the group but will not change the group's packages.  Previously
allow_partial_update only affected packages and extras.


Compare: https://github.com/okfn/ckan/compare/29bd17bd8305...e3a67936f5de


More information about the ckan-changes mailing list