diff --git a/.changes/unreadable-subscription-and-server-limit-banners.md b/.changes/unreadable-subscription-and-server-limit-banners.md new file mode 100644 index 0000000000..75f6acfd30 --- /dev/null +++ b/.changes/unreadable-subscription-and-server-limit-banners.md @@ -0,0 +1,6 @@ +--- +type: fixed +--- +Unreadable subscription and server limit banners in light mode ([#12494](https://github.com/coollabsio/coolify/issues/12494)) + +- The banners now use a light background with dark text in light mode diff --git a/AGENTS.md b/AGENTS.md index ffd5c9c65a..28e77cd854 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -197,7 +197,7 @@ Before you rate a vulnerability or write an advisory, find the security boundary - If a path is reachable by a member only because of a different missing authorization check, report that check as the main issue, with high severity. Rate each injection behind it by the role it needs when the check works. - Always fix low-severity findings (escape shell arguments, validate input, confine paths) when you find them. Do not dismiss them because the attacker is an admin. - Do not put exploit details, payloads, or unreleased advisory IDs in commits, PR descriptions, code comments, or this file. -- To reply on a security advisory, add a comment. Do not edit the advisory description. Comments API (public preview): `gh api repos/coollabsio/coolify/security-advisories//comments` lists comments, and `gh api -X POST repos/coollabsio/coolify/security-advisories//comments -F body=@comment.md` adds one. The API cannot delete comments. +- To reply on a security advisory, add a comment. Do not edit the advisory description. Comments API (public preview): `gh api repos/coollabsio/coolify/security-advisories//comments` lists comments, and `gh api -X POST repos/coollabsio/coolify/security-advisories//comments -F body=@comment.md` adds one. The API cannot delete comments. `gh api -X PATCH repos/coollabsio/coolify/security-advisories//comments/ -F body=@comment.md` edits one. Advisory comments do not link bare commit SHAs: write `[](https://github.com/coollabsio/coolify/commit/)`. ### Event Broadcasting - Laravel Reverb WebSocket server for real-time updates (port 6001) and a Node terminal WebSocket server (port 6002), both run inside the `coolify` container as s6 services diff --git a/resources/views/components/banner.blade.php b/resources/views/components/banner.blade.php index 795c15f2bc..76a856a22d 100644 --- a/resources/views/components/banner.blade.php +++ b/resources/views/components/banner.blade.php @@ -6,12 +6,12 @@ x-transition:enter-start="-translate-y-10" x-transition:enter-end="translate-y-0" x-transition:leave="transition ease-in duration-100" x-transition:leave-start="translate-y-0" x-transition:leave-end="-translate-y-10" x-init="setTimeout(() => { bannerVisible = true }, bannerVisibleAfter);" - class="relative z-999 w-full py-2 mx-auto duration-100 ease-out shadow-xs bg-coolgray-100 sm:py-0 sm:h-14" x-cloak> + class="relative z-999 w-full py-2 mx-auto duration-100 ease-out shadow-xs border-b border-neutral-200 bg-white text-neutral-700 dark:border-white/[0.06] dark:bg-coolgray-100 dark:text-neutral-200 sm:py-0 sm:h-14" x-cloak>
{{ $slot }} @if ($closable)
@@ -220,11 +220,11 @@ @endif @if (currentTeam()->subscriptionPastOverDue()) -
WARNING: Your subscription is in over-due. If your +
WARNING: Your subscription is in over-due. If your latest - payment is not paid within a week, all automations will + payment is not paid within a week, all automations will be deactivated. Visit /subscription to check your subscription status or pay + class="underline font-medium text-black dark:text-white">/subscription to check your subscription status or pay your invoice (or check your email for the invoice).
@@ -232,10 +232,10 @@ @endif @if (currentTeam()->serverOverflow()) -
WARNING: The number of active servers exceeds the limit - covered by your payment. If not resolved, some of your servers will +
WARNING: The number of active servers exceeds the limit + covered by your payment. If not resolved, some of your servers will be deactivated. Visit /subscription to update your subscription or remove some + class="underline font-medium text-black dark:text-white">/subscription to update your subscription or remove some servers.