Commit Graph

563 Commits

Author SHA1 Message Date
Sandro Santilli
6c47537f47 Honour the 'node_socket_timeout' configuration directive
Closes #128
Includes testcase, which required enhancing assert.response to
handle errors.
Changes app controller to a function that only reads configuration
when executed (rather than when only require'd).
2014-01-31 10:58:19 +01:00
Sandro Santilli
b736c228cf Allow running with mocha only symlinked in node_modules 2014-01-31 10:11:34 +01:00
Sandro Santilli
5c6eef527f Prepare for 1.8.3 2014-01-20 12:39:29 +01:00
Sandro Santilli
1e3fa86544 Release 1.8.2 2014-01-20 12:38:11 +01:00
Luis Bosque
973b800fca Use db_port in ogr2ogr 2014-01-20 12:28:28 +01:00
Sandro Santilli
161a0bf5e5 Restore compatibility with 1.6.x configuration 2014-01-17 13:14:30 +01:00
Sandro Santilli
b8b521581a Prepare for 1.8.2 2014-01-10 11:32:48 +01:00
Sandro Santilli
ae763936c7 Release 1.8.1 2014-01-10 11:25:43 +01:00
Sandro Santilli
af47b1ebcb Use http for build status icon 2014-01-09 18:02:33 +01:00
Sandro Santilli
c416c782c9 Keep build status line within 80 cols 2014-01-09 18:00:33 +01:00
Sandro Santilli
61cec80d4d Fix use of "SELECT .. INTO" with windowing params
Includes testcase. Closes #127
2014-01-09 17:56:09 +01:00
Sandro Santilli
f7f4fa3209 Prepare for 1.8.1 2013-12-18 12:38:10 +01:00
Sandro Santilli
b8aa07daf0 Release 1.8.0 2013-12-18 12:36:55 +01:00
Sandro Santilli
76bd1bd37e Add --nocreate-{pg,redis} and --nodrop-{pg,redis} opts in run_test.sh 2013-12-18 12:33:03 +01:00
Sandro Santilli
80c30858bd Enhance error message on unknown cartodb username
Closes #126
2013-12-18 12:02:51 +01:00
Sandro Santilli
87d35aa155 Generalize CartoDB username extraction, allowing for multiuser setups
Closes #124
2013-12-18 11:59:00 +01:00
Sandro Santilli
46bc0eb369 Target 1.8.0 2013-12-18 10:29:26 +01:00
Sandro Santilli
56f3f78abe There's no cluster.js anymore 2013-12-18 10:24:31 +01:00
Sandro Santilli
c6de4dd594 Merge branch 'develop' 2013-12-18 10:22:04 +01:00
Sandro Santilli
fcf982e045 Document and test "page" and "rows_per_page" parameters.
Closes #123
2013-12-03 10:52:55 -05:00
Sandro Santilli
fa4703ccee Prepare for 1.7.2 2013-12-02 11:59:28 +01:00
Sandro Santilli
952442dbac Release 1.7.1 2013-12-02 11:49:27 +01:00
Sandro Santilli
3397f2f3f9 Fix field types names lookup after PSQL model refactoring
Fixes missing .prj in shapefile export regression
Closes #122
2013-12-02 11:47:52 +01:00
Sandro Santilli
7db4cbcb0f Add package keywords 2013-11-28 11:17:33 +01:00
Sandro Santilli
5956c62097 Workaround postgis package bugs in ubuntu repos (for travis) 2013-11-27 16:18:44 +01:00
Sandro Santilli
59c1907ed4 Update mocha to ~0.14.0 2013-11-27 12:58:36 +01:00
Sandro Santilli
5bd0e02103 Read test redis port from configuration, default to 6335 2013-11-27 12:56:33 +01:00
Sandro Santilli
724e50dee3 Fix documentation for CSV export format
Geoms are in hexewkb, not ewkt.
2013-11-20 13:45:36 +01:00
Sandro Santilli
22fba12dca Prepare for 1.7.1 2013-11-19 12:14:19 +01:00
Sandro Santilli
a30738b145 Release 1.7.0 2013-11-19 12:08:39 +01:00
Sandro Santilli
0251714b80 Enhance format documentation
- Stub section for "arrayjson" (#96)
- Add references to wikipedia articles for most formats
- Document "shapefile" format
- Add note about numerical rounding in JSON format (#113)
2013-11-19 11:20:12 +01:00
Sandro Santilli
77acd2567e Request that notices are sent to client while testing them
See https://travis-ci.org/CartoDB/CartoDB-SQL-API/builds/14146134
2013-11-18 17:09:57 +01:00
Sandro Santilli
9389a04030 Add warnings and notices to JSON response. Closes #104. 2013-11-18 17:01:06 +01:00
Sandro Santilli
493955a468 Fix syntax of new directives 2013-11-18 13:42:52 +01:00
Sandro Santilli
6ebeed04c2 Optionally read user-specific database_password from redis
Follows CartoDB-2.5.0 model. Includes testcase.
Closes #120 -- Jira ref CDB-870
2013-11-18 13:31:11 +01:00
Sandro Santilli
af1f3daa69 Optionally read user-specific database_host from redis
Follows CartoDB-2.5.0 model. Includes testcase.
Closes #121 -- Jire ref CDB-870
2013-11-18 12:21:30 +01:00
Sandro Santilli
0d44139d8c Do not choke if ogr2ogr fails without on stderr 2013-11-18 11:54:00 +01:00
Sandro Santilli
7218c89b2d Refactor PSQL model to take full db config in the constructor
Closes #58, stops reading configuration variables itself
2013-11-18 11:42:43 +01:00
Sandro Santilli
03ea51a375 CartoDB redis interaction delegated to "cartodb-redis" module 2013-11-15 19:14:55 +01:00
Sandro Santilli
4a5c9b0eed Refactor OGR class interface to improve flexibility
The toOGR and toOGR_SingleFile function now take an "options"
object rather than a long list of arguments. This allows for
easier extension toward per-user database host and password
(see tickets #120 and #121)
2013-11-15 13:24:48 +01:00
Sandro Santilli
1e9d073cd4 Retarget to 1.7.0 2013-11-15 12:15:06 +01:00
Sandro Santilli
d21e5b7e69 Prepare for 1.6.4 2013-11-10 21:39:23 +01:00
Sandro Santilli
153639fd5e Release 1.6.3 2013-11-10 21:38:45 +01:00
javi
a5fde2fdc1 updated news 2013-11-09 18:51:27 +01:00
javi
93da1c110e removed console.log refs #119 2013-11-09 16:56:58 +01:00
javi
370d45d8b6 fixed #119 2013-11-09 16:55:40 +01:00
Sandro Santilli
7cbb004312 Prepare for 1.6.3 2013-11-07 17:54:42 +01:00
Sandro Santilli
b1d064fb6c Release 1.6.2 2013-11-07 17:51:53 +01:00
Sandro Santilli
973c7181f0 Allow access to tables whose name contains "pg_" (but not at beginning)
Closes #118
2013-11-07 10:16:58 +01:00
Sandro Santilli
0139c8fb16 JSON format: correctly recognize "date" type columns
Closes #117 -- includes testcase
2013-11-06 11:43:56 +01:00