13 Commits

Author SHA1 Message Date
renjue
888936d6b8 Avoid automatic HDHive unlock on detail page visits.
Keep resource listing read-only on media detail requests and defer unlock calls to explicit user ingest actions, while retaining cached fallback behavior for upstream rate limits.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-09 17:58:03 +08:00
renjue
9368b5d80c Fix HDHive response unwrapping for resources and unlock data.
Parse nested openapi envelopes from HDHive search/unlock endpoints so resource lists and links are extracted from inner data instead of incorrectly falling back to empty arrays.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-09 17:49:35 +08:00
renjue
91a37b2f18 Fail fast when HDHive API returns business errors.
Treat success=false responses from HDHive search/unlock endpoints as explicit service errors so missing API keys or auth issues are surfaced instead of silently returning empty resources.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-09 17:44:43 +08:00
renjue
e6407094bd Improve media detail UX and preserve search context.
Render structured media details instead of raw JSON, keep search state when navigating back from detail, and surface HDHive link validation and fallback resource-page links for clearer troubleshooting.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-09 17:37:48 +08:00
renjue
15a9ae0798 Update frontend host and backend domain defaults for deployment.
Allow preview host mc.rc707blog.top and switch default backend base URL to https://mcbc.rc707blog.top to match domain-based runtime access.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-09 17:29:37 +08:00
renjue
21c5bd9edd Switch frontend package sources to npm official registry.
Replace artifactory URLs in lockfile and update runtime/default docs to use https://registry.npmjs.org for dependency installs.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-09 17:23:27 +08:00
renjue
25e3a1e294 Add monitored npm install with timeout and fallback registry.
Improve container startup by printing periodic install heartbeat logs, enforcing npm install timeout, and retrying with a fallback registry to avoid silent hangs.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-09 17:15:24 +08:00
renjue
78a4932526 Improve Docker startup npm install speed and observability.
Use configurable npm mirror with npm ci --no-audit --no-fund and add startup logs plus README docs for NPM_REGISTRY.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-09 17:00:56 +08:00
renjue
ddbd79b951 Fix Docker startup install for externally managed Python environment.
Install python3-venv and move backend dependency installation/runtime to a dedicated venv to avoid PEP 668 pip errors inside Debian-based container.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-09 16:43:11 +08:00
renjue
3ed3d34900 Speed up Docker apt install with configurable mirror.
Add APT_MIRROR build arg to switch Debian source before apt-get update, and document faster build command using BuildKit and host network.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-09 16:32:11 +08:00
renjue
7e3f4d792f Update Docker runtime to pull latest code on startup.
Install git in image and change start script to clone/pull target branch, reinstall dependencies, rebuild frontend, then launch backend and frontend services.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-09 16:19:18 +08:00
renjue
82581d2949 Implement full media crawler workflow with Flask backend and Vue frontend.
Add TMDB search and media detail pages, HDHive resource ingestion flow, unified error handling, Docker single-container runtime, and project docs/config updates for local deployment.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-09 16:16:18 +08:00
d3550bf79b Initial commit 2026-05-09 07:06:16 +00:00