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

GitHub noreply at github.com
Wed Feb 4 10:59:34 UTC 2015


  Branch: refs/heads/release-v2.3
  Home:   https://github.com/ckan/ckan
  Commit: a604301f773b39682bf1874e75f0df69d61a8014
      https://github.com/ckan/ckan/commit/a604301f773b39682bf1874e75f0df69d61a8014
  Author: amercader <amercadero at gmail.com>
  Date:   2015-02-04 (Wed, 04 Feb 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: 0e5f09e82c45107c8e3ee9db63906fce936d5f30
      https://github.com/ckan/ckan/commit/0e5f09e82c45107c8e3ee9db63906fce936d5f30
  Author: amercader <amercadero at gmail.com>
  Date:   2015-02-04 (Wed, 04 Feb 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: b62712fe55ee4c74f8e7ca7f18abd00b062510f6
      https://github.com/ckan/ckan/commit/b62712fe55ee4c74f8e7ca7f18abd00b062510f6
  Author: amercader <amercadero at gmail.com>
  Date:   2015-02-04 (Wed, 04 Feb 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: 4ea86b72731684275bf7291c008f0ff598c73eff
      https://github.com/ckan/ckan/commit/4ea86b72731684275bf7291c008f0ff598c73eff
  Author: amercader <amercadero at gmail.com>
  Date:   2015-02-04 (Wed, 04 Feb 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: 6d67540ace02f3d31d3762c91e56f98d866e8fea
      https://github.com/ckan/ckan/commit/6d67540ace02f3d31d3762c91e56f98d866e8fea
  Author: amercader <amercadero at gmail.com>
  Date:   2015-02-04 (Wed, 04 Feb 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)


  Commit: 6492c30bd472f801cc4b3f270ed8d51aad2475cd
      https://github.com/ckan/ckan/commit/6492c30bd472f801cc4b3f270ed8d51aad2475cd
  Author: amercader <amercadero at gmail.com>
  Date:   2015-02-04 (Wed, 04 Feb 2015)

  Changed paths:
    M ckanext/pdfview/tests/test_view.py
    M ckanext/textview/tests/test_view.py

  Log Message:
  -----------
  [#2242] Fix pdf and text view tests


  Commit: efe5dde23d8063671a5626e1b3f65aea39ceb4bc
      https://github.com/ckan/ckan/commit/efe5dde23d8063671a5626e1b3f65aea39ceb4bc
  Author: amercader <amercadero at gmail.com>
  Date:   2015-02-04 (Wed, 04 Feb 2015)

  Changed paths:
    M ckan/new_tests/lib/test_datapreview.py

  Log Message:
  -----------
  [#2242] Load recline_view in tests as it is now a default view


Compare: https://github.com/ckan/ckan/compare/b36a0db481b1...efe5dde23d80


More information about the ckan-changes mailing list