[ckan-changes] [okfn/ckan] c0cf5b: Port new datastore (v2) to 1.8 release branch

GitHub noreply at github.com
Fri Oct 12 15:25:37 UTC 2012


  Branch: refs/heads/release-v1.8
  Home:   https://github.com/okfn/ckan
  Commit: c0cf5b32f702b2b9a62ef7065c8b6af115f2fe34
      https://github.com/okfn/ckan/commit/c0cf5b32f702b2b9a62ef7065c8b6af115f2fe34
  Author: amercader <amercadero at gmail.com>
  Date:   2012-10-05 (Fri, 05 Oct 2012)

  Changed paths:
    M ckan/config/deployment.ini_tmpl
    M ckan/lib/cli.py
    A ckanext/datastore/__init__.py
    A ckanext/datastore/bin/create_datastore_db_and_read_only_user.sql
    A ckanext/datastore/commands.py
    A ckanext/datastore/db.py
    A ckanext/datastore/logic/__init__.py
    A ckanext/datastore/logic/action.py
    A ckanext/datastore/logic/auth.py
    A ckanext/datastore/plugin.py
    A ckanext/datastore/tests/__init__.py
    A ckanext/datastore/tests/test_datastore.py
    M doc/datastore.rst
    M setup.py

  Log Message:
  -----------
  Port new datastore (v2) to 1.8 release branch

This moves the new datastore (as of bc5f90) from master to 1.8 branch.

TODO:
    * Integrate with recline
    * Reenable Data API button and update contents
    * Test datastorer


  Commit: ef6c02d182d4b1066776ee39666289e5fed85cf7
      https://github.com/okfn/ckan/commit/ef6c02d182d4b1066776ee39666289e5fed85cf7
  Author: amercader <amercadero at gmail.com>
  Date:   2012-10-05 (Fri, 05 Oct 2012)

  Changed paths:
    M ckan/controllers/package.py
    M ckan/templates/_snippet/data-api-help.html
    M ckan/templates/package/resource_read.html

  Log Message:
  -----------
  Update Data API button checks and popup content for new datastore


  Commit: 8c1517fcc8e15d9e77f58d3db63e9ee8fecd88cd
      https://github.com/okfn/ckan/commit/8c1517fcc8e15d9e77f58d3db63e9ee8fecd88cd
  Author: amercader <amercadero at gmail.com>
  Date:   2012-10-08 (Mon, 08 Oct 2012)

  Changed paths:
    M ckan/public/scripts/application.js
    R ckan/public/scripts/vendor/flot/0.7/excanvas.js
    R ckan/public/scripts/vendor/flot/0.7/jquery.flot.js
    A ckan/public/scripts/vendor/flotr2/excanvas.js
    A ckan/public/scripts/vendor/flotr2/excanvas.min.js
    A ckan/public/scripts/vendor/flotr2/flotr2.js
    A ckan/public/scripts/vendor/flotr2/flotr2.min.js
    M ckan/public/scripts/vendor/recline/recline.js
    M ckan/templates/snippets/recline-extra-footer.html

  Log Message:
  -----------
  Update recline to work with datastore v2

Changes on application.js to use datastore_active extra and define a
'ckan' backend when initializing recline. Update recline.js with the new
backend. This changes were ported from 95c975. Also upgrade to Flotr2.

TODO:
Exception on recline:

