Commit Graph

2278 Commits

Author SHA1 Message Date
Girish Ramakrishnan 7e37dd4810 Do not subscribe to activation event if already activated 2015-10-28 17:07:13 -07:00
Girish Ramakrishnan 6eb197d1a4 remove gInitialized pattern
not sure why we initialize anything more than once
2015-10-28 17:05:28 -07:00
Girish Ramakrishnan d75fef0dd7 console.error -> debug 2015-10-28 17:05:16 -07:00
Girish Ramakrishnan ca3f3ed2ad Change DKIM selector to cloudron 2015-10-28 16:16:15 -07:00
Girish Ramakrishnan 20c633d159 console.error to debug 2015-10-28 16:08:12 -07:00
Girish Ramakrishnan 3081371a21 Move dns backends to separate directory 2015-10-28 16:04:49 -07:00
Girish Ramakrishnan 59d77da5b3 remove unused digitalocean.js 2015-10-28 15:25:22 -07:00
Girish Ramakrishnan 04cc91e90f remove unused require 2015-10-28 15:22:10 -07:00
Girish Ramakrishnan f3d4f3c736 Fix debug message 2015-10-28 15:21:47 -07:00
Girish Ramakrishnan 4653021c06 Do not send email if SPF record is not setup correctly 2015-10-28 14:45:51 -07:00
Johannes Zellner 04aad3e2bd Add cert and key to app install route 2015-10-28 22:09:19 +01:00
Girish Ramakrishnan 9c903ecf0c minor rewording 2015-10-28 10:17:46 -07:00
Johannes Zellner 8308142f59 Test certs are now simply embedded 2015-10-28 16:34:09 +01:00
Johannes Zellner 7fdb3c82ce Ensure the test certs match domain and the folder is created 2015-10-28 16:33:45 +01:00
Johannes Zellner c520984673 Fixup the tests for wildcard cert 2015-10-28 16:00:51 +01:00
Johannes Zellner 97cac6c804 Make sure the dns sync file is removed 2015-10-28 15:32:49 +01:00
Johannes Zellner e19669e0b6 Move cert validation to settings and use it for wildcard cert 2015-10-28 14:35:39 +01:00
Johannes Zellner ba091bd7cf Add proper cert validator 2015-10-28 14:20:25 +01:00
Johannes Zellner f6c2c0b7cd Add missing fs. 2015-10-28 12:56:09 +01:00
Johannes Zellner b0db56c3af Set the cert and key dynamically when rendering nginx appconfig 2015-10-28 12:42:04 +01:00
Johannes Zellner 9f13404035 We name certs with .cert extension 2015-10-28 12:33:27 +01:00
Johannes Zellner a8c1c03a7f certs should be stored with app fqdn 2015-10-28 12:28:57 +01:00
Johannes Zellner 15b45ea8bf Save the uploaded certs to app cert directory 2015-10-28 12:24:59 +01:00
Johannes Zellner d301623720 Add per app cert dir 2015-10-28 12:23:16 +01:00
Johannes Zellner 83d7314eda Add tests for app cert upload 2015-10-28 12:13:37 +01:00
Johannes Zellner 02a9219695 Make settings certificate upload route also just using the json body 2015-10-28 12:12:06 +01:00
Johannes Zellner 6aece9dc8f Ensure cert and key are strings 2015-10-28 11:50:50 +01:00
Girish Ramakrishnan 6cb564072f EE API is synchronous 2015-10-27 22:18:02 -07:00
Girish Ramakrishnan e572484cdc Add DNS records for non-custom domains before activation 2015-10-27 21:10:00 -07:00
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
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
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