zerobyte/app
Jakub Trávník 5a4f4641b4 feat: improve config import with result tracking and idempotent repository detection
- Add ImportResult type to track succeeded/warnings/errors counts across all import functions
- Implement multi-layer repository duplicate detection:
  - URL-based check (same path/bucket/endpoint already registered)
  - Restic repo check (path is already a restic repository)
  - Name-based fallback check
- Standardize logging between CLI and env var import methods with logImportSummary()
- CLI exits with code 1 when import has errors
- Remove shortId override for local repo migrations (use full path with isExistingRepository instead)
- Update example JSON and README:
  - Document that local repo path is optional (defaults to /var/lib/zerobyte/repositories)
  - Add existing-local-repo example with isExistingRepository: true
  - Add S3 endpoint field to example
  - Expand config behavior docs to explain all repository skip conditions
- Improve .gitignore to exclude all JSON except example template
2025-12-29 18:34:02 +01:00
..
client feat: add support for SFTP volume backend (#249) 2025-12-28 18:30:49 +01:00
drizzle refactor: tag snapshots with schedule short_id instead of db id (#248) 2025-12-28 11:42:25 +01:00
middleware refactor: unify backend and frontend servers (#3) 2025-11-13 20:11:46 +01:00
schemas feat: add support for SFTP volume backend (#249) 2025-12-28 18:30:49 +01:00
server feat: improve config import with result tracking and idempotent repository detection 2025-12-29 18:34:02 +01:00
test refactor: tag snapshots with schedule short_id instead of db id (#248) 2025-12-28 11:42:25 +01:00
utils feat(schedule-form): allow custom cron expression (#214) 2025-12-22 20:51:46 +01:00
app.css secret reference core support 2025-12-15 10:48:35 +01:00
context.ts refactor: unify backend and frontend servers (#3) 2025-11-13 20:11:46 +01:00
root.tsx refactor: rebrand to zerobyte (#45) 2025-11-20 18:59:57 +01:00
routes.ts fix: allow arbitrary name for repositories and correctly import existing local repos (#197) 2025-12-22 20:52:26 +01:00