Sandro Santilli
40a254922a
Raise 403 forbidden on missing requested signature
...
Closes #170
Includes testcase
2014-03-03 18:06:39 +01:00
Sandro Santilli
7bc5bab432
Properly prefix statsd labels for all endpoints
...
CDB-1861 #resolve
Will be 100% complete with update of Windshaft to 0.19.3+
2014-03-03 16:24:20 +01:00
Sandro Santilli
6034f49f40
Prepare for 1.8.5
2014-03-03 11:45:23 +01:00
Sandro Santilli
087eff4734
Release 1.8.4
2014-03-03 11:26:16 +01:00
Sandro Santilli
ed5b045a15
Allow using NODE_ENV env variable to determine app configuration
...
Default to "development" environment.
Forward NODE_ENV variable to childrens (for example, to hush
millstone).
2014-02-28 16:22:24 +01:00
Sandro Santilli
c1a3cbc28c
Hush millstone during testsuite
2014-02-28 16:14:44 +01:00
Sandro Santilli
bddc65a504
Forbid instanciating templates of foreign users
...
Closes #173
Includes testcase
2014-02-28 16:05:46 +01:00
Sandro Santilli
ddd2628c19
Fix database connection settings on template instanciation
...
Closes #174
Enhances testsuite to ensure test.js settings are read
2014-02-28 15:56:31 +01:00
Sandro Santilli
cf0c33a85d
Oops, previous commit closed #172 , not #173
...
Closes #172
Reopens #173
2014-02-28 13:25:28 +01:00
Sandro Santilli
f46dc90035
Forbid using map signatures of foreign users
...
Closes #173
Includes testcase
2014-02-28 13:24:38 +01:00
Sandro Santilli
73276b1003
Upgrade windshaft to 0.19.2
...
Fixes obscure "ECONNREFUSED" error message (closes #171 )
Change some http status responses to be more appropriate to the case
2014-02-28 10:54:18 +01:00
Sandro Santilli
16e67387c9
Tell npm to use known registrars
...
See http://blog.npmjs.org/post/78085451721/npms-self-signed-certificate-is-no-more
2014-02-28 10:50:45 +01:00
Sandro Santilli
ca1b31bd9c
Add example MapConfig using a torque layer
2014-02-27 17:20:23 +01:00
Sandro Santilli
55f333c0b7
Call userByReq() only once in req2params
2014-02-27 16:40:59 +01:00
Sandro Santilli
f24e4f8a0a
Really skip CDB_TableMetadata lookup for sql affected by no tables
...
Closes #169
2014-02-27 15:34:09 +01:00
Sandro Santilli
eec9933fb8
Accept a slightly different error message on timeout
...
Node 0.10 uses ESOCKETTIMEDOUT while 0.8 uses ETIMEDOUT
See http://travis-ci.org/CartoDB/Windshaft-cartodb/builds/19722727
2014-02-27 13:37:44 +01:00
Sandro Santilli
238e8f39f2
Fix ticket referenc ein NEWS entry of 1.8.3
2014-02-27 12:46:56 +01:00
Sandro Santilli
919bcb6888
Prepare for 1.8.4
2014-02-27 12:46:43 +01:00
Sandro Santilli
50ebb25205
Release 1.8.3
2014-02-27 12:45:02 +01:00
Sandro Santilli
625642ca33
Oops, previous commit closed #168 , not #16
...
Closes #168
2014-02-27 12:43:15 +01:00
Sandro Santilli
36632c762e
Do not query CDB_TableMetadata for queries affected by no tables
...
Closes #16
2014-02-27 12:32:34 +01:00
Sandro Santilli
f284362988
Reduce sql-api communication timeout, and allow overriding it
...
Introduces new sqlapi.timeout directive, defaults to 100 ms
Includes testcase.
Closes #167
2014-02-27 10:33:32 +01:00
Sandro Santilli
cf01f01bc9
Upgrades windshaft to 0.19.1 with many performance improvements
...
Among others:
- Improve speed of instanciating a map
- Give meaningful error on attempts to use map tokens with
attribute service
Closes #156 -- CDB-1796 #resolve
Closes #147
Closes #159
Closes #165
2014-02-26 17:26:17 +01:00
Sandro Santilli
5d0c71d292
Prepare for 1.8.3
2014-02-25 11:10:56 +01:00
Sandro Santilli
b3d3269d3d
Release 1.8.2
2014-02-25 10:52:55 +01:00
Sandro Santilli
a13c1f61af
Do not log an error for a legit request requiring no X-Cache-Channel
2014-02-24 17:34:00 +01:00
Sandro Santilli
4064b8f254
Add test for lack of X-Cache-Channel in response to root request
2014-02-24 16:24:01 +01:00
Sandro Santilli
5c466c51a8
Revert order of hostname components for statsd.prefix
2014-02-21 17:25:10 +01:00
Sandro Santilli
36628ce78e
Also enable the profiler in the example test config
...
This is again for #157 without closing it
2014-02-21 17:06:29 +01:00
Sandro Santilli
d2d7bba357
Add statsd prefix in test example config
...
Still doesn't add automated testing (#157 ) but makes manual
testing easier.
2014-02-21 16:57:02 +01:00
Sandro Santilli
8e68716d16
Give more info on failure
2014-02-21 16:56:50 +01:00
Sandro Santilli
6824c09916
Change example test user and database names
...
This is to avoid a clash with cartodb test databases
2014-02-20 18:03:43 +01:00
Sandro Santilli
09ea924eb2
Allow using GET with sql-api for queries shorter than configured len
...
Introduces new sqlapi.max_get_sql_length directive, defaults to 2048.
Closes #155
Includes testcases.
2014-02-20 10:17:48 +01:00
Sandro Santilli
c8a042abdd
Expand "addCacheChannel" stats
2014-02-19 18:10:33 +01:00
Sandro Santilli
019540e622
Set example statsd prefix with :host placeholder
2014-02-19 16:16:39 +01:00
Sandro Santilli
9a5243ade3
Fix munin plugin after log format changes
...
Closes #154
2014-02-19 15:38:14 +01:00
Sandro Santilli
b4fc8ec4a5
Allow using ":host" as part of statsd.prefix
...
It'll be replaced with hostname.
Closes #153
2014-02-19 15:31:12 +01:00
Sandro Santilli
30a2d85e92
Prepare for 1.8.2
2014-02-19 15:26:43 +01:00
Sandro Santilli
98603594b1
Release 1.8.1
2014-02-19 12:24:43 +01:00
Sandro Santilli
7410d98d56
Require windsahft 0.19.0 final
2014-02-19 11:25:42 +01:00
Sandro Santilli
1f552a9e24
Do not duplicate date in logs (already injected by logger)
2014-02-19 11:16:37 +01:00
Sandro Santilli
6c6f3d02f6
Always generate X-Cache-Channel for token-based tile responses
...
Closes #152
2014-02-19 10:09:54 +01:00
Sandro Santilli
36a135f02b
Refactor addCacheChannel using Step
2014-02-19 07:19:41 +01:00
Sandro Santilli
1c3734fde7
Make server_option a callable function, to reduce globals
...
Updates acceptance test for #152 to not mess wit internals
2014-02-19 06:45:29 +01:00
Sandro Santilli
3c09be64ce
Add pending test for X-Cache-Channel on tiler restart ( #152 )
2014-02-18 18:33:00 +01:00
Sandro Santilli
719346a472
Use log4js logger
...
Closes #138 .
The logger will be automatically used by Windshaft on upgrade
to 0.18.1, see https://github.com/CartoDB/Windshaft/issues/140
2014-02-18 15:12:08 +01:00
Sandro Santilli
69693acea0
Add statsd prefix in example configs
2014-02-18 10:38:15 +01:00
Sandro Santilli
3873fdf5db
Prepare for 1.8.1
2014-02-18 10:38:01 +01:00
Sandro Santilli
c3a05e5041
Set 1.8.0 release date
2014-02-18 10:09:17 +01:00
Sandro Santilli
4c0ab92771
Default to installed mapnik_version during testing
...
See https://github.com/CartoDB/Windshaft/issues/117
2014-02-18 09:55:00 +01:00