[ckan-changes] [okfn/ckan] e14844: Added the data_search_sql action
GitHub
noreply at github.com
Fri Sep 14 15:44:01 UTC 2012
Branch: refs/heads/2733-feature-datastore
Home: https://github.com/okfn/ckan
Commit: e148448bcd29f241f1d47724de3326ce73e4d183
https://github.com/okfn/ckan/commit/e148448bcd29f241f1d47724de3326ce73e4d183
Author: Dominik Moritz <domoritz at gmail.com>
Date: 2012-08-27 (Mon, 27 Aug 2012)
Changed paths:
M ckanext/datastore/logic/action.py
M ckanext/datastore/plugin.py
Log Message:
-----------
Added the data_search_sql action
Commit: c175461e2a90e3cfe636a3f4c58753cbd3ef63bc
https://github.com/okfn/ckan/commit/c175461e2a90e3cfe636a3f4c58753cbd3ef63bc
Author: Dominik Moritz <domoritz at gmail.com>
Date: 2012-08-28 (Tue, 28 Aug 2012)
Changed paths:
M ckanext/datastore/db.py
M ckanext/datastore/logic/action.py
Log Message:
-----------
basic search_sql function and refactoring
Commit: 4607fb3c4709612377f6251f6cb6ea18c76092a8
https://github.com/okfn/ckan/commit/4607fb3c4709612377f6251f6cb6ea18c76092a8
Author: Dominik Moritz <domoritz at gmail.com>
Date: 2012-08-28 (Tue, 28 Aug 2012)
Changed paths:
M ckanext/datastore/db.py
Log Message:
-----------
SQL erors are returned as json
Commit: 00e8a5f8a5567f446ec62da7f5d6294fc48d453f
https://github.com/okfn/ckan/commit/00e8a5f8a5567f446ec62da7f5d6294fc48d453f
Author: Dominik Moritz <domoritz at gmail.com>
Date: 2012-08-28 (Tue, 28 Aug 2012)
Changed paths:
M ckanext/datastore/db.py
M ckanext/datastore/logic/action.py
Log Message:
-----------
added single statement test function
Commit: 3c3ac9e3ebcb9746913ae6d68f70c8d0229464e1
https://github.com/okfn/ckan/commit/3c3ac9e3ebcb9746913ae6d68f70c8d0229464e1
Author: Dominik Moritz <domoritz at gmail.com>
Date: 2012-08-28 (Tue, 28 Aug 2012)
Changed paths:
M ckanext/datastore/plugin.py
Log Message:
-----------
Only enable sql search if read url is available
Commit: 6971fd879ad22070c16b5578f70919ebd6568c52
https://github.com/okfn/ckan/commit/6971fd879ad22070c16b5578f70919ebd6568c52
Author: Dominik Moritz <domoritz at gmail.com>
Date: 2012-08-28 (Tue, 28 Aug 2012)
Changed paths:
M ckanext/datastore/db.py
M ckanext/datastore/tests/test_datastore.py
Log Message:
-----------
test the single statement function
Commit: 76940c185532f411809716ce3d28f534ce54460b
https://github.com/okfn/ckan/commit/76940c185532f411809716ce3d28f534ce54460b
Author: Dominik Moritz <domoritz at gmail.com>
Date: 2012-08-28 (Tue, 28 Aug 2012)
Changed paths:
M ckanext/datastore/tests/test_datastore.py
Log Message:
-----------
basic sql search test
Commit: 8909da9cde000e786fb06ae80b5f3d811af70034
https://github.com/okfn/ckan/commit/8909da9cde000e786fb06ae80b5f3d811af70034
Author: Dominik Moritz <domoritz at gmail.com>
Date: 2012-08-28 (Tue, 28 Aug 2012)
Changed paths:
M ckanext/datastore/logic/action.py
Log Message:
-----------
more info on semicolons
Commit: 0b279e994c585ed0c3f8dc3d8cc37dff10d25022
https://github.com/okfn/ckan/commit/0b279e994c585ed0c3f8dc3d8cc37dff10d25022
Author: Dominik Moritz <domoritz at gmail.com>
Date: 2012-08-29 (Wed, 29 Aug 2012)
Changed paths:
M ckan/public/scripts/application.js
M ckan/public/scripts/vendor/recline/recline.js
Log Message:
-----------
Merge branch '2733-feature-datastore' of https://github.com/okfn/ckan into 2733-feature-datastore
Commit: 00a7f80f7b70b460e39cfd4ea112d98ec07189b6
https://github.com/okfn/ckan/commit/00a7f80f7b70b460e39cfd4ea112d98ec07189b6
Author: Dominik Moritz <domoritz at gmail.com>
Date: 2012-08-29 (Wed, 29 Aug 2012)
Changed paths:
M ckanext/datastore/plugin.py
Log Message:
-----------
Check whether we have not right permissions on the read only database
Commit: f8e33021d074c704692736076536778266e9b722
https://github.com/okfn/ckan/commit/f8e33021d074c704692736076536778266e9b722
Author: Dominik Moritz <domoritz at gmail.com>
Date: 2012-08-29 (Wed, 29 Aug 2012)
Changed paths:
M ckanext/datastore/plugin.py
Log Message:
-----------
Check if read and write url are the same and fix problem with default schema
Commit: 320791ee0a4f70fe8aff9c8d2b4a4b7296f8cb2f
https://github.com/okfn/ckan/commit/320791ee0a4f70fe8aff9c8d2b4a4b7296f8cb2f
Author: Dominik Moritz <domoritz at gmail.com>
Date: 2012-08-29 (Wed, 29 Aug 2012)
Changed paths:
M ckanext/datastore/tests/test_datastore.py
Log Message:
-----------
fix test
Commit: e4effd49ab5e9ce7d497b14d2bd731a2055a6d3a
https://github.com/okfn/ckan/commit/e4effd49ab5e9ce7d497b14d2bd731a2055a6d3a
Author: Dominik Moritz <domoritz at gmail.com>
Date: 2012-08-29 (Wed, 29 Aug 2012)
Changed paths:
M ckanext/datastore/plugin.py
M ckanext/datastore/tests/test_datastore.py
Log Message:
-----------
Test whether ckan and datastore are on separate databases.
Commit: d439e063cecd4536308eef04cef9e912326270ee
https://github.com/okfn/ckan/commit/d439e063cecd4536308eef04cef9e912326270ee
Author: Dominik Moritz <domoritz at gmail.com>
Date: 2012-08-29 (Wed, 29 Aug 2012)
Changed paths:
M ckanext/datastore/logic/action.py
M ckanext/datastore/plugin.py
M ckanext/datastore/tests/test_datastore.py
Log Message:
-----------
Added join test
Commit: b8bb3e1231c7dd42116199cdf3b61348598b873b
https://github.com/okfn/ckan/commit/b8bb3e1231c7dd42116199cdf3b61348598b873b
Author: Dominik Moritz <domoritz at gmail.com>
Date: 2012-08-29 (Wed, 29 Aug 2012)
Changed paths:
M ckanext/datastore/db.py
M ckanext/datastore/logic/action.py
Log Message:
-----------
create an alias view when creating a resource
Commit: cd935894a8834d91db9a5d69d204163070fda3b4
https://github.com/okfn/ckan/commit/cd935894a8834d91db9a5d69d204163070fda3b4
Author: Dominik Moritz <domoritz at gmail.com>
Date: 2012-08-29 (Wed, 29 Aug 2012)
Changed paths:
M ckanext/datastore/db.py
M ckanext/datastore/plugin.py
Log Message:
-----------
alias mapping table
Commit: 20cf25fe6bfec9f0fee5dd1ad6f7c4cfb07f3f8d
https://github.com/okfn/ckan/commit/20cf25fe6bfec9f0fee5dd1ad6f7c4cfb07f3f8d
Author: Dominik Moritz <domoritz at gmail.com>
Date: 2012-08-29 (Wed, 29 Aug 2012)
Changed paths:
M ckanext/datastore/db.py
M ckanext/datastore/plugin.py
M ckanext/datastore/tests/test_datastore.py
Log Message:
-----------
Test the aliases
Commit: 65c600e671214f745a1e9be0cf0d2650c15868df
https://github.com/okfn/ckan/commit/65c600e671214f745a1e9be0cf0d2650c15868df
Author: Dominik Moritz <domoritz at gmail.com>
Date: 2012-08-29 (Wed, 29 Aug 2012)
Changed paths:
M ckanext/datastore/db.py
Log Message:
-----------
delete alias when deleting the main resource
Commit: 9aa10ca2daf0064598fd1929b303bab9192349fb
https://github.com/okfn/ckan/commit/9aa10ca2daf0064598fd1929b303bab9192349fb
Author: Dominik Moritz <domoritz at gmail.com>
Date: 2012-08-29 (Wed, 29 Aug 2012)
Changed paths:
M ckanext/datastore/db.py
M ckanext/datastore/plugin.py
Log Message:
-----------
use a view instead of a alias mapping table (still needs some work)
Commit: 462df03052ab3dfe6342bf2e8272c92a222d3383
https://github.com/okfn/ckan/commit/462df03052ab3dfe6342bf2e8272c92a222d3383
Author: Dominik Moritz <domoritz at gmail.com>
Date: 2012-08-31 (Fri, 31 Aug 2012)
Changed paths:
M ckanext/datastore/plugin.py
M ckanext/datastore/tests/test_datastore.py
Log Message:
-----------
Alias view instead of alias table
Commit: b5fc23e82af9c7dd146b604a5f260ffd4231879c
https://github.com/okfn/ckan/commit/b5fc23e82af9c7dd146b604a5f260ffd4231879c
Author: Dominik Moritz <domoritz at gmail.com>
Date: 2012-08-31 (Fri, 31 Aug 2012)
Changed paths:
M ckanext/datastore/plugin.py
Log Message:
-----------
Fixed permissions and db checks
Commit: e61d067378c2f4979ee321f5af020a789464a0bc
https://github.com/okfn/ckan/commit/e61d067378c2f4979ee321f5af020a789464a0bc
Author: Dominik Moritz <domoritz at gmail.com>
Date: 2012-08-31 (Fri, 31 Aug 2012)
Changed paths:
M ckanext/datastore/plugin.py
M ckanext/datastore/tests/test_datastore.py
Log Message:
-----------
code cleanup
Commit: 40d3acc96f34b186b6319e7d5e9f2126e1337bb3
https://github.com/okfn/ckan/commit/40d3acc96f34b186b6319e7d5e9f2126e1337bb3
Author: Dominik Moritz <domoritz at gmail.com>
Date: 2012-08-31 (Fri, 31 Aug 2012)
Changed paths:
M ckanext/datastore/logic/action.py
M ckanext/datastore/plugin.py
M ckanext/datastore/tests/test_datastore.py
Log Message:
-----------
more tests for aliases
Commit: 1cd3243bc2b82d0c23fb4eaba38bec70121b298d
https://github.com/okfn/ckan/commit/1cd3243bc2b82d0c23fb4eaba38bec70121b298d
Author: Dominik Moritz <domoritz at gmail.com>
Date: 2012-08-31 (Fri, 31 Aug 2012)
Changed paths:
M ckanext/datastore/db.py
M ckanext/datastore/logic/action.py
M ckanext/datastore/tests/test_datastore.py
Log Message:
-----------
search by alias
Commit: 6250079ca7227f19b799d78f96aca23d49e34f78
https://github.com/okfn/ckan/commit/6250079ca7227f19b799d78f96aca23d49e34f78
Author: Dominik Moritz <domoritz at gmail.com>
Date: 2012-09-03 (Mon, 03 Sep 2012)
Changed paths:
M ckanext/datastore/db.py
M ckanext/datastore/logic/action.py
Log Message:
-----------
satisfy lint
Commit: 89891057bc1f7b1b04889799a680d76e14b31da1
https://github.com/okfn/ckan/commit/89891057bc1f7b1b04889799a680d76e14b31da1
Author: Dominik Moritz <domoritz at gmail.com>
Date: 2012-09-03 (Mon, 03 Sep 2012)
Changed paths:
M ckanext/datastore/plugin.py
Log Message:
-----------
Check write permissions even in debug mode
Commit: 07543fd6fe5519d4319cfc6993e6d5df50e364d0
https://github.com/okfn/ckan/commit/07543fd6fe5519d4319cfc6993e6d5df50e364d0
Author: Dominik Moritz <domoritz at gmail.com>
Date: 2012-09-03 (Mon, 03 Sep 2012)
Changed paths:
A bin/create_read_only_user.sql
Log Message:
-----------
Added script to create read only user
Commit: 854acf78cd792a7964103b4d51675d9f27d1eab1
https://github.com/okfn/ckan/commit/854acf78cd792a7964103b4d51675d9f27d1eab1
Author: Dominik Moritz <domoritz at gmail.com>
Date: 2012-09-03 (Mon, 03 Sep 2012)
Changed paths:
R bin/create_read_only_user.sql
A ckanext/datastore/bin/create_read_only_user.sql
Log Message:
-----------
Move create read-only user script to datastore/bin
Commit: 8012648cae8ab5da7d7f591d59596bd02b78c469
https://github.com/okfn/ckan/commit/8012648cae8ab5da7d7f591d59596bd02b78c469
Author: Dominik Moritz <domoritz at gmail.com>
Date: 2012-09-03 (Mon, 03 Sep 2012)
Changed paths:
A ckanext/datastore/bin/create_datastore_db_and_read_only_user.sql
R ckanext/datastore/bin/create_read_only_user.sql
Log Message:
-----------
Create database and read only user in one script
Commit: 16d8d169f966194878b584784dc391d3892e17e1
https://github.com/okfn/ckan/commit/16d8d169f966194878b584784dc391d3892e17e1
Author: Dominik Moritz <domoritz at gmail.com>
Date: 2012-09-03 (Mon, 03 Sep 2012)
Changed paths:
M ckanext/datastore/bin/create_datastore_db_and_read_only_user.sql
Log Message:
-----------
Updated create sql script to create new database
Commit: 5b7eab2af8ebceedac0f54c28275358db5e57bd8
https://github.com/okfn/ckan/commit/5b7eab2af8ebceedac0f54c28275358db5e57bd8
Author: Dominik Moritz <domoritz at gmail.com>
Date: 2012-09-03 (Mon, 03 Sep 2012)
Changed paths:
M ckanext/datastore/db.py
M ckanext/datastore/tests/test_datastore.py
Log Message:
-----------
fixes 2. from ticket #2877 (multiple values in search)
Commit: 96d5e44783324ef4c6e5b9b01b7e4b13510b0ceb
https://github.com/okfn/ckan/commit/96d5e44783324ef4c6e5b9b01b7e4b13510b0ceb
Author: Dominik Moritz <domoritz at gmail.com>
Date: 2012-09-03 (Mon, 03 Sep 2012)
Changed paths:
M ckanext/datastore/db.py
M ckanext/datastore/logic/action.py
M ckanext/datastore/tests/test_datastore.py
Log Message:
-----------
Plain or advances search queries
Commit: 676c41714be8684d706bd237ff76f4ca746c0882
https://github.com/okfn/ckan/commit/676c41714be8684d706bd237ff76f4ca746c0882
Author: Dominik Moritz <domoritz at gmail.com>
Date: 2012-09-03 (Mon, 03 Sep 2012)
Changed paths:
M ckanext/datastore/db.py
M ckanext/datastore/tests/test_datastore.py
Log Message:
-----------
full text search with ranking based on query
Commit: de522066baebc6167b0dfe81f78a803595298425
https://github.com/okfn/ckan/commit/de522066baebc6167b0dfe81f78a803595298425
Author: Dominik Moritz <domoritz at gmail.com>
Date: 2012-09-03 (Mon, 03 Sep 2012)
Changed paths:
M ckanext/datastore/db.py
Log Message:
-----------
Default order by rank
Commit: d0eb70aef9dc6ba7b615dc7cbc3dc2eb880353f9
https://github.com/okfn/ckan/commit/d0eb70aef9dc6ba7b615dc7cbc3dc2eb880353f9
Author: Dominik Moritz <domoritz at gmail.com>
Date: 2012-09-03 (Mon, 03 Sep 2012)
Changed paths:
M ckanext/datastore/db.py
M ckanext/datastore/logic/action.py
Log Message:
-----------
added language parameter to search
Commit: 3f26a1cf366903e45e51b8448ca44f29822163c2
https://github.com/okfn/ckan/commit/3f26a1cf366903e45e51b8448ca44f29822163c2
Author: Dominik Moritz <domoritz at gmail.com>
Date: 2012-09-03 (Mon, 03 Sep 2012)
Changed paths:
M ckanext/datastore/db.py
Log Message:
-----------
Switched ranking algorithm to more suitable for shorter texts.
Commit: 6175b31e83156f2e8f45543e492491884b5013b7
https://github.com/okfn/ckan/commit/6175b31e83156f2e8f45543e492491884b5013b7
Author: Dominik Moritz <domoritz at gmail.com>
Date: 2012-09-03 (Mon, 03 Sep 2012)
Changed paths:
M ckanext/datastore/db.py
Log Message:
-----------
Create gist index on full text search
Commit: 9e4b5fe0d9db9eb93f3be220e9639f753458285c
https://github.com/okfn/ckan/commit/9e4b5fe0d9db9eb93f3be220e9639f753458285c
Author: Dominik Moritz <domoritz at gmail.com>
Date: 2012-09-04 (Tue, 04 Sep 2012)
Changed paths:
M ckanext/datastore/bin/create_datastore_db_and_read_only_user.sql
M ckanext/datastore/db.py
M ckanext/datastore/logic/action.py
M ckanext/datastore/tests/test_datastore.py
Log Message:
-----------
Reformat and cleanup
Commit: 357f0229abfcdbecf9955b4ea32b46041fa6b2ab
https://github.com/okfn/ckan/commit/357f0229abfcdbecf9955b4ea32b46041fa6b2ab
Author: Dominik Moritz <domoritz at gmail.com>
Date: 2012-09-04 (Tue, 04 Sep 2012)
Changed paths:
M ckanext/datastore/db.py
M ckanext/datastore/logic/action.py
M ckanext/datastore/tests/test_datastore.py
Log Message:
-----------
insert indexes with optional uniqueness constraint
Commit: e579e75e606c4e56aad96c197bd441199d3c80d5
https://github.com/okfn/ckan/commit/e579e75e606c4e56aad96c197bd441199d3c80d5
Author: Dominik Moritz <domoritz at gmail.com>
Date: 2012-09-05 (Wed, 05 Sep 2012)
Changed paths:
M ckanext/datastore/db.py
M ckanext/datastore/logic/action.py
M ckanext/datastore/tests/test_datastore.py
Log Message:
-----------
Allow comma separated string in fields in search api
Commit: 8884f0c06e1992a5cc6e96278a805fd3673fed50
https://github.com/okfn/ckan/commit/8884f0c06e1992a5cc6e96278a805fd3673fed50
Author: Dominik Moritz <domoritz at gmail.com>
Date: 2012-09-05 (Wed, 05 Sep 2012)
Changed paths:
M ckanext/datastore/logic/action.py
M ckanext/datastore/plugin.py
M ckanext/datastore/tests/test_datastore.py
Log Message:
-----------
rename alias mapping view
Commit: fa87281693fafa7426465f6d0a652b285fb1ab49
https://github.com/okfn/ckan/commit/fa87281693fafa7426465f6d0a652b285fb1ab49
Author: Dominik Moritz <domoritz at gmail.com>
Date: 2012-09-05 (Wed, 05 Sep 2012)
Changed paths:
M ckanext/datastore/db.py
M ckanext/datastore/logic/action.py
M ckanext/datastore/tests/test_datastore.py
Log Message:
-----------
separate index and primary key creation
Commit: 350f060f75c32986591e2ac18f3655cdc508ca4d
https://github.com/okfn/ckan/commit/350f060f75c32986591e2ac18f3655cdc508ca4d
Author: Dominik Moritz <domoritz at gmail.com>
Date: 2012-09-05 (Wed, 05 Sep 2012)
Changed paths:
M ckanext/datastore/db.py
M ckanext/datastore/tests/test_datastore.py
Log Message:
-----------
Better and safer boolean handling
Commit: 0bab60c7295300091014b25538ddc59bd807ada9
https://github.com/okfn/ckan/commit/0bab60c7295300091014b25538ddc59bd807ada9
Author: Dominik Moritz <domoritz at gmail.com>
Date: 2012-09-05 (Wed, 05 Sep 2012)
Changed paths:
M ckanext/datastore/db.py
M ckanext/datastore/tests/test_datastore.py
Log Message:
-----------
Delete previous indexes when creating new indexes. Delete uniqueness constraint when creating new uniqueness constraint.
Commit: 65ac759666ba216f6d65124de13da11084466912
https://github.com/okfn/ckan/commit/65ac759666ba216f6d65124de13da11084466912
Author: Dominik Moritz <domoritz at gmail.com>
Date: 2012-09-06 (Thu, 06 Sep 2012)
Changed paths:
M ckanext/datastore/logic/action.py
M ckanext/datastore/plugin.py
M ckanext/datastore/tests/test_datastore.py
Log Message:
-----------
data_sql_search -> datastore_sql_search
Commit: 30d74bb4d066391b196b551aed51d7f05556a6b4
https://github.com/okfn/ckan/commit/30d74bb4d066391b196b551aed51d7f05556a6b4
Author: Dominik Moritz <domoritz at gmail.com>
Date: 2012-09-06 (Thu, 06 Sep 2012)
Changed paths:
M ckanext/datastore/logic/action.py
M ckanext/datastore/logic/auth.py
M ckanext/datastore/plugin.py
Log Message:
-----------
upsert action added
Commit: 42a2994adfb01a39096ece2b2a94c0371f5c76d5
https://github.com/okfn/ckan/commit/42a2994adfb01a39096ece2b2a94c0371f5c76d5
Author: Dominik Moritz <domoritz at gmail.com>
Date: 2012-09-06 (Thu, 06 Sep 2012)
Changed paths:
M ckanext/datastore/db.py
Log Message:
-----------
Fix get all fields in creation
Commit: 6ef1487724223ce7088aa473e36307444f83ff93
https://github.com/okfn/ckan/commit/6ef1487724223ce7088aa473e36307444f83ff93
Author: Dominik Moritz <domoritz at gmail.com>
Date: 2012-09-06 (Thu, 06 Sep 2012)
Changed paths:
M ckanext/datastore/db.py
Log Message:
-----------
generic upsert method that supports insert and update but not yet upsert
Commit: 120d296f8f7b6ad131cfe0f529576bd45f7d1eb5
https://github.com/okfn/ckan/commit/120d296f8f7b6ad131cfe0f529576bd45f7d1eb5
Author: Dominik Moritz <domoritz at gmail.com>
Date: 2012-09-06 (Thu, 06 Sep 2012)
Changed paths:
M ckanext/datastore/db.py
M ckanext/datastore/tests/test_datastore.py
Log Message:
-----------
fixed update, started upsert testing
Commit: 3a142e93c7cb7b776ea3f48ea0606cac8f96c18e
https://github.com/okfn/ckan/commit/3a142e93c7cb7b776ea3f48ea0606cac8f96c18e
Author: Dominik Moritz <domoritz at gmail.com>
Date: 2012-09-06 (Thu, 06 Sep 2012)
Changed paths:
M ckanext/datastore/db.py
M ckanext/datastore/tests/test_datastore.py
Log Message:
-----------
Test for insert, resolved some unicode issues
Commit: 6ebd6f7201790fc9ff814336679db4520764d176
https://github.com/okfn/ckan/commit/6ebd6f7201790fc9ff814336679db4520764d176
Author: Dominik Moritz <domoritz at gmail.com>
Date: 2012-09-06 (Thu, 06 Sep 2012)
Changed paths:
M ckanext/datastore/db.py
Log Message:
-----------
{} -> {0} to make python 2.6 compatible
Commit: 9a5dc540ed005e62915894bdc06c17030b9d85d4
https://github.com/okfn/ckan/commit/9a5dc540ed005e62915894bdc06c17030b9d85d4
Author: Dominik Moritz <domoritz at gmail.com>
Date: 2012-09-06 (Thu, 06 Sep 2012)
Changed paths:
M ckanext/datastore/db.py
Log Message:
-----------
Use paste converters
Commit: 6320f95f7f5bfcea7e1bcdc7f5569679afa3c753
https://github.com/okfn/ckan/commit/6320f95f7f5bfcea7e1bcdc7f5569679afa3c753
Author: Dominik Moritz <domoritz at gmail.com>
Date: 2012-09-06 (Thu, 06 Sep 2012)
Changed paths:
M ckanext/datastore/db.py
M ckanext/datastore/logic/action.py
M ckanext/datastore/tests/test_datastore.py
Log Message:
-----------
Small improvements and sql injection prevention.
Commit: 38a5101dac852ff4366d557e510a893cc0109e79
https://github.com/okfn/ckan/commit/38a5101dac852ff4366d557e510a893cc0109e79
Author: Dominik Moritz <domoritz at gmail.com>
Date: 2012-09-06 (Thu, 06 Sep 2012)
Changed paths:
M ckanext/datastore/db.py
M ckanext/datastore/tests/test_datastore.py
Log Message:
-----------
Update in datatstore
Commit: d15bd8d050d181f8ea4a333854aaece9d6c493ce
https://github.com/okfn/ckan/commit/d15bd8d050d181f8ea4a333854aaece9d6c493ce
Author: Dominik Moritz <domoritz at gmail.com>
Date: 2012-09-07 (Fri, 07 Sep 2012)
Changed paths:
M ckanext/datastore/db.py
M ckanext/datastore/logic/action.py
M ckanext/datastore/tests/test_datastore.py
Log Message:
-----------
create multiple aliases, replace previous, unicode safe, avoid sql injection
Commit: c1b153c181dcbb0a59ae733921031b791367265b
https://github.com/okfn/ckan/commit/c1b153c181dcbb0a59ae733921031b791367265b
Author: Dominik Moritz <domoritz at gmail.com>
Date: 2012-09-07 (Fri, 07 Sep 2012)
Changed paths:
M ckanext/datastore/plugin.py
Log Message:
-----------
disable upsert action until it is finished
Commit: ebd57d8a31ece32ff8168198e83ba2614e0b4abe
https://github.com/okfn/ckan/commit/ebd57d8a31ece32ff8168198e83ba2614e0b4abe
Author: Dominik Moritz <domoritz at gmail.com>
Date: 2012-09-07 (Fri, 07 Sep 2012)
Changed paths:
M ckanext/datastore/plugin.py
Log Message:
-----------
reenabled upsert
Commit: 3fd0d90ca90367c419a9b9ccce4179aaaad80ed1
https://github.com/okfn/ckan/commit/3fd0d90ca90367c419a9b9ccce4179aaaad80ed1
Author: Dominik Moritz <domoritz at gmail.com>
Date: 2012-09-07 (Fri, 07 Sep 2012)
Changed paths:
M ckanext/datastore/db.py
M ckanext/datastore/tests/test_datastore.py
Log Message:
-----------
Update reports wrong field names.
Commit: 55d8a531ba31adf6bf1ec9f2f8cbf044951c3ca6
https://github.com/okfn/ckan/commit/55d8a531ba31adf6bf1ec9f2f8cbf044951c3ca6
Author: Dominik Moritz <domoritz at gmail.com>
Date: 2012-09-07 (Fri, 07 Sep 2012)
Changed paths:
M ckanext/datastore/db.py
M ckanext/datastore/tests/test_datastore.py
Log Message:
-----------
Split tests into insert, update and upsert. Implemented upsert.
Commit: 813344723819d565b7ba79cc2434bd8da8adc5e9
https://github.com/okfn/ckan/commit/813344723819d565b7ba79cc2434bd8da8adc5e9
Author: Dominik Moritz <domoritz at gmail.com>
Date: 2012-09-07 (Fri, 07 Sep 2012)
Changed paths:
M ckanext/datastore/db.py
Log Message:
-----------
refactored upsert
Commit: 5c9b878a10606d832d1a1d80f34d968ef7b62fef
https://github.com/okfn/ckan/commit/5c9b878a10606d832d1a1d80f34d968ef7b62fef
Author: Dominik Moritz <domoritz at gmail.com>
Date: 2012-09-07 (Fri, 07 Sep 2012)
Changed paths:
M ckanext/datastore/tests/test_datastore.py
Log Message:
-----------
increased test coverage
Commit: 3d82bc1b6d6fbe2d2a1576311fedab008714aa19
https://github.com/okfn/ckan/commit/3d82bc1b6d6fbe2d2a1576311fedab008714aa19
Author: Dominik Moritz <domoritz at gmail.com>
Date: 2012-09-07 (Fri, 07 Sep 2012)
Changed paths:
M ckanext/datastore/db.py
M ckanext/datastore/plugin.py
M ckanext/datastore/tests/test_datastore.py
Log Message:
-----------
Merge branch '2733-feature-datastore-dev' into 2733-feature-datastore
Commit: 12d8da3696726e8a0e933954edda91dbc79c7173
https://github.com/okfn/ckan/commit/12d8da3696726e8a0e933954edda91dbc79c7173
Author: Dominik Moritz <domoritz at gmail.com>
Date: 2012-09-10 (Mon, 10 Sep 2012)
Changed paths:
M ckanext/datastore/db.py
M ckanext/datastore/logic/action.py
Log Message:
-----------
sort also uses get_list
Commit: e9860994790386af22056ad9db02f0c0f135176a
https://github.com/okfn/ckan/commit/e9860994790386af22056ad9db02f0c0f135176a
Author: Dominik Moritz <domoritz at gmail.com>
Date: 2012-09-10 (Mon, 10 Sep 2012)
Changed paths:
M ckanext/datastore/db.py
M ckanext/datastore/logic/action.py
Log Message:
-----------
lang->language for consistency
Commit: f5868ac06e3c32d7a532e9f6822187a19b9aa562
https://github.com/okfn/ckan/commit/f5868ac06e3c32d7a532e9f6822187a19b9aa562
Author: Dominik Moritz <domoritz at gmail.com>
Date: 2012-09-10 (Mon, 10 Sep 2012)
Changed paths:
M ckanext/datastore/logic/action.py
M ckanext/datastore/plugin.py
Log Message:
-----------
enable search for _table_metadata
Commit: 3dec0e8cce30860c20599374d3f43c8738f96ae5
https://github.com/okfn/ckan/commit/3dec0e8cce30860c20599374d3f43c8738f96ae5
Author: Dominik Moritz <domoritz at gmail.com>
Date: 2012-09-10 (Mon, 10 Sep 2012)
Changed paths:
M doc/datastore.rst
Log Message:
-----------
documentation of new features
Commit: 6f505d90ee4f9298a608119ef5d007e3e26e80f6
https://github.com/okfn/ckan/commit/6f505d90ee4f9298a608119ef5d007e3e26e80f6
Author: Dominik Moritz <domoritz at gmail.com>
Date: 2012-09-10 (Mon, 10 Sep 2012)
Changed paths:
M ckanext/datastore/bin/create_datastore_db_and_read_only_user.sql
A ckanext/datastore/commands.py
M ckanext/datastore/plugin.py
M setup.py
Log Message:
-----------
paster command to create database and read-only user
Commit: 1a38d69ca70e1f4146e613c0c74a878ae2ed6e26
https://github.com/okfn/ckan/commit/1a38d69ca70e1f4146e613c0c74a878ae2ed6e26
Author: Dominik Moritz <domoritz at gmail.com>
Date: 2012-09-10 (Mon, 10 Sep 2012)
Changed paths:
M ckanext/datastore/plugin.py
Log Message:
-----------
create only temporary view _table_metadata to enable easier updates
Commit: b73a45a23b9fe4ff956868a88cf5cadff391fccb
https://github.com/okfn/ckan/commit/b73a45a23b9fe4ff956868a88cf5cadff391fccb
Author: Dominik Moritz <domoritz at gmail.com>
Date: 2012-09-10 (Mon, 10 Sep 2012)
Changed paths:
M doc/datastore.rst
Log Message:
-----------
Added new paster commands to documentation.
Commit: 7645479ef03facdf580a4359f3aeea49bb5c73a8
https://github.com/okfn/ckan/commit/7645479ef03facdf580a4359f3aeea49bb5c73a8
Author: Dominik Moritz <domoritz at gmail.com>
Date: 2012-09-10 (Mon, 10 Sep 2012)
Changed paths:
M ckanext/datastore/plugin.py
Log Message:
-----------
_table_metadata with all available resources.
Commit: e544ef919c5e9cf927e5a766700ef34bcabd1602
https://github.com/okfn/ckan/commit/e544ef919c5e9cf927e5a766700ef34bcabd1602
Author: Dominik Moritz <domoritz at gmail.com>
Date: 2012-09-10 (Mon, 10 Sep 2012)
Changed paths:
M ckanext/datastore/db.py
M ckanext/datastore/logic/action.py
M ckanext/datastore/plugin.py
M ckanext/datastore/tests/test_datastore.py
Log Message:
-----------
aggregate alias_of and test invalid resource_ids/aliases
Commit: 4eb422275e1ea502aeea43fd5b438302b705e3b0
https://github.com/okfn/ckan/commit/4eb422275e1ea502aeea43fd5b438302b705e3b0
Author: Dominik Moritz <domoritz at gmail.com>
Date: 2012-09-11 (Tue, 11 Sep 2012)
Changed paths:
M ckanext/datastore/logic/action.py
Log Message:
-----------
fixed issue in search that was caused by an overwritten variable
Commit: deacefcf9176e90f097a18b1f3380f2e85b17dc2
https://github.com/okfn/ckan/commit/deacefcf9176e90f097a18b1f3380f2e85b17dc2
Author: Dominik Moritz <domoritz at gmail.com>
Date: 2012-09-11 (Tue, 11 Sep 2012)
Changed paths:
M ckanext/datastore/tests/test_datastore.py
Log Message:
-----------
test for metadata table
Commit: 3fe781a209a00366291e4fda1a8562f01ba4ac80
https://github.com/okfn/ckan/commit/3fe781a209a00366291e4fda1a8562f01ba4ac80
Author: Dominik Moritz <domoritz at gmail.com>
Date: 2012-09-11 (Tue, 11 Sep 2012)
Changed paths:
M ckanext/datastore/db.py
M ckanext/datastore/logic/action.py
M ckanext/datastore/plugin.py
M ckanext/datastore/tests/test_datastore.py
Log Message:
-----------
Reverted aggregate in _table-Metadata because it implies wrong consuquences
Commit: 758b301acc88c9f366c475271e29d9b533626d9f
https://github.com/okfn/ckan/commit/758b301acc88c9f366c475271e29d9b533626d9f
Author: Dominik Moritz <domoritz at gmail.com>
Date: 2012-09-11 (Tue, 11 Sep 2012)
Changed paths:
M ckanext/datastore/plugin.py
Log Message:
-----------
Require datastore read url
Commit: d948c54c8bcaa2e59bb178d5343b301420492c8e
https://github.com/okfn/ckan/commit/d948c54c8bcaa2e59bb178d5343b301420492c8e
Author: Dominik Moritz <domoritz at gmail.com>
Date: 2012-09-11 (Tue, 11 Sep 2012)
Changed paths:
M ckanext/datastore/logic/action.py
M ckanext/datastore/plugin.py
Log Message:
-----------
Simpler resource_id validation in search
Commit: 40f241905a0143b04f266e6e7a750895ad7cc10d
https://github.com/okfn/ckan/commit/40f241905a0143b04f266e6e7a750895ad7cc10d
Author: Dominik Moritz <domoritz at gmail.com>
Date: 2012-09-11 (Tue, 11 Sep 2012)
Changed paths:
M ckanext/datastore/commands.py
M ckanext/datastore/plugin.py
Log Message:
-----------
Fix and clean up the paster command.
Commit: 2ecb645ba9856103b3e21ebe9d0f3be214591d03
https://github.com/okfn/ckan/commit/2ecb645ba9856103b3e21ebe9d0f3be214591d03
Author: Dominik Moritz <domoritz at gmail.com>
Date: 2012-09-11 (Tue, 11 Sep 2012)
Changed paths:
M ckan/authz.py
M ckan/config/deployment.ini_tmpl
M ckan/config/routing.py
M ckan/controllers/admin.py
M ckan/controllers/api.py
R ckan/controllers/authorization_group.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/storage.py
M ckan/forms/__init__.py
M ckan/forms/authorization_group.py
M ckan/forms/authz.py
M ckan/i18n/bg/LC_MESSAGES/ckan.mo
M ckan/i18n/bg/LC_MESSAGES/ckan.po
M ckan/i18n/ca/LC_MESSAGES/ckan.mo
M ckan/i18n/ca/LC_MESSAGES/ckan.po
M ckan/i18n/check_po_files.py
M ckan/i18n/cs_CZ/LC_MESSAGES/ckan.mo
M ckan/i18n/cs_CZ/LC_MESSAGES/ckan.po
M ckan/i18n/de/LC_MESSAGES/ckan.mo
M ckan/i18n/de/LC_MESSAGES/ckan.po
M ckan/i18n/el/LC_MESSAGES/ckan.mo
M ckan/i18n/el/LC_MESSAGES/ckan.po
M ckan/i18n/es/LC_MESSAGES/ckan.mo
M ckan/i18n/es/LC_MESSAGES/ckan.po
M ckan/i18n/fi/LC_MESSAGES/ckan.mo
M ckan/i18n/fi/LC_MESSAGES/ckan.po
M ckan/i18n/fr/LC_MESSAGES/ckan.mo
M ckan/i18n/fr/LC_MESSAGES/ckan.po
M ckan/i18n/hu/LC_MESSAGES/ckan.mo
M ckan/i18n/hu/LC_MESSAGES/ckan.po
M ckan/i18n/it/LC_MESSAGES/ckan.mo
M ckan/i18n/it/LC_MESSAGES/ckan.po
M ckan/i18n/ja/LC_MESSAGES/ckan.mo
M ckan/i18n/ja/LC_MESSAGES/ckan.po
M ckan/i18n/lt/LC_MESSAGES/ckan.mo
M ckan/i18n/lt/LC_MESSAGES/ckan.po
M ckan/i18n/lv/LC_MESSAGES/ckan.mo
M ckan/i18n/lv/LC_MESSAGES/ckan.po
M ckan/i18n/nl/LC_MESSAGES/ckan.mo
M ckan/i18n/nl/LC_MESSAGES/ckan.po
M ckan/i18n/no/LC_MESSAGES/ckan.mo
M ckan/i18n/no/LC_MESSAGES/ckan.po
M ckan/i18n/pl/LC_MESSAGES/ckan.mo
M ckan/i18n/pl/LC_MESSAGES/ckan.po
M ckan/i18n/pt_BR/LC_MESSAGES/ckan.mo
M ckan/i18n/pt_BR/LC_MESSAGES/ckan.po
M ckan/i18n/ro/LC_MESSAGES/ckan.mo
M ckan/i18n/ro/LC_MESSAGES/ckan.po
M ckan/i18n/ru/LC_MESSAGES/ckan.mo
M ckan/i18n/ru/LC_MESSAGES/ckan.po
M ckan/i18n/sk/LC_MESSAGES/ckan.mo
M ckan/i18n/sk/LC_MESSAGES/ckan.po
M ckan/i18n/sl/LC_MESSAGES/ckan.mo
M ckan/i18n/sl/LC_MESSAGES/ckan.po
M ckan/i18n/sq/LC_MESSAGES/ckan.mo
M ckan/i18n/sq/LC_MESSAGES/ckan.po
M ckan/i18n/sr/LC_MESSAGES/ckan.mo
M ckan/i18n/sr/LC_MESSAGES/ckan.po
M ckan/i18n/sr_Latn/LC_MESSAGES/ckan.mo
M ckan/i18n/sr_Latn/LC_MESSAGES/ckan.po
M ckan/i18n/sv/LC_MESSAGES/ckan.mo
M ckan/i18n/sv/LC_MESSAGES/ckan.po
R ckan/i18n/zh_TW/LC_MESSAGES/ckan.mo
R ckan/i18n/zh_TW/LC_MESSAGES/ckan.po
M ckan/lib/authztool.py
M ckan/lib/base.py
M ckan/lib/cli.py
M ckan/lib/create_test_data.py
M ckan/lib/dictization/model_save.py
M ckan/lib/helpers.py
M ckan/lib/mailer.py
M ckan/lib/maintain.py
M ckan/lib/plugins.py
M ckan/lib/search/__init__.py
M ckan/lib/search/index.py
M ckan/logic/action/__init__.py
M ckan/logic/action/create.py
M ckan/logic/action/get.py
M ckan/logic/action/update.py
M ckan/logic/auth/__init__.py
M ckan/logic/auth/create.py
M ckan/logic/auth/publisher/create.py
M ckan/logic/auth/publisher/update.py
M ckan/logic/auth/update.py
M ckan/migration/versions/025_add_authorization_groups.py
M ckan/model/__init__.py
R ckan/model/authorization_group.py
M ckan/model/authz.py
M ckan/model/domain_object.py
M ckan/model/license.py
M ckan/plugins/interfaces.py
R ckan/public/images/icons/authorization_group.png
R ckan/public/images/icons/authorization_group_add.png
R ckan/public/images/icons/authorization_group_edit.png
A ckan/public/images/icons/followers.png
M ckan/public/scripts/application.js
M ckan/templates/_util.html
M ckan/templates/admin/authz.html
R ckan/templates/authorization_group/__init__.py
R ckan/templates/authorization_group/authz.html
R ckan/templates/authorization_group/edit.html
R ckan/templates/authorization_group/edit_form.html
R ckan/templates/authorization_group/index.html
R ckan/templates/authorization_group/layout.html
R ckan/templates/authorization_group/new.html
R ckan/templates/authorization_group/read.html
M ckan/templates/group/authz.html
M ckan/templates/package/authz.html
M ckan/templates/package/layout.html
M ckan/templates/package/new_package_form.html
M ckan/templates/package/read.rdf
M ckan/templates/user/layout.html
M ckan/tests/__init__.py
M ckan/tests/ckantestplugin/ckantestplugin/__init__.py
R ckan/tests/functional/api/test_authorization_group.py
M ckan/tests/functional/test_admin.py
R ckan/tests/functional/test_authorization_group.py
M ckan/tests/functional/test_authz.py
M ckan/tests/functional/test_edit_authz.py
M ckan/tests/functional/test_group.py
M ckan/tests/functional/test_package_edit_authz.py
M ckan/tests/functional/test_user.py
M ckan/tests/lib/test_cli.py
M ckan/tests/logic/test_action.py
M ckan/tests/models/test_authz.py
M ckan/tests/models/test_repo.py
M ckan/tests/test_authz.py
M ckanext/multilingual/tests/test_multilingual_plugin.py
M ckanext/organizations/forms.py
A ckanext/organizations/templates/organization_edit.html
M doc/configuration.rst
M doc/filestore.rst
Log Message:
-----------
Merge remote-tracking branch 'origin/2733-feature-datastore' into 2733-feature-datastore
Commit: 9da04bf0ac637a19c7d4384e7aa924781f4ce7fb
https://github.com/okfn/ckan/commit/9da04bf0ac637a19c7d4384e7aa924781f4ce7fb
Author: Dominik Moritz <domoritz at gmail.com>
Date: 2012-09-12 (Wed, 12 Sep 2012)
Changed paths:
M ckanext/datastore/db.py
M ckanext/datastore/tests/test_datastore.py
Log Message:
-----------
Fix problems with Postgres 9.2 and enable native json support if available.
Commit: 32655643457de580f03aaa20abd2c328ad7a0713
https://github.com/okfn/ckan/commit/32655643457de580f03aaa20abd2c328ad7a0713
Author: Dominik Moritz <domoritz at gmail.com>
Date: 2012-09-13 (Thu, 13 Sep 2012)
Changed paths:
M ckanext/datastore/db.py
M ckanext/datastore/logic/action.py
M ckanext/datastore/plugin.py
Log Message:
-----------
more readable upper case sql keywords
Commit: acefa2dccc09848d127d1a0569a9e265e2160070
https://github.com/okfn/ckan/commit/acefa2dccc09848d127d1a0569a9e265e2160070
Author: Dominik Moritz <domoritz at gmail.com>
Date: 2012-09-13 (Thu, 13 Sep 2012)
Changed paths:
M ckanext/datastore/db.py
M ckanext/datastore/tests/test_datastore.py
Log Message:
-----------
simpler index creation
Commit: 74684d21ac953d1d7e7855931b2dc0b1ececc0b6
https://github.com/okfn/ckan/commit/74684d21ac953d1d7e7855931b2dc0b1ececc0b6
Author: Dominik Moritz <domoritz at gmail.com>
Date: 2012-09-13 (Thu, 13 Sep 2012)
Changed paths:
M ckanext/datastore/plugin.py
Log Message:
-----------
Skip permission check and alias creation on a read only database
Commit: ce424a8186cb22e1e6ad15da8c56a0279248fdd0
https://github.com/okfn/ckan/commit/ce424a8186cb22e1e6ad15da8c56a0279248fdd0
Author: Ian Murray <ian.c.murray at gmail.com>
Date: 2012-09-14 (Fri, 14 Sep 2012)
Changed paths:
M ckanext/datastore/commands.py
M ckanext/datastore/plugin.py
Log Message:
-----------
[#2733] Allow paster command to work across different postgres installations.
The "postgres" user isn't always the superuser.
Commit: 3475895319dff1828e774c5d57384a75f4367c25
https://github.com/okfn/ckan/commit/3475895319dff1828e774c5d57384a75f4367c25
Author: Ian Murray <ian.c.murray at gmail.com>
Date: 2012-09-14 (Fri, 14 Sep 2012)
Changed paths:
M ckanext/datastore/db.py
M ckanext/datastore/logic/action.py
M ckanext/datastore/logic/auth.py
M ckanext/datastore/plugin.py
M ckanext/datastore/tests/test_datastore.py
Log Message:
-----------
[#2733] Ensure str interpolation is python 2.6 compatible
Compare: https://github.com/okfn/ckan/compare/08b779f5bf6d...3475895319df
More information about the ckan-changes
mailing list