[ckan-changes] [okfn/ckan] e26054: 2869 Fixes problem with invalid data being passed ...

GitHub noreply at github.com
Mon Feb 4 15:17:53 UTC 2013

  Branch: refs/heads/release-v1.7.1-ecportal
  Home:   https://github.com/okfn/ckan
  Commit: e26054d783e5011e5121eaa1b3e8e200656ce54c
  Author: Ross Jones <rossdjones at gmail.com>
  Date:   2013-02-04 (Mon, 04 Feb 2013)

  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: bda5b7247d7b96b1cbe2a8e01ed8f0a49967dc1f
  Author: amercader <amercadero at gmail.com>
  Date:   2013-02-04 (Mon, 04 Feb 2013)

  Changed paths:
    M ckan/controllers/storage.py

  Log Message:
  [PATCH] Bugfix urls to EU-S3 buckets.

If you try to address EU-buckets with http://s3.amazonaws.com/bucket/
you get:
    The bucket you are attempting to access must be addressed using
    the specified endpoint. Please send all future requests to this

Thats why we should let underlying infrastructure form the url as it
might know this kind if things. - Anton Lundin

  Commit: 4f989d1a9113b5f3b7a2ab165c8886e74bbc84e1
  Author: Sean Hammond <seanhammond at lavabit.com>
  Date:   2013-02-04 (Mon, 04 Feb 2013)

  Changed paths:
    M ckan/lib/package_saver.py

  Log Message:
  Show dataset author and maintainer names even if they have no emails

Dataset author and maintainer names were not being shown on the dataset
read page unless the dataset's author_email and maintainer_email fields
were also filled out (in CKAN 2.0 author and maintainer are simply not
shown, in 1.8 and 1.7 it actually says incorrectly 'No author given' or
'No maintainer given').

Change this behaviour so that:

1. Author/maintainer is not shown if neither author/maintainer nor
author_email/maintainer_email is filled out

2. If only author/maintainer is filled out (no email) just show the name

3. If only email is filled then use the email as both link text and
mailto: href

4. If both name and email are given then use name as link text and email
as mailto: href

  Commit: 975ae13a20845db76a0d3bd3796fd2a632900073
  Author: Joshua Tauberer <jt at occams.info>
  Date:   2013-02-04 (Mon, 04 Feb 2013)

  Changed paths:
    M ckan/lib/authztool.py

  Log Message:
  authztool s/RIGHTS_HELP/self.usage/, otherwise it dies



  Commit: 2c2b6003833550d9fea72fc3d69227227ea2aa7f
  Author: Toby <toby.junk at gmail.com>
  Date:   2013-02-04 (Mon, 04 Feb 2013)

  Changed paths:
    M ckan/model/license.py

  Log Message:
  Fix the license i18n issue

The property was only being executed once this forces it
to always being applied should work with licenses_group_url
but not tested due to lack of info. The setting on the class has
been tested and works so should be ok

Compare: https://github.com/okfn/ckan/compare/3c223a6b0ff0...2c2b60038335

More information about the ckan-changes mailing list