[ckan-changes] [ckan/ckan] 0ae56d: [#3078] Don't show deleted users/datasets on membe...

GitHub noreply at github.com
Thu Aug 25 15:09:07 UTC 2016


  Branch: refs/heads/release-v2.3.5
  Home:   https://github.com/ckan/ckan
  Commit: 0ae56d2cb238c5dc9df0a58bbcaedd5b9a400751
      https://github.com/ckan/ckan/commit/0ae56d2cb238c5dc9df0a58bbcaedd5b9a400751
  Author: amercader <amercadero at gmail.com>
  Date:   2016-08-25 (Thu, 25 Aug 2016)

  Changed paths:
    M ckan/logic/action/delete.py
    M ckan/new_tests/logic/action/test_get.py

  Log Message:
  -----------
  [#3078] Don't show deleted users/datasets on member_list

The members table is stateful, ie it has a state=active/deleted field which
was not updated when deleting a dataset or user.

This commit sets the state of all user/dataset memberships to deleted
and adds some tests

Conflicts:
	ckan/new_tests/logic/action/test_get.py


  Commit: dda8203d1c71fa4eae47f4898d568909fb12d900
      https://github.com/ckan/ckan/commit/dda8203d1c71fa4eae47f4898d568909fb12d900
  Author: Florian Brucker <florian.brucker at mb.karlsruhe.de>
  Date:   2016-08-25 (Thu, 25 Aug 2016)

  Changed paths:
    M ckan/ckan_nose_plugin.py
    M ckan/lib/base.py
    M ckan/lib/datapreview.py
    M ckan/lib/helpers.py
    M ckan/logic/action/get.py

  Log Message:
  -----------
  Fix #3093: Incorrect usage of `str.split`.

Conflicts:
	ckan/logic/action/get.py


  Commit: a71667f4b040331960152d9769feb912852d8bf4
      https://github.com/ckan/ckan/commit/a71667f4b040331960152d9769feb912852d8bf4
  Author: amercader <amercadero at gmail.com>
  Date:   2016-08-25 (Thu, 25 Aug 2016)

  Changed paths:
    M ckan/logic/action/create.py
    M ckan/logic/schema.py
    M ckan/new_tests/logic/action/test_create.py

  Log Message:
  -----------
  [#3108] Raise validation errors on group/org_member_create

Add not_missing to the schema and raise the errors on the action. Adds
some tests as well


  Commit: 6adb2d74c629275f3a01a98916a57ecdb91397e0
      https://github.com/ckan/ckan/commit/6adb2d74c629275f3a01a98916a57ecdb91397e0
  Author: amercader <amercadero at gmail.com>
  Date:   2016-08-25 (Thu, 25 Aug 2016)

  Changed paths:
    M ckan/logic/schema.py

  Log Message:
  -----------
  [#3108] Allow to renferece groups and users by id or name

Conflicts:
	ckan/logic/schema.py


  Commit: 7b293a110add3eca50c68a5ec0e9f44b8eadec8e
      https://github.com/ckan/ckan/commit/7b293a110add3eca50c68a5ec0e9f44b8eadec8e
  Author: amercader <amercadero at gmail.com>
  Date:   2016-08-25 (Thu, 25 Aug 2016)

  Changed paths:
    M ckan/new_tests/logic/action/test_create.py

  Log Message:
  -----------
  [#3108] Add back plugin unload command


  Commit: 00839310b4f6635371b4dc4d9b1c989189379a61
      https://github.com/ckan/ckan/commit/00839310b4f6635371b4dc4d9b1c989189379a61
  Author: amercader <amercadero at gmail.com>
  Date:   2016-08-25 (Thu, 25 Aug 2016)

  Changed paths:
    M ckan/logic/schema.py

  Log Message:
  -----------
  [#3108] Remove redundant validator


  Commit: ce167f9e84e67407192dde0b6e2ea6613e8f1c74
      https://github.com/ckan/ckan/commit/ce167f9e84e67407192dde0b6e2ea6613e8f1c74
  Author: Sergey Motornyuk <sergey.motornyuk at linkdigital.com.au>
  Date:   2016-08-25 (Thu, 25 Aug 2016)

  Changed paths:
    M ckan/public/base/javascript/modules/resource-view-filters-form.js

  Log Message:
  -----------
  Fix autocomplete request url.

Wrapped previously hardcoded url into ckan.url function


  Commit: 8e8d8fee37b12c046ee833e48276434f294de06e
      https://github.com/ckan/ckan/commit/8e8d8fee37b12c046ee833e48276434f294de06e
  Author: amercader <amercadero at gmail.com>
  Date:   2016-08-25 (Thu, 25 Aug 2016)

  Changed paths:
    M ckan/logic/action/update.py
    M ckan/new_tests/logic/action/test_update.py

  Log Message:
  -----------
  [#3199] Update revisions on bulk operations

`bulk_update_private`, `bulk_update_public` and ``bulk_update_delete`
changed the `package` table and the search index but not the revision
 table, which caused the changes to not be reflected everywhere.

This fixes the model query and adds a bunch of tests.

Conflicts:
	ckan/new_tests/logic/action/test_update.py


  Commit: 9258515b617239dc4dd939dbd0e35e8108a99662
      https://github.com/ckan/ckan/commit/9258515b617239dc4dd939dbd0e35e8108a99662
  Author: amercader <amercadero at gmail.com>
  Date:   2016-08-25 (Thu, 25 Aug 2016)

  Changed paths:
    M ckan/logic/action/update.py
    M ckan/new_tests/logic/action/test_update.py

  Log Message:
  -----------
  [#3199] Only update the latest revision


Compare: https://github.com/ckan/ckan/compare/083397233557...9258515b6172


More information about the ckan-changes mailing list