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

feat: implemented ftp backend #581

Merged
merged 15 commits into from
Sep 4, 2022
Merged

feat: implemented ftp backend #581

merged 15 commits into from
Sep 4, 2022

Commits on Sep 2, 2022

  1. Configuration menu
    Copy the full SHA
    6008475 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bcbd035 View commit details
    Browse the repository at this point in the history
  3. save work.

    ArberSephirotheca committed Sep 2, 2022
    Configuration menu
    Copy the full SHA
    56b1dcb View commit details
    Browse the repository at this point in the history
  4. done implementing ftp.

    Resolve conflict
    ArberSephirotheca committed Sep 2, 2022
    Configuration menu
    Copy the full SHA
    f9999d1 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    80facef View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b40ccae View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    88aefa0 View commit details
    Browse the repository at this point in the history
  8. Added env variable example for ftp.

    Added ftp service to behavior test.
    
    Resolve conflict
    ArberSephirotheca committed Sep 2, 2022
    Configuration menu
    Copy the full SHA
    da3c0a4 View commit details
    Browse the repository at this point in the history
  9. Added license for dir_stream.rs.

    Corrected the .env.example file as it leaked my personal information...
    
    Resolve conflict.
    ArberSephirotheca committed Sep 2, 2022
    Configuration menu
    Copy the full SHA
    fac1ab9 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    1f69945 View commit details
    Browse the repository at this point in the history
  11. Done:

    "Cargo.toml":
    Hide FTP support under new feature flag.
    
    "operator.rs", "scheme.rs, src/services/mod.rs":
    Added conditional compilation for ftp services.
    
    "src/services/ftp/backend.rs":
    Removed any unnecessary helper functions that only use
    once.
    Removed username and password store to avoid data breach.
    Combine port and endpoint into one.
    Built a FTP command stream inside Builder's build() function
    and persist this stream inside Backend.
    Changed tls to enable_secure. Developer can use enable_secure() function
    to enable tls connection.
    Modified read() function to avoid putting all stream content into memory.
    Fixed stat() function, when path argument is empty, stat() function will
    return the stat of root directory.
    
    "src/services/ftp/dir_stream.rs"
    Added more metadata in DirEntry.
    
    "src/services/ftp/err.rs":
    Removed any unnecessary error functions.
    
    "src/services/ftp/mod.rs":
    Remove empty line.
    
    "tests/behavior/behavior.rs":
    Added feature for ftp.
    
    Resolve conflict.
    ArberSephirotheca committed Sep 2, 2022
    Configuration menu
    Copy the full SHA
    ed99646 View commit details
    Browse the repository at this point in the history
  12. "src/scheme.rs":

    Remove duplicate pattern.
    
    "Cargo.toml":
    add services-ftp under example.
    ArberSephirotheca committed Sep 2, 2022
    Configuration menu
    Copy the full SHA
    49da28a View commit details
    Browse the repository at this point in the history
  13. "Cargo.toml":

    Added example section for ftp.
    ArberSephirotheca committed Sep 2, 2022
    Configuration menu
    Copy the full SHA
    4cd399c View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    f7de283 View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2022

  1. "audit.toml":

    Ignore unaffected vulnerability.
    
    "src/services/ftp/backend.rs":
    Added other options insde from_iter() function.
    Removed unused code.
    
    "src/services/ftp/backend.rs":
    Use resume_transfer() function for offset.
    
    "src/services/ftp/backend.rs":
    fixed minor reference bug.
    
    "examples/ftp.rs":
    fixed minor reference bug.
    ArberSephirotheca committed Sep 3, 2022
    Configuration menu
    Copy the full SHA
    d059532 View commit details
    Browse the repository at this point in the history