Uncaught TypeError: Cannot call method 'toggle' of undefined


  Commit: 90d22cb7dbaeb3f9e64c41f147b27ff5cf129ab6
      https://github.com/okfn/ckan/commit/90d22cb7dbaeb3f9e64c41f147b27ff5cf129ab6
  Author: Dominik Moritz <domoritz at gmail.com>
  Date:   2012-10-08 (Mon, 08 Oct 2012)

  Changed paths:
    M ckan/public/scripts/vendor/recline/recline.js

  Log Message:
  -----------
  Fixed toggle buttons for filters and fields in recline


  Commit: eb8ae8dcde2cc5d5fa91958c9db3b814b35271a4
      https://github.com/okfn/ckan/commit/eb8ae8dcde2cc5d5fa91958c9db3b814b35271a4
  Author: Rufus Pollock <rufus.pollock at okfn.org>
  Date:   2012-10-08 (Mon, 08 Oct 2012)

  Changed paths:
    M ckan/public/scripts/vendor/recline/recline.js

  Log Message:
  -----------
  [datapreview][xs]: bugfix to correctly map timestamp field type in CKAN to date field type in recline.


  Commit: 12f561e40f767370d25df1ba14052f79fdd280d5
      https://github.com/okfn/ckan/commit/12f561e40f767370d25df1ba14052f79fdd280d5
  Author: amercader <amercadero at gmail.com>
  Date:   2012-10-12 (Fri, 12 Oct 2012)

  Changed paths:
    M doc/using-data-api.rst

  Log Message:
  -----------
  Add missing file to docs


  Commit: 5a768d5f8ef9bf98b4f1fca13a95246f5c1c1bb3
      https://github.com/okfn/ckan/commit/5a768d5f8ef9bf98b4f1fca13a95246f5c1c1bb3
  Author: Dominik Moritz <domoritz at gmail.com>
  Date:   2012-10-12 (Fri, 12 Oct 2012)

  Changed paths:
    M ckanext/datastore/commands.py

  Log Message:
  -----------
  Fix peer permissions problems with paster command


  Commit: 65b499f0d293406d07dc3f28c7398c4e016a0659
      https://github.com/okfn/ckan/commit/65b499f0d293406d07dc3f28c7398c4e016a0659
  Author: Dominik Moritz <domoritz at gmail.com>
  Date:   2012-10-12 (Fri, 12 Oct 2012)

  Changed paths:
    M ckanext/datastore/db.py
    M ckanext/datastore/tests/test_datastore.py

  Log Message:
  -----------
  Better error reporting and duplicate alias testing.


  Commit: 9ed76d00598e286c3badcdcbcc762960f56ffc42
      https://github.com/okfn/ckan/commit/9ed76d00598e286c3badcdcbcc762960f56ffc42
  Author: Dominik Moritz <domoritz at gmail.com>
  Date:   2012-10-12 (Fri, 12 Oct 2012)

  Changed paths:
    M ckanext/datastore/commands.py

  Log Message:
  -----------
  Fix setup with separate users for datastore-write and ckan. Also make setup easier (one command).


  Commit: a33b2df3f89a591a1bce70c62029efb07248d216
      https://github.com/okfn/ckan/commit/a33b2df3f89a591a1bce70c62029efb07248d216
  Author: Dominik Moritz <domoritz at gmail.com>
  Date:   2012-10-12 (Fri, 12 Oct 2012)

  Changed paths:
    M ckanext/datastore/commands.py

  Log Message:
  -----------
  Consistent naming


  Commit: 529ec77071f7a40df08d8fe485b04018c1881ca9
      https://github.com/okfn/ckan/commit/529ec77071f7a40df08d8fe485b04018c1881ca9
  Author: Dominik Moritz <domoritz at gmail.com>
  Date:   2012-10-12 (Fri, 12 Oct 2012)

  Changed paths:
    M doc/datastore.rst

  Log Message:
  -----------
  Improved and fixed documentation. Thanks to @mwainwright


  Commit: 82f46faeca1d1189a0dc4cba316c869496820d32
      https://github.com/okfn/ckan/commit/82f46faeca1d1189a0dc4cba316c869496820d32
  Author: Dominik Moritz <domoritz at gmail.com>
  Date:   2012-10-12 (Fri, 12 Oct 2012)

  Changed paths:
    M doc/datastore.rst

  Log Message:
  -----------
  Make docs more readable


  Commit: c3a6e0e9f2a135014a0ed196eb4f0817e9faa7f5
      https://github.com/okfn/ckan/commit/c3a6e0e9f2a135014a0ed196eb4f0817e9faa7f5
  Author: Dominik Moritz <domoritz at gmail.com>
  Date:   2012-10-12 (Fri, 12 Oct 2012)

  Changed paths:
    M ckanext/datastore/commands.py

  Log Message:
  -----------
  Skip write user creation if ckan user is write user


  Commit: 74f6a6106fee132e78b7c6195c29f7a650a7e2c8
      https://github.com/okfn/ckan/commit/74f6a6106fee132e78b7c6195c29f7a650a7e2c8
  Author: Dominik Moritz <domoritz at gmail.com>
  Date:   2012-10-12 (Fri, 12 Oct 2012)

  Changed paths:
    M doc/datastore.rst

  Log Message:
  -----------
  Add warning to docs that resources in the ds in private datasets are not private.


  Commit: 0632eaa08f15b1b33c7908fdd906f580249a13c5
      https://github.com/okfn/ckan/commit/0632eaa08f15b1b33c7908fdd906f580249a13c5
  Author: Dominik Moritz <domoritz at gmail.com>
  Date:   2012-10-12 (Fri, 12 Oct 2012)

  Changed paths:
    R ckanext/datastore/bin/create_datastore_db_and_read_only_user.sql
    A ckanext/datastore/bin/set_permissions.sql

  Log Message:
  -----------
  move sql script


  Commit: bf489d003b691aa9c0c2568fc28f5d1434f073b4
      https://github.com/okfn/ckan/commit/bf489d003b691aa9c0c2568fc28f5d1434f073b4
  Author: Dominik Moritz <domoritz at gmail.com>
  Date:   2012-10-12 (Fri, 12 Oct 2012)

  Changed paths:
    A ckanext/datastore/bin/__init__.py
    A ckanext/datastore/bin/datastore_setup.py
    M ckanext/datastore/bin/set_permissions.sql
    M ckanext/datastore/commands.py

  Log Message:
  -----------
  Change the set-up process as recommended by @kindly


  Commit: 030502c37014a7900d106e358ffa3e5392fb3b37
      https://github.com/okfn/ckan/commit/030502c37014a7900d106e358ffa3e5392fb3b37
  Author: Dominik Moritz <domoritz at gmail.com>
  Date:   2012-10-12 (Fri, 12 Oct 2012)

  Changed paths:
    M doc/datastore.rst

  Log Message:
  -----------
  Adapt docs to changes from previous commit.


  Commit: 487ad1e27cf90c02a32bfb95bcf14fb2d75f2976
      https://github.com/okfn/ckan/commit/487ad1e27cf90c02a32bfb95bcf14fb2d75f2976
  Author: Dominik Moritz <domoritz at gmail.com>
  Date:   2012-10-12 (Fri, 12 Oct 2012)

  Changed paths:
    M ckanext/datastore/bin/set_permissions.sql
    M ckanext/datastore/commands.py
    M doc/datastore.rst

  Log Message:
  -----------
  Improved the overall script and fixed the grant permissions stuff


  Commit: 1cbebd2a39d2b24e38983eaccedf2917a80c7e78
      https://github.com/okfn/ckan/commit/1cbebd2a39d2b24e38983eaccedf2917a80c7e78
  Author: Dominik Moritz <domoritz at gmail.com>
  Date:   2012-10-12 (Fri, 12 Oct 2012)

  Changed paths:
    M ckanext/datastore/plugin.py

  Log Message:
  -----------
  added legacy mode


  Commit: 8244430b734153a01e738efb45d3dbd2df2d23b0
      https://github.com/okfn/ckan/commit/8244430b734153a01e738efb45d3dbd2df2d23b0
  Author: Dominik Moritz <domoritz at gmail.com>
  Date:   2012-10-12 (Fri, 12 Oct 2012)

  Changed paths:
    M ckanext/datastore/logic/action.py
    M ckanext/datastore/plugin.py
    M ckanext/datastore/tests/test_datastore.py

  Log Message:
  -----------
  Enable legacy mode (no sql search) if read url is undefined


  Commit: db85bfc608485cff14dcbf24210d08619bbaf2b7
      https://github.com/okfn/ckan/commit/db85bfc608485cff14dcbf24210d08619bbaf2b7
  Author: Dominik Moritz <domoritz at gmail.com>
  Date:   2012-10-12 (Fri, 12 Oct 2012)

  Changed paths:
    M ckanext/datastore/plugin.py
    M doc/datastore.rst

  Log Message:
  -----------
  Docs on how to install the datastore on pg 8.4


  Commit: 19edd3702634afce570ac6158c87710cb23763de
      https://github.com/okfn/ckan/commit/19edd3702634afce570ac6158c87710cb23763de
  Author: Dominik Moritz <domoritz at gmail.com>
  Date:   2012-10-12 (Fri, 12 Oct 2012)

  Changed paths:
    M ckanext/datastore/plugin.py
    A ckanext/datastore/tests/helpers.py
    A ckanext/datastore/tests/test_create.py
    R ckanext/datastore/tests/test_datastore.py
    A ckanext/datastore/tests/test_delete.py
    A ckanext/datastore/tests/test_search.py
    A ckanext/datastore/tests/test_unit.py
    A ckanext/datastore/tests/test_upsert.py

  Log Message:
  -----------
  Split datastore tests into separate files


  Commit: 5b808e7bc1b5f937d431906fcaa043bff3d1702f
      https://github.com/okfn/ckan/commit/5b808e7bc1b5f937d431906fcaa043bff3d1702f
  Author: amercader <amercadero at gmail.com>
  Date:   2012-10-12 (Fri, 12 Oct 2012)

  Changed paths:
    M ckanext/datastore/logic/action.py
    M doc/apiv3.rst
    M doc/datastore.rst

  Log Message:
  -----------
  Better docs for datastore

