Commit Graph

15244 Commits

Author SHA1 Message Date
Girish Ramakrishnan eb3e87c340 add debug 2022-02-17 11:08:22 -08:00
Johannes Zellner 5e76a8ea7b Show ipv6 detection errors 2022-02-17 18:11:22 +01:00
Johannes Zellner 292034c0e2 If domain does not exist, go back to domain selection 2022-02-17 17:54:44 +01:00
Johannes Zellner 9481eccfb0 Make email import dialog translatable 2022-02-17 15:52:15 +01:00
Girish Ramakrishnan 9d8f21f78d mailboxes: be explicit about what is exported 2022-02-16 23:10:10 -08:00
Girish Ramakrishnan 9567efeb45 set jitsi in wellknown if matrix hostname is not set 2022-02-16 22:04:08 -08:00
Girish Ramakrishnan d7cb909600 also export fallback email and role 2022-02-16 21:23:01 -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 40e84265e7 Fix doc link 2022-02-16 21:14:58 -08:00
Girish Ramakrishnan 9665d1de3a user: fix export where csv does not active field 2022-02-16 21:14:58 -08:00
Girish Ramakrishnan 5db0ace3ed Remove superfluous call when listing users 2022-02-16 21:14:55 -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 436a5d726b backups: send chown flag for mountpoint 2022-02-16 12:03:40 -08:00
Girish Ramakrishnan 2ed770affd mountpoint: allow chown flag to be set 2022-02-16 11:48:37 -08:00
Girish Ramakrishnan 0dd97a0dc0 name and avatar return 200 2022-02-16 10:22:35 -08:00
Girish Ramakrishnan 9d2d5d16f3 return 200 for immediate setters which require no further processing 2022-02-16 10:09:23 -08:00
Johannes Zellner d08fb224ba use class name pattern for status leds 2022-02-16 18:52:34 +01:00
Johannes Zellner 6351e0c3fb Apply same status led indicator for mailbox sharing 2022-02-16 18:48:22 +01:00
Johannes Zellner a8de1ca37b Update translations 2022-02-16 16:31:33 +01:00
Johannes Zellner 42501fa364 Introduce css classes for status LEDs 2022-02-16 16:31:22 +01:00
Girish Ramakrishnan 9dbb299bb9 user directory: listen on ipv4 and ipv6 2022-02-15 14:27:51 -08:00
Girish Ramakrishnan 0d6c2dc1cf add ipv6 configure form 2022-02-15 13:28:46 -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 41099c1131 Fix ipv4 and ipv6 routes 2022-02-15 12:51:06 -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 7af69e080f network: hide IPv6 field as needed 2022-02-15 12:08:57 -08:00
Girish Ramakrishnan 1c32495f22 Show IPv6 address separately 2022-02-15 12:08:57 -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 d51d81cdfa Sort languages according to localeCompare() 2022-02-15 17:31:32 +01:00
Johannes Zellner aa17196120 Better integrate the app grid item action button 2022-02-15 15:26:03 +01:00
Johannes Zellner 262e06dc15 Do not overwrite the language set in localstorage 2022-02-14 18:16:50 +01:00
Johannes Zellner 9a148ab7f8 Fetch 5k users at once 2022-02-14 17:34:36 +01:00
Johannes Zellner 2ec4ad934d Add an explicit Client.getAllUsers function 2022-02-14 14:55:04 +01:00
Johannes Zellner ac57e433b1 Improve errorhandling in netcup dns 2022-02-14 10:57:06 +01:00
Johannes Zellner b4bbdda730 Fix user export based on client.js api change 2022-02-12 19:47:00 +01:00
Girish Ramakrishnan de84cbc977 add note on turn container host mode 2022-02-11 23:08:56 -08:00
Girish Ramakrishnan d6d7bc93e8 firewall: add ipxtables helper 2022-02-11 22:56:23 -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
Johannes Zellner d0002eb7ca Fix bug when location is set without error 2022-02-10 15:41:41 +01: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