Admin login now uses OpenID Connect (PKCE, nonce, ID token verified against the provider JWKS) and only OIDC_ADMIN_SUB may log in. Micropub tokens are issued and verified by StarPunk itself, with a consent screen behind the OIDC session and a Connected Apps page to revoke them, so an external IndieAuth server (Gondulf) is no longer needed. Existing notes, media, tags, webmentions, author profile and sessions are unchanged. Migration 011 adds new tables only. BREAKING CHANGE: production requires OIDC_ISSUER, OIDC_CLIENT_ID, OIDC_CLIENT_SECRET and OIDC_ADMIN_SUB. The ADMIN_ME page must point Micropub apps at StarPunk's IndieAuth endpoints. See ADR-064. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
43 lines
727 B
Plaintext
43 lines
727 B
Plaintext
# StarPunk Production Dependencies
|
|
# Python 3.11+ required
|
|
|
|
# Web Framework
|
|
Flask==3.0.*
|
|
|
|
# WSGI Server (Production)
|
|
gunicorn==21.2.*
|
|
|
|
# Content Processing
|
|
markdown==3.5.*
|
|
|
|
# Feed Generation
|
|
feedgen==1.0.*
|
|
|
|
# HTTP Client (for IndieAuth)
|
|
httpx==0.27.*
|
|
|
|
# Configuration Management
|
|
python-dotenv==1.0.*
|
|
|
|
# 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.*
|