• Stefy Lanza (nextime / spora )'s avatar
    Implement comprehensive admin settings and token management system · 26bf985b
    Stefy Lanza (nextime / spora ) authored
    - Restrict settings page to admin users only with @admin_required decorator
    - Add database configuration section to admin settings (SQLite/MySQL settings)
    - Create admin-only worker token generation for --client authentication
    - Create user-accessible API token generation for programmatic access
    - Implement user API token validation that consumes user tokens for analysis
    - Add database tables for worker_tokens and user_api_tokens
    - Add API endpoint /api/analyze that validates user tokens and deducts tokens
    - Admin users are exempt from token consumption for all operations
    - Enhanced settings page with database management and token generation options
    26bf985b
Name
Last commit
Last update
docs Loading commit data...
templates Loading commit data...
vidai Loading commit data...
.gitignore Loading commit data...
AI.PROMPT Loading commit data...
CHANGELOG.md Loading commit data...
Dockerfile.runpod Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
build.bat Loading commit data...
build.sh Loading commit data...
clean.bat Loading commit data...
clean.sh Loading commit data...
create_pod.sh Loading commit data...
image.jpg Loading commit data...
requirements-cuda.txt Loading commit data...
requirements-rocm.txt Loading commit data...
requirements.txt Loading commit data...
setup.bat Loading commit data...
setup.sh Loading commit data...
start.bat Loading commit data...
test_comm.py Loading commit data...
test_runpod.py Loading commit data...
vidai.py Loading commit data...
vidai.sh Loading commit data...