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

GitHub noreply at github.com
Wed Feb 4 10:54:53 UTC 2015


  Branch: refs/heads/master
  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)


  Commit: 584665c9b9e7a649c5c384efdeaedda021ddd258
      https://github.com/ckan/ckan/commit/584665c9b9e7a649c5c384efdeaedda021ddd258
  Author: amercader <amercadero at gmail.com>
  Date:   2015-01-29 (Thu, 29 Jan 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: 5a2331b8a1e7c83fe752219ec2cdb969601212bb
      https://github.com/ckan/ckan/commit/5a2331b8a1e7c83fe752219ec2cdb969601212bb
  Author: amercader <amercadero at gmail.com>
  Date:   2015-01-29 (Thu, 29 Jan 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


  Commit: bfab554772b7530fe18ceca8681c1db55386e547
      https://github.com/ckan/ckan/commit/bfab554772b7530fe18ceca8681c1db55386e547
  Author: joetsoi <joe.yeung.tsoi at gmail.com>
  Date:   2015-02-04 (Wed, 04 Feb 2015)

  Changed paths:
    M ckan/lib/datapreview.py
    A ckan/migration/versions/076_rename_view_plugins_2.py
    M ckan/new_tests/lib/test_datapreview.py
    M ckan/plugins/toolkit.py
    M ckan/templates/package/snippets/resource_view.html
    M ckanext/imageview/plugin.py
    M ckanext/pdfview/plugin.py
    M ckanext/pdfview/tests/test_view.py
    M ckanext/reclineview/plugin.py
    M ckanext/reclineview/theme/public/recline_view.js
    M ckanext/textview/plugin.py
    M ckanext/textview/tests/test_view.py
    M ckanext/webpageview/plugin.py

  Log Message:
  -----------
  Merge branch '2242-resource-views-fixes'


Compare: https://github.com/ckan/ckan/compare/d25985267d34...bfab554772b7


More information about the ckan-changes mailing list