Commit Graph

206 Commits

Author SHA1 Message Date
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
Girish Ramakrishnan
66fd20e1ff self-retire after migration call 2016-06-28 15:43:39 -05:00
Girish Ramakrishnan
c7c6944e5f set migrate progress 2016-06-28 15:34:04 -05:00
Girish Ramakrishnan
dac9f29900 Add migrate route 2016-06-27 22:40:41 -05:00
Johannes Zellner
61d8767c25 Block self upgrades on non caas cloudrons 2016-06-22 10:21:56 +02:00
Johannes Zellner
4776a005a5 Remove redundant client TYPE_*s 2016-06-08 14:09:06 +02:00
Girish Ramakrishnan
dc8fd2eab3 do not use userdb directly 2016-06-07 10:01:14 -07:00
Girish Ramakrishnan
a49cf98a8d do not allow appId to be set
this is some legacy code
2016-06-04 13:40:43 -07:00
Girish Ramakrishnan
9e8742ca87 download manifest from appstore when appStoreId is provided 2016-06-04 01:07:43 -07:00
Girish Ramakrishnan
e2848d3e08 fix apps.install insane arg list 2016-06-03 23:35:55 -07:00
Johannes Zellner
226537de04 Move client TYPE_* to clients.js 2016-06-03 15:05:00 +02:00
Johannes Zellner
725e1debcc Provide getByAppIdAndType() by clients.js 2016-06-03 14:47:06 +02:00
Johannes Zellner
778c583a52 Activation hands out a token without PREFIX_USER now 2016-06-03 12:59:13 +02:00
Girish Ramakrishnan
50c4e4c91e log event only after lock is acquired 2016-06-02 19:26:58 -07:00
Girish Ramakrishnan
46441d1814 cloudron.update is not exposed 2016-06-02 19:23:21 -07:00