Commit Graph

2790 Commits

Author SHA1 Message Date
Girish Ramakrishnan f1ad003b41 Switch dns backend default to manual
Existing cloudrons should be OK because there is no entry in the db
by default for dnsConfig.
2016-12-14 14:56:48 -08:00
Girish Ramakrishnan f6507ecbe3 noop dns backend does not wait for dns anymore 2016-12-14 14:56:03 -08:00
Girish Ramakrishnan 79083925d1 Add manual dns backend
The manual differs from noop in that it will perform the
wait for dns check.
2016-12-14 14:54:14 -08:00
Girish Ramakrishnan de1c677e75 Simply get admin cert after waiting for dns
Removes some specialized code that was in installAdminCertificate.
2016-12-14 14:52:42 -08:00
Girish Ramakrishnan 3ede9af34b remove subdomains.status 2016-12-14 14:47:03 -08:00
Girish Ramakrishnan d475d9bcbf Make waitForDns provider specific
This will allow us to create a proper 'noop' backend that does
not wait for dns to be in sync. This is required for local/intranet
setups.
2016-12-14 14:43:20 -08:00
Girish Ramakrishnan bf095f0698 Skip admin cert installation with fallback tls provider 2016-12-13 18:58:07 -08:00
Girish Ramakrishnan 5ed4d66dfe Make apps test pass 2016-12-13 11:31:14 -08:00
Girish Ramakrishnan 29aad624d5 Remove redundant fallback 2016-12-13 10:18:16 -08:00
Johannes Zellner 2bf8584f30 Do not take the addon object, but the boolean 2016-12-12 17:29:42 +01:00
Johannes Zellner b6e96d77aa Thanks shell 2016-12-12 14:59:30 +01:00
Johannes Zellner 6e1751d0ed Set empty endpoint url for caas storage backend
Caas storage backend also uses the s3 code branches
2016-12-12 14:00:07 +01:00
Johannes Zellner b2dbb5a100 Fixup bugs with updated backup scripts 2016-12-12 09:51:52 +01:00
Johannes Zellner 816911d071 Make s3 backup scripts aware of endpoints
Part of #123
2016-12-12 09:51:52 +01:00
Girish Ramakrishnan 2cf0d6db9d customAuth is obsolete 2016-12-09 18:43:26 -08:00
Johannes Zellner 74c89cf7d4 Do not print out error if app nginx file does not exist 2016-12-07 13:20:37 +01:00
Johannes Zellner 7d93cfaac1 Add missing return
Fixes #128
2016-12-06 17:26:56 +01:00
Johannes Zellner b1be65d9ce Add fallback certificate backend 2016-12-05 17:01:23 +01:00
Johannes Zellner eacc4412ba We don't use tabs but 4 spaces 2016-12-05 16:07:06 +01:00
Johannes ebd9249f87 Check dns record change and dns lookup for app install/configure
Fixes #121
2016-11-30 18:51:54 +01:00
Johannes e1ee4973eb Add route53 dns tests
Fixes #120
2016-11-30 18:04:47 +01:00
Johannes d54e02eed4 Enable and fix test for multiple dns upserts with digitalocean 2016-11-30 17:00:47 +01:00
Johannes db41633663 Support multiple DNS record upserts with digitalocean
Fixes #99
2016-11-30 17:00:16 +01:00
Johannes 0568387679 Add digitalocean dns tests
Part of #120
2016-11-30 16:36:54 +01:00
Johannes ffbbb88917 Add dns noop test
Part of #120
2016-11-30 15:36:03 +01:00
Johannes 756b36d227 Ask the api server for public ip instead of local interface
Part of #106 and #86
Might fix #115 pending testing
2016-11-29 16:20:56 +01:00
Johannes 0ff5050452 Check if any DNS answer matches
Fixes #111
2016-11-29 14:47:32 +01:00
Johannes cb64ac1b7f Add unit tests for eventlog search 2016-11-28 16:02:59 +01:00
Johannes 337f808a62 Search in source and data of eventlog 2016-11-28 16:02:18 +01:00
Johannes a5eb34d680 Carry over sso on app clone 2016-11-28 12:45:32 +01:00
Johannes 83b5bb394c Specify sso for apps not using of optionalSso 2016-11-23 12:09:08 +01:00
Johannes a87831b48c Include sso field in the app object delivered over the rest api 2016-11-22 11:12:46 +01:00
Girish Ramakrishnan 1b291365d5 Fix appdb.add to set sso 2016-11-19 21:59:06 +05:30
Girish Ramakrishnan 9337f832d3 optionalAuth -> optionalSso 2016-11-19 21:37:39 +05:30
Girish Ramakrishnan 1adc47ab32 make ordering of results predictable 2016-11-19 18:24:32 +05:30
Girish Ramakrishnan 94037e5266 remove oauth proxy backend logic 2016-11-19 17:13:08 +05:30
Girish Ramakrishnan f5ebb782c0 remove support for singleUser 2016-11-19 17:12:31 +05:30
Girish Ramakrishnan 2ecf0c32cb Skip auth setup if user did not want sso 2016-11-19 17:12:00 +05:30
Girish Ramakrishnan 9c0f2175f7 add sso route parameter to app install
presumably, we don't allow this to be changed post installation
2016-11-19 17:11:46 +05:30
Girish Ramakrishnan 6064db9467 read sso field in db code 2016-11-19 17:10:54 +05:30
Johannes Zellner 552ca43175 Only cleanup high frequency events in eventlog
Those are currently the login events and backup
2016-11-18 11:32:12 +01:00
Johannes Zellner 4579de85bf Only log exposed ports if there are any 2016-11-16 22:18:12 +01:00
Johannes Zellner 40fa3818cc Send alive beacon every hour 2016-11-16 15:01:23 +01:00
Johannes Zellner 4a264ba8c5 Also send provider alongside 2016-11-16 14:45:27 +01:00
Johannes Zellner 8a47c36e20 CloudronError does not have BILLING_REQUIRED and also doesn't need it 2016-11-15 16:59:45 +01:00
Johannes Zellner 2dc06a01b6 Add cronjob to send alive signal 2016-11-15 15:25:21 +01:00
Johannes Zellner f6695c9567 Add sendAliveStatus() 2016-11-15 15:24:40 +01:00
Johannes Zellner fc3768101d Token exchange route does not need appstoreId 2016-11-15 15:24:28 +01:00
Johannes Zellner 5645954686 This route does not exist anymore 2016-11-14 17:16:42 +01:00
Johannes Zellner f16d1c80f4 Do not log if no update is available 2016-11-14 17:00:30 +01:00