Johannes Zellner
59deb8b708
Do not fire configured event if no fqdn is set
2017-01-05 13:05:36 +01:00
Johannes Zellner
496a44d412
Also update app dns records in dynamic dns case
2017-01-02 14:00:07 +01:00
Johannes Zellner
a38097e2f5
Refresh dns if dynamic dns is enabled
2017-01-02 13:14:03 +01:00
Johannes Zellner
3523974163
Add initial refreshDNS() function
2017-01-02 13:00:30 +01:00
Girish Ramakrishnan
e159cdad5b
Remove activated event
...
Simply go ahead and create cron jobs
2016-12-28 14:21:58 -08:00
Girish Ramakrishnan
f07e6b29a3
Check for manual DNS provider
2016-12-21 15:10:56 -08:00
Girish Ramakrishnan
cf98d2a9d5
Remove ip from config
...
This is unused. But more importantly, it causes the cloudron to
internal error and the whole UI goes down just because we cannot
detect the IP via the generic sysinfo provider.
2016-12-15 12:15:06 -08:00
Johannes Zellner
e7fc40cfdd
Minor code style changes
2016-12-15 16:57:29 +01:00
Dennis Schwerdel
1065b56380
Check dns records for generic dns providers
2016-12-15 16:57:29 +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
f6695c9567
Add sendAliveStatus()
2016-11-15 15:24:40 +01:00
Johannes
e033dce93e
Run update short circuit prior earlier
...
This allows short circuit of non caas upgrades as well
Fixes #97
2016-11-09 12:25:39 +01:00
Johannes
15f7ada958
We now use systemd-run no need for sudoDetached
2016-11-06 14:30:26 +01:00
Johannes
38ddf12542
Instead of calling the installer, just run update.sh
...
update.sh will run detached and triggers the installer.sh
2016-11-06 14:29:41 +01:00
Johannes
d7a91429f3
noop dns provider is a valid one
2016-10-25 14:15:54 +02:00
Girish Ramakrishnan
563b2a3042
Do not add dmarc record unless mail is enabled
...
the dmarc records depends on the DKIM signing as well. if the
cloudron is not using the cloudron mail service, that means that
the mails are not dkim signed and thus mails get rejected.
2016-09-22 09:52:25 -07:00
Girish Ramakrishnan
565b0e13c8
remove unused variable
2016-09-22 09:34:18 -07:00
Johannes Zellner
528f71ab0f
Support digitalocean dns backend for configured state
2016-09-20 09:25:48 +02:00
Girish Ramakrishnan
5333311a35
setup dmarc record for custom domains
...
See http://www.zytrax.com/books/dns/ch9/dmarc.html for more info
Fixes #55
2016-09-19 10:56:51 -07:00
Girish Ramakrishnan
c10302f146
Preserve the isDemo flag across updates
2016-09-13 18:33:21 -07:00
Girish Ramakrishnan
c1bb264065
Set a timeout for superagent
...
The default is 'no timeout' and it will wait for the response forever.
https://github.com/visionmedia/superagent/issues/17#issuecomment-207742985
2016-09-12 13:06:18 -07:00
Girish Ramakrishnan
ad34838f92
Use a different provider for GeoIP
2016-09-07 20:00:44 -07:00
Girish Ramakrishnan
ecc9d1bc02
rename subdomains.update to subdomains.upsert
2016-09-05 16:58:13 -07:00
Girish Ramakrishnan
70b63af3c9
pass isDemo parameter to angular ui
2016-09-01 15:56:38 -07:00
Girish Ramakrishnan
61ef3f3efb
disallow certain actions in demo mode
...
* Cannot change password
* Cannot delete user
* Cannot migrate domain or change plan
Fixes #20
2016-08-31 22:39:42 -07:00
Girish Ramakrishnan
f3fd2d7950
add mx record during mail container setup
...
part of #16
2016-08-30 21:36:40 -07:00
Girish Ramakrishnan
db8afaf3ff
remove underused first run event
2016-08-30 21:09:05 -07:00
Girish Ramakrishnan
8e76d44a30
Remove dead code
...
From 69402d0079
2016-08-30 20:59:28 -07:00
Girish Ramakrishnan
b58b350827
Throw exception if dkim keys could not be generated
2016-08-13 00:23:55 -07:00
Johannes Zellner
f60ff45cb6
Tokens are now valid for a week
2016-08-01 10:14:47 +02:00
Girish Ramakrishnan
947edfec72
typo: Check "available" and not "used"
2016-07-26 17:10:22 -07:00
Johannes Zellner
3193cec6aa
Skip caas cloudron details fetching for selfhosted cloudrons
2016-07-18 11:59:32 +02:00
Girish Ramakrishnan
87d54b3883
fix comment
2016-07-07 13:12:53 -07:00
Girish Ramakrishnan
44e7d87aac
setup apiServerOrigin for splash page
2016-07-06 16:26:26 -05:00
Girish Ramakrishnan
2d01f2a0e9
pass migrate reason all the way to splash code
2016-07-05 22:04:24 -05:00
Girish Ramakrishnan
6acd01eaae
pass domain as part of the config
2016-07-04 23:22:50 -05:00
Girish Ramakrishnan
1126626b51
implement domain migration
2016-07-04 22:30:25 -05:00
Girish Ramakrishnan
a5def529bb
refactor migrate to take options
2016-07-02 16:03:21 -05:00
Girish Ramakrishnan
55e2043eca
pass domain argument to cloudron.migrate
2016-07-02 11:23:52 -05:00
Girish Ramakrishnan
bfd92bf7ed
do not rely on appstore for billing, plan, currency
2016-07-02 10:41:10 -05:00
Girish Ramakrishnan
4983120ae8
rename getCloudronDetails
2016-07-02 10:30:12 -05:00
Girish Ramakrishnan
200ae149a9
handle appstore failure when setting plan
2016-07-02 10:23:00 -05:00
Johannes Zellner
88b2ef65cc
Pass the provider setting through to the update call
2016-06-30 19:24:36 +02:00
Girish Ramakrishnan
77bd5bfcbe
pass retire reason
2016-06-29 23:24:00 -05:00
Girish Ramakrishnan
4dabf7bb26
send currency information
2016-06-29 18:59:50 -05:00
Girish Ramakrishnan
4250a26967
send plan information
2016-06-29 18:57:06 -05:00
Girish Ramakrishnan
9bfbdbba3b
handle migrate in update.html
2016-06-28 16:21:22 -05:00
Girish Ramakrishnan
0c3de27c3d
better progress message
2016-06-28 16:16:15 -05:00
Girish Ramakrishnan
24e36dc24c
clean up code
2016-06-28 16:09:44 -05:00