feat: add ISSLOP AI usage analysis CLI commands, game router, and politics topic

- Add `cmd_isslop_prune`, `cmd_isslop_clear`, `cmd_isslop_analyze` CLI commands for AI usage analysis job management
- Register `/game` router with `index` and `farm` endpoints for Code Farm idle game
- Add `politics` to allowed TOPICS constant replacing `signals`
- Introduce `ISSLOP_DIR`, `ISSLOP_WORKSPACES_DIR`, `ISSLOP_RUNS_DIR`, `ISSLOP_MEDIA_DIR` config paths
- Add `clear_user_stars` and `clear_user_projects_cache` calls on vote and project create/delete
- Update `make prod` to use `nproc` workers via `DEVPLACE_WEB_WORKERS` env var
- Convert `database.py` and `utils.py` to packages for modular structure
- Add `devplace apikey` and `devplace token` CLI subcommands for API key and access token management
This commit is contained in:
2026-07-06 03:57:47 +00:00
parent f1bdefd834
commit 9a8046ab2a
110 changed files with 1466 additions and 374 deletions
@@ -41,7 +41,9 @@ Every component **renders into the light DOM (no shadow root)** so the global CS
| `dp-avatar` | Renders a user avatar. |
| `dp-code` | Renders a syntax-highlighted code block. |
| `dp-content` | Client-side content renderer for live content; server content uses the backend `render_content` Jinja global. |
| `dp-title` | Inline title-sized companion to `dp-content` for live titles. |
| `dp-upload` | The single file-upload button used everywhere. |
| `dp-lightbox` | The single full-size image lightbox (`app.lightbox`), attribute-wired via one delegated listener. |
| `dp-toast` | Transient notifications (`app.toast`). |
| `dp-dialog` | Confirm / prompt / alert modals (`app.dialog`). |
| `dp-context-menu` | Right-click and long-press menus (`app.contextMenu`). |