Girish Ramakrishnan
739db23514
Use the default timezone in settings
...
Fixes #485
2015-09-16 16:36:08 -07:00
Girish Ramakrishnan
84169dea3d
Do not set process.env.NODE_TLS_REJECT_UNAUTHORIZED
...
Doing so will affect all https requests which is dangerous.
We have these options to solve this:
1. Use superagent.ca(). Appstore already provides wildcard certs
for dev, staging signed with appstore_ca. But we then need to
send across the appstore_ca cert across in the provision call.
This is a bit of work.
2. Convert superagent into https.request calls and use the
rejectUnauthorized option.
3. Simply use http. This is what is done in this commit.
Fixes #488
2015-09-16 10:36:03 -07:00
Girish Ramakrishnan
2719c4240f
Get oauth proxy port from the configs
2015-09-16 10:06:34 -07:00
Girish Ramakrishnan
5b62aeb73a
make aws endpoint configurable for tests
2015-09-09 12:03:47 -07:00
Girish Ramakrishnan
659268c04a
provide default backupPrefix for tests
2015-09-08 21:16:50 -07:00
Johannes Zellner
0c2532b0b5
Give default value to config.dnsInSync
2015-08-30 22:35:44 -07:00
Johannes Zellner
9c9b17a5f0
Remove cloudron.config prior to every test run
2015-08-30 22:35:44 -07:00
Johannes Zellner
e6fd05c2bd
Support optional aws related userData
2015-08-25 17:52:01 -07:00
Johannes Zellner
76e4c4919d
Only federated tokens need session token
2015-08-25 17:52:00 -07:00
Johannes Zellner
50064a40fe
Use dev bucket for now as a default
2015-08-25 17:52:00 -07:00
Johannes Zellner
58f533fe50
Add config.aws().backupPrefix
2015-08-25 17:52:00 -07:00
Johannes Zellner
1dad115203
Add initial aws object to config.js
2015-08-25 17:51:59 -07:00
Johannes Zellner
8812d58031
Add backupKey to config
2015-08-25 17:51:59 -07:00
Girish Ramakrishnan
ef9508ccc5
Use BOX_ENV instead of NODE_ENV
...
Let NODE_ENV be used by node modules and always be set to production
Fixes #453
2015-07-24 01:42:28 -07:00
Johannes Zellner
db6d6d565f
Remove developerMode from config.js
2015-07-23 13:26:30 +02:00
Girish Ramakrishnan
df9d321ac3
app.portBindings and newManifest.tcpPorts may be null
2015-07-20 00:10:36 -07:00