- validate all file-upload via clamdscan (clamav), throw ValidationException in case of an error

- add @types/clamscan and clamscan for node
- package clamav-daemon and clamav-frehshclam for docker
- add API Controller: HomeController.ts for /api/years and /api/sitelinks/{year}
 change root path of file storage from '/storage/app/public/files' to '/storage/app/public'
 - adapt dockerfile to use node:18-bookworm-slim
This commit is contained in:
Kaimbacher 2023-09-04 13:24:58 +02:00
parent 5f8fe1c16d
commit b6b1c90ff8
20 changed files with 941 additions and 278 deletions

View file

@ -31,6 +31,7 @@
"@mdi/js": "^7.1.96",
"@symfony/webpack-encore": "^4.2.0",
"@tailwindcss/forms": "^0.5.2",
"@types/clamscan": "^2.0.4",
"@types/leaflet": "^1.9.3",
"@types/node": "^20.1.1",
"@types/proxy-addr": "^2.0.0",
@ -76,6 +77,7 @@
"@inertiajs/inertia": "^0.11.1",
"@inertiajs/vue3": "^1.0.0",
"bcryptjs": "^2.4.3",
"clamscan": "^2.1.2",
"crypto": "^1.0.1",
"dayjs": "^1.11.7",
"http-status-codes": "^2.2.0",