Sandro Santilli
339bc0b3a4
Fix windowing support for non-uppercased SELECT queries
2013-06-06 15:24:57 +02:00
Luis Bosque
d476f74a29
Merge branch 'release/staging' into develop
2013-05-30 11:57:29 +02:00
Luis Bosque
fac2b1bb68
Trust forwarded proto header from proxy
2013-05-30 11:56:43 +02:00
Luis Bosque
80452ef6f4
Merge branch 'release/staging' into develop
2013-05-30 11:17:10 +02:00
Sandro Santilli
03cf5eab3e
Add oAuth note
2013-05-29 17:43:01 +02:00
Luis Bosque
12afc3c88f
In OAuth requests, get req.path
...
Using req.route.path breaks OAuth whtn used with regex routes. Instead
of this we need to use req.path because the path is already expanded
2013-05-29 17:36:41 +02:00
Sandro Santilli
62c314a950
Add NEWS item about queued requests handling fix
2013-05-29 17:35:16 +02:00
Sandro Santilli
ffafe814ef
Do not hang up to queued request on ogr generation failure
2013-05-29 17:33:10 +02:00
Sandro Santilli
1c9179eeec
Allow 'staging' as an env name for non-clustered run
2013-05-29 17:09:20 +02:00
Sandro Santilli
7f9463e7fd
Fix filesystem access conflict among clustered processes
2013-05-29 16:48:20 +02:00
Sandro Santilli
510ac0533f
Switch to using evented query model for postgresql
...
This enables formats for processing rows as they arrive from the
database, thus possibly reducing memory use. For a start the skip
fields are immediately removed from the result, rather than only
at the end.
2013-05-29 15:39:39 +02:00
Sandro Santilli
1f26d31ac4
Update NEWS, and target 1.5.0
...
Let's leave 1.4.x for hotfixes
2013-05-29 12:44:04 +02:00
Sandro Santilli
476bd863b4
Add --skipfields switch to cdbsql
2013-05-29 12:35:24 +02:00
Luis Bosque
9475e6ef0a
Target v1.4.1
2013-05-28 18:15:15 +02:00
javi
0be9e47930
Add arraybuffer format
2013-05-28 10:37:39 +02:00
Sandro Santilli
76705a3fd7
Refactor format objects to expose a common stream-able interface
...
See app/models/formats/README for info
2013-05-28 10:36:15 +02:00
Sandro Santilli
aff77399b1
Extract geojson test from main test
2013-05-27 17:34:05 +02:00
Sandro Santilli
16138a66bd
Ignore more generated files
2013-05-27 10:05:31 +02:00
Sandro Santilli
75717bfb8e
Drop another unused function
2013-05-27 09:24:11 +02:00
Sandro Santilli
ab8494ab12
Survive postgresql connection losses. Closes #95 .
2013-05-24 18:18:17 +02:00
Sandro Santilli
11a61d16c4
Drop unused code. Spring cleanups! \o/
2013-05-24 17:13:05 +02:00
Sandro Santilli
650756852a
Use a default base_url when not specified in config file
...
Also report the base_url at startup
2013-05-24 14:45:10 +02:00
Sandro Santilli
3f98cab09a
Do not execute queries on OPTIONS. Closes #94
2013-05-24 14:21:13 +02:00
Sandro Santilli
985631092b
Fix test for custom base_url
2013-05-24 13:51:39 +02:00
Sandro Santilli
7712d6f2a5
Expose PostgreSQL client pooling settings in environment files
...
Actually also moves to a real pooling model, managed by node-pg.
Closes #47
See .example files for new configurations
2013-05-24 12:09:06 +02:00
Sandro Santilli
b737f8440d
Add munin plugin to show connections and file descriptors
2013-05-24 10:50:51 +02:00
Sandro Santilli
64c0494105
Hide dangerous methods of the PSQL model class
...
These steps are prepatorial to recactoring to event-based model
2013-05-24 10:38:27 +02:00
Sandro Santilli
cf6bed9bdb
Bubble paging UI hack up from model to controller
...
... one day we'll need to completely drop this hack!
2013-05-24 10:22:17 +02:00
javi
c46e9786b5
refactor formats to external object
2013-05-24 08:50:03 +02:00
Sandro Santilli
d4bd646388
Move websocket_test/ under test/
2013-05-24 08:38:57 +02:00
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