- Add HTTPSConfig model for managing HTTPS settings - Add admin routes for HTTPS configuration management - Add beautiful admin template for HTTPS configuration - Add database migration for https_config table - Add CLI utility for HTTPS management - Add setup script for automated configuration - Add Caddy configuration generator and manager - Add comprehensive documentation (3 guides) - Add HTTPS Configuration card to admin dashboard - Implement input validation and security features - Add admin-only access control with audit trail - Add real-time configuration preview - Integrate with existing Caddy reverse proxy Features: - Enable/disable HTTPS from web interface - Configure domain, hostname, IP address, port - Automatic SSL certificate management via Let's Encrypt - Real-time Caddyfile generation and reload - Full audit trail with admin username and timestamps - Support for HTTPS and HTTP fallback access points - Beautiful, mobile-responsive UI Modified files: - app/models/__init__.py (added HTTPSConfig import) - app/blueprints/admin.py (added HTTPS routes) - app/templates/admin/admin.html (added HTTPS card) - docker-compose.yml (added Caddyfile mount and admin port) New files: - app/models/https_config.py - app/blueprints/https_config.html - app/utils/caddy_manager.py - https_manager.py - setup_https.sh - migrations/add_https_config_table.py - migrations/add_email_to_https_config.py - HTTPS_STATUS.txt - Documentation files (3 markdown guides)
48 lines
707 B
Plaintext
Executable File
48 lines
707 B
Plaintext
Executable File
# Core Flask
|
|
Flask==3.1.0
|
|
Werkzeug==3.1.3
|
|
Jinja2==3.1.5
|
|
itsdangerous==2.2.0
|
|
click==8.1.8
|
|
|
|
# Flask Extensions
|
|
Flask-SQLAlchemy==3.1.1
|
|
Flask-Migrate==4.1.0
|
|
Flask-Bcrypt==1.0.1
|
|
Flask-Login==0.6.3
|
|
Flask-Caching==2.1.0
|
|
|
|
# Database
|
|
SQLAlchemy==2.0.37
|
|
alembic==1.14.1
|
|
|
|
# Date parsing
|
|
python-dateutil==2.9.0
|
|
|
|
# File Processing
|
|
pdf2image==1.17.0
|
|
Pillow==11.0.0
|
|
ffmpeg-python==0.2.0
|
|
python-magic==0.4.27
|
|
|
|
# Security
|
|
bcrypt==4.2.1
|
|
Flask-Talisman==1.1.0
|
|
Flask-Cors==4.0.0
|
|
|
|
# Production Server
|
|
gunicorn==23.0.0
|
|
# gevent==23.9.1 # Commented out - not compatible with Python 3.13 yet
|
|
|
|
# Monitoring
|
|
psutil==6.1.0
|
|
|
|
# Utilities
|
|
python-dotenv==1.0.1
|
|
|
|
# Development
|
|
black==24.4.2
|
|
flake8==7.0.0
|
|
pytest==8.2.0
|
|
pytest-cov==5.0.0
|