Link to docstrings via autodoc to avoid duplication. Check api reference
for consistency. Other minor changes.


  Commit: f35c53c7855eae03a4217e64a3dda6cc6f9c3394
      https://github.com/okfn/ckan/commit/f35c53c7855eae03a4217e64a3dda6cc6f9c3394
  Author: amercader <amercadero at gmail.com>
  Date:   2012-10-12 (Fri, 12 Oct 2012)

  Changed paths:
    M doc/datastore.rst

  Log Message:
  -----------
  Add missing reference


  Commit: b4863d0439ee07b2ea123130555912eedb393f97
      https://github.com/okfn/ckan/commit/b4863d0439ee07b2ea123130555912eedb393f97
  Author: Dominik Moritz <domoritz at gmail.com>
  Date:   2012-10-12 (Fri, 12 Oct 2012)

  Changed paths:
    A doc/datastore-api.rst
    R doc/using-data-api.rst

  Log Message:
  -----------
  moved file


  Commit: f5d07eba1843e62f5f52402ea4bbe03c077d3113
      https://github.com/okfn/ckan/commit/f5d07eba1843e62f5f52402ea4bbe03c077d3113
  Author: Dominik Moritz <domoritz at gmail.com>
  Date:   2012-10-12 (Fri, 12 Oct 2012)

  Changed paths:
    M ckanext/datastore/logic/action.py
    M doc/datastore-api.rst
    M doc/datastore.rst
    M doc/index.rst

  Log Message:
  -----------
  Reordered datastore docs to make more sense


  Commit: df7b0e5259cfa59f1f316093f2e842c56b935534
      https://github.com/okfn/ckan/commit/df7b0e5259cfa59f1f316093f2e842c56b935534
  Author: Dominik Moritz <domoritz at gmail.com>
  Date:   2012-10-12 (Fri, 12 Oct 2012)

  Changed paths:
    M doc/datastore-api.rst

  Log Message:
  -----------
  Improve references


  Commit: 4ae2543a550f82ad3ed2a800e34ff63d05e9deda
      https://github.com/okfn/ckan/commit/4ae2543a550f82ad3ed2a800e34ff63d05e9deda
  Author: Dominik Moritz <domoritz at gmail.com>
  Date:   2012-10-12 (Fri, 12 Oct 2012)

  Changed paths:
    A doc/datastore-setup.rst

  Log Message:
  -----------
  Added missing setup docs


  Commit: 2f62160a43764d69d33d5fa7e9a61169b9fcd783
      https://github.com/okfn/ckan/commit/2f62160a43764d69d33d5fa7e9a61169b9fcd783
  Author: Dominik Moritz <domoritz at gmail.com>
  Date:   2012-10-12 (Fri, 12 Oct 2012)

  Changed paths:
    M doc/datastore-setup.rst

  Log Message:
  -----------
  Minor doc and reference fixes and improvements


  Commit: a034066f8a776234f6f410d4ebd753810c3b4c32
      https://github.com/okfn/ckan/commit/a034066f8a776234f6f410d4ebd753810c3b4c32
  Author: Dominik Moritz <domoritz at gmail.com>
  Date:   2012-10-12 (Fri, 12 Oct 2012)

  Changed paths:
    M ckanext/datastore/db.py

  Log Message:
  -----------
  Coding style in sql


  Commit: 20d596de11bab8f98c0fc4bdafdf599bab44b005
      https://github.com/okfn/ckan/commit/20d596de11bab8f98c0fc4bdafdf599bab44b005
  Author: Dominik Moritz <domoritz at gmail.com>
  Date:   2012-10-12 (Fri, 12 Oct 2012)

  Changed paths:
    M doc/datastore.rst

  Log Message:
  -----------
  Changed heading because the datastore doc page does not contain the api docs any more


  Commit: 913cb00b1cef201306a7c0560ec2b591670f79ef
      https://github.com/okfn/ckan/commit/913cb00b1cef201306a7c0560ec2b591670f79ef
  Author: amercader <amercadero at gmail.com>
  Date:   2012-10-12 (Fri, 12 Oct 2012)

  Changed paths:
    M ckan/config/deployment.ini_tmpl
    M ckan/controllers/package.py
    M ckan/lib/cli.py
    M ckan/public/scripts/application.js
    R ckan/public/scripts/vendor/flot/0.7/excanvas.js
    R ckan/public/scripts/vendor/flot/0.7/jquery.flot.js
    A ckan/public/scripts/vendor/flotr2/excanvas.js
    A ckan/public/scripts/vendor/flotr2/excanvas.min.js
    A ckan/public/scripts/vendor/flotr2/flotr2.js
    A ckan/public/scripts/vendor/flotr2/flotr2.min.js
    M ckan/public/scripts/vendor/recline/recline.js
    M ckan/templates/_snippet/data-api-help.html
    M ckan/templates/package/resource_read.html
    M ckan/templates/snippets/recline-extra-footer.html
    A ckanext/datastore/__init__.py
    A ckanext/datastore/bin/__init__.py
    A ckanext/datastore/bin/datastore_setup.py
    A ckanext/datastore/bin/set_permissions.sql
    A ckanext/datastore/commands.py
    A ckanext/datastore/db.py
    A ckanext/datastore/logic/__init__.py
    A ckanext/datastore/logic/action.py
    A ckanext/datastore/logic/auth.py
    A ckanext/datastore/plugin.py
    A ckanext/datastore/tests/__init__.py
    A ckanext/datastore/tests/helpers.py
    A ckanext/datastore/tests/test_create.py
    A ckanext/datastore/tests/test_delete.py
    A ckanext/datastore/tests/test_search.py
    A ckanext/datastore/tests/test_unit.py
    A ckanext/datastore/tests/test_upsert.py
    M doc/apiv3.rst
    A doc/datastore-api.rst
    A doc/datastore-setup.rst
    M doc/datastore.rst
    M doc/index.rst
    R doc/using-data-api.rst
    M setup.py

  Log Message:
  -----------
  Merge branch 'release-v1.8-new-datastore' into release-v1.8


Compare: https://github.com/okfn/ckan/compare/08b51ce8cd5f...913cb00b1cef


More information about the ckan-changes mailing list