Raul Ochoa
bd6c1e7164
Adds support to append logs to file with log4js. It listens to HUP signal to re-open the log file. In case the specified log filename is not writeable the server will not start.
2014-06-04 19:46:13 +02:00
Sandro Santilli
766345595e
Add statsd support
...
Closes #133
2014-03-20 11:22:13 +01:00
Sandro Santilli
7ab87fd296
Add doumentation of useProfiler setting
2014-03-20 10:48:23 +01:00
Sandro Santilli
2cbdc4c38c
Add profiler support
...
Closes #142
2014-03-19 18:34:21 +01:00
Sandro Santilli
65f31fd7c1
Add optional support for rollbar
...
Closes #150
Logs messages of severity ERROR or higher
2014-03-13 12:09:39 +01:00
Sandro Santilli
b565ce2959
Allow configuring log_format
...
Closes #131
2014-02-10 17:34:27 +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
5bd0e02103
Read test redis port from configuration, default to 6335
2013-11-27 12:56:33 +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
8d2347af99
Make public PostgreSQL user name a configuration parameter
...
Closes #56 .
Updates documentation and tests and example config files
2013-11-05 17:49:10 +01:00
Sandro Santilli
8fa0bc7cee
Add note about tmpDir needing to be writable by server user
...
As per
https://groups.google.com/d/msg/cartodb/z06r9SwaoOM/b34In4TTdd0J
2013-08-21 10:03:12 +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
81a83b93e4
Make base url configurable, use a wildcard in the example config
2013-05-23 11:49:23 +02:00
Sandro Santilli
c3ae7074cb
Make temporary dir a configuration setting
2013-03-26 16:02:05 +01:00
Sandro Santilli
19eb51b06d
Use an LRU cache for query tables, and add expiration support
...
Defaults to 8192 items each valid for no more than 10 minutes
Both settings can be changed via environment config.
See #83
2013-02-13 18:59:09 +01:00
Sandro Santilli
3e59daaffd
Use an env config parameter for socket timeout
2012-12-05 14:02:40 +01:00
Sandro Santilli
7fe09935cd
Restrict listening host to configured `node_host
`
2012-10-09 18:41:23 +02:00
Sandro Santilli
233f5ecc4b
Rename env files to .example, add a ./configure script
...
Update README to mention the two possible ways to configure the app
2012-10-04 12:04:49 +02:00
Sandro Santilli
d5a6002e2e
Fix db_base_name and db_user setting for staging environment
2012-09-04 11:16:11 +02:00
Sandro Santilli
debc0c2586
Run tests on "make check", using custom port for redis
...
Includes tweaks in the db preparation script and in the tests
for proper handling of async model. Only a single test is run
at the moment, being the only one that succeeded for me.
2012-07-12 18:10:56 +02:00
Luis Bosque
3767313bd2
by default cluster.js binds to 127.0.0.1 instead of 0.0.0.0
2012-02-09 16:53:21 +01:00
Simon Tokumine
c67c20d29b
remove prod
2011-10-07 17:47:55 +01:00
Simon Tokumine
ca0dd963f2
remove
2011-10-07 17:46:00 +01:00
javi
4874568c5c
added staging enviorment
2011-09-16 13:43:10 +02:00
Simon Tokumine
f10cd72e0b
updated acceptance tests for host name based public api and made work :)
2011-08-24 20:47:10 +01:00
Simon Tokumine
e189aec262
added ability to query user metadata Redis data for database name from the request host
2011-08-23 21:42:27 +01:00
Simon Tokumine
ce4413cbda
added body_hash to oauth check and stopped firing exception if incomplete oauth variables sent
2011-08-22 13:33:12 +01:00
Simon Tokumine
5771cdc8a8
update jsonp
2011-08-17 21:54:18 +01:00
Simon Tokumine
fd58592546
enable public user again
2011-08-17 17:32:54 +01:00
Simon Tokumine
fefa051450
added true oauth to application. got rid of bogus
2011-08-17 17:27:45 +01:00
Simon Tokumine
21f369aaf1
add lowercase too
2011-08-05 13:50:37 +01:00
Simon Tokumine
bd44142e65
updated restart deploy
2011-07-05 17:59:40 +01:00
saleiva
df70c34664
Change port in development environment to use PG instead of pg_bouncer
2011-07-05 11:15:13 +02:00
Simon Tokumine
cba342e27a
don't fail on dependency install on first deploy
2011-07-01 16:58:54 +01:00
Simon Tokumine
620bda0a4d
don't fail on dependency install on first deploy
2011-07-01 16:56:08 +01:00
Simon Tokumine
d2aab4689e
change port to 8080
2011-07-01 12:00:39 +01:00
Simon Tokumine
3a39fa73a8
commented upstart
2011-07-01 11:52:48 +01:00
Simon Tokumine
91db5f8929
update upstart script
2011-07-01 11:51:16 +01:00
Simon Tokumine
a4fd10f9b9
Remove debug statement
2011-06-30 17:10:10 +01:00
Simon Tokumine
bc6c827b4f
added ssh keys
2011-06-30 15:55:04 +01:00
Simon Tokumine
9cdfeb4f52
added initial capistrano files, and gem file
2011-06-30 13:06:23 +01:00
Simon Tokumine
481f76cffb
updated capistrano basics
2011-06-30 12:37:43 +01:00
Simon Tokumine
2429e7d953
capify
2011-06-30 12:36:47 +01:00
Simon Tokumine
a8731fa204
isolate redis pool settings into environment
2011-06-16 18:29:51 +02:00
Simon Tokumine
f47c611dfc
added redis pool, and fixed to use pg_bouncer
2011-06-16 18:23:38 +02:00
Fernando Blat
21277ff9d2
Introduced a new parameter db_port to change it in a easy way
...
Some space and linebreaks cleaning
2011-06-13 12:31:50 +02:00
Simon Tokumine
bcd56de458
first draft, tidied, unit tests, modules, refactor, environments, see TODO for next steps"
2011-06-13 04:23:02 +01:00