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

GitHub noreply at github.com
Fri Jun 29 17:40:46 UTC 2012


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


  Commit: 5e165b9e38f716b38907e3ac3e162f62c221d0d9
      https://github.com/okfn/ckan/commit/5e165b9e38f716b38907e3ac3e162f62c221d0d9
  Author: amercader <amercadero at gmail.com>
  Date:   2012-06-28 (Thu, 28 Jun 2012)

  Changed paths:
    M ckan/public/scripts/application.js
    M ckan/tests/functional/test_datastore.py

  Log Message:
  -----------
  [#2389] Fix silly errors on datastore tests


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

  Changed paths:
    M ckan/tests/functional/test_group.py
    M ckan/tests/functional/test_package.py

  Log Message:
  -----------
  [#2389] Fix tests that were failing if 'error' was present on the JS strings


  Commit: 5fa209a41e2b01faf629ce9fa91bb8c7eb172ed5
      https://github.com/okfn/ckan/commit/5fa209a41e2b01faf629ce9fa91bb8c7eb172ed5
  Author: amercader <amercadero at gmail.com>
  Date:   2012-06-29 (Fri, 29 Jun 2012)

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

  Log Message:
  -----------
  [#2389] Be more strict when checking for ES


  Commit: 71278f801b6bf734c7a9a5ddb745c556c0c3d866
      https://github.com/okfn/ckan/commit/71278f801b6bf734c7a9a5ddb745c556c0c3d866
  Author: amercader <amercadero at gmail.com>
  Date:   2012-06-29 (Fri, 29 Jun 2012)

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

  Log Message:
  -----------
  [#2389] Yet more failing errors if 'error' was present on the JS strings


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

  Changed paths:
    M CHANGELOG.txt
    R Coding_Standards.rst
    M ckan/config/deployment.ini_tmpl
    M ckan/config/environment.py
    M ckan/config/middleware.py
    M ckan/config/routing.py
    M ckan/config/solr/CHANGELOG.txt
    M ckan/config/solr/schema-1.4.xml
    M ckan/controllers/admin.py
    M ckan/controllers/api.py
    M ckan/controllers/authorization_group.py
    M ckan/controllers/datastore.py
    M ckan/controllers/error.py
    M ckan/controllers/feed.py
    M ckan/controllers/group.py
    M ckan/controllers/home.py
    M ckan/controllers/package.py
    M ckan/controllers/related.py
    M ckan/controllers/revision.py
    M ckan/controllers/storage.py
    M ckan/controllers/tag.py
    M ckan/controllers/template.py
    M ckan/controllers/user.py
    A ckan/i18n/check_po_files.py
    M ckan/lib/accept.py
    M ckan/lib/authenticator.py
    M ckan/lib/base.py
    M ckan/lib/celery_app.py
    M ckan/lib/create_test_data.py
    M ckan/lib/helpers.py
    M ckan/lib/i18n.py
    M ckan/lib/repoze_patch.py
    M ckan/lib/search/__init__.py
    M ckan/lib/search/common.py
    M ckan/lib/search/index.py
    M ckan/logic/__init__.py
    M ckan/logic/action/create.py
    M ckan/logic/action/get.py
    M ckan/logic/auth/create.py
    M ckan/logic/auth/publisher/create.py
    M ckan/logic/schema.py
    M ckan/logic/validators.py
    M ckan/model/follower.py
    M ckan/model/tag.py
    M ckan/public/css/style.css
    M ckan/public/scripts/application.js
    A ckan/public/scripts/vendor/flot/0.7/excanvas.js
    M ckan/public/scripts/vendor/html5shiv/html5.js
    A ckan/templates/activity_streams/follow_dataset.html
    A ckan/templates/activity_streams/follow_user.html
    M ckan/templates/js_strings.html
    M ckan/templates/package/layout.html
    A ckan/templates/snippets/follow_button.html
    A ckan/templates/user/dashboard.html
    M ckan/templates/user/layout.html
    M ckan/tests/functional/api/test_activity.py
    M ckan/tests/functional/api/test_follow.py
    M ckan/tests/functional/test_activity.py
    M ckan/tests/functional/test_group.py
    M ckan/tests/functional/test_user.py
    M ckan/tests/lib/test_dictization_schema.py
    M ckan/tests/logic/test_action.py
    M ckan/tests/logic/test_tag_vocab.py
    M ckan/tests/test_plugins.py
    M ckan/tests/test_versions.py
    M ckanext/multilingual/tests/test_multilingual_plugin.py
    M ckanext/organizations/templates/organization_layout.html
    M ckanext/organizations/templates/organization_read.html
    M ckanext/stats/controller.py
    M ckanext/stats/templates/ckanext/stats/index.html
    A doc/coding-standards.rst
    M doc/configuration.rst
    M doc/geospatial.rst
    A doc/harvesting.rst
    M doc/index.rst
    A doc/install-from-package-amazon.rst
    A doc/install-from-package-virtualbox.rst
    M doc/install-from-package.rst
    M doc/install-from-source.rst
    M doc/post-installation.rst
    M doc/solr-setup.rst
    M doc/test.rst
    M pip-requirements.txt
    R requires/lucid_conflict.txt
    R requires/lucid_missing.txt
    R requires/lucid_present.txt
    M setup.py
    M test-core.ini

  Log Message:
  -----------
  Merge branch 'master' into feature-2389-better-dataexplorer-error-handling

Conflicts:
	ckan/controllers/datastore.py
	ckan/templates/js_strings.html


  Commit: 2df478db3968b7dffcc472d10f83884b18a01c59
      https://github.com/okfn/ckan/commit/2df478db3968b7dffcc472d10f83884b18a01c59
  Author: amercader <amercadero at gmail.com>
  Date:   2012-06-29 (Fri, 29 Jun 2012)

  Changed paths:
    M ckan/controllers/datastore.py
    M ckan/public/scripts/application.js
    M ckan/public/scripts/templates.js
    M ckan/public/scripts/vendor/recline/recline.js
    M ckan/templates/js_strings.html
    M ckan/templates/package/resource_read.html
    A ckan/templates/snippets/recline-extra-footer.html
    A ckan/templates/snippets/recline-extra-header.html
    M ckan/tests/functional/test_authz.py
    M ckan/tests/functional/test_datastore.py
    M ckan/tests/functional/test_group.py
    M ckan/tests/functional/test_package.py
    M doc/datastore.rst

  Log Message:
  -----------
  Merge branch 'feature-2389-better-dataexplorer-error-handling'


Compare: https://github.com/okfn/ckan/compare/1bca3b5853ef...2df478db3968


More information about the ckan-changes mailing list