mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-06-21 14:21:46 +00:00
817b9a5357
Replace the single combined-FormData POST (which timed out at 8 s on slow connections) with a concurrent per-file upload queue: each file is uploaded individually with timeout disabled, up to 2 retries with backoff (4xx errors are not retried), and a stable idempotency key per file so server-side dedup prevents duplicates on retry. Partial success is preserved — succeeded photos merge into state immediately; failed files stay queued for re-save. Progress is surfaced as "Uploading n/N" in both the entry editor and gallery upload button. Adds translations for two new keys across all 15 locales. Closes #1013