maint: Dependency upgrades and High backlog items (v2.11.0)

- All dependencies to current releases (97 known vulnerabilities -> 0),
  Python 3.14, uv pinned, requirements-test.txt, lxml/dateutil pinned
- CSRF tokens on admin forms, logout and IndieAuth consent
- IndieAuth client and crosspost link-card fetches via safe_get
- FLASK_DEBUG/FLASK_ENV default off/production; image sets them
- Foreign keys enforced on pooled connections; migration 018 removes orphans
- Rate limits shared across processes (rate_limits, migration 019)
- datetime.utcnow() and sqlite3 default adapters replaced
- compose.yaml fixed; duplicate dev_auth.py and test.ini removed

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
PhilandClaude Opus 5.5 committed 2026-11-03 13:09:52 -07:00
1 parent 9f17e145ff
commit 75946be7b2
67 files changed
+885 -498

No files matched your search

+7 -15
View File
@@ -1,17 +1,9 @@
# StarPunk Development Dependencies
# Includes code quality and testing tools
# Include production dependencies
# StarPunk development dependencies
-r requirements.txt
-r requirements-test.txt
# Testing
pytest-cov>=5.0.0 # Test coverage reporting
pytest-mock>=3.12.0 # Mocking for tests
# Code Quality
black>=24.0.0 # Code formatting
flake8>=7.0.0 # Linting
mypy>=1.8.0 # Type checking
# WSGI Server (for production-like testing)
gunicorn>=21.2.0
pytest-cov==7.* # Coverage reports
black==26.* # Formatting (not enforced, see docs/standards)
flake8==7.* # Linting (not enforced)
mypy==1.* # Type checking (not enforced)
pip-audit==2.* # Known-vulnerability check of the dependency set