- Served the guest PWA at /g/{token} and introduced a mobile-friendly gallery page with lazy-loaded thumbnails, themed colors, lightbox, and download links plus new gallery data client (resources/js/guest/pages/PublicGalleryPage.tsx:1, resources/js/guest/services/galleryApi.ts:1, resources/js/guest/router.tsx:1). Added i18n strings for the public gallery experience (resources/js/guest/i18n/messages.ts:1).
- Ensured checkout step changes snap back to the progress bar on mobile via smooth scroll anchoring (resources/ js/pages/marketing/checkout/CheckoutWizard.tsx:1).
- Enabled tenant admins to export all approved event photos through a new download action that streams a ZIP archive, with translations and routing in place (app/Http/Controllers/Tenant/EventPhotoArchiveController.php:1, app/Filament/Resources/EventResource.php:1, routes/web.php:1, resources/lang/de/admin.php:1, resources/lang/en/admin.php:1).
28 lines
710 B
Bash
28 lines
710 B
Bash
#!/usr/bin/env bash
|
|
|
|
# Generic queue worker entrypoint for Docker containers.
|
|
# Usage: queue-worker.sh [queue-name(s)]
|
|
# Example: queue-worker.sh default
|
|
# queue-worker.sh default,media-storage
|
|
|
|
set -euo pipefail
|
|
|
|
cd "${APP_PATH:-/var/www/html}"
|
|
|
|
CONNECTION="${QUEUE_CONNECTION:-redis}"
|
|
QUEUES="${1:-default}"
|
|
SLEEP="${QUEUE_SLEEP:-3}"
|
|
TRIES="${QUEUE_TRIES:-3}"
|
|
TIMEOUT="${QUEUE_TIMEOUT:-60}"
|
|
MAX_TIME="${QUEUE_MAX_TIME:-0}"
|
|
|
|
ARGS=("$CONNECTION" "--queue=${QUEUES}" "--sleep=${SLEEP}" "--tries=${TRIES}" "--timeout=${TIMEOUT}")
|
|
|
|
if [[ "${MAX_TIME}" != "0" ]]; then
|
|
ARGS+=("--max-time=${MAX_TIME}")
|
|
fi
|
|
|
|
echo "[queue-worker] Starting queue:work ${ARGS[*]}"
|
|
exec php artisan queue:work "${ARGS[@]}"
|
|
|