Johannes Zellner
a2d0ac7ee3
Run installer with selfhost flag
2015-12-20 10:22:55 +01:00
Girish Ramakrishnan
24cbd1a345
if i wrote a linter, these are the bugs it would catch
2015-12-19 13:48:14 -08:00
Girish Ramakrishnan
8b3e6742d5
better debugs
2015-12-19 13:47:48 -08:00
Johannes Zellner
62bd3f6e83
Add installer.sh
2015-12-19 21:56:33 +01:00
Johannes Zellner
20ac2ff6e7
Do not move ssh port in selfhosting case
2015-12-19 21:56:00 +01:00
Johannes Zellner
aa7c9e06a4
Initial commit
2015-12-19 18:47:24 +01:00
Johannes Zellner
0c2fb7c0d9
Use multipart upload for s3 by reducing the chunk size
...
This avoids file upload issues for larger files
2015-12-19 17:50:54 +01:00
Girish Ramakrishnan
7ec2b1da8c
fix function name in debug
v0.5.3
2015-12-17 20:30:30 -08:00
Girish Ramakrishnan
190c2b2756
firefox is unhappy with incorrect chain
2015-12-17 19:42:49 -08:00
Girish Ramakrishnan
7c975384cd
better error messages
2015-12-17 19:35:52 -08:00
Girish Ramakrishnan
fe042891a3
Add acme.getCertificate
2015-12-17 13:31:28 -08:00
Girish Ramakrishnan
a9b594373d
do not pass accountKeyPem everywhere
2015-12-17 13:27:10 -08:00
Girish Ramakrishnan
5edc3cde2a
set prod option based on provider
2015-12-17 13:17:46 -08:00
Girish Ramakrishnan
a636731764
allow configuring prod/staging of LE url
2015-12-17 13:12:54 -08:00
Girish Ramakrishnan
b4433af9b5
remove unused require
2015-12-17 12:55:47 -08:00
Girish Ramakrishnan
72cc318607
install docker 1.9.1
...
We hit this error:
https://github.com/docker/docker/issues/18283
https://github.com/docker/docker/issues/17083
2015-12-15 17:17:28 -08:00
Girish Ramakrishnan
5ae45381e2
fix metrics path
...
See 03da5cc6b382f6f7aad69395d9f8a9d29d18ec26 in installer
We now use the cgroupfs driver instead of systemd cgroup driver
v0.5.2
2015-12-15 15:54:19 -08:00
Girish Ramakrishnan
b533d325a4
Creating containers fails sporadically
...
HTTP code is 500 which indicates error: server error - Cannot start container redis-9d0ae0eb-a08f-4d0d-a980-ac6fa15d1a3d: [8] System error: write /sys/fs/cgroup/memory/system.slice/docker-fa6d6f3fce88f15844710e6ce4a8ac4d3a42e329437501416991b4c55ea3d078.scope/memory.memsw.limit_in_bytes: invalid argument
https://github.com/docker/docker/issues/16256
https://github.com/docker/docker/pull/17704
https://github.com/docker/docker/issues/17653
2015-12-15 15:02:45 -08:00
Girish Ramakrishnan
9dad7ff563
Fix sed
2015-12-15 14:43:01 -08:00
Girish Ramakrishnan
1ae2e07883
leave note on 429 error code
2015-12-15 14:25:23 -08:00
Girish Ramakrishnan
aa34850d4e
fix typo
2015-12-15 12:52:41 -08:00
Girish Ramakrishnan
9f524da642
use admin@cloudron.io for email
...
registrations are failing because the LE server is doing a MX check.
we don't have a proper email to provide here since the box is not
activated yet. we should "update" the email at some point with
the owner information.
v0.5.1
2015-12-15 10:39:03 -08:00
Girish Ramakrishnan
8b707e23ca
update shrinkwrap
2015-12-15 10:04:45 -08:00
Girish Ramakrishnan
a4ea693c3c
update superagent
...
the latest superchanged changed the meaning of 'error'. Previously,
error implied a network error. With the latest superagent, error means
a REST api error i.e 4xx, 5xx are flagged as errors.
error && !error.response means network error
2015-12-15 09:53:37 -08:00
Girish Ramakrishnan
aca443a909
update redis
2015-12-15 08:36:47 -08:00
Girish Ramakrishnan
2ae5223da9
update password-generator, validator and nock
2015-12-15 08:34:13 -08:00
Girish Ramakrishnan
b5b67f2e6a
define CA_ORIGIN
2015-12-15 00:49:00 -08:00
Girish Ramakrishnan
fe723f5a53
remove trailing slash in url
2015-12-15 00:42:18 -08:00
Girish Ramakrishnan
c55e1ff6b7
debug output the error
2015-12-15 00:23:57 -08:00
Girish Ramakrishnan
4bd88e1220
create acme data dir
2015-12-15 00:21:29 -08:00
Girish Ramakrishnan
f46af93528
do not installAdminCertificate for upgrades
2015-12-14 23:37:52 -08:00
Girish Ramakrishnan
8ead0e662a
detect apptask crashes
2015-12-14 19:11:26 -08:00
Girish Ramakrishnan
365ee01f96
show error dialog
2015-12-14 18:56:15 -08:00
Girish Ramakrishnan
fca6de3997
add function to show the error dialog
2015-12-14 17:57:58 -08:00
Girish Ramakrishnan
dceb265742
add error dialog
2015-12-14 17:52:56 -08:00
Girish Ramakrishnan
409096cbff
Use production LE
2015-12-14 17:31:41 -08:00
Girish Ramakrishnan
e5a40faf82
simply use fallback certs if LE fails
...
currently, it fails if we cannot get a cert.
This means that we need to provide some option to simply use fallback
cert. This requires UI changes that I want to avoid :-)
2015-12-14 17:13:54 -08:00
Girish Ramakrishnan
859c78c785
fix fallback cert message
2015-12-14 16:42:34 -08:00
Girish Ramakrishnan
89bff16053
fix crash
v0.5.0
2015-12-14 14:08:45 -08:00
Girish Ramakrishnan
a89476c538
fix renewal check
2015-12-14 13:52:54 -08:00
Girish Ramakrishnan
f51b61e407
do not dump the csr
2015-12-14 13:41:30 -08:00
Girish Ramakrishnan
177103bccd
update safetydance for readdirSync
2015-12-14 13:10:04 -08:00
Girish Ramakrishnan
f31d63aabd
implement cert auto-renewal
2015-12-14 12:40:39 -08:00
Girish Ramakrishnan
fd20246e8b
ensureCertificate: check if cert needs renewal
2015-12-14 12:38:19 -08:00
Girish Ramakrishnan
0c1ea39a02
add getApi
2015-12-14 12:28:00 -08:00
Girish Ramakrishnan
a409dd026d
use url file to download cert if present
2015-12-14 12:22:57 -08:00
Girish Ramakrishnan
4731f8e5a7
move key creation into the acme flow
2015-12-14 12:21:41 -08:00
Girish Ramakrishnan
7e05259b0e
save url for renewal in .url files
2015-12-14 12:17:57 -08:00
Girish Ramakrishnan
14ab85dc4f
do not pass outdir
2015-12-14 11:42:59 -08:00
Girish Ramakrishnan
0651bfc4b8
provide cert and key file in callback
2015-12-14 09:29:48 -08:00