• 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
web.py 17.7 KB