[ckan-changes] [ckan/ckan] 00a10a: [#2102] Allow sysadmins to set package id with pac...

GitHub noreply at github.com
Thu Dec 18 17:04:06 UTC 2014


  Branch: refs/heads/1852-default-resource-views
  Home:   https://github.com/ckan/ckan
  Commit: 00a10a0e1c9630de3d4f7b75c854ae979a7bdff2
      https://github.com/ckan/ckan/commit/00a10a0e1c9630de3d4f7b75c854ae979a7bdff2
  Author: Ian Ward <ian at excess.org>
  Date:   2014-11-26 (Wed, 26 Nov 2014)

  Changed paths:
    M ckan/logic/schema.py
    M ckan/logic/validators.py
    M ckan/tests/functional/api/model/test_package.py

  Log Message:
  -----------
  [#2102] Allow sysadmins to set package id with package_create


  Commit: 6ac8a1bc0943ca58ef1c97d4529f6624dcd4d0e4
      https://github.com/ckan/ckan/commit/6ac8a1bc0943ca58ef1c97d4529f6624dcd4d0e4
  Author: Ian Ward <ian at excess.org>
  Date:   2014-11-27 (Thu, 27 Nov 2014)

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

  Log Message:
  -----------
  [#2102] add tests


  Commit: c8123ae5b49885ebf5ba274e7d0cef080c29eaa4
      https://github.com/ckan/ckan/commit/c8123ae5b49885ebf5ba274e7d0cef080c29eaa4
  Author: Ian Ward <ian at excess.org>
  Date:   2014-11-27 (Thu, 27 Nov 2014)

  Changed paths:
    M ckan/lib/helpers.py
    M ckan/templates/package/resource_read.html
    M ckan/templates/package/snippets/resource_item.html

  Log Message:
  -----------
  [#2085] only link to http, https and ftp resource urls


  Commit: bd3851fe16079ba8204453ae08a4ac84b4b5879d
      https://github.com/ckan/ckan/commit/bd3851fe16079ba8204453ae08a4ac84b4b5879d
  Author: amercader <amercadero at gmail.com>
  Date:   2014-12-04 (Thu, 04 Dec 2014)

  Changed paths:
    M ckan/lib/create_test_data.py
    M ckanext/stats/stats.py
    M ckanext/stats/tests/test_stats_lib.py

  Log Message:
  -----------
  [#1936] Avoid private and deleted datasets on stats plugin

The following queries have been udpated:

* Top groups: avoid deleted groups

* Most edited datasets: avoid deleted and private datasets

* Top rated packages: avoid deleted and private datasets (I don't think
  this works anyway)

* Top package owners: don't include deleted or private datasets in the
  counts

Tests updated.


  Commit: 614966e3b7ddfb445474c8b75bac4dad5a3c3088
      https://github.com/ckan/ckan/commit/614966e3b7ddfb445474c8b75bac4dad5a3c3088
  Author: amercader <amercadero at gmail.com>
  Date:   2014-12-10 (Wed, 10 Dec 2014)

  Changed paths:
    R doc/_themes/sphinx-theme-okfn

  Log Message:
  -----------
  Remove old submodule folder


  Commit: 80840f3f287780254e636bdbec8c2a3e5ece4c80
      https://github.com/ckan/ckan/commit/80840f3f287780254e636bdbec8c2a3e5ece4c80
  Author: amercader <amercadero at gmail.com>
  Date:   2014-12-11 (Thu, 11 Dec 2014)

  Changed paths:
    M CHANGELOG.rst
    M doc/maintaining/upgrading/upgrade-package-to-minor-release.rst
    M doc/maintaining/upgrading/upgrade-package-to-patch-release.rst

  Log Message:
  -----------
  [#2136] Furhter guidance on who.ini changes on 2.3


  Commit: 4478c7d8a07a0dbc9e13f8d38ddba430935c2b6e
      https://github.com/ckan/ckan/commit/4478c7d8a07a0dbc9e13f8d38ddba430935c2b6e
  Author: Ian Ward <ian at excess.org>
  Date:   2014-12-11 (Thu, 11 Dec 2014)

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

  Log Message:
  -----------
  [#2085] show non-url urls as text in resource_read


  Commit: 5aef5ed178f8f5054c01568d989557f6a5481a65
      https://github.com/ckan/ckan/commit/5aef5ed178f8f5054c01568d989557f6a5481a65
  Author: Ian Ward <ian at excess.org>
  Date:   2014-12-11 (Thu, 11 Dec 2014)

  Changed paths:
    R doc/_themes/sphinx-theme-okfn

  Log Message:
  -----------
  Merge pull request #2135 from ckan/fix-submodule-error

Remove old submodule folder


  Commit: dcce28703a8d57390eb2a2f3b5f57de025ef3a93
      https://github.com/ckan/ckan/commit/dcce28703a8d57390eb2a2f3b5f57de025ef3a93
  Author: Ilja <ilja.pyykkonen at gofore.com>
  Date:   2014-12-12 (Fri, 12 Dec 2014)

  Changed paths:
    M ckan/templates/organization/index.html

  Log Message:
  -----------
  Fix organization pagination


  Commit: caa0b795a322c3b18f0d5a0650f0c4e58f923403
      https://github.com/ckan/ckan/commit/caa0b795a322c3b18f0d5a0650f0c4e58f923403
  Author: Sean Hammond <git at seanh.cc>
  Date:   2014-12-12 (Fri, 12 Dec 2014)

  Changed paths:
    M ckan/controllers/package.py

  Log Message:
  -----------
  [#2142] Fix crash on creating datasets in the web UI

Try to create any dataset in the web UI and after submitting the first
form it crashes with logic.NotFound.

The package controller is passing a package dict to the
resource_create() auth function, which is surely wrong.

Change it to pass a dict with just the "package_id" for the (not created
yet) new resource instead, this seems to be all the resource_create()
auth function needs.


  Commit: cf9407cc5b014850e27f03b5f098726c6025cafd
      https://github.com/ckan/ckan/commit/cf9407cc5b014850e27f03b5f098726c6025cafd
  Author: Sean Hammond <git at seanh.cc>
  Date:   2014-12-12 (Fri, 12 Dec 2014)

  Changed paths:
    M ckan/new_tests/controllers/test_package.py

  Log Message:
  -----------
  [#2142] Test package controller with normal user

Test the package controller with a normal user, not a sysadmin.
Testing using a sysadmin was hiding an auth-related crash.


  Commit: e8bcc8f8de9950d5474eea8ce43ef551de6e2bbb
      https://github.com/ckan/ckan/commit/e8bcc8f8de9950d5474eea8ce43ef551de6e2bbb
  Author: Sean Hammond <git at seanh.cc>
  Date:   2014-12-12 (Fri, 12 Dec 2014)

  Changed paths:
    M ckan/new_tests/controllers/test_package.py

  Log Message:
  -----------
  [#2142] Fix a function name


  Commit: 2854d75a1da746584d44002bef03badb8b84d60e
      https://github.com/ckan/ckan/commit/2854d75a1da746584d44002bef03badb8b84d60e
  Author: David Read <david.read at hackneyworkshop.com>
  Date:   2014-12-16 (Tue, 16 Dec 2014)

  Changed paths:
    M ckan/lib/create_test_data.py
    M ckanext/stats/stats.py
    M ckanext/stats/tests/test_stats_lib.py

  Log Message:
  -----------
  Merge pull request #2115 from ckan/1936-stats-plugin-active-datasets-2

[#1936] Avoid private and deleted datasets on stats plugin


  Commit: fe17851fb9c5bbe5390afc5a511b06e2cdfdcbd6
      https://github.com/ckan/ckan/commit/fe17851fb9c5bbe5390afc5a511b06e2cdfdcbd6
  Author: David Read <david.read at hackneyworkshop.com>
  Date:   2014-12-16 (Tue, 16 Dec 2014)

  Changed paths:
    M ckan/lib/helpers.py
    M ckan/templates/package/resource_read.html
    M ckan/templates/package/snippets/resource_item.html

  Log Message:
  -----------
  Merge pull request #2085 from wardi/2085-link-urlish-only

display resource links with http, https, ftp schemes only


  Commit: 90efca8c80934afc8a9fd72b9d3f2e9cce99ce11
      https://github.com/ckan/ckan/commit/90efca8c80934afc8a9fd72b9d3f2e9cce99ce11
  Author: Ross Jones <ross at servercode.co.uk>
  Date:   2014-12-16 (Tue, 16 Dec 2014)

  Changed paths:
    M CHANGELOG.rst
    M ckan/controllers/group.py
    M ckan/controllers/user.py
    M ckan/lib/dictization/model_dictize.py
    M ckan/logic/action/get.py
    M ckan/model/user.py
    M ckan/templates/snippets/context.html
    M ckan/templates/snippets/context/user.html
    M ckan/templates/user/read_base.html
    M ckan/tests/logic/test_action.py
    M ckan/tests/logic/test_tag.py
    M ckan/tests/models/test_user.py
    M ckanext/multilingual/tests/test_multilingual_plugin.py

  Log Message:
  -----------
  Improve the efficiency of user_show

Instead of returning up to 50 of the datasets that a user can administer
now the call must specify that it wants those datasets by passing in
```include_datasets:True```.

The num_followers value must also be explicitly requested in order to be
included in the resulting dict.

Revisions are no longer returned, users should call user_activity_list
instead.

fixes #2130


  Commit: 40a9e59c196d0f30bb296c5ae235c443af290cb4
      https://github.com/ckan/ckan/commit/40a9e59c196d0f30bb296c5ae235c443af290cb4
  Author: Ross Jones <ross at mailbolt.com>
  Date:   2014-12-16 (Tue, 16 Dec 2014)

  Changed paths:
    M ckan/templates/organization/index.html

  Log Message:
  -----------
  Merge pull request #2141 from ilja-dev/master

Fix organization pagination by ensuring that the selected sort option is passed through to the next page.


  Commit: 6b5b397973191fad409cdca9b469e9012defb726
      https://github.com/ckan/ckan/commit/6b5b397973191fad409cdca9b469e9012defb726
  Author: amercader <amercadero at gmail.com>
  Date:   2014-12-16 (Tue, 16 Dec 2014)

  Changed paths:
    M ckan/lib/datapreview.py
    M doc/maintaining/configuration.rst
    M doc/maintaining/data-viewer.rst

  Log Message:
  -----------
  [#1852] Remove web view from defaults, fix docs


  Commit: 4b5401be23ee15bdcd7f6fda72e04c7ea4bf2990
      https://github.com/ckan/ckan/commit/4b5401be23ee15bdcd7f6fda72e04c7ea4bf2990
  Author: David Read <david.read at hackneyworkshop.com>
  Date:   2014-12-16 (Tue, 16 Dec 2014)

  Changed paths:
    M CHANGELOG.rst

  Log Message:
  -----------
  [#2136] Fix typo.


  Commit: 6d58a2d9834d31174c915eae6407f3de50b41cc7
      https://github.com/ckan/ckan/commit/6d58a2d9834d31174c915eae6407f3de50b41cc7
  Author: David Read <david.read at hackneyworkshop.com>
  Date:   2014-12-16 (Tue, 16 Dec 2014)

  Changed paths:
    M CHANGELOG.rst
    M doc/maintaining/upgrading/upgrade-package-to-minor-release.rst
    M doc/maintaining/upgrading/upgrade-package-to-patch-release.rst

  Log Message:
  -----------
  Merge branch '2137-who.ini-changes'


  Commit: 748cf49f756aef425e93a6d7725d3812a107b3cd
      https://github.com/ckan/ckan/commit/748cf49f756aef425e93a6d7725d3812a107b3cd
  Author: David Read <david.read at hackneyworkshop.com>
  Date:   2014-12-16 (Tue, 16 Dec 2014)

  Changed paths:
    M ckan/logic/schema.py
    M ckan/logic/validators.py
    M ckan/new_tests/logic/action/test_create.py
    M ckan/tests/functional/api/model/test_package.py

  Log Message:
  -----------
  Merge pull request #2102 from wardi/2102-allow-create-package-id

package_create: allow sysadmins to set package ids


  Commit: b2dfccc8932947711d4f9b0f2500be4c40208b21
      https://github.com/ckan/ckan/commit/b2dfccc8932947711d4f9b0f2500be4c40208b21
  Author: David Read <david.read at hackneyworkshop.com>
  Date:   2014-12-16 (Tue, 16 Dec 2014)

  Changed paths:
    M CHANGELOG.rst
    M ckan/logic/action/get.py
    M ckan/model/user.py

  Log Message:
  -----------
  [#2130] Do not list a users deleted or private datasets. Tightened up docs a little.


  Commit: 138d2fd77228b360b7d2855fb2bc3df94a38df6a
      https://github.com/ckan/ckan/commit/138d2fd77228b360b7d2855fb2bc3df94a38df6a
  Author: David Read <david.read at hackneyworkshop.com>
  Date:   2014-12-17 (Wed, 17 Dec 2014)

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

  Log Message:
  -----------
  [#2130] Decided to exclude private datasets from the number a user created.


  Commit: eae293edf8de44118ba7778f235de5cbba8bce54
      https://github.com/ckan/ckan/commit/eae293edf8de44118ba7778f235de5cbba8bce54
  Author: Waldo Jaquith <waldo at jaquith.org>
  Date:   2014-12-17 (Wed, 17 Dec 2014)

  Changed paths:
    M ckan/templates/organization/snippets/help.html

  Log Message:
  -----------
  Fix grammatical error


  Commit: 2cdb5c21284fc1cf684dce2550d51be0baf89763
      https://github.com/ckan/ckan/commit/2cdb5c21284fc1cf684dce2550d51be0baf89763
  Author: Ian Ward <ian at excess.org>
  Date:   2014-12-17 (Wed, 17 Dec 2014)

  Changed paths:
    M ckan/templates/organization/snippets/help.html

  Log Message:
  -----------
  Merge pull request #2152 from waldoj/patch-1

Fix grammatical error


  Commit: 8c0ef1fbbc9956de6c71bf247ae7c3ea5ad1d3f8
      https://github.com/ckan/ckan/commit/8c0ef1fbbc9956de6c71bf247ae7c3ea5ad1d3f8
  Author: David Read <david.read at hackneyworkshop.com>
  Date:   2014-12-17 (Wed, 17 Dec 2014)

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

  Log Message:
  -----------
  [#2130] Added details of the returned dictionary for user_show.


  Commit: f5ee7db34b8db073d5190fe68f1015d84723ec05
      https://github.com/ckan/ckan/commit/f5ee7db34b8db073d5190fe68f1015d84723ec05
  Author: Ian Ward <ian at excess.org>
  Date:   2014-12-17 (Wed, 17 Dec 2014)

  Changed paths:
    M CHANGELOG.rst
    M ckan/controllers/group.py
    M ckan/controllers/user.py
    M ckan/lib/dictization/model_dictize.py
    M ckan/logic/action/get.py
    M ckan/model/user.py
    M ckan/templates/snippets/context.html
    M ckan/templates/snippets/context/user.html
    M ckan/templates/user/read_base.html
    M ckan/tests/logic/test_action.py
    M ckan/tests/logic/test_tag.py
    M ckan/tests/models/test_user.py
    M ckanext/multilingual/tests/test_multilingual_plugin.py

  Log Message:
  -----------
  Merge branch '2130-user-show-slowness'


  Commit: aed7fff35a155e714889bfca5b98265fd2f65208
      https://github.com/ckan/ckan/commit/aed7fff35a155e714889bfca5b98265fd2f65208
  Author: amercader <amercadero at gmail.com>
  Date:   2014-12-18 (Thu, 18 Dec 2014)

  Changed paths:
    M CHANGELOG.rst
    M ckan/controllers/group.py
    M ckan/controllers/package.py
    M ckan/controllers/user.py
    M ckan/lib/create_test_data.py
    M ckan/lib/dictization/model_dictize.py
    M ckan/lib/helpers.py
    M ckan/logic/action/get.py
    M ckan/logic/schema.py
    M ckan/logic/validators.py
    M ckan/model/user.py
    M ckan/new_tests/controllers/test_package.py
    M ckan/new_tests/logic/action/test_create.py
    M ckan/templates/organization/index.html
    M ckan/templates/organization/snippets/help.html
    M ckan/templates/package/resource_read.html
    M ckan/templates/package/snippets/resource_item.html
    M ckan/templates/snippets/context.html
    M ckan/templates/snippets/context/user.html
    M ckan/templates/user/read_base.html
    M ckan/tests/functional/api/model/test_package.py
    M ckan/tests/logic/test_action.py
    M ckan/tests/logic/test_tag.py
    M ckan/tests/models/test_user.py
    M ckanext/multilingual/tests/test_multilingual_plugin.py
    M ckanext/stats/stats.py
    M ckanext/stats/tests/test_stats_lib.py
    R doc/_themes/sphinx-theme-okfn
    M doc/maintaining/upgrading/upgrade-package-to-minor-release.rst
    M doc/maintaining/upgrading/upgrade-package-to-patch-release.rst

  Log Message:
  -----------
  Merge branch 'master' into 1852-default-resource-views


Compare: https://github.com/ckan/ckan/compare/98e600b67722...aed7fff35a15


More information about the ckan-changes mailing list