wip: article AI polish, category SEO fields, cover generator, membership plan seeder
CI / PHPUnit (PHP 8.3) (push) Failing after 4s
CI / PHPUnit (PHP 8.2) (push) Failing after 1m9s
CI / Deploy (manual gate) (push) Skipped

This commit is contained in:
2026-09-07 18:48:37 +00:00
parent 263b98b218
commit 3cec4c5e18
121 changed files with 4701 additions and 313 deletions
+14
View File
@@ -66,4 +66,18 @@ class Comment extends Model
{
return $this->moderation_status === self::STATUS_APPROVED;
}
public function websiteHref(): ?string
{
$url = trim((string) $this->url);
if ($url === '') {
return null;
}
if (! preg_match('#^https?://#i', $url)) {
return null;
}
return $url;
}
}