simple-web-file-upload/src
Stefan Hacker 82782c4f92 Add auto-refresh on the customer page and harden the new poll endpoints
The upload page now polls /info and /files every 20s while visible:
new uploads (also via WebDAV), expiry changes and link deactivation
appear without a manual reload. A pollBusy flag prevents overlapping
fetches on slow connections, and visibilitychange stops the timer in
backgrounded tabs. /info and /files get Cache-Control: no-store so the
browser cannot serve stale state, plus a 60/min/IP customerPollLimiter
to cap abuse from leaked tokens.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-16 15:36:07 +02:00
..
auth.js Harden security, polish admin UI and document Windows WebDAV 2026-04-16 12:53:13 +02:00
db.js Add email notifications, SMTP settings and customer archive lifecycle 2026-04-16 12:00:06 +02:00
janitor.js Add file upload portal with per-customer links and WebDAV admin access 2026-04-16 11:00:51 +02:00
mailer.js Add email notifications, SMTP settings and customer archive lifecycle 2026-04-16 12:00:06 +02:00
server.js Add auto-refresh on the customer page and harden the new poll endpoints 2026-04-16 15:36:07 +02:00
settings.js Add file upload portal with per-customer links and WebDAV admin access 2026-04-16 11:00:51 +02:00
upload-notifier.js Make customer upload-confirmation email opt-out via settings 2026-04-16 13:52:39 +02:00
webdav-config.js Add file upload portal with per-customer links and WebDAV admin access 2026-04-16 11:00:51 +02:00