pdf-quiz-generator/frontend
Daniel 7f1f14537b Security: fix SQL injection, add rate limiting, markdown in TeachChat
- teach.py, questions.py: replace f-string SQL with parameterized CAST(:vec AS vector) queries
- auth.py: add reusable check_rate_limit() Redis helper
- teach.py: rate limit /chat to 30 req/10min per user
- tts.py: rate limit /speak to 60 req/hr per user
- teach.py: stronger system prompt — no clarifying questions, use markdown, answer directly
- TeachChat.jsx: render assistant messages with ReactMarkdown (already in package.json)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-04 00:45:28 +02:00
..
src Security: fix SQL injection, add rate limiting, markdown in TeachChat 2026-04-04 00:45:28 +02:00
.dockerignore Initial commit: PDF Quiz Generator app 2026-03-30 20:04:53 +00:00
Dockerfile Initial commit: PDF Quiz Generator app 2026-03-30 20:04:53 +00:00
index.html Better fonts, hamburger mobile nav, jobs indicator, warm theme refinement 2026-04-01 02:14:18 +02:00
nginx.conf TeachChat: model selector, proxy routing fix, titan seed cleanup 2026-04-04 00:37:35 +02:00
package-lock.json Security: fix SQL injection, add rate limiting, markdown in TeachChat 2026-04-04 00:45:28 +02:00
package.json Security: fix SQL injection, add rate limiting, markdown in TeachChat 2026-04-04 00:45:28 +02:00
vite.config.js Initial commit: PDF Quiz Generator app 2026-03-30 20:04:53 +00:00