Sandro Santilli
b1e7bb8f8f
Upgrade underscore dependencies
2013-05-24 08:26:23 +02:00
Sandro Santilli
81a83b93e4
Make base url configurable, use a wildcard in the example config
2013-05-23 11:49:23 +02:00
Sandro Santilli
e5ad8f0760
Fix test broken after oAuth interface change introduced in fcf95755
...
Also improve error message on miscall
2013-05-20 09:06:08 +02:00
Sandro Santilli
833394821c
Enhance failing test to show the failure reason
2013-05-15 08:52:26 +02:00
Luis Bosque
fcf95755b6
Fixed problem identifying OAuth request protocol
...
The protocol of a OAuth request wasn't being identified correctly. It
always considered that the request protocol was https.
2013-05-14 18:01:37 +02:00
Luis Bosque
b16c5bb034
Target v1.3.10
2013-05-10 12:18:27 +02:00
Sandro Santilli
414f4b6c3e
Do not request caching of TRUNCATE queries
2013-05-06 18:21:22 +02:00
Sandro Santilli
cc74244b33
Do not choke on multiple skipfields
parameter
2013-05-06 12:30:32 +02:00
Sandro Santilli
ddd9cc547a
Fix shrinkwrap after re-install of cluster2
...
.. it looks like version 1.1.62 of node module npm was removed
from the npm registry ..
2013-04-30 17:31:25 +02:00
Fabio Rueda
fc6aed2e9e
targeted 1.3.9
2013-04-15 14:04:55 +02:00
Sandro Santilli
adf17899e2
testsuite: insert all table values in a single statement
2013-04-11 17:08:26 +02:00
Sandro Santilli
e708d9bf8c
Raise mocha timeout to 5 seconds
...
.. still trying to please the jenkins setup
2013-04-11 16:54:55 +02:00
Sandro Santilli
86e0a45c64
Use a single server in the test for concurrent KML exports
...
A similar thing should be done for KML and Shapefile, but the focus
here is making jenkins happy for now
2013-04-11 16:21:09 +02:00
Sandro Santilli
ae9ac8f9f8
Report testsuite tweaks
2013-04-11 13:37:47 +02:00
Sandro Santilli
0f17889b05
Really fix the tests for unauthorized attempts to write db
...
It was not about specifying the db trough headers but rather
about referencing the _wrong_ database via params. Also fixes
the expected result (which was indeed wrong).
2013-04-11 13:35:11 +02:00
Sandro Santilli
491c549dcd
Fix exit code from test runner
...
Before this commit it would return success or failure only based
on whether cleanup was successful or bogus
2013-04-11 13:22:47 +02:00
Sandro Santilli
2210d9b588
Fix test using wrong hostname (thus connecting to wrong db)
2013-04-11 13:00:13 +02:00
Sandro Santilli
0ec66c69a7
Allow sql queries to end with a semicolon. Closes #90
2013-04-10 17:21:42 +02:00
Sandro Santilli
e7437ba7cd
Rework system catalogue prevention access check to use CDB_QueryTables
...
This change reduces the chances of false positive
(forbidding legit queries). Doesn't solve the problem of false
negative (allowing illegit queries).
2013-04-09 12:36:37 +02:00
Sandro Santilli
d54d953e75
Another bit of improvement for the system-table query prevention
...
This work is more important for the testcases than the actual code
2013-04-09 12:20:27 +02:00
Sandro Santilli
1bcffbc68c
Make using SET or querying system catalogues harder
...
An hack to "prevent" querying system tables already existed but
was pretty weak. This commits makes that a bit stronger. The
filter for SET is new.
2013-04-09 11:52:34 +02:00
Luis Bosque
bc068a5463
Merge branch 'release/staging' into develop
2013-04-04 14:25:43 +02:00
Sandro Santilli
2d311d31e4
Fix "Unsupported startup parameter: options" bug
2013-04-03 12:06:43 +02:00
Luis Bosque
aa5e3bcd36
Target v1.3.8
2013-04-02 11:39:54 +02:00
Sandro Santilli
104ed355d0
Fix fd leak on export query cancel
2013-03-27 20:02:21 +01:00
Sandro Santilli
b548cd5e35
Use wildcards to find testcases
2013-03-27 17:28:34 +01:00
Sandro Santilli
a9f115cfa5
Rewrite an insert test to not affect a subsequent select test
...
Closes #84
2013-03-27 16:46:02 +01:00
Sandro Santilli
8f60735b5e
Queue export requests for shapefile format. Closes #65
2013-03-27 16:43:12 +01:00
Sandro Santilli
b2e88145ff
Comment out debugging line
2013-03-27 16:09:56 +01:00
Sandro Santilli
49908e32c5
Add test for concurrently exporting to CSV
2013-03-27 16:09:31 +01:00
Sandro Santilli
0261e8f687
Drop unused dependencies (csv and strftime)
2013-03-27 15:55:57 +01:00
Sandro Santilli
6d6dd16446
Draft delegating CSV output to OGR
...
Adapt tests to new output
2013-03-27 15:41:24 +01:00
Sandro Santilli
ff49346d4d
Drop unused variable
2013-03-26 18:20:36 +01:00
Sandro Santilli
58b079e212
Fix reace condition in new KML output, test KML export of empty table
2013-03-26 18:18:13 +01:00
Sandro Santilli
38f99c586a
Fix concurrent requests for KML export
2013-03-26 16:59:37 +01:00
Sandro Santilli
a0d9038e59
Auth / non-auth tests for SHP and KML export are in place
2013-03-26 16:14:48 +01:00
Sandro Santilli
c3ae7074cb
Make temporary dir a configuration setting
2013-03-26 16:02:05 +01:00
Sandro Santilli
12553dafdd
Don't forget to call .end() on the result (fixes Shapefile export)
2013-03-26 15:32:07 +01:00
Sandro Santilli
3f8a606432
Simplify steps for SHP and KML outputs
2013-03-26 12:59:46 +01:00
Sandro Santilli
f6d45783f6
KML content is already tested
2013-03-26 12:54:20 +01:00
Sandro Santilli
41dd23b429
Do not run the query twice when exporting to KML
2013-03-26 12:47:03 +01:00
Sandro Santilli
eb011269bb
Add node-pool upgrade notice
2013-03-14 12:06:26 +01:00
Sandro Santilli
6c0d7813f6
Upgrade generic-pool to ~2.0.2
2013-03-14 11:58:30 +01:00
Sandro Santilli
5fa19a0515
Fix parsing of numeric arrays. Closes #88 .
...
Includes testcase, requires using a fork of node-postgresql.
2013-03-14 11:41:07 +01:00
Sandro Santilli
133add8741
Allow using "test" as and environment name
2013-03-14 09:16:06 +01:00
Luis Bosque
c5b2534687
Target v1.3.7
2013-02-28 15:03:42 +01:00
Sandro Santilli
dc87209033
Do not confuse warnings with errors on shapefile output
...
Closes #87
2013-02-25 18:32:28 +01:00
David Arango
d0ab5f24a1
Merge branch 'release/staging' into develop
2013-02-20 17:48:37 +01:00
David Arango
a077afb331
Bump version to 1.3.6
2013-02-19 12:40:58 +01:00
Sandro Santilli
6d8b98db56
Add test for multi-statement and begin/commit
2013-02-19 10:41:45 +01:00