Commit Graph

7 Commits

Author SHA1 Message Date
5472649e89 Update Gitea URL to https://git.ityb.me
- DESIGN.md: update Gitea URL in online addresses table
- OPS_MANUAL.md: update all Gitea references, add gitea.conf section,
  update service architecture diagram

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-20 15:06:37 +08:00
a838fcc7a8 Replace crypto.randomUUID with fallback for HTTP contexts
crypto.randomUUID() requires secure context (HTTPS).
Use Date.now + Math.random fallback for session ID generation.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-08 10:12:18 +08:00
e041c6d9e8 Fix chat.js BASE_PATH conflict: remove declaration entirely
var hoisting still conflicts with const from main.js.
chat.js now relies on BASE_PATH declared in main.js.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-08 10:09:05 +08:00
7344f3c9ce Fix duplicate const BASE_PATH declaration in chat.js
main.js and chat.js both declared const BASE_PATH at top level.
When both load on index.html, the second const throws SyntaxError,
preventing chat.js from executing (chat FAB button unresponsive).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-08 09:57:36 +08:00
2c1688b4bb Update DESIGN.md and OPS_MANUAL.md for domain and subpath deployment
- Add www.ityb.me domain info and /careerbot subpath architecture docs
- Document BASE_PATH routing prefix mechanism in DESIGN.md
- Update all URLs from IP to domain in OPS_MANUAL.md
- Update Nginx config section to reflect subpath proxy
- Update new project deployment guide with subpath pattern

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-07 22:13:31 +08:00
501f8985ec Add /careerbot base path for www.ityb.me/careerbot deployment
- Add BASE_PATH config, include all routers with prefix
- Inject {{ base }} Jinja2 global for all template URLs
- Add window.BASE_PATH for static JS files
- Update Nginx to proxy /careerbot/ path
- Add OPS_MANUAL.md

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-07 22:07:34 +08:00
96997daed0 Initial commit: CareerBot full-stack career showcase with AI chatbot
- FastAPI backend with SQLAlchemy ORM and SQLite
- AI chatbot with OpenAI-compatible LLM integration (SSE streaming)
- Admin panel for content management, LLM config, token management
- Anonymous access with 3-question limit, token-based access control
- Recruiter intent detection with admin notification
- Resume generator (JD-based, Markdown to Word export)
- Chinese localized public interface

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-07 20:36:38 +08:00