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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user