[ckan-changes] [okfn/ckan] 845c0e: [#2389] Move recline js and css to a snippet

GitHub noreply at github.com
Wed Jun 27 17:14:48 UTC 2012


  Branch: refs/heads/feature-2389-better-dataexplorer-error-handling
  Home:   https://github.com/okfn/ckan
  Commit: 845c0e5769edb6a1e66a86d97e3ae67f10841363
      https://github.com/okfn/ckan/commit/845c0e5769edb6a1e66a86d97e3ae67f10841363
  Author: amercader <amercadero at gmail.com>
  Date:   2012-05-31 (Thu, 31 May 2012)

  Changed paths:
    M ckan/templates/package/resource_read.html
    A ckan/templates/snippets/recline-extra-footer.html
    A ckan/templates/snippets/recline-extra-header.html

  Log Message:
  -----------
  [#2389] Move recline js and css to a snippet

This will make easier to modify the libraries and load them
conditionally.


  Commit: d8734c0064d0f1264408fc20d332c42b7ab09019
      https://github.com/okfn/ckan/commit/d8734c0064d0f1264408fc20d332c42b7ab09019
  Author: amercader <amercadero at gmail.com>
  Date:   2012-06-27 (Wed, 27 Jun 2012)

  Changed paths:
    M ckan/public/scripts/application.js
    M ckan/public/scripts/templates.js
    M ckan/templates/js_strings.html

  Log Message:
  -----------
  [#2389] Remove Datastore option from the resource form

The datastore checkbox was confusing so we simplified the process. All
resources have the datastore potentially enabled, and only after an
actual write, the controller sets the 'webstore_url' extra to active.


  Commit: 8ebf3118f717f7b7deaeedbe6644b311f43d1a23
      https://github.com/okfn/ckan/commit/8ebf3118f717f7b7deaeedbe6644b311f43d1a23
  Author: amercader <amercadero at gmail.com>
  Date:   2012-06-27 (Wed, 27 Jun 2012)

  Changed paths:
    M ckan/controllers/datastore.py

  Log Message:
  -----------
  [#2389,#2472] Remove datastore enabled checks from controller

Datastore is now enabled by default for all resources. When something is
posted to the datastore, the 'webstore_url' extra is set to 'active'.

Also replaced model calls with logic functions.


  Commit: 33f42937f1f1cb2c524dcc20e0f32734f6a05bc2
      https://github.com/okfn/ckan/commit/33f42937f1f1cb2c524dcc20e0f32734f6a05bc2
  Author: amercader <amercadero at gmail.com>
  Date:   2012-06-27 (Wed, 27 Jun 2012)

  Changed paths:
    M pip-requirements-test.txt

  Log Message:
  -----------
  [#2604] Add requests as requirement for tests


  Commit: 16320b20476295c20f7602b542d4f3b085c698dc
      https://github.com/okfn/ckan/commit/16320b20476295c20f7602b542d4f3b085c698dc
  Author: amercader <amercadero at gmail.com>
  Date:   2012-06-27 (Wed, 27 Jun 2012)

  Changed paths:
    M ckan/tests/functional/test_datastore.py

  Log Message:
  -----------
  [#2389] New tests for the datastore

A mock class mimics Nginx forwarding requests to Elastic Search, so we
can actually test what is being returned.


  Commit: bd817df3cda3b0fc2e7a20d0b4808c022215cf50
      https://github.com/okfn/ckan/commit/bd817df3cda3b0fc2e7a20d0b4808c022215cf50
  Author: amercader <amercadero at gmail.com>
  Date:   2012-06-27 (Wed, 27 Jun 2012)

  Changed paths:
    M ckan/public/scripts/application.js
    M ckan/public/scripts/vendor/recline/recline.js
    M ckan/templates/js_strings.html

  Log Message:
  -----------
  [#2389] Try to make the data explorer fail with more dignity

Adds some checks for DataStore and DataProxy backends. Recline does not
make easy to catch exceptions and errors while initializing, but
hopefully this will cover the most common cases.

Note: includes a small patch on recline.js, which will be ported
upstream.


  Commit: 7f59a58e15dfc1d2498534ef0d474cc7ea08d2b9
      https://github.com/okfn/ckan/commit/7f59a58e15dfc1d2498534ef0d474cc7ea08d2b9
  Author: amercader <amercadero at gmail.com>
  Date:   2012-06-27 (Wed, 27 Jun 2012)

  Changed paths:
    M doc/datastore.rst

  Log Message:
  -----------
  Update datastore docs


Compare: https://github.com/okfn/ckan/compare/845c0e5769ed^...7f59a58e15df


More information about the ckan-changes mailing list