- 06 Oct, 2025 40 commits
-
-
Stefy Lanza (nextime / spora ) authored
- Add --client mode with required --cluster-host, --cluster-port, --token options - Optional --optimize and --flash for client mode - Convert cluster communication from TCP to bidirectional websockets - Implement file transfer placeholders for jobs and results - Update cluster master to authenticate clients via cluster_token - Add configuration page for managing cluster clients (placeholder) - Update build scripts to include cluster components - Add websockets to requirements - Disable web/API interfaces in client mode
-
Stefy Lanza (nextime / spora ) authored
- Modified /api/analyze to return job_id immediately after file upload - Added /api/result/{job_id} endpoint for checking job status - Job status includes: queued (with queue position), processing, completed (with result), failed - Analysis runs in background thread - Updated API documentation with new async workflow and result endpoint examples
-
Stefy Lanza (nextime / spora ) authored
- Modified /api/analyze to accept file uploads for all users - Restricted file_path parameter to admin users only - Added chunked file upload support with upload_id, chunk_number, total_chunks - Updated API documentation with file upload examples and chunked upload guide - Files are temporarily stored and cleaned up after processing
-
Stefy Lanza (nextime / spora ) authored
- Added .container CSS rule to constrain content width to 1200px max-width - Added auto margins for centering and 2rem side padding - Now matches the layout constraints of dashboard and history pages
-
Stefy Lanza (nextime / spora ) authored
- Moved API documentation content inside standard container div like dashboard/history pages - Updated header styling to work within container (rounded corners, padding, shadow) - Maintained modern design while following consistent page layout patterns
-
Stefy Lanza (nextime / spora ) authored
-
Stefy Lanza (nextime / spora ) authored
- Added gradient headers with icons for both API docs - Implemented card-based layout for endpoints - Added color-coded method badges and parameter styling - Enhanced code blocks with syntax highlighting colors - Added responsive design for mobile devices - Included FontAwesome icons for better visual hierarchy - Used consistent color schemes (green for user API, red for admin API)
-
Stefy Lanza (nextime / spora ) authored
- Changed all remaining @require_admin to @admin_required - All decorators now use the centralized utils.py versions
-
Stefy Lanza (nextime / spora ) authored
- Changed all @require_admin to @admin_required in admin.py - Now uses the decorator from utils.py instead of auth.py
-
Stefy Lanza (nextime / spora ) authored
- Removed require_admin import from auth.py in admin.py - Now uses admin_required from utils.py instead - Prevents session access at import time
-
Stefy Lanza (nextime / spora ) authored
- Created vidai/utils.py with shared authentication decorators - Removed duplicate decorator definitions from web.py, api.py, and admin.py - Updated all modules to import decorators from utils.py - Maintains consistent authentication logic across all modules
-
Stefy Lanza (nextime / spora ) authored
- Added admin_required decorator definition in api.py to fix NameError
-
Stefy Lanza (nextime / spora ) authored
- Added login_required decorator definition in api.py to fix NameError
-
Stefy Lanza (nextime / spora ) authored
- Created vidai/admin.py with Flask Blueprint for admin web routes - Moved all /admin/* web routes from web.py to admin.py - Added /admin/settings and related update routes - Updated navigation links in base.html to use correct admin URLs - Registered admin blueprint in web.py
-
Stefy Lanza (nextime / spora ) authored
- Created vidai/api.py with Flask Blueprint for all /api/* and /admin/api/* routes - Moved API authentication decorators and helper functions to api.py - Removed API routes from web.py and registered the API blueprint - Set server_dir in api.py from web.py arguments
-
Stefy Lanza (nextime / spora ) authored
- Added 'API Documentation' link for all users pointing to /api - Added 'Admin API Documentation' link for admin users pointing to /admin/api
-
Stefy Lanza (nextime / spora ) authored
- Modified /stats to /api/stats with authentication - Updated /api/analyze to fully implement analysis functionality - Changed /api/browse to /admin/api/browse - Implemented /admin/api/train, /admin/api/users, /admin/api/cluster_tokens endpoints - Implemented /api/api_tokens endpoint - Created /api and /admin/api documentation pages with curl examples
-
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
-
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
- Modified landing.html to extend base.html template - Landing page now shows notification bubbles but hides navbar for non-authenticated users - Maintains full landing page design and functionality
-
Stefy Lanza (nextime / spora ) authored
- Changed notification position from top-right to bottom-right - Added colored backgrounds: green for success, red for error, blue for info/warning - Improved visual distinction between notification types
-
Stefy Lanza (nextime / spora ) authored
- Made header/navbar conditional on user authentication - Login and register pages now display without navbar - Forms remain centered on full page background - Notifications still work on all pages
-
Stefy Lanza (nextime / spora ) authored
- Added user=None to login, register, and config routes to prevent undefined user errors - Updated config.html to extend base template for consistent notifications - Simplified config.html styling to work with base template design
-