feat(ui): Shadow UI redesign, domain management, and DNS autoconfigure (#11119)

Co-authored-by: ShadowArcanist <162910371+ShadowArcanist@users.noreply.github.com>
This commit is contained in:
Andras BacsaiandShadowArcanist authored and GitHub committed 2026-08-03 23:11:54 +02:00
1 parent 0b843bb07c
commit 8ae56587d5
497 files changed
+44045 -22630

No files matched your search

+15
View File
@@ -5,6 +5,21 @@ use App\Models\Service;
use App\Models\ServiceApplication;
use Illuminate\Support\Collection;
/**
* Count domains in a comma-separated FQDN string (e.g. "https://a.com,https://b.com").
*/
function countDomains(?string $fqdn): int
{
if (! filled($fqdn)) {
return 0;
}
return collect(explode(',', $fqdn))
->map(fn ($d) => trim($d))
->filter()
->count();
}
function isValidDomainUrl(string $url): bool
{
$components = parse_url($url);