chore: add docker infrastructure, gists feature, attachment system, and admin CLI tools

- Add .dockerignore, Dockerfile, and docker compose targets to Makefile for containerized deployment
- Implement gists router with CRUD operations, database schema, and polymorphic comment/vote reuse
- Create attachment upload system with thumbnail generation, MIME detection, and storage path management
- Add attachments_prune CLI command to clean orphaned attachment records and files
- Introduce rate limiting middleware with 60 requests per minute window
- Add custom 404 and 500 error handlers with SEO-optimized template responses
- Extend database initialization with gists and attachments indexes plus upload site settings defaults
- Update load_comments to include attachment mapping for comment resources
- Register gists and uploads routers in main application and update AGENTS.md documentation
This commit is contained in:
2026-05-12 13:07:34 +00:00
parent ff2585b098
commit aa88f18c03
69 changed files with 3069 additions and 450 deletions
-6
View File
@@ -5,12 +5,6 @@
align-items: start;
}
.sidebar-link[data-topic="devlog"] .sidebar-dot { background: var(--topic-devlog); }
.sidebar-link[data-topic="showcase"] .sidebar-dot { background: var(--topic-showcase); }
.sidebar-link[data-topic="question"] .sidebar-dot { background: var(--topic-question); }
.sidebar-link[data-topic="rant"] .sidebar-dot { background: var(--topic-rant); }
.sidebar-link[data-topic="fun"] .sidebar-dot { background: var(--topic-fun); }
.sidebar-link[data-topic="signals"] .sidebar-dot { background: var(--topic-signals); }
.feed-nav {
display: flex;