- 06 Oct, 2025 28 commits
-
-
Stefy Lanza (nextime / spora ) authored
-
Stefy Lanza (nextime / spora ) authored
-
Stefy Lanza (nextime / spora ) authored
-
Stefy Lanza (nextime / spora ) authored
-
Stefy Lanza (nextime / spora ) authored
-
Stefy Lanza (nextime / spora ) authored
Implement API token improvements: unique names per user, 100-year expiration, modal on creation with reload
-
Stefy Lanza (nextime / spora ) authored
-
Stefy Lanza (nextime / spora ) authored
-
Stefy Lanza (nextime / spora ) authored
-
Stefy Lanza (nextime / spora ) authored
-
Stefy Lanza (nextime / spora ) authored
-
Stefy Lanza (nextime / spora ) authored
-
Stefy Lanza (nextime / spora ) authored
-
Stefy Lanza (nextime / spora ) authored
-
Stefy Lanza (nextime / spora ) authored
-
Stefy Lanza (nextime / spora ) authored
-
Stefy Lanza (nextime / spora ) authored
- Reduced modal-body padding from 2rem to 1rem - Reduced form-group margin-bottom from 1.5rem to 1rem - Reduced input/select padding from 0.75rem to 0.5rem - Kept modal max-height at 50vh with scrollable body
-
Stefy Lanza (nextime / spora ) authored
- Increased container max-width from 1200px to 1400px for wider user list - Reduced modal max-height from 90vh to 70vh for better fit and scrollability
-
Stefy Lanza (nextime / spora ) authored
- Added .actions-cell CSS class with display: flex and gap - Applied class to the actions table cell to arrange edit, deactivate/activate, and delete buttons horizontally
-
Stefy Lanza (nextime / spora ) authored
- Removed old admin.html and admin_users.html files - Updated api_tokens.html to extend base.html
-
Stefy Lanza (nextime / spora ) authored
- Created templates/admin/ directory - Moved admin_users.html to admin/users.html - Updated render_template path in web.py
-
Stefy Lanza (nextime / spora ) authored
- Removed conflicting display: flex from .modal CSS rule - Added .modal.show class for proper centering when opened - Updated JavaScript to use classList.add/remove instead of direct style.display
-
Stefy Lanza (nextime / spora ) authored
- Changed admin routes from /admin/user/* to /admin/users/* - Updated admin.html to extend base.html - Changed action buttons to small icon-based buttons (edit, activate/deactivate, delete) - Made edit user modal scrollable with overflow-y: auto
-
Stefy Lanza (nextime / spora ) authored
- Added base.html with header, nav, user menu, and scripts - Updated dashboard.html, analyze.html, train.html, history.html to extend base.html - Added active_page parameter to render_template calls in web.py for dynamic nav highlighting
-
Stefy Lanza (nextime / spora ) authored
- Updated route in web.py to /admin/users - Updated all dropdown links in templates to point to /admin/users - Removed remaining Admin link from account.html navbar
-
Stefy Lanza (nextime / spora ) authored
- Removed 'Account' and 'Admin' links from top navigation bar - Added 'Account' as first item in user dropdown for all users - Renamed 'Menu Management' to 'Users' in admin dropdown - Dropdown now shows Account first, then role-specific options
-
Stefy Lanza (nextime / spora ) authored
- Changed modal to use flexbox for proper centering - Added max-height and overflow-y: auto to modal-body for scrollable content - Prevented background page scrolling when modal is open - Modal now stays within viewport and scrolls internally
-
Stefy Lanza (nextime / spora ) authored
- Added user icon in top right navigation bar on all pages - Dropdown shows Account/Tokens for non-admin users - Dropdown shows Menu Management/Configurations for admin users - Includes Logout option for all - Used FontAwesome icons and consistent styling
-
- 05 Oct, 2025 12 commits
-
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
Stefy Lanza (nextime / spora ) authored
- Configure Flask to look for templates in correct directory - Change 'Start Free Trial' to 'Start for Free Now!' on landing page - Fix TemplateNotFound error for register.html and other templates
-
Stefy Lanza (nextime / spora ) authored
- Add token_packages table to database schema - Add default token packages (Starter, Professional, Enterprise) - Add database functions for managing token packages - Update payments.py to use database packages instead of hardcoded ones - Remove pricing section from landing page (packages only show when configured) - Token packages are now fully configurable through admin interface
-
Stefy Lanza (nextime / spora ) authored
- Remove hardcoded token packages from landing page - Replace with generic token-based pricing tiers - Remove reference to database configuration in template - Landing page now shows pricing tiers without specific packages
-
Stefy Lanza (nextime / spora ) authored
- Fix repository URL from GitHub to GitLab (git.nexlab.net/SexHackMe/vidai) - Update landing page to show token packages instead of subscription plans - Change pricing section to reflect database-configured token packages - Update footer links to point to correct repository
-
Stefy Lanza (nextime / spora ) authored
- Add render_template to Flask imports to fix NameError
-