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

+7 -2
View File
@@ -1,6 +1,8 @@
<?php
use App\Models\Team;
use Stripe\BillingPortal\Session;
use Stripe\Customer;
use Stripe\Stripe;
function isSubscriptionActive()
@@ -65,7 +67,7 @@ function getStripeCustomerPortalSession(Team $team)
return null;
}
return \Stripe\BillingPortal\Session::create([
return Session::create([
'customer' => $stripe_customer_id,
'return_url' => $return_url,
]);
@@ -80,6 +82,9 @@ function allowedPathsForUnsubscribedAccounts()
'two-factor-challenge',
'livewire/update',
'admin',
// Account basics stay available without a paid plan.
'profile',
'profile/appearance',
];
}
function allowedPathsForBoardingAccounts()
@@ -114,7 +119,7 @@ function updateStripeCustomerEmail(Team $team, string $newEmail): void
Stripe::setApiKey(config('subscription.stripe_api_key'));
\Stripe\Customer::update(
Customer::update(
$stripe_customer_id,
['email' => $newEmail]
);