Rename to stealergram, add pyproject.toml, purge em-dashes

- Rename project to stealergram throughout
- Add pyproject.toml (replaces requirements.txt split, folds pytest.ini)
- Replace all em-dashes with hyphens across all source files

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-19 10:06:30 -04:00
parent 4c104cddd2
commit 741e6bb0d3
46 changed files with 244 additions and 191 deletions

View File

@@ -1,9 +1,9 @@
"""
web/routes/auth.py Login, logout, token refresh.
web/routes/auth.py - Login, logout, token refresh.
POST /login form submit; sets access_token + refresh_token cookies
POST /logout revokes refresh token, clears cookies
POST /refresh exchanges refresh_token cookie for a new access_token
POST /login - form submit; sets access_token + refresh_token cookies
POST /logout - revokes refresh token, clears cookies
POST /refresh - exchanges refresh_token cookie for a new access_token
"""
from fastapi import APIRouter, Form, HTTPException, Request, Response, status

View File

@@ -1,5 +1,5 @@
"""
web/routes/config_routes.py Keyword groups and channel list management.
web/routes/config_routes.py - Keyword groups and channel list management.
GET /config/keywords → render groups editor
PUT /config/keywords → validate + save groups, reload scorer

View File

@@ -1,5 +1,5 @@
"""
web/routes/dashboard.py Dashboard views and SSE live stream.
web/routes/dashboard.py - Dashboard views and SSE live stream.
GET / → redirect to /dashboard
GET /dashboard → overview: all groups, stats, live hit feed

View File

@@ -1,5 +1,5 @@
"""
web/routes/users.py User CRUD (superadmin only).
web/routes/users.py - User CRUD (superadmin only).
GET /users → list all users
POST /users → create a new user