Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add File Manager / File Browser based on form.FileUpload #6553

Merged
merged 3 commits into from
Apr 9, 2024

Commits on Mar 8, 2024

  1. luci-base: CBIFileUpload support file browser mode

    In the Browser mode the file tree dialog won't be closed when clicking on a file.
    The mode is used by a File Browser.
    
    Signed-off-by: Sergey Ponomarev <[email protected]>
    stokito committed Mar 8, 2024
    Configuration menu
    Copy the full SHA
    5d2d528 View commit details
    Browse the repository at this point in the history

Commits on Apr 9, 2024

  1. luci-base: ui.js FileUpload: option to enable Download button

    Allow downloading from a file browser.
    The Download button is located near to Delete.
    It's shown only for files: folders or /dev/ devices can't be downloaded.
    The downloading is made via fs.read_direct() which internally calls cgi-download.
    
    Signed-off-by: Sergey Ponomarev <[email protected]>
    stokito committed Apr 9, 2024
    Configuration menu
    Copy the full SHA
    4b771b3 View commit details
    Browse the repository at this point in the history
  2. luci-app-filebrowser: File Browser

    Add a File Browser based on the FileUpload CBI element.
    It allows browsing files and directories on a router, delete and upload.
    This covers only basic needs.
    
    Signed-off-by: Sergey Ponomarev <[email protected]>
    stokito committed Apr 9, 2024
    Configuration menu
    Copy the full SHA
    6afea76 View commit details
    Browse the repository at this point in the history