Behebe Player, Download-Namen und ergänze Profil, Fußzeile und Lizenzhinweis
CI Feature / test (push) Successful in 2m45s
Deploy Test / test (push) Successful in 2m57s
Deploy Test / deploy (push) Successful in 30s

- app.js: Der Anfangsscan übergab das Dokument, das kein Element ist; HLS-Filme im Quelltext wurden nie angebunden.
  Vollbild findet sein Video auch neben dem Player.
- Download und Ansicht heißen nach dem Anzeigetitel statt „laden.mp4“.
- Mitgliederprofil: Name, E-Mail mit Bestätigung der neuen Adresse, Passwort, Rechnungsadresse (ADR-46).
- Kleine Fußzeile mit Rechtlichem aus der CMS-Navigation.
- Lizenzdetail nennt, dass Einzel-/Mehrfachlizenz nicht festgelegt ist (Funktion gibt es noch nicht).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
LarsandClaude Sonnet 5.5 committed 2026-11-22 18:38:59 +01:00
1 parent 433f9aee61
commit e7efb073da
20 files changed
+879 -49

No files matched your search

@@ -0,0 +1,36 @@
<?php
namespace App\Notifications;
use App\Http\SignedLink;
use Illuminate\Notifications\Messages\MailMessage;
use Illuminate\Notifications\Notification;
use Illuminate\Support\Carbon;
/**
* Bestätigungslink an die NEUE Adresse. Erst der Klick darauf tauscht die Adresse des Kontos aus.
*/
class ConfirmNewEmailAddress extends Notification
{
public function __construct(private readonly int $userId, private readonly string $newEmail) {}
/** @return list<string> */
public function via(mixed $notifiable): array
{
return ['mail'];
}
public function toMail(mixed $notifiable): MailMessage
{
$url = SignedLink::temporary('member.profile.email.confirm', Carbon::now()->addMinutes(60), [
'id' => $this->userId,
'hash' => sha1($this->newEmail),
]);
return (new MailMessage)
->subject('Neue E-Mail-Adresse bestätigen')
->line('Du hast gebeten, die E-Mail-Adresse deines Kontos bei Lara & Felix zu ändern. Bestätige mit dem Knopf, dass diese Adresse dir gehört.')
->action('Adresse bestätigen', $url)
->line('Der Link gilt 60 Minuten. Wenn du das nicht angefordert hast, ignoriere diese Nachricht; es ändert sich nichts.');
}
}
@@ -0,0 +1,28 @@
<?php
namespace App\Notifications;
use Illuminate\Notifications\Messages\MailMessage;
use Illuminate\Notifications\Notification;
/**
* Hinweis an die bisherige Adresse, dass eine Änderung beantragt wurde (Schutz vor Kontoübernahme).
*/
class EmailChangeRequested extends Notification
{
public function __construct(private readonly string $newEmail) {}
/** @return list<string> */
public function via(mixed $notifiable): array
{
return ['mail'];
}
public function toMail(mixed $notifiable): MailMessage
{
return (new MailMessage)
->subject('Änderung deiner E-Mail-Adresse beantragt')
->line('Für dein Konto bei Lara & Felix wurde beantragt, die E-Mail-Adresse auf '.$this->newEmail.' zu ändern.')
->line('Die Adresse wechselt erst, wenn die neue Adresse bestätigt wird. Warst du das nicht, ändere bitte dein Passwort und melde dich bei uns.');
}
}