Johannes Zellner
994202ca94
Use angular-tldjs for domain validation in certs view
2017-02-09 17:28:48 +01:00
Johannes Zellner
ff7ceb1442
remove domain-validator directive
...
we will replace with angular-tldjs
2017-02-09 17:27:20 +01:00
Johannes Zellner
56545b7f41
Use check-tld directive for domain validation
2017-02-09 17:25:57 +01:00
Johannes Zellner
586e78dfea
Apply manual fixes to angular-tld.js to support our use-case
2017-02-09 17:25:37 +01:00
Johannes Zellner
92ede4c242
Make the tld angular directive available in the main view and setupdns
2017-02-09 16:56:32 +01:00
Johannes Zellner
5ca2c2d564
Add angular-tld and its dependencies
2017-02-09 16:56:15 +01:00
Girish Ramakrishnan
9692aa3c08
Better error handling of unpurchase errors
2017-02-08 18:55:41 -08:00
Girish Ramakrishnan
10ad1028ae
0.100.1 changes
2017-02-08 15:14:14 -08:00
Johannes Zellner
7155856b08
Allocate the mailbox db record for apps in a transaction with appdb.add()
2017-02-08 23:52:14 +01:00
Girish Ramakrishnan
69aa771d44
Fix dkim dns crash
...
Fixes #207
v0.100.1
2017-02-08 14:02:30 -08:00
Girish Ramakrishnan
d164b5ae3a
docs: add ptr links
2017-02-08 11:04:00 -08:00
Girish Ramakrishnan
b34d09f547
ldap: Fix crash if displayName is empty and username is null
2017-02-08 10:13:50 -08:00
Girish Ramakrishnan
9e2850ffad
setup: do not restart mysql unnecessarily
2017-02-08 07:53:55 -08:00
Johannes Zellner
480cface63
Do not crash if we did not receive a dmarc txt record
2017-02-08 16:55:08 +01:00
Girish Ramakrishnan
85aba589b8
Add hack to send heartbeat only after a minute of server running
v0.100.0
2017-02-07 20:25:30 -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
4bb864e2ac
use debug() instead
...
the tests are spewing out logs like crazy
2017-02-07 09:18:45 -08:00
Johannes Zellner
7db091525e
Do not reboot the server on AMI creation
...
This will anyways happen once a new EC2 instance is created from the ami
and this ensures we do not encounter an SSH disconnect error when
running the cloudron-setup script during image creation
2017-02-07 12:49:28 +01:00
Johannes Zellner
695923ed75
cloudron-setup: support --skip-reboot for image creation
2017-02-07 12:49:28 +01:00
Johannes Zellner
1b43ccca6f
Use new db-migrate which allows to specify the db backend
...
We use only mysql, so updating this means a lot of unused db backends
like sqlite do not need to be built with gyp anymore.
Note that this version is not yet released as stable, but works fine for
us. The outstanding issues are not related to our use-case from what I
can tell.
Fixes #82
2017-02-07 12:49:28 +01: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
243ade15e1
tests: restore aws.route53 mock
2017-02-07 01:32:34 -08:00
Girish Ramakrishnan
9d3cf990d1
Fix app test
2017-02-07 00:45:24 -08:00
Girish Ramakrishnan
02bcff2223
set isCustomDomain to true by default
...
CaaS is an exception and not the norm
2017-02-06 23:58:06 -08:00
Girish Ramakrishnan
8f388c86a6
do not unlink config file in test mode
...
this was incredibly hard to debug
2017-02-06 22:39:22 -08:00
Girish Ramakrishnan
8dc929f0ff
Fix update checker test
2017-02-06 16:33:55 -08:00
Girish Ramakrishnan
509bd7e79b
Make settings-test pass
2017-02-06 16:02:30 -08:00
Girish Ramakrishnan
19c665d747
docker daemon is deprecated
2017-02-06 11:33:10 -08:00
Girish Ramakrishnan
cb09086ae8
Add dmsetup required by docker
2017-02-06 11:32:08 -08:00
Johannes Zellner
fa915d0b23
Check for activated instead of fqdn to redirect to setup screens
2017-02-03 16:28:11 -08:00
Girish Ramakrishnan
a383f01406
ami: wait for ssh as cloudron-setup reboots server
2017-02-03 11:26:56 -08:00
Girish Ramakrishnan
1a46e80403
remove .sh extension
2017-02-03 10:50:32 -08:00
Girish Ramakrishnan
e8cd230c12
ami: remove ssh keys and fix subnet
2017-02-03 10:32:22 -08:00
Girish Ramakrishnan
0711dc2c5a
createAMIImage: Add --region
2017-02-02 23:37:24 -08:00
Girish Ramakrishnan
486e72457d
remove minlength for username
2017-02-02 16:09:07 -08:00
Girish Ramakrishnan
450e017bdb
0.100.0 changes
2017-02-02 15:43:16 -08:00
Girish Ramakrishnan
c6d9cfc0d7
Passing IP never worked
2017-02-02 15:33:19 -08:00
Girish Ramakrishnan
a0b073d881
Show DNS warning for manual/noop only
2017-02-02 14:43:34 -08:00
Girish Ramakrishnan
4dde16f987
Fix wording
2017-02-02 14:28:23 -08:00
Girish Ramakrishnan
f7d2e262f4
Always fill spf record
2017-02-02 14:20:25 -08:00
Girish Ramakrishnan
34fedb5835
check spf and dkim all the time
2017-02-02 14:00:13 -08:00
Girish Ramakrishnan
ff491be976
Display SPF/DKIM/PTR records for manual and noop backends
2017-02-02 13:58:49 -08:00
Girish Ramakrishnan
7635482191
Query via unbound
...
The timeout applies to each server. This resulted in us frequently
getting timeout out when we have more than one name server.
2017-02-02 13:58:49 -08:00
Girish Ramakrishnan
b23001e43f
better error log
2017-02-02 13:58:49 -08:00
Girish Ramakrishnan
06c8e8f0cb
Query dns in parallel
2017-02-02 13:58:49 -08:00
Girish Ramakrishnan
ce2cd00fbf
Fix crash when no MX record is found
2017-02-02 13:58:49 -08:00
Johannes Zellner
651af185c8
Restart the droplet after installation for good measure
...
This is then in sync with selfhosting and ensures the init startup
sequence is in order, since the setup on its own creates unit files
which should run prior to services already running.
This hopefully fixes the mysql disconnect issues.
2017-02-02 11:24:49 -08:00
Girish Ramakrishnan
6951383ae0
Remove text-danger class in setupdns
2017-02-02 11:07:26 -08:00