[ckan-changes] [okfn/ckan] f366ba: [#1188] Allow organization dropdown to be displaye...
GitHub
noreply at github.com
Fri Jan 10 06:16:07 UTC 2014
Branch: refs/heads/related-list-tests
Home: https://github.com/okfn/ckan
Commit: f366ba684340adbb903b78bc5beb871069a6a0c2
https://github.com/okfn/ckan/commit/f366ba684340adbb903b78bc5beb871069a6a0c2
Author: amercader <amercadero at gmail.com>
Date: 2013-11-27 (Wed, 27 Nov 2013)
Changed paths:
M ckan/templates/package/snippets/package_basic_fields.html
Log Message:
-----------
[#1188] Allow organization dropdown to be displayed
The current logic was unclear. If a user belongs to at least one
organization, the dropdown will be displayed, both on the created and
edit forms. Same for the visibility one.
Commit: 62fba1241be09e7ff6bd197a79e0c8258a00b357
https://github.com/okfn/ckan/commit/62fba1241be09e7ff6bd197a79e0c8258a00b357
Author: amercader <amercadero at gmail.com>
Date: 2013-11-27 (Wed, 27 Nov 2013)
Changed paths:
M ckan/logic/validators.py
Log Message:
-----------
[#1188] Allow empty orgs if datasets can be unowned
If the "create_unowned_dataset" is set to True and you are not a
sysadmin and select the "No organization" option on the dataset form,
you get a validation error.
Commit: acd7976f67f769483d615d0a77422e59007a086d
https://github.com/okfn/ckan/commit/acd7976f67f769483d615d0a77422e59007a086d
Author: Samuele Santi <redshadow at hackzine.org>
Date: 2013-12-09 (Mon, 09 Dec 2013)
Changed paths:
M ckan/lib/cli.py
Log Message:
-----------
Removed limit of number of arguments passed to ``user add`` command.
This is needed as the ``user add`` command is supposed to accept a variable number
of arguments.
Commit: 5ad5b582a9f4126d9f485163c581d4d668dee861
https://github.com/okfn/ckan/commit/5ad5b582a9f4126d9f485163c581d4d668dee861
Author: Sean Hammond <seanhammond at lavabit.com>
Date: 2013-12-10 (Tue, 10 Dec 2013)
Changed paths:
M ckan/logic/action/create.py
M ckan/logic/action/get.py
M ckan/logic/action/update.py
Log Message:
-----------
[#1022] Fix cross-references in API docstrings
Use :py:func:, :py:class: etc to do proper hyperlinked cross-references.
Also a few other minor docstrings formatting fixes.
Commit: 2d23040c0a727f1a0bcceb6e9ea38601292387b8
https://github.com/okfn/ckan/commit/2d23040c0a727f1a0bcceb6e9ea38601292387b8
Author: Sean Hammond <seanhammond at lavabit.com>
Date: 2013-12-10 (Tue, 10 Dec 2013)
Changed paths:
A doc/.gitignore
M doc/conf.py
M doc/install-from-package.rst
M doc/install-from-source.rst
Log Message:
-----------
[#1380] Encourage installing latest release in source install docs
Needed an automated way to get the latest version number, so I added
functions to doc/conf.py for this, and then used them in the source and
package install docs.
Commit: 79a218f0818031567b6ce1903a73ae98e27ddb5b
https://github.com/okfn/ckan/commit/79a218f0818031567b6ce1903a73ae98e27ddb5b
Author: Sean Hammond <seanhammond at lavabit.com>
Date: 2013-12-10 (Tue, 10 Dec 2013)
Changed paths:
M doc/conf.py
Log Message:
-----------
[#1380] Remove hardcoded filename
Commit: fc20a45ffff312061b13ebaf00ba71c455ad69d5
https://github.com/okfn/ckan/commit/fc20a45ffff312061b13ebaf00ba71c455ad69d5
Author: amercader <amercadero at gmail.com>
Date: 2013-12-12 (Thu, 12 Dec 2013)
Changed paths:
M CHANGELOG.rst
M MANIFEST.in
M bin/travis-run-tests
M ckan/config/deployment.ini_tmpl
M ckan/config/environment.py
M ckan/config/routing.py
R ckan/config/solr/CHANGELOG.txt
M ckan/config/solr/README.txt
M ckan/config/solr/schema-1.2.xml
M ckan/config/solr/schema-1.3.xml
M ckan/config/solr/schema-1.4.xml
M ckan/config/solr/schema-2.0.xml
A ckan/config/solr/schema.xml
M ckan/controllers/api.py
M ckan/controllers/group.py
M ckan/controllers/package.py
M ckan/controllers/user.py
M ckan/lib/accept.py
M ckan/lib/cli.py
M ckan/lib/create_test_data.py
M ckan/lib/dictization/model_dictize.py
M ckan/lib/dictization/model_save.py
M ckan/lib/email_notifications.py
M ckan/lib/helpers.py
M ckan/lib/plugins.py
M ckan/lib/uploader.py
M ckan/logic/__init__.py
M ckan/logic/action/create.py
M ckan/logic/action/delete.py
M ckan/logic/action/get.py
M ckan/logic/action/update.py
M ckan/logic/auth/create.py
M ckan/logic/auth/get.py
M ckan/logic/auth/update.py
M ckan/logic/converters.py
M ckan/logic/schema.py
M ckan/logic/validators.py
M ckan/model/group.py
M ckan/new_authz.py
M ckan/new_tests/factories.py
A ckan/new_tests/logic/action/test_get.py
M ckan/new_tests/logic/action/test_update.py
M ckan/plugins/interfaces.py
M ckan/public/base/css/fuchsia.css
M ckan/public/base/css/green.css
M ckan/public/base/css/main.css
M ckan/public/base/css/maroon.css
M ckan/public/base/css/red.css
M ckan/public/base/javascript/modules/image-upload.js
A ckan/public/base/javascript/modules/resource-reorder.js
M ckan/public/base/javascript/modules/slug-preview.js
M ckan/public/base/javascript/resource.config
M ckan/public/base/less/dataset.less
M ckan/public/base/less/forms.less
M ckan/public/base/less/layout.less
M ckan/public/base/less/search.less
A ckan/public/base/vendor/jquery.ui.core.js
A ckan/public/base/vendor/jquery.ui.mouse.js
A ckan/public/base/vendor/jquery.ui.sortable.js
M ckan/public/base/vendor/jquery.ui.widget.js
M ckan/public/base/vendor/resource.config
M ckan/templates/admin/config.html
M ckan/templates/base.html
M ckan/templates/group/about.html
M ckan/templates/group/activity_stream.html
M ckan/templates/group/edit.html
M ckan/templates/group/edit_base.html
M ckan/templates/group/index.html
M ckan/templates/group/member_new.html
M ckan/templates/group/members.html
M ckan/templates/group/new.html
M ckan/templates/group/read.html
M ckan/templates/group/read_base.html
M ckan/templates/group/snippets/group_form.html
M ckan/templates/group/snippets/group_item.html
M ckan/templates/header.html
M ckan/templates/macros/form.html
M ckan/templates/organization/about.html
M ckan/templates/organization/activity_stream.html
M ckan/templates/organization/edit.html
M ckan/templates/organization/edit_base.html
M ckan/templates/organization/index.html
M ckan/templates/organization/member_new.html
M ckan/templates/organization/members.html
M ckan/templates/organization/read.html
M ckan/templates/organization/read_base.html
M ckan/templates/organization/snippets/organization_form.html
M ckan/templates/package/activity.html
R ckan/templates/package/activity_stream.html
M ckan/templates/package/base.html
M ckan/templates/package/base_form_page.html
A ckan/templates/package/group_list.html
M ckan/templates/package/new.html
M ckan/templates/package/read.html
M ckan/templates/package/read_base.html
M ckan/templates/package/related_list.html
M ckan/templates/package/resource_data.html
M ckan/templates/package/resource_edit_base.html
M ckan/templates/package/resource_read.html
M ckan/templates/package/resources.html
M ckan/templates/package/search.html
M ckan/templates/package/snippets/package_basic_fields.html
M ckan/templates/package/snippets/package_form.html
M ckan/templates/package/snippets/package_metadata_fields.html
M ckan/templates/package/snippets/resource_form.html
M ckan/templates/package/snippets/resource_item.html
M ckan/templates/snippets/organization.html
M ckan/templates/snippets/package_list.html
M ckan/templates/snippets/search_form.html
M ckan/templates/snippets/search_result_text.html
M ckan/templates/user/activity_stream.html
M ckan/templates/user/dashboard.html
M ckan/templates/user/edit.html
M ckan/templates/user/edit_base.html
M ckan/templates/user/edit_user_form.html
M ckan/templates/user/read.html
M ckan/templates/user/read_base.html
R ckan/templates/user/snippets/back_to_user_action.html
M ckan/templates/user/snippets/login_form.html
M ckan/tests/functional/api/test_activity.py
M ckan/tests/functional/test_group.py
M ckan/tests/functional/test_package.py
M ckan/tests/lib/test_accept.py
M ckan/tests/lib/test_dictization.py
M ckan/tests/lib/test_solr_schema_version.py
M ckan/tests/logic/test_action.py
M ckan/tests/logic/test_auth.py
M ckan/tests/logic/test_member.py
M ckan/tests/models/test_group.py
M ckan/tests/test_coding_standards.py
M ckanext/datapusher/helpers.py
M ckanext/datapusher/logic/action.py
M ckanext/datapusher/plugin.py
M ckanext/datapusher/tests/test.py
M ckanext/datastore/db.py
M ckanext/datastore/logic/action.py
M ckanext/datastore/logic/auth.py
M ckanext/datastore/plugin.py
M doc/appendices/solr-multicore.rst
M doc/conf.py
M doc/configuration.rst
M doc/contents.rst
M doc/documentation-guidelines.rst
M doc/filestore.rst
M doc/install-from-source.rst
M doc/release-process.rst
M doc/upgrade-package-to-minor-release.rst
M doc/upgrade-source.rst
M requirements.txt
Log Message:
-----------
Merge branch 'master' into 1188-fix-org-list-dataset-form
Commit: 10a379881fb6784014265c6e7371de434c3c8898
https://github.com/okfn/ckan/commit/10a379881fb6784014265c6e7371de434c3c8898
Author: amercader <amercadero at gmail.com>
Date: 2013-12-12 (Thu, 12 Dec 2013)
Changed paths:
M ckan/templates/package/snippets/package_basic_fields.html
Log Message:
-----------
Revert "[#1188] Allow organization dropdown to be displayed"
There is certain logic, albeit a bit flacky, in hiding the organization
dropwdown, in that if shown, any user belonging to an organization could
take ownership of any unowned dataset in the instance. We need to
properly define the auth rules and enforce them at the validator level
as well. For the time being, showing the dropdown only to sysadmins
makes sense (and of course fixing the original bug on the visibility
field validator, which is done on the next commit)
This reverts commit f366ba684340adbb903b78bc5beb871069a6a0c2.
Commit: 864e1a68c8183b35cb2e7fcb0db43b51d1f6cc58
https://github.com/okfn/ckan/commit/864e1a68c8183b35cb2e7fcb0db43b51d1f6cc58
Author: amercader <amercadero at gmail.com>
Date: 2013-12-12 (Thu, 12 Dec 2013)
Changed paths:
M ckan/logic/validators.py
M ckan/new_tests/logic/test_validators.py
Log Message:
-----------
[#1188] Fix visibility validator
To not rely on owner_org being present, when the validator gets a value
of private and there is no owner_org, we request the dataset anyway and
check if it actually has an owner_org.
Added new validation tests
Commit: 42e17b5edd5799f0b876e848ec44b7aae816a4c1
https://github.com/okfn/ckan/commit/42e17b5edd5799f0b876e848ec44b7aae816a4c1
Author: amercader <amercadero at gmail.com>
Date: 2013-12-12 (Thu, 12 Dec 2013)
Changed paths:
M ckan/logic/validators.py
Log Message:
-----------
[#1188] Remove debugger call
Commit: 7bd7062ac6b494f221e4157c339a4990b8afb344
https://github.com/okfn/ckan/commit/7bd7062ac6b494f221e4157c339a4990b8afb344
Author: Sean Hammond <seanhammond at lavabit.com>
Date: 2013-12-12 (Thu, 12 Dec 2013)
Changed paths:
M doc/conf.py
Log Message:
-----------
[#1380] Fix some broken hyperlinks in the docs
Stop Sphinx from hyperlinking part of the URL in pip install commands.
Commit: 2570f454b9dcd30af80ef627557874dbf1c43e46
https://github.com/okfn/ckan/commit/2570f454b9dcd30af80ef627557874dbf1c43e46
Author: amercader <amercadero at gmail.com>
Date: 2013-12-13 (Fri, 13 Dec 2013)
Changed paths:
M ckan/new_tests/logic/test_validators.py
Log Message:
-----------
[#1188] PEP8 fixes
Commit: 9207cafd4ed91d8c232a58d08e8f3284c6909c89
https://github.com/okfn/ckan/commit/9207cafd4ed91d8c232a58d08e8f3284c6909c89
Author: John Martin <me at johnmart.in>
Date: 2013-12-17 (Tue, 17 Dec 2013)
Changed paths:
M ckan/templates/group/member_new.html
M ckan/templates/group/members.html
Log Message:
-----------
[#1392] Fixes member add page within groups
Commit: 9d8454964ea4e79066901cdc16785e5d4c1a63ef
https://github.com/okfn/ckan/commit/9d8454964ea4e79066901cdc16785e5d4c1a63ef
Author: Nigel Babu <nigelbabu at gmail.com>
Date: 2013-12-20 (Fri, 20 Dec 2013)
Changed paths:
M ckan/lib/dictization/model_dictize.py
M ckan/logic/action/get.py
M ckan/tests/functional/test_related.py
Log Message:
-----------
Fix test failures associted with related_list
The related_list dictization changes returned them as returned by
the database. This change gives it a default order if they're not
previously sorted.
Commit: 59aae2cb68eca43fb0fd300d40672929fb7bb5df
https://github.com/okfn/ckan/commit/59aae2cb68eca43fb0fd300d40672929fb7bb5df
Author: John Martin <me at johnmart.in>
Date: 2013-12-24 (Tue, 24 Dec 2013)
Changed paths:
M ckan/public/base/less/layout.less
Log Message:
-----------
[#1398] Adds: 'word-break: break-word;' for better word breaking on long words
Commit: 87fc0807ec5aa7aa5c8a93b744bcf0daa75e2609
https://github.com/okfn/ckan/commit/87fc0807ec5aa7aa5c8a93b744bcf0daa75e2609
Author: John Martin <me at johnmart.in>
Date: 2013-12-24 (Tue, 24 Dec 2013)
Changed paths:
M ckan/templates/group/about.html
M ckan/templates/group/snippets/group_item.html
M ckan/templates/group/snippets/info.html
M ckan/templates/organization/about.html
M ckan/templates/organization/bulk_process.html
M ckan/templates/organization/snippets/organization_item.html
M ckan/templates/package/resource_read.html
M ckan/templates/package/snippets/package_context.html
M ckan/templates/package/snippets/resource_item.html
M ckan/templates/related/snippets/related_item.html
M ckan/templates/snippets/group.html
M ckan/templates/snippets/group_item.html
M ckan/templates/snippets/organization_item.html
M ckan/templates/snippets/package_item.html
Log Message:
-----------
[#1302] Removes mentions of 'no description' from templates
Commit: 46c53d5093ef998337f434da2cf141573002fb72
https://github.com/okfn/ckan/commit/46c53d5093ef998337f434da2cf141573002fb72
Author: Nigel Babu <nigelbabu at gmail.com>
Date: 2013-12-31 (Tue, 31 Dec 2013)
Changed paths:
M ckan/logic/action/update.py
Log Message:
-----------
[#1360] Update package_update docstring.
Commit: bf5b82eab080d9b655b6bf8c6db705281d13ecad
https://github.com/okfn/ckan/commit/bf5b82eab080d9b655b6bf8c6db705281d13ecad
Author: joetsoi <joe.yeung.tsoi at gmail.com>
Date: 2014-01-07 (Tue, 07 Jan 2014)
Changed paths:
M ckan/logic/action/create.py
M ckan/logic/action/get.py
M ckan/logic/action/update.py
Log Message:
-----------
Merge branch '1022-api-docs-improvements'
Commit: a10adfd64aee7e81aa3b70f0577f91a682385efa
https://github.com/okfn/ckan/commit/a10adfd64aee7e81aa3b70f0577f91a682385efa
Author: Nigel Babu <nigel.babu at okfn.org>
Date: 2014-01-07 (Tue, 07 Jan 2014)
Changed paths:
M ckan/lib/helpers.py
Log Message:
-----------
[#1425] Call logic.NotFound
Commit: 2c9236168f4e64f442d29501e497ab97b29a4fa3
https://github.com/okfn/ckan/commit/2c9236168f4e64f442d29501e497ab97b29a4fa3
Author: amercader <amercadero at gmail.com>
Date: 2014-01-08 (Wed, 08 Jan 2014)
Changed paths:
M ckan/lib/dictization/model_dictize.py
M ckan/logic/action/get.py
M ckan/tests/functional/test_related.py
Log Message:
-----------
Merge branch 'related-list-test-failure'
Commit: baadd73a116fc6bc14270149cf3300b7a6be5346
https://github.com/okfn/ckan/commit/baadd73a116fc6bc14270149cf3300b7a6be5346
Author: amercader <amercadero at gmail.com>
Date: 2014-01-08 (Wed, 08 Jan 2014)
Changed paths:
M ckan/public/base/less/layout.less
Log Message:
-----------
Merge branch '1398-info-overflow-word-break'
Commit: 0677c8bf9a614c969af23b96537c39c82b92be28
https://github.com/okfn/ckan/commit/0677c8bf9a614c969af23b96537c39c82b92be28
Author: amercader <amercadero at gmail.com>
Date: 2014-01-08 (Wed, 08 Jan 2014)
Changed paths:
M ckan/public/base/css/fuchsia.css
M ckan/public/base/css/green.css
M ckan/public/base/css/main.css
M ckan/public/base/css/maroon.css
M ckan/public/base/css/red.css
Log Message:
-----------
[#1389] Rebuild css after merge
Commit: cf0fdb8cfb4fcb5331e72b34847c036fa4d9cf9d
https://github.com/okfn/ckan/commit/cf0fdb8cfb4fcb5331e72b34847c036fa4d9cf9d
Author: amercader <amercadero at gmail.com>
Date: 2014-01-08 (Wed, 08 Jan 2014)
Changed paths:
M ckan/templates/group/member_new.html
M ckan/templates/group/members.html
Log Message:
-----------
Merge branch '1392-group-member-add-template-fix'
Commit: cc2ab8f2773dd0f67691f2bc18269d4c96ab32b9
https://github.com/okfn/ckan/commit/cc2ab8f2773dd0f67691f2bc18269d4c96ab32b9
Author: amercader <amercadero at gmail.com>
Date: 2014-01-08 (Wed, 08 Jan 2014)
Changed paths:
M ckan/lib/helpers.py
Log Message:
-----------
Merge branch '1425-exception-fix'
Commit: 7608b4ce0c2c22c9f55a9de4d250aa648b214e44
https://github.com/okfn/ckan/commit/7608b4ce0c2c22c9f55a9de4d250aa648b214e44
Author: amercader <amercadero at gmail.com>
Date: 2014-01-08 (Wed, 08 Jan 2014)
Changed paths:
M ckan/lib/cli.py
Log Message:
-----------
Merge branch 'bug-1375-user-add-command-fix' of github.com:rshk/ckan into rshk-bug-1375-user-add-command-fix
Commit: 682e8d556c27db837f4269139a1b66691157172a
https://github.com/okfn/ckan/commit/682e8d556c27db837f4269139a1b66691157172a
Author: amercader <amercadero at gmail.com>
Date: 2014-01-08 (Wed, 08 Jan 2014)
Changed paths:
A doc/.gitignore
M doc/conf.py
M doc/install-from-package.rst
M doc/install-from-source.rst
Log Message:
-----------
Merge branch '1380-encourage-installing-latest-release'
Commit: f82bd541d2bcc03327fb44ac0a79dc25560aebb8
https://github.com/okfn/ckan/commit/f82bd541d2bcc03327fb44ac0a79dc25560aebb8
Author: amercader <amercadero at gmail.com>
Date: 2014-01-08 (Wed, 08 Jan 2014)
Changed paths:
M ckan/logic/action/update.py
Log Message:
-----------
Merge branch '1360-update-docstring'
Conflicts:
ckan/logic/action/update.py
Commit: d696e975e7cdaddc27bba84519e7926cfa71a6f6
https://github.com/okfn/ckan/commit/d696e975e7cdaddc27bba84519e7926cfa71a6f6
Author: amercader <amercadero at gmail.com>
Date: 2014-01-08 (Wed, 08 Jan 2014)
Changed paths:
M ckan/templates/group/about.html
M ckan/templates/group/snippets/group_item.html
M ckan/templates/group/snippets/info.html
M ckan/templates/organization/about.html
M ckan/templates/organization/bulk_process.html
M ckan/templates/organization/snippets/organization_item.html
M ckan/templates/package/resource_read.html
M ckan/templates/package/snippets/package_context.html
M ckan/templates/package/snippets/resource_item.html
M ckan/templates/related/snippets/related_item.html
M ckan/templates/snippets/group.html
M ckan/templates/snippets/group_item.html
M ckan/templates/snippets/organization_item.html
M ckan/templates/snippets/package_item.html
Log Message:
-----------
Merge branch '1302-remove-mentions-of-no-description'
Commit: 39662c35a1ab89a35e7d73bb0d129a42ac0d3e80
https://github.com/okfn/ckan/commit/39662c35a1ab89a35e7d73bb0d129a42ac0d3e80
Author: amercader <amercadero at gmail.com>
Date: 2014-01-08 (Wed, 08 Jan 2014)
Changed paths:
M ckan/logic/validators.py
Log Message:
-----------
[#1188] Tweak checks to support empty strings
Commit: 4bddcd8fe211270f664331b08b676dbc1fa99d9e
https://github.com/okfn/ckan/commit/4bddcd8fe211270f664331b08b676dbc1fa99d9e
Author: joetsoi <joe.yeung.tsoi at gmail.com>
Date: 2014-01-08 (Wed, 08 Jan 2014)
Changed paths:
M ckan/logic/validators.py
M ckan/new_tests/logic/test_validators.py
Log Message:
-----------
Merge branch '1188-fix-org-list-dataset-form'
Commit: 1b572e8a34a00353e9348955bfb3caf2bf028fb9
https://github.com/okfn/ckan/commit/1b572e8a34a00353e9348955bfb3caf2bf028fb9
Author: Nigel Babu <nigel.babu at okfn.org>
Date: 2014-01-09 (Thu, 09 Jan 2014)
Changed paths:
M ckan/lib/cli.py
M ckan/lib/dictization/model_dictize.py
M ckan/lib/helpers.py
M ckan/logic/action/create.py
M ckan/logic/action/get.py
M ckan/logic/action/update.py
M ckan/logic/validators.py
M ckan/new_tests/logic/test_validators.py
M ckan/public/base/css/fuchsia.css
M ckan/public/base/css/green.css
M ckan/public/base/css/main.css
M ckan/public/base/css/maroon.css
M ckan/public/base/css/red.css
M ckan/public/base/less/layout.less
M ckan/templates/group/about.html
M ckan/templates/group/member_new.html
M ckan/templates/group/members.html
M ckan/templates/group/snippets/group_item.html
M ckan/templates/group/snippets/info.html
M ckan/templates/organization/about.html
M ckan/templates/organization/bulk_process.html
M ckan/templates/organization/snippets/organization_item.html
M ckan/templates/package/resource_read.html
M ckan/templates/package/snippets/package_context.html
M ckan/templates/package/snippets/resource_item.html
M ckan/templates/related/snippets/related_item.html
M ckan/templates/snippets/group.html
M ckan/templates/snippets/group_item.html
M ckan/templates/snippets/organization_item.html
M ckan/templates/snippets/package_item.html
M ckan/tests/functional/test_related.py
A doc/.gitignore
M doc/conf.py
M doc/install-from-package.rst
M doc/install-from-source.rst
Log Message:
-----------
Merge branch 'master' into related-list-tests
Compare: https://github.com/okfn/ckan/compare/49de093fc097...1b572e8a34a0
More information about the ckan-changes
mailing list