im profil kann ein nutzer nun seine daten exportieren. man kann seinen account löschen. nach 2 jahren werden inaktive accounts gelöscht, 1 monat vorher wird eine email geschickt. Hilfetexte und Legal Pages in der Guest PWA korrigiert und vom layout her optimiert (dark mode).

This commit is contained in:
Codex Agent
2025-11-10 19:55:46 +01:00
parent 447a90a742
commit 2587b2049d
37 changed files with 1650 additions and 50 deletions

View File

@@ -0,0 +1,32 @@
#!/usr/bin/env bash
# Checkout reminder cron job
# Run hourly to send abandoned checkout reminders
set -euo pipefail
APP_DIR="$(cd "$(dirname "$0")/.." && pwd)"
cd "$APP_DIR"
LOG_DIR="$APP_DIR/storage/logs"
mkdir -p "$LOG_DIR"
LOG_FILE="$LOG_DIR/cron-checkout-reminders.log"
LOCK_FILE="$LOG_DIR/checkout_reminders.lock"
exec 204>"$LOCK_FILE"
if ! flock -n 204; then
exit 0
fi
timestamp() {
date --iso-8601=seconds
}
echo "[$(timestamp)] Running checkout:send-reminders" >> "$LOG_FILE"
if /usr/bin/env php artisan checkout:send-reminders --no-interaction --quiet >> "$LOG_FILE" 2>&1; then
echo "[$(timestamp)] checkout:send-reminders completed" >> "$LOG_FILE"
else
status=$?
echo "[$(timestamp)] checkout:send-reminders failed (exit $status)" >> "$LOG_FILE"
exit $status
fi