Phase 0: Fundament für Inhaus
Some checks failed
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 1m14s
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 1m12s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 1m7s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 1m19s
CI / PHP 8.3 / mysql:8.0 (pull_request) Successful in 1m32s
CI / PHP 8.4 / mysql:8.0 (pull_request) Successful in 1m22s
CI / PHP 8.4 / mysql:8.4 (pull_request) Successful in 1m32s
CI / PHP 8.3 / mysql:8.4 (pull_request) Successful in 1m35s
CI / Build-Artefakte aktuell (pull_request) Failing after 1m7s

- Laravel 13 mit Filament 5 (Admin), Inertia 3 + Vue 3 + Vuetify 4 (Material 3)
- Anmeldung über Fortify (Login, Passwort vergessen/ändern), keine Selbstregistrierung
- Profil mit Profilbild (WebP in festen Größen), Personenseiten, Header mit Avatar-Menü
- Material-3-Farbschema aus der Primärfarbe, hell/dunkel/System pro Person
- Basis-Branding (Portalname, Logo, Primärfarbe) im Admin unter „Erscheinungsbild“
- Benutzerverwaltung im Admin, Zugang vorläufig über is_admin
- vendor/ (ohne Dev-Pakete) und Frontend-Build mitversioniert, Dev-Pakete in vendor-dev/
- PHPUnit-Tests gegen MySQL/MariaDB, Forgejo-CI-Matrix, Docker-Entwicklungsumgebung
- VERSION, CHANGELOG.md und CONTRIBUTING.md mit Release-Ablauf

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Friederich Loheide 2026-09-25 20:35:30 +00:00
parent 7197eaebf2
commit 9c0f8de791
15771 changed files with 1564103 additions and 5 deletions

View file

@ -0,0 +1,50 @@
<?php
namespace Tiptap\Extensions;
use Tiptap\Core\Extension;
use Tiptap\Utils\InlineStyle;
class Color extends Extension
{
public static $name = 'color';
public function addOptions()
{
return [
'types' => ['textStyle'],
];
}
public function addGlobalAttributes()
{
return [
[
'types' => $this->options['types'],
'attributes' => [
'color' => [
'default' => null,
'parseHTML' => function ($DOMNode) {
$attribute = InlineStyle::getAttribute($DOMNode, 'color');
if ($attribute === null) {
return null;
}
return preg_replace('/[\'"]+/', '', $attribute);
},
'renderHTML' => function ($attributes) {
$color = $attributes?->color ?? null;
if ($color === null) {
return null;
}
return ['style' => "color: {$color}"];
},
],
],
],
];
}
}

View file

@ -0,0 +1,50 @@
<?php
namespace Tiptap\Extensions;
use Tiptap\Core\Extension;
use Tiptap\Utils\InlineStyle;
class FontFamily extends Extension
{
public static $name = 'fontFamily';
public function addOptions()
{
return [
'types' => ['textStyle'],
];
}
public function addGlobalAttributes()
{
return [
[
'types' => $this->options['types'],
'attributes' => [
'fontFamily' => [
'default' => null,
'parseHTML' => function ($DOMNode) {
$attribute = InlineStyle::getAttribute($DOMNode, 'font-family');
if ($attribute === null) {
return null;
}
return $attribute;
},
'renderHTML' => function ($attributes) {
$fontFamily = $attributes?->fontFamily ?? null;
if ($fontFamily === null) {
return null;
}
return ['style' => "font-family: {$fontFamily}"];
},
],
],
],
];
}
}

View file

@ -0,0 +1,82 @@
<?php
namespace Tiptap\Extensions;
use Tiptap\Core\Extension;
class StarterKit extends Extension
{
public static $name = 'starterKit';
public function addOptions()
{
return [
'document' => [],
'blockquote' => [],
'bulletList' => [],
'codeBlock' => [],
'hardBreak' => [],
'heading' => [],
'horizontalRule' => [],
'listItem' => [],
'orderedList' => [],
'paragraph' => [],
'text' => [],
'bold' => [],
'code' => [],
'italic' => [],
'strike' => [],
];
}
public function addExtensions()
{
return array_filter([
$this->options['document'] !== false
? new \Tiptap\Nodes\Document($this->options['document'])
: null,
$this->options['blockquote'] !== false
? new \Tiptap\Nodes\Blockquote($this->options['blockquote'])
: null,
$this->options['bulletList'] !== false
? new \Tiptap\Nodes\BulletList($this->options['bulletList'])
: null,
$this->options['codeBlock'] !== false
? new \Tiptap\Nodes\CodeBlock($this->options['codeBlock'])
: null,
$this->options['hardBreak'] !== false
? new \Tiptap\Nodes\HardBreak($this->options['hardBreak'])
: null,
$this->options['heading'] !== false
? new \Tiptap\Nodes\Heading($this->options['heading'])
: null,
$this->options['horizontalRule'] !== false
? new \Tiptap\Nodes\HorizontalRule($this->options['horizontalRule'])
: null,
$this->options['listItem'] !== false
? new \Tiptap\Nodes\ListItem($this->options['listItem'])
: null,
$this->options['orderedList'] !== false
? new \Tiptap\Nodes\OrderedList($this->options['orderedList'])
: null,
$this->options['paragraph'] !== false
? new \Tiptap\Nodes\Paragraph($this->options['paragraph'])
: null,
$this->options['text'] !== false
? new \Tiptap\Nodes\Text($this->options['text'])
: null,
$this->options['bold'] !== false
? new \Tiptap\Marks\Bold($this->options['bold'])
: null,
$this->options['code'] !== false
? new \Tiptap\Marks\Code($this->options['code'])
: null,
$this->options['italic'] !== false
? new \Tiptap\Marks\Italic($this->options['italic'])
: null,
$this->options['strike'] !== false
? new \Tiptap\Marks\Strike($this->options['strike'])
: null,
]);
}
}

View file

@ -0,0 +1,43 @@
<?php
namespace Tiptap\Extensions;
use Tiptap\Core\Extension;
use Tiptap\Utils\InlineStyle;
class TextAlign extends Extension
{
public static $name = 'textAlign';
public function addOptions()
{
return [
'types' => [],
'alignments' => ['left', 'center', 'right', 'justify'],
'defaultAlignment' => 'left',
];
}
public function addGlobalAttributes()
{
return [
[
'types' => $this->options['types'],
'attributes' => [
'textAlign' => [
'default' => $this->options['defaultAlignment'],
'parseHTML' => fn ($DOMNode) =>
InlineStyle::getAttribute($DOMNode, 'text-align') ?? $this->options['defaultAlignment'],
'renderHTML' => function ($attributes) {
if ($attributes->textAlign === $this->options['defaultAlignment']) {
return null;
}
return ['style' => "text-align: {$attributes->textAlign}"];
},
],
],
],
];
}
}