zhangtuo
|
9cdff18336
|
Refactor Phase 2: Split stories.py into Schema/Service/Controller, add missing endpoints, fix async bug
|
2026-02-10 17:14:54 +08:00 |
|
zhangtuo
|
c351d16d3e
|
feat: migrate rate limiting to Redis distributed backend
- Add app/core/rate_limiter.py with Redis fixed-window counter + in-memory fallback
- Migrate stories.py from TTLCache to Redis-backed check_rate_limit
- Migrate admin_auth.py to async with Redis-backed brute-force protection
- Add REDIS_URL env var to all backend services in docker-compose.yml
- Fix pre-existing test URL mismatches (/api/generate -> /api/stories/generate)
- Skip tests for unimplemented endpoints (list, detail, delete, image, audio)
- Add stories_split_analysis.md for Phase 2 preparation
|
2026-02-10 16:13:40 +08:00 |
|
zhangtuo
|
f6c03fc542
|
docs: add code architecture refactoring PRD
|
2026-01-21 11:34:39 +08:00 |
|
zhangtuo
|
e6732827fa
|
chore: ignore Claude Code local settings
|
2026-01-20 18:31:52 +08:00 |
|
zhangtuo
|
e9d7f8832a
|
Initial commit: clean project structure
- Backend: FastAPI + SQLAlchemy + Celery (Python 3.11+)
- Frontend: Vue 3 + TypeScript + Pinia + Tailwind
- Admin Frontend: separate Vue 3 app for management
- Docker Compose: 9 services orchestration
- Specs: design prototypes, memory system PRD, product roadmap
Cleanup performed:
- Removed temporary debug scripts from backend root
- Removed deprecated admin_app.py (embedded UI)
- Removed duplicate docs from admin-frontend
- Updated .gitignore for Vite cache and egg-info
|
2026-01-20 18:20:03 +08:00 |
|