Commit Graph

4380 Commits

Author SHA1 Message Date
Johannes
6b6af13c5f Do not set -e in cloudron-setup
This needs to be reenabled, but I can't make out
why having it set makes the parent script stop
after calling an external one with /bin/bash,
even though the external one has a 0 exit code
2016-10-25 13:14:01 +02:00
Johannes
6660ef2ff3 Let the cloudron-version tool resolve the version string 2016-10-25 13:13:04 +02:00
Johannes
2ca5b3c197 Directly call installer.sh from cloudron-setup 2016-10-25 11:27:58 +02:00
Johannes
049ab4d744 Remove initial install feature in installer 2016-10-25 11:27:41 +02:00
Johannes
dd9c594387 Install cloudron-version tool 2016-10-25 11:27:04 +02:00
Girish Ramakrishnan
15cfbe3f99 Initial version of configure style cloudron-setup script 2016-10-25 00:07:46 -07:00
Girish Ramakrishnan
0180dcf0ec Allow specific version to be installed 2016-10-25 00:01:06 -07:00
Girish Ramakrishnan
c8a04f8707 remove code that stops nginx 2016-10-24 14:41:26 -07:00
Girish Ramakrishnan
37185b1058 Move cloudron-setup script to top level 2016-10-24 14:28:37 -07:00
Johannes
f4aacfa2d0 tls config property is called tlsConfig 2016-10-24 18:04:28 +02:00
Johannes
bc285a0965 Allow tls-provider to be set for development 2016-10-24 17:30:47 +02:00
Johannes
e9a35ec549 Allow to specify box versions url for development 2016-10-24 17:28:40 +02:00
Johannes
595787a898 Add missing 'then' 2016-10-24 16:46:14 +02:00
Johannes
235d969890 Add cloudron-setup script 2016-10-24 16:18:02 +02:00
Johannes
8efa75e5d6 Only use ssh port 202 with caas 2016-10-24 15:56:24 +02:00
Johannes
e700eb1551 Remove setup webui, we first rely on a shell script with args 2016-10-24 15:51:51 +02:00
Johannes
b7e36a6f33 Retry dns check 2016-10-23 23:10:49 +02:00
Johannes
30e91eb812 Basic ui to wait for dns record 2016-10-23 22:58:56 +02:00
Johannes
468e5e7e89 Add route to check dns record 2016-10-23 22:58:38 +02:00
Girish Ramakrishnan
86a31b8f5a start nginx properly 2016-10-21 16:43:40 -07:00
Girish Ramakrishnan
b9ff8a2cef start the installer 2016-10-21 16:22:25 -07:00
Girish Ramakrishnan
e63ef4c991 Extract properly 2016-10-21 16:21:09 -07:00
Girish Ramakrishnan
1244a73a19 run the install web ui on port 80 2016-10-21 16:04:08 -07:00
Girish Ramakrishnan
64f3b45eef download installer in base image script 2016-10-21 15:52:40 -07:00
Girish Ramakrishnan
d494129353 default provider to generic 2016-10-21 12:58:01 -07:00
Johannes Zellner
0c3dda8ee0 Add web ui to create config file 2016-10-21 12:30:47 -07:00
Johannes Zellner
3038521916 Set fallback versions url 2016-10-21 12:27:58 -07:00
Johannes Zellner
d4d3eced56 Wait forever for user data and support js format 2016-10-21 12:21:30 -07:00
Johannes Zellner
2c279dc77e Set LE as default tls config 2016-10-21 10:31:55 -07:00
Johannes Zellner
5d8b46e015 Add more fallbacks for settings 2016-10-21 10:31:30 -07:00
Johannes Zellner
723c7307d2 Set default provider to generic 2016-10-21 10:28:40 -07:00
Johannes Zellner
db55a7ad3c Create fallback cert if not passed in via user data 2016-10-21 10:28:22 -07:00
Johannes Zellner
09b4325ecc Set some more fallbacks in argparser.sh 2016-10-21 10:26:32 -07:00
Johannes Zellner
66999f7454 custom domain is actually the default by now 2016-10-21 10:25:33 -07:00
Johannes Zellner
2c511ccc5a Do not create a swap file if swap is already more than physical memory
This is the case for example on the default ubuntu 16.04 virtualbox image
2016-10-20 15:32:02 +02:00
Girish Ramakrishnan
6b72ee61f9 Show good error message for invalid username 2016-10-17 19:02:48 -07:00
Girish Ramakrishnan
0a7303e50d lower case message 2016-10-17 18:56:10 -07:00
Girish Ramakrishnan
906beaca29 add link to packaging guide 2016-10-16 11:24:58 -07:00
Girish Ramakrishnan
daf8250e44 do not skip scripts!
all our sudo scripts are here.
2016-10-14 15:14:24 -07:00
Girish Ramakrishnan
4313d8a28c Send mail when backup fails
Fixes #9
2016-10-14 15:08:41 -07:00
Girish Ramakrishnan
4fbce26877 Turns out git archive is used in createDOImage to get installer code 2016-10-14 11:24:10 -07:00
Girish Ramakrishnan
702b93fe7c Do not include baseimage and installer in archive
The CLI tool will be fixed to download the file from gitlab.

Fixes #39
2016-10-14 10:46:21 -07:00
Girish Ramakrishnan
6755d13f1b Revert "Do not include baseimage and installer in archive"
This reverts commit f80ce1778a.

We cannot just remove it because the CLI tool relies on this right
now.
2016-10-14 10:35:33 -07:00
Girish Ramakrishnan
f80ce1778a Do not include baseimage and installer in archive
These are part of the base image

Fixes #39
2016-10-14 09:49:24 -07:00
Girish Ramakrishnan
db7958c934 remove reference to dead directories 2016-10-14 09:40:08 -07:00
Girish Ramakrishnan
02e7c4eaef Do not display "caas" 2016-10-14 09:34:55 -07:00
Girish Ramakrishnan
ae299f5838 Fix failing test 2016-10-14 09:30:42 -07:00
Girish Ramakrishnan
bafc35f99e Revert "Use in-place replacement ursa-purejs for native ursa"
This reverts commit 8e033dc387.

Lots of things in ursa-purejs is unimplemented. We get errors like:

    /home/yellowtent/box/node_modules/ursa-purejs/lib/ursa.js:331
          throw new Error("Unsupported operation : sign");
          ^
    Error: Unsupported operation : sign
        at Object.sign (/home/yellowtent/box/node_modules/ursa-purejs/lib/ursa.js:331:13)
        at Object.sign (/home/yellowtent/box/node_modules/ursa-purejs/lib/ursa.js:624:27)
        at /home/yellowtent/box/src/cert/acme.js:112:50
        at /home/yellowtent/box/src/cert/acme.js:70:16
v0.50.0
2016-10-13 21:41:04 -07:00
Girish Ramakrishnan
32eb1edead center it 2016-10-13 16:26:29 -07:00
Girish Ramakrishnan
1187e6a101 Add powered by footer to password reset 2016-10-13 16:18:26 -07:00