Johannes Zellner
56c272f34e
Support digitalocean dns backend
2016-09-20 09:25:48 +02:00
Johannes Zellner
98bb7e3a1a
Add initial digitalocean dns backend
2016-09-20 09:25:48 +02:00
Johannes Zellner
487fb23836
Add DNS interface description
2016-09-20 09:25:48 +02:00
Johannes Zellner
cffc6d5fa5
Reorder dns backend exports
2016-09-20 09:25:48 +02:00
Johannes Zellner
1736d50260
Add filesystem storage backend only as noop currently
2016-09-20 09:25:48 +02:00
Girish Ramakrishnan
679c8a7d09
Fix all usages of ldap.parseFilter
...
Part of #56
2016-09-19 13:53:48 -07:00
Girish Ramakrishnan
402c875874
ldap : Fix crash with invalid queries
...
Fixes #56
2016-09-19 13:40:26 -07: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
e2a22c3a5e
collect more docker logs for IP mapping
2016-09-16 22:10:33 -07:00
Girish Ramakrishnan
c39c1b9b51
remove jshint
2016-09-15 23:15:06 -07:00
Girish Ramakrishnan
28c8aa3222
Do not use Floating IP
...
We do not use a floating IP for 3 reasons:
1. The PTR record is not set to floating IP.
2. The outbound interface is not changeable to floating IP.
3. there are reports that port 25 on floating IP is blocked.
2016-09-15 22:14:21 -07:00
Girish Ramakrishnan
9b49c7ada7
Fix linter warnings
2016-09-15 12:41:50 -07:00
Girish Ramakrishnan
a40abaf1a0
do not crash if the service was never started
...
fixes #51
2016-09-15 11:54:20 -07:00
Girish Ramakrishnan
7f2eadcd4e
All apps have moved to 0.9.0
2016-09-14 20:59:28 -07:00
Girish Ramakrishnan
c10302f146
Preserve the isDemo flag across updates
2016-09-13 18:33:21 -07:00
Johannes Zellner
10e7f27b16
Actually we need to specify the signatureVersion...
2016-09-13 12:07:09 +02: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
839b4b11ba
disable admin_certificate route for now
...
part of #47
2016-09-12 12:01:22 -07:00
Johannes Zellner
8de0746ac8
Revert "Use S3 signature versoin 4 to support all regions"
...
If we set the correct region name, the signature version is selected
automatically
This reverts commit 1e22cc3236 .
2016-09-12 14:27:47 +02:00
Girish Ramakrishnan
cd94d8f433
Save user certs separately from automatic certs
...
Fixing the admin cert is a bit more complex since it is used in
setup script as well. Can do that in a later task.
Fixes #44
2016-09-12 01:44:16 -07:00
Johannes Zellner
1e22cc3236
Use S3 signature versoin 4 to support all regions
...
http://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html
2016-09-09 20:07:57 +02:00
Girish Ramakrishnan
ad34838f92
Use a different provider for GeoIP
2016-09-07 20:00:44 -07:00
Johannes Zellner
efdd01c4c8
Replace tagline in invite email
2016-09-07 22:14:26 +02:00
Girish Ramakrishnan
d802b88998
delete tokens when deleting a client
...
fixes #36
2016-09-07 11:10:19 -07:00
Girish Ramakrishnan
2c9425ceea
fix debug
2016-09-07 11:06:50 -07:00
Girish Ramakrishnan
72a7d5e854
fix debug module name
2016-09-07 09:24:15 -07:00
Girish Ramakrishnan
de9d556b9e
fix failing test
2016-09-07 08:46:36 -07:00
Girish Ramakrishnan
5014ca7742
Simply check app.oauthProxy
...
Part of #6
2016-09-07 00:53:13 -07:00
Girish Ramakrishnan
452c976aa6
add more debugs
2016-09-07 00:53:09 -07:00
Girish Ramakrishnan
b66ba0a2c7
take oauthProxy parameter in install and configure routes
...
part of #6
2016-09-06 23:43:27 -07:00
Girish Ramakrishnan
408dd61408
Send and receive oauthProxy in REST routes
...
Part of #6
2016-09-06 23:32:42 -07:00
Girish Ramakrishnan
ac5cef3c2f
do not introspect the value of accessRestriction
...
if there are no users or groups, it simply means nobody can access it.
(maybe the admin is doing something on the cloudron and does not want
anyone to access it).
2016-09-06 16:37:14 -07:00
Girish Ramakrishnan
375082c1ae
make tests pass
2016-09-06 13:33:12 -07:00
Girish Ramakrishnan
0900d7b824
Fix crash
2016-09-06 12:54:53 -07:00
Johannes Zellner
1b54f5f797
Support both floating and non fixed ips
2016-09-06 15:43:43 +02:00
Johannes Zellner
9fcaebcf98
Return digitalocean floating ip for caas cloudrons in sysinfo
2016-09-06 15:43:43 +02:00
Girish Ramakrishnan
c63c6f793c
do not unregister naked domain of non-custom domains only
2016-09-05 18:40:22 -07:00
Girish Ramakrishnan
bc839d7f9b
Cannot optimize here since we always need a changeId
2016-09-05 18:31:40 -07:00
Girish Ramakrishnan
539b45d3b0
Bypass DNS check for non-custom domains
...
Part of #27
2016-09-05 17:39:14 -07:00
Girish Ramakrishnan
203cac2629
Check if DNS entry already exists before updating it
...
Fixes #27
2016-09-05 17:14:17 -07:00
Girish Ramakrishnan
3aa2ccaef7
remove unused require
2016-09-05 17:09:19 -07:00
Girish Ramakrishnan
90472e1370
remove subdomains.add API
2016-09-05 17:09:00 -07:00
Girish Ramakrishnan
ecc9d1bc02
rename subdomains.update to subdomains.upsert
2016-09-05 16:58:13 -07:00
Girish Ramakrishnan
4fc6eb1876
fix route53.get()
2016-09-05 15:17:42 -07:00
Girish Ramakrishnan
e82152ac86
Fix failing tests
...
ec63c1c96e broke tests
2016-09-05 14:04:40 -07:00
Girish Ramakrishnan
ec63c1c96e
use subdomains.update to short-circuit dns propagation check
...
if the entry is already uptodate, then we can bypass the wait
2016-09-05 10:00:15 -07:00
Girish Ramakrishnan
6b4d906336
remove jslint comment
2016-09-04 23:56:50 -07:00
Girish Ramakrishnan
f96fda325d
Return SubdomainError.BAD_FIELD in route53 backend
...
Part of #27
2016-09-04 19:46:46 -07:00
Girish Ramakrishnan
2caf57d2c7
Add SubdomainError.BAD_FIELD
...
The CaaS backend return 400 for conflicts. We can use this to abort
early if there is a conflict in DNS entries. For example, if an app
subdomain already exists in DNS.
Part of #27
2016-09-04 19:35:19 -07:00
Girish Ramakrishnan
3bdae8f4ac
typo
2016-09-04 18:00:28 -07:00