[ckan-changes] [ckan/ckan] 5eb8d0: [#2242] Add recline_view to the default view types

GitHub noreply at github.com
Tue Jan 27 11:48:09 UTC 2015


  Branch: refs/heads/2242-resource-views-fixes
  Home:   https://github.com/ckan/ckan
  Commit: 5eb8d03b2ae10ad330eb1d57d086a2d172c6e2d4
      https://github.com/ckan/ckan/commit/5eb8d03b2ae10ad330eb1d57d086a2d172c6e2d4
  Author: amercader <amercadero at gmail.com>
  Date:   2015-01-27 (Tue, 27 Jan 2015)

  Changed paths:
    M ckan/lib/datapreview.py
    M ckanext/reclineview/plugin.py
    M ckanext/reclineview/theme/public/recline_view.js

  Log Message:
  -----------
  [#2242] Add recline_view to the default view types

As part of #2140 DataProxy was reenabled, so to keep the old behaviour
of showing a Recline data explorer when uploading or linking to a
csv/excel we added it to the default view types. The data explorer view
plugin no longer requires the DataStore, as it can use DataProxy.

Also tweaked the client side error message to reflect if the error came
from the DataStore or the DataProxy.


  Commit: d741ecdf9e7f7168a9a422e0e4cf9f84c9ac6d3a
      https://github.com/ckan/ckan/commit/d741ecdf9e7f7168a9a422e0e4cf9f84c9ac6d3a
  Author: amercader <amercadero at gmail.com>
  Date:   2015-01-27 (Tue, 27 Jan 2015)

  Changed paths:
    M ckanext/imageview/plugin.py
    M ckanext/pdfview/plugin.py
    M ckanext/textview/plugin.py
    M ckanext/webpageview/plugin.py

  Log Message:
  -----------
  [#2242] Remove auto creation logic from text and pdf view plugins

There is no need to implement `IPackageController` on the plugin as
default views are handled differently since #1852.

Made title translatable on image and web plugins


  Commit: a6e897e4c6c13f7132da713c2ec3e925affc67fb
      https://github.com/ckan/ckan/commit/a6e897e4c6c13f7132da713c2ec3e925affc67fb
  Author: amercader <amercadero at gmail.com>
  Date:   2015-01-27 (Tue, 27 Jan 2015)

  Changed paths:
    A ckan/migration/versions/076_rename_view_plugins_2.py
    M ckanext/pdfview/plugin.py
    M ckanext/textview/plugin.py

  Log Message:
  -----------
  [#2242] Rename text and pdf view plugins for consistency


  Commit: 3cb78cffbfa4e0f4ebf8d6630d9c66c152302ee2
      https://github.com/ckan/ckan/commit/3cb78cffbfa4e0f4ebf8d6630d9c66c152302ee2
  Author: amercader <amercadero at gmail.com>
  Date:   2015-01-27 (Tue, 27 Jan 2015)

  Changed paths:
    M ckan/lib/datapreview.py
    M ckan/plugins/toolkit.py

  Log Message:
  -----------
  [#2242] Remove no longer used `get_new_resources` function

Better not to mess with low level session caches etc. It is no longer
relevant after #1852


  Commit: 1663c5f19b7065142bf0a967b75c39d8fb71ac32
      https://github.com/ckan/ckan/commit/1663c5f19b7065142bf0a967b75c39d8fb71ac32
  Author: amercader <amercadero at gmail.com>
  Date:   2015-01-27 (Tue, 27 Jan 2015)

  Changed paths:
    M ckan/templates/package/snippets/resource_view.html

  Log Message:
  -----------
  [#2242] Remove redundant title from view page

As it is already shown on the tab (http://i.imgur.com/IopLCyq.png)


Compare: https://github.com/ckan/ckan/compare/5eb8d03b2ae1^...1663c5f19b70


More information about the ckan-changes mailing list