Commit Graph
4 Commits
Author SHA1 Message Date
hanyixuanten 339e5b5639 feat: sync security & SEO hardening from 2910 (keep placeholders) 2026-10-26 14:43:18 +08:00
hanyixuanten 4b489a3ebb feat(api): auto-create and migrate messages table on first request
ensureSchema runs idempotent CREATE TABLE / ALTER TABLE (skipping
duplicate-column errors), cached once per isolate with retry on failure;
schema.sql becomes reference-only documentation
2026-10-25 12:15:52 +00:00
hanyixuanten ca422df0c3 feat(api): record submitter IP/UA for messages and submissions
- messages: store ua/country alongside ip (audit only, not returned by GET);
  full schema now documented in schema.sql
- submit: append IP/UA/country/time to PR body in a collapsed section;
  never written into committed files
2026-10-25 12:13:11 +00:00
hanyixuanten 92fa0f8f37 feat: initial class history template 2026-10-25 11:23:17 +00:00