20 Commits

Author SHA1 Message Date
0553d4ef74 ++ fix temporary PDF viewer URLs, which were causing issues with caching and expiring links. Instead, we now generate short-lived URLs that redirect to the PDF viewer route, ensuring that users can access the PDFs without running into expired links. This change affects the Assegnazione model, the ShortPdfLinkController, and the relevant Blade views for assignments and records. Additionally, I've updated the Home Livewire component to calculate and display the average duration of assignments in months, providing more insight into assignment durations on the dashboard. 2026-04-13 15:05:37 +00:00
465e7cf092 ++ add Gestione dietro reverse proxy 2026-04-13 12:30:33 +00:00
6f8010514d ++ fix: Rientro assegnazione e territorio 2026-04-08 11:55:14 +00:00
777f239c7a +++fix: add thumbnail support for territori 2026-04-08 09:32:07 +00:00
be1ac25047 ++ fix: update .env.example and .gitignore, add CreateInitialAdmin command, add UsersIndex Livewire component, update entrypoint.sh, update app layout, add users-index blade view, update web routes 2026-04-07 14:57:54 +00:00
b07e802f78 ++ fix 2026-04-07 14:33:22 +00:00
1010246104 ++ fix: update .env.example and README.md, add CreateInitialAdmin command, update docker-compose.yml and entrypoint.sh, remove old CSS file and update manifest.json 2026-04-07 14:10:52 +00:00
80318d33b4 Refactor: remove setup wizard and related middleware, update settings management 2026-04-07 13:40:08 +00:00
1606778518 ++ fix 2026-04-05 20:14:30 +00:00
22ac0aa781 +++ fix 2026-04-05 19:52:41 +00:00
root
a5f7caf2ed Fix: chown storage and bootstrap/cache to www-data for php-fpm 2026-04-05 20:30:23 +02:00
root
bd145607b0 Auto-persist APP_KEY in storage volume across redeploys
- Key saved to storage/app/.app_key (persistent volume)
- On redeploy: restored automatically from volume
- On first deploy: generated and saved
- No manual Dokploy env var needed
2026-04-05 20:28:31 +02:00
root
086cce4617 Fix: create .env before composer install (artisan needs it for post-scripts) 2026-04-05 20:27:16 +02:00
root
1632b568af Restructure Docker for Dokploy deployment
- Copy app code into PHP image, sync to shared volume at startup
- Use named volume (app_code) shared between app and nginx
- Build nginx image with embedded config (no bind mounts)
- Add .dockerignore to optimize image build
- Build context moved to project root for both services
2026-04-05 20:09:12 +02:00
root
3abde23629 Fix: create bootstrap/cache and storage dirs before composer/artisan 2026-04-05 20:04:17 +02:00
root
4f197a5ecb Fix: persist APP_KEY across redeploys via Docker env vars
- Entrypoint now overrides .env with Docker environment variables
- Supports all key vars: APP_KEY, APP_URL, DB_*, REDIS_*
- Warns to save APP_KEY in Dokploy if auto-generated
- Fixes DecryptException on proclamatori encrypted fields
2026-04-05 20:02:07 +02:00
root
16616adcfd Remove user/permission management for Dokploy deployment
- Dockerfile: remove appuser creation, run everything as root
- www.conf: switch php-fpm workers to www-data
- entrypoint.sh: remove all chown and git safe.directory workarounds
- docker-compose.yml: remove USER_ID/GROUP_ID build args
- .env.example: remove USER_ID/GROUP_ID variables
2026-04-05 19:54:12 +02:00
root
d38d8b7896 Add Docker entrypoint and cleanup gitignore
- Add entrypoint.sh for automated app initialization (composer, npm, migrations, cache)
- Update Dockerfile: run entrypoint as root, php-fpm workers still run as appuser
- Update .gitignore: exclude storage/logs, storage/framework, bootstrap/cache, public/build
- Remove generated/cached files from git tracking
2026-04-05 19:50:55 +02:00
Francesco Picone
50f28292ef Primo commit 2026-04-05 19:30:47 +02:00
Francesco Picone
701f479b7f Primo commit 2026-04-05 19:26:04 +02:00