Sandro Santilli
651c45bc16
Use the correct redis variable for checking map key ( closes #39 )
...
Includes testcase
2012-08-02 11:15:01 +02:00
Sandro Santilli
de275bfc50
Delegate user permission to PostgreSQL ( closes #18 )
...
If the request is authenticated (with map_key) then we log as the
database owner, otherwise we log as the default user.
The default user is now "publicuser" by default.
Raises dependency on Windshaft to 0.4.9+, to get the grainstore
version allowing override of database username.
Add test for req2params function, particularly authentication,
Add test for authenticated / unauthenticated access
2012-07-18 11:09:17 +02:00
Sandro Santilli
d18cf96007
More quoting (really closes #30 )
...
It seems redis only like double quotes
2012-07-10 19:38:45 +02:00
Sandro Santilli
d9b7bfff2c
Properly quote database name
...
Seems to fix #30 , but also reveals that a FLUSHALL is also needed
when redis is started by ourselves...
2012-07-10 19:28:16 +02:00
Sandro Santilli
411332a28a
Run tests with "make check" ( #21 )
2012-07-09 18:56:09 +02:00
Sandro Santilli
4f264de594
Add a note about role creation side-effects of test db preparation
2012-07-09 15:52:38 +02:00
Sandro Santilli
903aa9fc04
Parametrize name of testing database
...
Name left unchanged for now ("cartodb_test_user_1_db")
2012-07-09 15:52:37 +02:00
Sandro Santilli
2e8398b11c
Do not force location and permissions on db, properly use exit code
2012-07-03 19:31:30 +02:00
Simon Tokumine
ef15f4b48b
migrated to node-varnish, fixed tests, refactor
2011-12-12 18:02:10 +00:00
javi
87b04ce80a
added last-modified header to tiler
2011-10-20 18:52:11 +02:00
javi
aef709a453
fixed tests
2011-10-20 16:44:37 +02:00