CKAN 2.6.0

Titlev2.6.0 2016-11-02
Version2.6.0
Release Date2016-11-02
Changes
Show details

Note: Starting from this version, CKAN requires at least Python 2.7 and Postgres 9.2

Note: This version requires a requirements upgrade on source installations

Note: This version requires a database upgrade

Note: This version does not require a Solr schema upgrade (You may want to upgrade the schema if you want to target Solr>=5, see #2914 <https://github.com/ckan/ckan/issues/2914>_)

Major: * Private datasets are now included in the default dataset search results (#3191 <https://github.com/ckan/ckan/pull/3191>_) * package_search API action now has an include_private parameter (#3191 <https://github.com/ckan/ckan/pull/3191>_)

Minor: * Make resource name default to file name (#1372 <https://github.com/ckan/ckan/issues/1372>_) * Customizable email templates (#1527 <https://github.com/ckan/ckan/issues/1527>_) * Change solrpy library to pysolr (#2352 <https://github.com/ckan/ckan/pull/2352>_) * Cache SQL query results (#2353 <https://github.com/ckan/ckan/issues/2353>_) * File Upload UX improvements (#2604 <https://github.com/ckan/ckan/issues/2604>_) * Helpers for multilingual fields (#2678 <https://github.com/ckan/ckan/issues/2678>_) * Improve Extension translation docs (#2783 <https://github.com/ckan/ckan/pull/2783>_) * Decouple configuration from Pylons (#3163 <https://github.com/ckan/ckan/pull/3163>_) * toolkit: add h, StopOnError, DefaultOrganizationForm (#2835 <https://github.com/ckan/ckan/pull/2835>_) * Remove Genshi support (#2833 <https://github.com/ckan/ckan/issues/2833>_) * Make resource URLs optional (#2844 <https://github.com/ckan/ckan/pull/2844>_) * Use 403 when actions are forbidden, not 401 (#2846 <https://github.com/ckan/ckan/pull/2846>_) * Upgrade requirements version (#3004 <https://github.com/ckan/ckan/pull/3004>_, #3005 <https://github.com/ckan/ckan/pull/3005>_) * Add icons sources (#3048 <https://github.com/ckan/ckan/pull/3048>_) * Remove lib/dumper (#2879 <https://github.com/ckan/ckan/pull/2879>_) * ckan.version available as template helper (#3103 <https://github.com/ckan/ckan/pull/3103>_) * Remove site_url_nice from app_globals (#3117 <https://github.com/ckan/ckan/pull/3117>_) * Remove e.message deprecation warning when running tests (#3121 <https://github.com/ckan/ckan/pull/3121>_) * Drop Python 2.6 support (#3126 <https://github.com/ckan/ckan/issues/3126>_) * Update Recline version (#3184 <https://github.com/ckan/ckan/pull/3184>_) * Refactor config/middleware.py to more closely match poc-flask-views (#3116 <https://github.com/ckan/ckan/pull/3116>_) * Creation of datasets sources with no organization specified (#3046 <https://github.com/ckan/ckan/issues/3046>_)

Bug fixes: * DataPusher called multiple times when creating a dataset (#2856 <https://github.com/ckan/ckan/issues/2856>_) * Default view is re-added when removed before DataStore upload is complete (#3011 <https://github.com/ckan/ckan/issues/3011>_) * “Data API” button disappears on resource page after empty update (#3012 <https://github.com/ckan/ckan/issues/3012>_) * Uncaught email exceptions on user invite (#3077 <https://github.com/ckan/ckan/pull/3077>_) * Resource view description is not rendered as Markdown (#3128 <https://github.com/ckan/ckan/issues/3128>_) * Fix broken html5lib dependency (#3180 <https://github.com/ckan/ckan/pull/3180>_) * ZH_cn translation formatter fix (#3238 <https://github.com/ckan/ckan/pull/3238>_) * Incorrect i18n-paths in extension’s setup.cfg (#3275 <https://github.com/ckan/ckan/issues/3275>_) * Changing your user name produces an error and logs you out (#2394 <https://github.com/ckan/ckan/issues/2394>_) * Fix “Load more” functionality in the dashboard (#2346 <https://github.com/ckan/ckan/issues/2346>_) * Fix filters not working when embedding a resource view (#2657 <https://github.com/ckan/ckan/issues/2657>_) * Proper sanitation of header name on SlickGrid view (#2923 <https://github.com/ckan/ckan/issues/2923>_) * Fix unicode error when indexing field of type JSON (#2969 <https://github.com/ckan/ckan/issues/2969>_) * Fix group feeds returning no datasets (#2955 <https://github.com/ckan/ckan/issues/2955>_) * Replace MapQuest tiles in Recline with Stamen Terrain (#3162 <https://github.com/ckan/ckan/issues/3162>_) * Fix bulk operations not taking effect (#3199 <https://github.com/ckan/ckan/pull/3199>_) * Raise validation errors on group/org_member_create (#3108 <https://github.com/ckan/ckan/pull/3108>_) * Incorrect warnings when ckan.views.default_views is empty (#3093 <https://github.com/ckan/ckan/issues/3093>_) * Don’t show deleted users/datasets on member_list (#3078 <https://github.com/ckan/ckan/pull/3078>_) * Fix Tag pagination widget styling (#2399 <https://github.com/ckan/ckan/issues/2399>_) * Fix package_owner_org_update standalone (#2661 <https://github.com/ckan/ckan/issues/2661>_) * Don’t template fanstatic error pages (#2770 <https://github.com/ckan/ckan/pull/2770>_) * group_controller() on IGroupForm not in interface (#2771 <https://github.com/ckan/ckan/issues/2771>_) * Fix assert_true to test for message in response (#2802 <https://github.com/ckan/ckan/pull/2802>_) * Add user parameter to paster profile command (#2815 <https://github.com/ckan/ckan/pull/2815>_) * make context[‘user’] always username or None (#2817 <https://github.com/ckan/ckan/pull/2817>_) * remove some deprecated compatibility hacks (#2818 <https://github.com/ckan/ckan/pull/2818>_) * Param use_default_schema does not work on package_search (#2848 <https://github.com/ckan/ckan/pull/2848>_) * Sanitize offset when listing group activity (#2859 <https://github.com/ckan/ckan/issues/2859>_) * Incorrect ‘download resource’ hyperlink when a resource is unable to upload to datastore (#2873 <https://github.com/ckan/ckan/issues/2873>_) * Resolve datastore_delete erasing the database when filters was blank. (#2885 <https://github.com/ckan/ckan/pull/2885>_) * DomainObject.count() doesn’t return count (#2919 <https://github.com/ckan/ckan/pull/2919>_) * Fix response code test failures (#2931 <https://github.com/ckan/ckan/pull/2931>_) * Fixed the url_for_* helpers when both SCRIPT_NAME and ckan.root_path are defined (#2936 <https://github.com/ckan/ckan/pull/2936>_) * Escape special characters in password while db loading (#2952 <https://github.com/ckan/ckan/issues/2952>_) * Fix redirect not working with non-root (#2968 <https://github.com/ckan/ckan/pull/2968>_) * Group pagination does not preserve sort order (#2981 <https://github.com/ckan/ckan/issues/2981>_) * Remove LazyJSONObject (#2983 <https://github.com/ckan/ckan/pull/2983>_) * Deleted users appear in sysadmin user lists (#2988 <https://github.com/ckan/ckan/issues/2988>_) * Server error at /organization if not authorized to list organizations (#2990 <https://github.com/ckan/ckan/issues/2990>_) * Slow page rendering when using lots of snippets (#3000 <https://github.com/ckan/ckan/pull/3000>_) * Only allow JSONP callbacks on GET requests (#3002 <https://github.com/ckan/ckan/pull/3002>_) * Attempting to access non-existing helpers should raise HelperException (#3041 <https://github.com/ckan/ckan/issues/3041>_) * Deprecate h.url, make it use h.url_for internally (#3055 <https://github.com/ckan/ckan/pull/3055>_) * Tests fail when LANG environment variable is set to German (#3060 <https://github.com/ckan/ckan/issues/3060>_) * Fix pagination style (CSS) (#3067 <https://github.com/ckan/ckan/pull/3067>_) * Login fails with 404 when using root_path (#3089 <https://github.com/ckan/ckan/issues/3089>_) * Resource view description is not rendered as Markdown (#3128 <https://github.com/ckan/ckan/issues/3128>_) * Clarify package_relationship_update documentation (#3132 <https://github.com/ckan/ckan/pull/3132>_) * q parameter in followee_list action has no effect (#3167 <https://github.com/ckan/ckan/pull/3167>_) * Zh cn translation formatter fix (#3238 <https://github.com/ckan/ckan/pull/3238>_) * Users are not removed in related tables if the main user entry is deleted (#3265 <https://github.com/ckan/ckan/issues/3265>_)

API changes and deprecations: * Replace c.__version__ with new helper h.ckan_version() (#3103 <https://github.com/ckan/ckan/pull/3103>_)

Url Ckangeloghttps://github.com/ckan/ckan/blob/master/CHANGELOG.rst#v260-2016-11-02