[ckan-changes] [okfn/ckan] 8513d2: Update version for 2.0.4b

GitHub noreply at github.com
Tue Dec 17 14:09:43 UTC 2013


  Branch: refs/heads/release-v2.0.4
  Home:   https://github.com/okfn/ckan
  Commit: 8513d23f34bc2c1a979db1afff53b122c9dde146
      https://github.com/okfn/ckan/commit/8513d23f34bc2c1a979db1afff53b122c9dde146
  Author: amercader <amercadero at gmail.com>
  Date:   2013-12-09 (Mon, 09 Dec 2013)

  Changed paths:
    M ckan/__init__.py
    M doc/_themes/sphinx-theme-okfn

  Log Message:
  -----------
  Update version for 2.0.4b


  Commit: a34e04bc920ca7ec96b5d09c76c0422fcff55ce8
      https://github.com/okfn/ckan/commit/a34e04bc920ca7ec96b5d09c76c0422fcff55ce8
  Author: amercader <amercadero at gmail.com>
  Date:   2013-12-09 (Mon, 09 Dec 2013)

  Changed paths:
    M ckan/controllers/user.py

  Log Message:
  -----------
  [#1068] Show 404 instead of login page on user not found

Remove unnecessary auth check, fix redirect


  Commit: 50259e79b1ca3f1dd4dbcac618767720de38c6b0
      https://github.com/okfn/ckan/commit/50259e79b1ca3f1dd4dbcac618767720de38c6b0
  Author: amercader <amercadero at gmail.com>
  Date:   2013-12-09 (Mon, 09 Dec 2013)

  Changed paths:
    M ckan/controllers/group.py
    M ckan/logic/action/get.py

  Log Message:
  -----------
  [#1298] Fix activity and about organization pages

The controller methods didn't use `self._action` which will use the
appropiate `group_` or `organization_` action depending on the group
type.

The `organization_activity_list_html` action hadn't been used at all
until now, as there was a syntax error.

Conflicts:

	ckan/controllers/group.py


  Commit: 0748fde5a60f172c00e23e20e452065f674462b3
      https://github.com/okfn/ckan/commit/0748fde5a60f172c00e23e20e452065f674462b3
  Author: Nigel Babu <nigelbabu at gmail.com>
  Date:   2013-12-17 (Tue, 17 Dec 2013)

  Changed paths:
    M ckan/logic/action/get.py

  Log Message:
  -----------
  [#1384] Make the database query in related_list

* We didn't actually do the database query in related_list if we
  didn't pass a dataset. This commit fixes that.
* Share the dictize function for both cases.


  Commit: 948c53dd7e3baa4e22827959bf6ec5633545ac64
      https://github.com/okfn/ckan/commit/948c53dd7e3baa4e22827959bf6ec5633545ac64
  Author: Nigel Babu <nigelbabu at gmail.com>
  Date:   2013-12-17 (Tue, 17 Dec 2013)

  Changed paths:
    M ckan/controllers/related.py

  Log Message:
  -----------
  [#1384] Update related controller to use a list

The controller relied on the output of related_list being a
Query object. Updated them to use the list.

Conflicts:

	ckan/controllers/related.py


  Commit: 398c48ce058a5065774e5be44007e116238e68d4
      https://github.com/okfn/ckan/commit/398c48ce058a5065774e5be44007e116238e68d4
  Author: Nigel Babu <nigelbabu at gmail.com>
  Date:   2013-12-17 (Tue, 17 Dec 2013)

  Changed paths:
    M ckan/logic/action/get.py

  Log Message:
  -----------
  [#1384] Update documentation for related_list

The related_list function should not need an id or dataset
parameter. We use it ourselves in the related dashboard
without an id or dataset parameter.


  Commit: be58e17acad87294bf18b0f91e495047aafce8e9
      https://github.com/okfn/ckan/commit/be58e17acad87294bf18b0f91e495047aafce8e9
  Author: Nigel Babu <nigelbabu at gmail.com>
  Date:   2013-12-17 (Tue, 17 Dec 2013)

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

  Log Message:
  -----------
  [#1384] Remove sorted from model_dictize

related_items is already sorted from the database query.
Adding another sorting at the model_dictize level looks
unnecessary and overrides the one from the query.


  Commit: 53529ca021be7c16a092980039d5b1f727f24a15
      https://github.com/okfn/ckan/commit/53529ca021be7c16a092980039d5b1f727f24a15
  Author: Nigel Babu <nigelbabu at gmail.com>
  Date:   2013-12-17 (Tue, 17 Dec 2013)

  Changed paths:
    M ckan/controllers/related.py
    M ckan/tests/functional/test_related.py

  Log Message:
  -----------
  [#1384] Fix test broken due to sorted change

* Fix the test broken because it expects results from sorted.
* Correct the PEP8 change in related controller.


Compare: https://github.com/okfn/ckan/compare/8513d23f34bc^...53529ca021be


More information about the ckan-changes mailing list