Commit Graph

4301 Commits

Author SHA1 Message Date
Girish Ramakrishnan 44f8be87f7 fix unregisterSubdomain loop 2015-10-27 18:53:06 -07:00
Girish Ramakrishnan c96c9175a4 send heartbeat immediately on startup 2015-10-27 17:05:56 -07:00
Girish Ramakrishnan 8755d399fa hearbeat does not rely on dns sync 2015-10-27 16:42:24 -07:00
Girish Ramakrishnan 6385e5b35b Do not add DNS records for custom domain 2015-10-27 16:23:08 -07:00
Girish Ramakrishnan 1a50a70fee sendHeartbeat on activation event 2015-10-27 16:20:14 -07:00
Girish Ramakrishnan 059cc17c64 Add cloudron.isActivatedSync 2015-10-27 16:12:05 -07:00
Girish Ramakrishnan f9880b5846 send heartbeats regardless of activation 2015-10-27 16:05:19 -07:00
Girish Ramakrishnan e132064b84 create cron jobs only on activation 2015-10-27 16:04:29 -07:00
Girish Ramakrishnan 89dfff1566 add null check for all jobs 2015-10-27 16:02:42 -07:00
Girish Ramakrishnan 4cfbe187d3 Add dns records on activation 2015-10-27 16:00:31 -07:00
Girish Ramakrishnan d4e530bc76 Do not set dns config if null 2015-10-27 12:41:13 -07:00
Girish Ramakrishnan 344ab316b2 remove unused variables 2015-10-27 12:39:06 -07:00
Girish Ramakrishnan 8547da1c91 $location is not defined 2015-10-27 12:37:01 -07:00
Girish Ramakrishnan 87e891712f Add custom domain setup step 2015-10-27 12:04:27 -07:00
Girish Ramakrishnan 3991f7423c Add Client.setDnsConfig 2015-10-27 12:02:47 -07:00
Girish Ramakrishnan c842f84087 deploymentConfig is never used 2015-10-27 11:38:05 -07:00
Johannes Zellner 1382913829 Adjust the webadmin code for cert upload 2015-10-27 18:38:46 +01:00
Johannes Zellner e33d9eb88e Move cert upload route to /settings 2015-10-27 18:38:46 +01:00
Girish Ramakrishnan 9976f22ecb awscredentials route is not called anymore 2015-10-27 10:24:42 -07:00
Girish Ramakrishnan 45fa690f3e make apps-test partially work 2015-10-27 10:14:51 -07:00
Johannes Zellner a97758c8cb Send cert and key with configure 2015-10-27 18:11:48 +01:00
Girish Ramakrishnan 757801addf make apptask-test work 2015-10-27 10:02:43 -07:00
Girish Ramakrishnan 68552d77dd Use the aws backend for tests 2015-10-27 10:02:43 -07:00
Girish Ramakrishnan 6f24217c8b Allow endpoint to be configured (for the tests) 2015-10-27 10:02:43 -07:00
Girish Ramakrishnan 4f31fab2a4 use aws backend for custom domains 2015-10-27 10:02:43 -07:00
Girish Ramakrishnan ef3140605d read dns config from settings 2015-10-27 10:02:43 -07:00
Johannes Zellner d1c84fabdd Pass certs down to apps.configure 2015-10-27 16:36:09 +01:00
Johannes Zellner e397f783bf Add cert and key to app configure route 2015-10-27 15:44:47 +01:00
Johannes Zellner 58eda036d8 Add test helper script to generate a selfsigned cert 2015-10-27 15:06:53 +01:00
Johannes Zellner a720c30181 Use test-app image 10.0.0 2015-10-27 14:20:19 +01:00
Johannes Zellner b61498c4b4 Add basic form elements for certificate in app configure 2015-10-27 12:26:55 +01:00
Johannes Zellner 33b3c34251 Remove unused dns views 2015-10-27 10:40:05 +01:00
Johannes Zellner 0c9d0d9094 Move certificate upload form from dns to settings 2015-10-27 10:39:02 +01:00
Johannes Zellner 2e0c013469 Remove useless console.log() 2015-10-27 10:38:11 +01:00
Girish Ramakrishnan 5a35cbb13f add route for setting/getting dns settings 2015-10-26 16:52:59 -07:00
Girish Ramakrishnan 3ca3dff767 add settings.get/setDnsConfig 2015-10-26 16:35:50 -07:00
Girish Ramakrishnan e42538bf95 separate out dns and backup credentials 2015-10-26 16:23:41 -07:00
Girish Ramakrishnan d3196a6d7f Fix redis hostname 2015-10-23 19:24:22 -07:00
Girish Ramakrishnan a5ef4b9051 recreate docker containers for hostname change 2015-10-23 16:30:17 -07:00
Girish Ramakrishnan b9c6e4618a test the new env vars APP_* 2015-10-23 16:27:40 -07:00
Girish Ramakrishnan 5ed93d675a 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 f3ceedd950 linter fixes 2015-10-23 16:06:55 -07:00
Johannes Zellner 4f38fd8a8c Bring back 'Cloudron' in the login header 2015-10-23 20:21:31 +02:00
Johannes Zellner 83a51e6efc Replace the ugly oauth proxy checkbox 2015-10-22 13:18:58 +02:00
Johannes Zellner b1e5c11c2c Check memory availability if an app can be installed or not 2015-10-22 11:16:55 +02:00
Johannes Zellner c78c1c6a49 Provide the memory byte count with the cloudron config route 2015-10-22 11:16:55 +02:00
Johannes Zellner 5f63d5e07a Add node module bytes 2015-10-22 11:16:55 +02:00
Johannes Zellner a09c697f47 Add resource constrait view on app installation attempt 2015-10-22 11:16:55 +02:00
Johannes Zellner 9c09bcc112 Remove leftover console.log() 2015-10-22 11:16:55 +02:00
Girish Ramakrishnan 68538bdb16 update test image 2015-10-21 09:16:04 -07:00