Johannes Zellner
21a604814c
Add tests for app cert upload
2015-10-28 12:13:37 +01:00
Johannes Zellner
57de915133
Make settings certificate upload route also just using the json body
2015-10-28 12:12:06 +01:00
Johannes Zellner
a892de5c2d
Ensure cert and key are strings
2015-10-28 11:50:50 +01:00
Girish Ramakrishnan
f39809c941
EE API is synchronous
2015-10-27 22:18:02 -07:00
Girish Ramakrishnan
09c4bfeb51
Add DNS records for non-custom domains before activation
2015-10-27 21:10:00 -07:00
Girish Ramakrishnan
615789a9ad
fix unregisterSubdomain loop
2015-10-27 18:53:06 -07:00
Girish Ramakrishnan
bec5eaf3c9
send heartbeat immediately on startup
2015-10-27 17:05:56 -07:00
Girish Ramakrishnan
4f13ef9cea
hearbeat does not rely on dns sync
2015-10-27 16:42:24 -07:00
Girish Ramakrishnan
873de48beb
Do not add DNS records for custom domain
2015-10-27 16:23:08 -07:00
Girish Ramakrishnan
87e70b86d3
sendHeartbeat on activation event
2015-10-27 16:20:14 -07:00
Girish Ramakrishnan
140aa85223
Add cloudron.isActivatedSync
2015-10-27 16:12:05 -07:00
Girish Ramakrishnan
3ac3207497
send heartbeats regardless of activation
2015-10-27 16:05:19 -07:00
Girish Ramakrishnan
e36a0b9a30
create cron jobs only on activation
2015-10-27 16:04:29 -07:00
Girish Ramakrishnan
0b1aac7687
add null check for all jobs
2015-10-27 16:02:42 -07:00
Girish Ramakrishnan
e008cde2ff
Add dns records on activation
2015-10-27 16:00:31 -07:00
Johannes Zellner
01ead194d8
Move cert upload route to /settings
2015-10-27 18:38:46 +01:00
Girish Ramakrishnan
80b9d4be50
awscredentials route is not called anymore
2015-10-27 10:24:42 -07:00
Girish Ramakrishnan
ef06836804
make apps-test partially work
2015-10-27 10:14:51 -07:00
Girish Ramakrishnan
2da7216be6
make apptask-test work
2015-10-27 10:02:43 -07:00
Girish Ramakrishnan
54215cff7a
Use the aws backend for tests
2015-10-27 10:02:43 -07:00
Girish Ramakrishnan
166257bbdc
Allow endpoint to be configured (for the tests)
2015-10-27 10:02:43 -07:00
Girish Ramakrishnan
d502e04cbd
use aws backend for custom domains
2015-10-27 10:02:43 -07:00
Girish Ramakrishnan
1fca680a67
read dns config from settings
2015-10-27 10:02:43 -07:00
Johannes Zellner
4ea3238391
Pass certs down to apps.configure
2015-10-27 16:36:09 +01:00
Johannes Zellner
fa12e7bd97
Add cert and key to app configure route
2015-10-27 15:44:47 +01:00
Johannes Zellner
6118535c4a
Add test helper script to generate a selfsigned cert
2015-10-27 15:06:53 +01:00
Johannes Zellner
920f04aab3
Use test-app image 10.0.0
2015-10-27 14:20:19 +01:00
Girish Ramakrishnan
f510d4bc10
add route for setting/getting dns settings
2015-10-26 16:52:59 -07:00
Girish Ramakrishnan
2db2eb13af
add settings.get/setDnsConfig
2015-10-26 16:35:50 -07:00
Girish Ramakrishnan
82e1c07722
separate out dns and backup credentials
2015-10-26 16:23:41 -07:00
Girish Ramakrishnan
23ba078a17
Fix redis hostname
2015-10-23 19:24:22 -07:00
Girish Ramakrishnan
697699bd5f
test the new env vars APP_*
2015-10-23 16:27:40 -07:00
Girish Ramakrishnan
dd2a806ab8
Do not set hostname of app container
...
Some apps like pasteboard try to curl the public app url from inside
the container. This fails because we set the hostname and the hostname
maps to the internal docker IP.
To fix this, simply export two environment variables providing the
app's domain and origin. The hostname is set to the app location instead
of the FQDN for debugging.
Fixes #521
2015-10-23 16:17:35 -07:00
Girish Ramakrishnan
84d96cebee
linter fixes
2015-10-23 16:06:55 -07:00
Johannes Zellner
10658606d7
Bring back 'Cloudron' in the login header
2015-10-23 20:21:31 +02:00
Johannes Zellner
fd58e83da9
Provide the memory byte count with the cloudron config route
2015-10-22 11:16:55 +02:00
Girish Ramakrishnan
259199897b
update test image
2015-10-21 09:16:04 -07:00
Johannes Zellner
ee498b9e2b
A readable stream does not have .end()
2015-10-21 17:25:14 +02:00
Johannes Zellner
d1c8e34540
dns in sync file should be under data/
2015-10-21 17:18:39 +02:00
Johannes Zellner
a151846f1c
Use config.(set)dnsInSync()
...
Fixes #520
2015-10-21 16:44:03 +02:00
Johannes Zellner
9f19b0bc9e
Use a persistent file for dns sync flag
2015-10-21 16:42:17 +02:00
Johannes Zellner
289fe76adc
Avoid network request for access token verification in oauth proxy
2015-10-21 16:23:15 +02:00
Johannes Zellner
1eb1c44926
Clear oauthproxy session in case the access token is invalid
2015-10-21 15:57:18 +02:00
Girish Ramakrishnan
bc09e4204b
use debug instead of console.error
2015-10-20 19:03:34 -07:00
Girish Ramakrishnan
1a2948df85
VolumesFrom is part of HostConfig
2015-10-20 17:34:47 -07:00
Girish Ramakrishnan
16df15cf55
containerId does not mean it is running
2015-10-20 16:56:57 -07:00
Girish Ramakrishnan
edc90ccc00
bump test image
2015-10-20 14:40:27 -07:00
Girish Ramakrishnan
3688602d16
test the scheduler
2015-10-20 14:30:50 -07:00
Girish Ramakrishnan
0deadc5cf2
autodetect image id
2015-10-20 13:07:25 -07:00
Girish Ramakrishnan
10ac435d53
addons is mandatory
2015-10-20 12:57:00 -07:00