arnaudne 01ccae5951 Add factory reset, safe catalog rebuild, and DB hardening
- Factory reset endpoint clears computed tables (catalog, nightly_cache,
  tonight, weather_cache), VACUUMs the DB, then rebuilds in background.
  Preserves all user data (imaging_log, gallery, phd2_logs, horizon).
- Catalog rebuild now fetches data BEFORE touching the DB — network
  failures no longer leave the catalog empty. DELETE + INSERT wrapped
  in a single transaction via replace_catalog() so a mid-write failure
  rolls back and old data is preserved.
- Added nightly_cache indexes and bumped pool to 10 connections with
  30s acquire timeout to prevent exhaustion during rebuilds.
- Settings page: factory reset button with inline confirmation dialog.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-17 11:19:55 +02:00
2026-04-10 00:20:32 +02:00
2026-04-10 00:20:32 +02:00
2026-04-10 23:33:09 +02:00
2026-04-10 23:33:09 +02:00
2026-04-10 23:33:09 +02:00
2026-04-10 23:33:09 +02:00
S
Description
No description provided
128 MiB
Languages
Rust 51%
TypeScript 47.7%
CSS 1.1%
Dockerfile 0.1%
HTML 0.1%