Commit Graph

17 Commits

Author SHA1 Message Date
warren ca0757652e fix: seed api_keys on fresh install (X-API-Key auth) + momentry-proxy web-server plist + test.sh SPA auth model
- install.sh: seed api_keys row (key_hash = SHA-256 of demo key) — missing row
  caused 401 on every X-API-Key request after clean-install
- launchd/com.momentry.proxy.plist: serve via momentry-proxy binary
  (MOMENTRY_WEB_SERVER=true + TAURI_DIST_DIR) instead of serve_frontend.py
- test.sh: remote probes use X-API-Key (SPA auth model) instead of Bearer
  (proxy login returns UUID session token, core expects JWT/X-API-Key)
2026-11-09 05:03:27 +08:00
warren 86c97a3eb7 docs: DATA_MAPPING.md — 單一影片資料影響範圍對照表(上架/下架檢查清單) 2026-11-08 22:33:22 +08:00
warren 0fbc4518b0 fix: sample install/uninstall robustness
- install: TRUNCATE sample tables before COPY to avoid duplicate key on re-install
- uninstall: use single SQL session with temp table for reliable DELETE
  (previous version: multiple psql sessions lost temp table between calls)
- uninstall: monitor_jobs deleted via video_id JOIN videos (source schema
  lacked file_uuid column, so file_uuid was NULL in live DB)
- mktemp: macOS compatible template (/tmp/name.XXXXXX.sql)
- Full cycle verified: install → uninstall → install → uninstall → install
2026-11-08 22:25:45 +08:00
warren 1f3bc3b51b docs: sample README mentions .dmg mount workflow 2026-11-08 22:15:57 +08:00
warren 205566a0f0 feat: portable sample package (100 videos w/ deep scan); clean-install wipes ALL Qdrant collections + legacy storage dirs
- sample/: build_package.sh (pack from pre-clean backup), install_sample.sh (上架), uninstall_sample.sh (下架), README
- clean-install.sh: delete every collection via /collections API + rm legacy qdrant storage dirs (~/qdrant/storage/collections etc.)
2026-11-08 22:11:50 +08:00
warren c58a5c131c feat: test.sh remote+ssh modes; clean-install clears proxy SQLite (search history); install.sh applies canonical base schema (000_base) + pgvector 2026-11-08 21:47:25 +08:00
warren ef5f750838 fix: shell syntax errors and test.sh set -e issue 2026-11-08 21:23:32 +08:00
warren 4452b86134 fix: shell syntax error in for loop 2026-11-08 21:22:20 +08:00
warren 0a88c9ead3 fix: install.sh now starts all services with verification 2026-11-08 21:17:37 +08:00
warren 43bdf3e825 feat: add upgrade.sh and clean-install.sh for existing systems 2026-11-08 20:57:36 +08:00
warren d4b4dd3bf9 fix: add admin password workaround and known issues documentation 2026-11-08 18:33:21 +08:00
warren 4f8f1eb783 feat: add complete installer package 2026-11-08 18:20:35 +08:00
warren 043711eebb docs: add system architecture and serve_frontend.py analysis 2026-11-08 17:35:34 +08:00
warren 2467b1ebd3 docs: complete documentation index for Core API, WASM, CoreDoc, markbase 2026-11-08 17:26:33 +08:00
warren f578f2c0e0 feat: add sync/pull/push scripts for Caddyfile management 2026-11-08 17:08:15 +08:00
warren 3c33f79c9d feat: initial environment management
- caddy/m4mini.Caddyfile: Main reverse proxy config (all DDNS)
- machines/: Documentation for 3 machines
- env/: Environment variable templates
2026-11-08 17:07:26 +08:00
warren 6787d1465c Initial commit 2026-03-10 22:54:37 +08:00