Commit Graph

7 Commits

Author SHA1 Message Date
8eea7cc0c9 feat: add news sanitize CLI command and upload static file serving with content-disposition 2026-05-22 23:50:31 +00:00
aa88f18c03 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
2026-05-12 13:07:34 +00:00
388d4e3af8 docs: document DEVPLACE_DISABLE_SERVICES env var, news router, modal class toggle, and news service behavior 2026-05-12 10:45:52 +00:00
331e19b14e feat: add news module with admin panel, pagination, and service toggle via env flag 2026-05-11 20:12:43 +00:00
f7ca123cd6 feat: add threaded comments with polymorphic targets and slug-based routing
Introduce `load_comments` helper supporting polymorphic target types (post, project, bug) with nested parent-child threading. Refactor comment creation to use `target_type`/`target_uid` and `resolve_target_redirect` for correct redirects. Replace raw UID-based post/project routes with slug-aware resolution via `resolve_post`/`resolve_project` and `make_combined_slug`. Update SEO, sitemap, and FAB styling to use slugs and hardcoded red accent. Add reusable `_comment_section.html` template.
2026-05-11 18:49:45 +00:00
502f77f718 fix: correct typo in progress tracking variable name from Progss to Progress 2026-05-11 05:02:06 +00:00
140cceff64 feat: add admin CLI, SEO meta tags, security headers, and production Makefile targets 2026-05-11 03:30:51 +00:00