1. 06 Oct, 2025 33 commits
  2. 05 Oct, 2025 7 commits
    • Stefy Lanza (nextime / spora )'s avatar
      Implement comprehensive account management system · a2156ad2
      Stefy Lanza (nextime / spora ) authored
      - Create dedicated Account page (/account) for users and admins
      - Add password change functionality with current password verification
      - Implement token top-up system with predefined packages and custom amounts
      - Add payment method selection (Credit Card, PayPal, Crypto) with UI
      - Create account balance display with prominent token counter
      - Add navigation links to Account page across all templates
      - Implement backend routes for password changes and token purchases
      - Add update_user_password function to database operations
      - Include demo token purchase functionality (no real payments)
      - Maintain consistent navigation experience across the application
      - Ensure proper access control for account management features
      a2156ad2
    • Stefy Lanza (nextime / spora )'s avatar
      Fix navigation accessibility for token generation and admin pages · 82e0f6a0
      Stefy Lanza (nextime / spora ) authored
      - Add API Tokens navigation link to all user templates (dashboard, analyze, train, history, settings)
      - Add Admin navigation link for admin users across all templates
      - Remove old API token generation button from settings page (now uses dedicated page)
      - Ensure consistent navigation experience across the application
      - Admin users can now easily access user management and token generation pages
      82e0f6a0
    • Stefy Lanza (nextime / spora )'s avatar
      Implement comprehensive API token management system · fd4ca804
      Stefy Lanza (nextime / spora ) authored
      - Create dedicated API token generation page with custom naming
      - Implement JWT token generation with expiration and user claims
      - Add token administration with list view, last-used tracking, and deletion
      - Update database schema to support token names and usage tracking
      - Add navigation links for API tokens page with proper access control
      - Implement secure token validation with automatic last-used timestamp updates
      - Add copy-to-clipboard functionality for generated tokens
      - Create user-friendly token management interface with confirmation dialogs
      fd4ca804
    • 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
    • Stefy Lanza (nextime / spora )'s avatar
      Implement admin-only features and server directory access · 971161ae
      Stefy Lanza (nextime / spora ) authored
      - Restrict /train route to admin users only (@admin_required)
      - Add --server-dir command line argument for server directory configuration
      - Show server local path input only for admin users when --server-dir is set
      - Add /api/browse endpoint for secure file browsing (admin only)
      - Implement file navigator popup with directory navigation and file selection
      - Add security checks to prevent directory traversal attacks
      - Update analyze template with conditional server path input and file browser modal
      971161ae
    • Stefy Lanza (nextime / spora )'s avatar
      Complete web interface fixes and admin panel · 1c4e0046
      Stefy Lanza (nextime / spora ) authored
      - Fix settings page user dict access error
      - Add consistent top navigation to dashboard
      - Fix train page user variable scope error
      - Update analyze page to use consistent header navigation
      - Add admin panel with user management (create, activate/deactivate users)
      - Add 'remember me' checkbox to login page
      - Change default user tokens from 1000 to 0
      - Add admin routes and database functions for user management
      - Update all templates to use VidAI branding
      1c4e0046
    • Stefy Lanza (nextime / spora )'s avatar
      Update project branding and add favicon · 0ff1e3eb
      Stefy Lanza (nextime / spora ) authored
      - Change project name from 'Video AI Analysis Tool' to 'VidAI'
      - Update tagline to 'The adult content friendly video automation system'
      - Change all 'Video AI Pro' references to 'VidAI' in templates
      - Add favicon using image.jpg in landing page
      - Add route to serve image.jpg file
      - Update PyInstaller build script to include image.jpg as icon
      - Update landing page title and meta description
      0ff1e3eb