Johannes Zellner
b886a35cff
Fixup gcdns calls. The api returns an array as result
...
https://github.com/googleapis/google-cloud-node/issues/2556
https://github.com/googleapis/google-cloud-node/issues/2896
2022-02-18 19:46:03 +01:00
Girish Ramakrishnan
e59efc7e34
bump free space requirement to 2GB
2022-02-18 09:56:42 -08:00
Johannes Zellner
2160644124
Lets not stretch our luck
2022-02-18 18:40:49 +01:00
Johannes Zellner
b54c4bb399
Fixup cn attribute for ldap to be according to spec
2022-02-18 17:43:47 +01:00
Girish Ramakrishnan
feaa5585e1
mailbox: fix crash when domain not found
2022-02-17 18:03:56 -08:00
Girish Ramakrishnan
6f7bede7bd
listen on ipv6 as well for port 53
2022-02-17 11:56:08 -08:00
Girish Ramakrishnan
eb3e87c340
add debug
2022-02-17 11:08:22 -08:00
Girish Ramakrishnan
26a8738b21
make user listing return non-private fields
...
this was from a time when normal users could install apps
2022-02-16 21:22:38 -08:00
Girish Ramakrishnan
012a3e2984
ensure certificate of secondary domains
2022-02-16 20:32:04 -08:00
Girish Ramakrishnan
dfebda7170
Remove deprecated fs.rmdirSync
2022-02-16 20:30:33 -08:00
Girish Ramakrishnan
149f778652
wildcard: better error message
2022-02-16 20:22:50 -08:00
Girish Ramakrishnan
773dfd9a7b
ipv6 support in firewall allow and block lists
2022-02-16 13:39:35 -08:00
Girish Ramakrishnan
426ed435a4
userdirectory: move the validation and apply logic
2022-02-16 13:00:06 -08:00
Girish Ramakrishnan
2ed770affd
mountpoint: allow chown flag to be set
2022-02-16 11:48:37 -08:00
Girish Ramakrishnan
9d2d5d16f3
return 200 for immediate setters which require no further processing
2022-02-16 10:09:23 -08:00
Girish Ramakrishnan
9dbb299bb9
user directory: listen on ipv4 and ipv6
2022-02-15 14:27:51 -08:00
Girish Ramakrishnan
661799cd54
typo
2022-02-15 13:25:14 -08:00
Girish Ramakrishnan
0f25458914
rename key to match other json keys
2022-02-15 13:12:34 -08:00
Girish Ramakrishnan
d0c59c1f75
add separate route to get ipv4 and ipv6
2022-02-15 12:47:16 -08:00
Girish Ramakrishnan
c6da8c8167
make ipv4 and ipv6 settings separate
2022-02-15 12:36:05 -08:00
Girish Ramakrishnan
0dbe8ee8f2
godaddy: invalid ipv6
2022-02-15 12:01:52 -08:00
Girish Ramakrishnan
f8b124caa6
do not check if we have ipv6 to enable ipv6
2022-02-15 11:57:27 -08:00
Girish Ramakrishnan
125325721f
add mail manager tests
2022-02-15 10:30:26 -08:00
Johannes Zellner
ac57e433b1
Improve errorhandling in netcup dns
2022-02-14 10:57:06 +01:00
Girish Ramakrishnan
de84cbc977
add note on turn container host mode
2022-02-11 23:08:56 -08:00
Girish Ramakrishnan
8f4779ad2f
Update addons to listen on ipv6
...
docker sets up the hostname DNS to be ipv4 and ipv6
Part of #264
2022-02-10 10:53:46 -08:00
Girish Ramakrishnan
6aa034ea41
platform: Only re-create docker network on version change
2022-02-10 09:32:22 -08:00
Girish Ramakrishnan
ca83deb761
Docker IPv6 support
...
Docker's initial IPv6 support is based on allocating public IPv6 to containers.
This approach has many issues:
* The server may not get a block of IPv6 assigned to it
* It's complicated to allocate a block of IPv6 to cloudron server on home setups
* It's unclear how dynamic IPv6 is. If it's dynamic, then should containers be recreated?
* DNS setup is complicated
* Not a issue for Cloudron itself, but with -P, it just exposed the full container into the world
Given these issues, IPv6 NAT is being considered. Even though NAT is not a security mechanism as such,
it does offer benefits that we care about:
* We can allocate some private IPv6 to containers
* Have docker NAT66 the exposed ports
* Works similar to IPv4
Currently, the IPv6 ports are always mapped and exposed. The "Enable IPv6" config option is only whether
to automate AAAA records or not. This way, user can enable it and 'sync' dns and we don't need to
re-create containers etc. There is no inherent benefit is not exposing IPv6 at all everywhere unless we find
it unstable.
Fixes #264
2022-02-09 23:54:53 -08:00
Girish Ramakrishnan
ff664486ff
do not start if platform.start does not work
2022-02-09 23:15:37 -08:00
Girish Ramakrishnan
852eebac4d
move cloudron network creation to platform code
...
this gives us more control on re-creating the network with different
arguments/options when needed.
2022-02-09 23:15:37 -08:00
Girish Ramakrishnan
f0f9ade972
sftp: listen on ipv6
2022-02-09 23:15:37 -08:00
Girish Ramakrishnan
f18d108467
nginx: add listen note
2022-02-09 23:15:37 -08:00
Girish Ramakrishnan
85964676fa
Fix location conflict error message
2022-02-07 16:09:43 -08:00
Girish Ramakrishnan
68c2f6e2bd
Fix users test
2022-02-07 14:22:34 -08:00
Girish Ramakrishnan
75c0caaa3d
rename subdomains table to locations
2022-02-07 14:04:11 -08:00
Girish Ramakrishnan
46b497d87e
rename SUBDOMAIN_ to LOCATION_
...
location is { subdomain, domain } pair
2022-02-07 13:48:08 -08:00
Girish Ramakrishnan
964c1a5f5a
remove field from errors
...
we have standardized on indexOf in error.message by now
2022-02-07 13:44:29 -08:00
Johannes Zellner
d5481342ed
Add ability to filter users by state
2022-02-07 17:18:13 +01:00
Johannes Zellner
e3a0a9e5dc
Hack to allow SOGo logins for more than 1k mailboxes
2022-02-07 16:22:05 +01:00
Girish Ramakrishnan
23b3070c52
add percent info when switching dashboard
2022-02-06 11:21:32 -08:00
Girish Ramakrishnan
5048f455a3
Misplaced brackets
2022-02-06 10:58:49 -08:00
Girish Ramakrishnan
e27bad4bdd
Fix incorrect brackets
2022-02-06 10:22:04 -08:00
Girish Ramakrishnan
0af9069f23
make linode async
2022-02-04 16:01:41 -08:00
Girish Ramakrishnan
e1db45ef81
remove callback asserts
2022-02-04 15:47:38 -08:00
Girish Ramakrishnan
59b2bf72f7
make gcdns async
2022-02-04 15:46:17 -08:00
Girish Ramakrishnan
8802b3bb14
make namecheap async
2022-02-04 15:34:02 -08:00
Girish Ramakrishnan
ee0cbb0e42
make route53 async
2022-02-04 15:20:49 -08:00
Girish Ramakrishnan
5d415d4d7d
make cloudflare, gandi, manual, noop, wildcard, netcup, godaddy, namecom async
2022-02-04 14:36:30 -08:00
Girish Ramakrishnan
3b3b510343
Check if we get IPv6 when enabling
2022-02-04 11:15:53 -08:00
Girish Ramakrishnan
5c56cdfbc7
Revert "tld.isValid is deprecated"
...
This reverts commit bd4097098d .
the published library does not have the function :/
2022-02-04 10:49:19 -08:00