9eef726d9b
- Removed session-based user retrieval from dependencies.py and main.py. - Eliminated SessionMiddleware and related session handling code. - Updated dashboard and team views to directly query user data from the database. - Simplified redeem and team management views to remove authentication checks. - Adjusted templates to reflect changes in user context handling. - Added camera selection feature in scan_qr.html for improved QR code scanning. - Cleaned up Docker configuration and requirements for better deployment.
31 lines
539 B
Plaintext
31 lines
539 B
Plaintext
# Web framework and server
|
|
fastapi>=0.103.1
|
|
uvicorn>=0.23.2
|
|
starlette>=0.27.0
|
|
httpx>=0.25.0 # HTTP client for making requests
|
|
|
|
# Database
|
|
sqlalchemy>=2.0.20
|
|
pymysql>=1.1.0
|
|
mysqlclient>=2.2.0
|
|
|
|
# Authentication and Security
|
|
authlib>=1.2.1
|
|
python-jose>=3.3.0
|
|
python-multipart>=0.0.6
|
|
passlib>=1.7.4
|
|
itsdangerous>=2.1.2
|
|
bcrypt>=4.0.1
|
|
|
|
# Templates and UI
|
|
jinja2>=3.1.2
|
|
aiofiles>=23.2.1
|
|
|
|
# Common utilities
|
|
python-dotenv>=1.0.0
|
|
email-validator>=2.0.0
|
|
pydantic>=2.3.0
|
|
qrcode>=7.4.2
|
|
|
|
# Image processing library for QR code generation
|
|
Pillow>=9.0.0 |