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

+21 -36
View File
@@ -1,42 +1,27 @@
# StarPunk Production Dependencies
# Python 3.11+ required
# StarPunk runtime dependencies (v2.11.0)
# Pinned to a minor series; see docs/architecture/technology-stack.md.
# Web Framework
Flask==3.0.*
# Web framework and server
Flask==3.1.*
gunicorn==26.2.*
# WSGI Server (Production)
gunicorn==21.2.*
# Content Processing
markdown==3.5.*
# Feed Generation
# Content
markdown==3.11.*
nh3==0.3.*
beautifulsoup4==4.15.*
lxml==6.1.*
mf2py==2.0.*
python-dateutil==4.0.*
feedgen==1.0.*
# HTTP Client (for IndieAuth)
httpx==0.27.*
# HTTP and auth
httpx==0.28.*
PyJWT[crypto]==2.15.*
python-dotenv==1.2.*
# Configuration Management
python-dotenv==1.0.*
# Images
Pillow==13.0.*
pillow-heif==1.8.*
# HTML Parsing (for IndieAuth endpoint discovery)
beautifulsoup4==4.12.*
# Microformats2 Parsing (v1.2.0)
mf2py==2.0.*
# Testing Framework
pytest==8.0.*
# System Monitoring (v1.1.2)
psutil==5.9.*
# Image Processing (v1.2.0, updated v1.4.2 for HEIC support)
Pillow==10.1.*
# HEIC/HEIF Support (v1.4.2 - iPhone photos)
pillow-heif==0.18.*
# HTML Sanitization (v1.6.0 - Webmention content)
nh3==0.2.*
PyJWT[crypto]==2.10.*
# Monitoring
psutil==7.2.*