Girish Ramakrishnan
6cc708136e
caas expects filename for migrations
2017-04-22 18:17:44 -07:00
Johannes Zellner
65af062c33
Cleanup linter issues
2017-04-19 13:20:24 +02:00
Girish Ramakrishnan
68a1efe3d3
Download short format logs from web ui
...
Fixes #304
2017-04-18 21:04:45 -07:00
Girish Ramakrishnan
0c706cffc0
Add API to get cloudron logs
...
part of #304
2017-04-18 15:19:26 -07:00
Girish Ramakrishnan
19d8b90a12
pass IP in query parameter
2017-04-17 21:14:13 -07:00
Girish Ramakrishnan
6bc764090c
Get geolocation info from geolocation.cloudron.io
2017-04-17 21:09:04 -07:00
Girish Ramakrishnan
8911081f85
When dns config changes, only fixup the cloudron records
2017-04-14 19:52:44 -07:00
Girish Ramakrishnan
9605fe3842
Only change dns records of already installed apps
2017-04-14 19:48:58 -07:00
Girish Ramakrishnan
eb2ef47df1
remove boxVersionsUrl
...
update checker now uses the appstore routes
2017-04-13 11:38:42 -07:00
Girish Ramakrishnan
cdb5dc2c53
Remove isDev flag
...
We can pretty much test everything here on self-hosted cloudrons now
2017-04-13 11:34:03 -07:00
Girish Ramakrishnan
fee513594f
Move sendAliveStatus to appstore.js
2017-04-13 01:07:07 -07:00
Girish Ramakrishnan
456c183622
Move sendAliveStatus into appstore.js
2017-04-13 00:52:02 -07:00
Girish Ramakrishnan
54f7cf5f64
Fix copy/paste errors
2017-04-13 00:19:11 -07:00
Girish Ramakrishnan
e1740a0d4b
Use new alive route for sending status
2017-04-12 21:29:42 -07:00
Girish Ramakrishnan
4d737d535a
doc: disks api
2017-04-07 12:52:57 -07:00
Johannes Zellner
178ffe20a8
use df instead of node-df
2017-04-07 18:45:14 +02:00
Johannes Zellner
602f8bcd04
Split platform and app data folders and get rid of btrfs volumes
2017-04-04 12:34:55 +02:00
Girish Ramakrishnan
c76e7a3f63
randomize the cn in ip based cert
...
Fixes #224
2017-02-25 15:38:15 -08:00
Girish Ramakrishnan
32e2377828
sysinfo: getIp -> getPublicIp
2017-02-23 22:03:48 -08:00
Girish Ramakrishnan
2108c61d97
Send machine info as part of alive status
2017-02-20 13:13:25 -08:00
Johannes Zellner
3c8c5e158b
Send cloudron time zone with the backendSettings
2017-02-19 22:47:36 +01:00
Johannes Zellner
eb4ab8defd
Change cert CN from 'localhost' to 'cloudron'
...
Apparently localhost is special and triggerd a strange behavior in
firefox. Fixes #224
2017-02-17 14:05:21 +01:00
Girish Ramakrishnan
563eeca1a9
Use the capture match length
2017-02-16 15:32:46 -08:00
Girish Ramakrishnan
d8273719d2
more robust detection and injection of SPF record
...
Fixes #210
2017-02-15 23:03:56 -08:00
Girish Ramakrishnan
e890140aa9
Hold off sending heartbeat until the server is ready
2017-02-07 16:14:51 -08:00
Girish Ramakrishnan
53d56ef3a0
console.error -> debug
2017-02-07 10:48:51 -08:00
Girish Ramakrishnan
b91674799b
Create/destroy event listeners
...
mocha loads all the tests in same process. This means that when
we start a new test, the old state still persists. For event
listeners, this means that they get multiple duplicate event handlers.
2017-02-07 10:30:52 -08:00
Girish Ramakrishnan
96a0bad149
generate dkim keys in tests
...
move out dkim creation code that the tests require
2017-02-07 01:32:50 -08:00
Girish Ramakrishnan
9d3cf990d1
Fix app test
2017-02-07 00:45:24 -08:00
Girish Ramakrishnan
45a61e9541
refreshDNS must always overwrite dns entries
...
dnsRecordId is mostly obsolete
2017-02-02 10:32:25 -08:00
Girish Ramakrishnan
5b0abb1b17
re-setup DNS when the dns config changes
2017-02-01 14:34:57 -08:00
Girish Ramakrishnan
19a098d34b
remove obsolete nginx config file
2017-01-31 18:05:26 -08:00
Johannes Zellner
db452d9bc0
Also send the autoupdatePattern with the stats route
2017-01-31 17:37:55 -08:00
Girish Ramakrishnan
34a3dd6d46
Always generate default nginx config
...
If we don't, https://ip won't work (caas relies on this for
health checks)
2017-01-30 16:17:07 -08:00
Girish Ramakrishnan
d136895598
Generate cert with cloudron.self CN instead of ip
2017-01-28 09:10:53 -08:00
Girish Ramakrishnan
dac3eef57c
Skip generating self-signed cert if we have a domain
2017-01-28 09:10:53 -08:00
Johannes Zellner
67a5151070
Also pick the token when migrating a caas cloudron to a different domain
2017-01-26 15:22:02 -08:00
Johannes Zellner
3c9d7706de
Let the api call fail instead of explictily checking the token
2017-01-23 21:40:06 +01:00
Johannes Zellner
8b5b954cbb
Only ever send heartbeats for caas cloudrons
2017-01-23 21:38:22 +01:00
Girish Ramakrishnan
eb0ae3400a
send mailConfig stat
2017-01-23 10:01:54 -08:00
Girish Ramakrishnan
89fb2b57ff
recreate mail config when we have owner email id
2017-01-17 23:34:05 -08:00
Girish Ramakrishnan
ce31f56eb6
Keep configurePlainIP private
2017-01-17 10:32:46 -08:00
Girish Ramakrishnan
bcdf90a8d9
typo
2017-01-17 09:17:09 -08:00
Johannes Zellner
81b7e5645c
This not an error if a cloudron is not yet registered
...
The change avoids scary logs with backtrace
2017-01-17 11:41:50 +01:00
Johannes Zellner
801367b68d
Use specific functions for configureAdmin (with domain) and configurePlainIp (always)
...
This prevents from double configuring on startup on caas cloudrons
2017-01-17 11:38:33 +01:00
Girish Ramakrishnan
5647b0430a
Simplify onConfigured logic
...
We had all this logic because we allowed the user to create a CaaS
cloudron with a custom domain from the appstore. This flow has changed
now.
One can only set the DNS config after verification. Only thing that
is required is a domain check.
2017-01-14 12:59:16 -08:00
Girish Ramakrishnan
44742ea3ae
Fix bug where cloudron cannot be setup if initial dns credentials were invalid
...
To reproduce:
* https://ip
* provide invalid dns creds. at this point, config.fqdn gets set already
* cannot setup anymore
2017-01-12 11:46:52 -08:00
Girish Ramakrishnan
d6ea7fc3a0
Move setupDns to cloudron.js
2017-01-12 11:46:49 -08:00
Johannes Zellner
1c9f2495e3
Show the detailed backup progress during update
...
Fixes #157
2017-01-12 16:00:34 +01:00
Girish Ramakrishnan
b929adf2dd
Fix migration
2017-01-10 16:23:01 -08:00