dufs/CHANGELOG.md
2024-02-13 01:19:40 +00:00

16 KiB

Changelog

All notable changes to this project will be documented in this file.

[0.40.0] - 2024-02-13

Bug Fixes

  • Guard req and destination path (#359)

Features

  • Revert supporting for forbidden permission (#352)

Refactor

  • Do not try to bind ipv6 if no ipv6 (#348)
  • Improve invalid auth (#356)
  • Improve resolve_path and handle_assets, abandon guard_path (#360)

[0.39.0] - 2024-01-11

Bug Fixes

  • Upload more than 100 files in directory (#317)
  • Auth precedence (#325)
  • Serve files with names containing newline char (#328)
  • Corrupted zip when downloading large folders (#337)

Features

  • Empty search ?q= list all paths (#311)
  • Add --compress option (#319)
  • Upgrade to hyper 1.0 (#321)
  • Auth supports forbidden permissions (#329)
  • Supports resumable uploads (#343)

Refactor

  • Change the format of www-authenticate (#312)
  • Change the value name of --config (#313)
  • Optimize http range parsing and handling (#323)
  • Propfind with auth no need to list all (#344)

[0.38.0] - 2023-11-28

Bug Fixes

  • Unable to start if config file omit bind/port fields (#294)

Features

  • Password can contain : @ | (#297)
  • Deprecate the use of | to separate auth rules (#298)
  • More flexible config values (#299)
  • Ui supports view file (#301)

Refactor

  • Take improvements from the edge browser (#289)
  • Ui change the cursor for upload-btn to a pointer (#291)
  • Ui improve uploading progress (#296)

[0.37.1] - 2023-11-08

Bug Fixes

  • Use DUFS_CONFIG to specify the config file path (#286

[0.37.0] - 2023-11-08

Bug Fixes

  • Sort path ignore case (#264)
  • Ui show user-name next to the user-icon (#278)
  • Auto delete half-uploaded files (#280)

Features

  • Deprecate --auth-method, as both options are available (#279)
  • Support config file with --config option (#281)
  • Support hashed password (#283)

Refactor

  • Remove one clone on assets_prefix (#270)
  • Optimize tests
  • Improve code quanity (#282)

[0.36.0] - 2023-08-24

Bug Fixes

  • Ui readonly if no write perm (#258)

Testing

  • Remove dependency on native tls (#255)

[0.35.0] - 2023-08-14

Bug Fixes

  • Search should ignore entry path (#235)
  • Typo ASSERTS_PREFIX (#252)

Features

  • Sort by type first, then sort by name/mtime/size (#241)

[0.34.2] - 2023-06-05

Bug Fixes

  • Ui refresh page after login (#230)
  • Webdav only see public folder even logging in (#231)

[0.34.1] - 2023-06-02

Bug Fixes

  • Auth logic (#224)
  • Allow all cors headers and methods (#225)

Refactor

  • Ui checkAuth (#226)

[0.34.0] - 2023-06-01

Bug Fixes

  • URL-encoded filename when downloading in safari (#203)
  • Ui path table show move action (#219)
  • Ui set default max uploading to 1 (#220)

Features

  • Webui editing support multiple encodings (#197)
  • Add timestamp metadata to generated zip file (#204)
  • Show precise file size with decimal (#210)
  • [breaking] New auth (#218)

Refactor

  • Cli positional rename root => SERVE_PATH(#215)

[0.33.0] - 2023-03-17

Bug Fixes

  • Cors allow-request-header add content-type (#184)
  • Hidden don't works on some files (#188)
  • Basic auth sometimes does not work (#194)

Features

  • Guess plain text encoding then set content-type charset (#186)

Refactor

  • Improve error handle (#195)

[0.32.0] - 2023-02-22

Bug Fixes

  • Set the STOPSIGNAL to SIGINT for Dockerfile
  • Remove Method::Options auth check (#168)
  • Clear search input also clear query (#178)

Features

  • [breaking] Add option --allow-archive (#152)
  • Use env var for args (#170)
  • Hiding only directories instead of files (#175)
  • API to search and list directories (#177)
  • Support edit files (#179)
  • Support new file (#180)
  • Ui improves the login experience (#182)

[0.31.0] - 2022-11-11

Bug Fixes

  • Auth not works with --path-prefix (#138)
  • Don't search on empty query string (#140)
  • Status code for MKCOL on existing resource (#142)
  • Panic on PROPFIND // (#144)

Features

  • Support unix sockets (#145)

[0.30.0] - 2022-09-09

Bug Fixes

  • Hide path by ext name (#126)

Features

  • Support sort by name, mtime, size (#128)
  • Add --assets options to override assets (#134)

[0.29.0] - 2022-08-03

Bug Fixes

  • Table row hover highlighting in dark mode (#122)

Features

  • Support ecdsa tls cert (#119)

[0.28.0] - 2022-08-01

Bug Fixes

  • File path contains special characters (#114)

Features

  • Add table row hover (#115)
  • Support customize http log format (#116)

[0.27.0] - 2022-07-25

Features

  • Improve hidden to support glob (#108)
  • Adjust digest auth timeout to 1day (#110)

[0.26.0] - 2022-07-11

Bug Fixes

  • Cors headers (#100)

Features

  • Make --path-prefix works on serving single file (#102)

[0.25.0] - 2022-07-06

Features

  • Ui supports creating folder (#91)
  • Ui supports move folder/file to new path (#92)
  • Check permission on move/copy destination (#93)
  • Add completions (#97)
  • Limit the number of concurrent uploads (#98)

[0.24.0] - 2022-07-02

Bug Fixes

  • Unexpected stack overflow when searching a lot (#87)

Features

  • Allow search with --render-try-index (#88)

[0.23.1] - 2022-06-30

Bug Fixes

  • Safari layout and compatibility (#83)
  • Permissions of unzipped files (#84)

[0.23.0] - 2022-06-29

Features

  • Use feature to conditional support tls (#77)

Ci

  • Support more platforms (#76)

[0.22.0] - 2022-06-26

Features

  • Support hiding folders with --hidden (#73)

[0.21.0] - 2022-06-23

Bug Fixes

  • Escape name contains html escape code (#65)

Features

  • Use custom logger with timestamp in rfc3339 (#67)

Refactor

  • Split css/js from index.html (#68)

[0.20.0] - 2022-06-20

Bug Fixes

  • DecodeURI searching string (#61)

Features

  • Added basic auth (#60)
  • Add option --allow-search (#62)

[0.19.0] - 2022-06-19

Features

  • [breaking] Path level access control (#52)
  • Serve single file (#54)
  • Ui hidden root dirname (#58)
  • Reactive webpage (#51)
  • [breaking] Rename to dufs (#59)

Refactor

  • [breaking] Rename --cors to --enable-cors (#57)

[0.18.0] - 2022-06-18

Features

  • Add option --render-try-index (#47)
  • Add slash to end of dir href

[0.17.1] - 2022-06-16

Bug Fixes

  • Range request (#44)

[0.17.0] - 2022-06-15

Bug Fixes

  • Webdav propfind dir with slash (#42)

Features

  • Listen both ipv4 and ipv6 by default (#40)

Refactor

  • Trivial changes (#41)

[0.16.0] - 2022-06-12

Features

  • Implement head method (#33)
  • Display upload speed and time left (#34)
  • Support tls-key in pkcs#8 format (#35)
  • Options method return status 200

Testing

  • Add integration tests (#36)

[0.15.1] - 2022-06-11

Bug Fixes

  • Cannot upload (#32)

[0.15.0] - 2022-06-10

Bug Fixes

  • Encode webdav href as uri (#28)
  • Query dir param

Features

  • Add basic dark theme (#29)
  • Add empty state placeholder to page(#30)

[0.14.0] - 2022-06-07

Bug Fixes

  • Send index page with content-type (#26)

Features

  • Support ipv6 (#25)
  • Add favicon (#27)

[0.13.2] - 2022-06-06

Bug Fixes

  • Filename xml escaping
  • Escape path-prefix/url-prefix different

[0.13.1] - 2022-06-05

Bug Fixes

  • Escape filename (#21)

Refactor

  • Use logger (#22)

[0.13.0] - 2022-06-05

Bug Fixes

  • Ctrl+c not exit sometimes

Features

  • Implement more webdav methods (#13)
  • Use digest auth (#14)
  • Add webdav proppatch handler (#18)

[0.12.1] - 2022-06-04

Features

  • Support webdav (#10)
  • Remove unzip uploaded feature (#11)

[0.11.0] - 2022-06-03

Features

  • Support gracefully shutdown server
  • Listen 0.0.0.0 by default

[0.10.1] - 2022-06-02

Bug Fixes

  • Panic when bind already used port

[0.10.0] - 2022-06-02

Bug Fixes

  • Remove unzip file even failed to unzip
  • Rename --no-auth-read to --no-auth-access
  • Broken ui

Documentation

  • Refactor readme

Features

  • Change auth logic/options
  • Improve ui

Refactor

  • Small improvement

[0.9.0] - 2022-06-02

Documentation

  • Improve readme

Features

  • Support path prefix
  • List all ifaces when listening 0.0.0.0
  • Support tls

[0.8.0] - 2022-06-01

Bug Fixes

  • Some typos
  • Caught 500 if no permission to access dir

Features

  • Cli add allow-symlink option
  • Add some headers to res
  • Support render-index/render-spa

[0.7.0] - 2022-05-31

Bug Fixes

  • Downloaded zip file has no.zip ext in firefox
  • Unzip override existed file in uploadonly mode
  • Miss file 500
  • Not found dir when allow_upload is false

Features

  • Drag and drop uploads, upload folder

[0.6.0] - 2022-05-31

Features

  • Delete confirm
  • Distinct upload and delete operation
  • Support range requests

Refactor

  • Improve code quality

[0.5.0] - 2022-05-30

Features

  • Add mime and cache headers to response
  • Add no-auth-read options
  • Unzip zip file when unload

[0.4.0] - 2022-05-29

Features

  • Replace --static option to --no-edit
  • Add cors

[0.3.0] - 2022-05-29

Documentation

  • Update readme demo png

Features

  • Automatically create dir while uploading
  • Support searching

Refactor

  • Handler zip

Styling

  • Optimize css

[0.2.1] - 2022-05-28

Bug Fixes

  • Cannot upload in root
  • Optimize download zip

Documentation

  • Improve readme

Features

  • Aware RUST_LOG

[0.2.0] - 2022-05-28

Documentation

  • Update demo png
  • Improve readme

Features

  • Add logger
  • Download folder as zip file

[0.1.0] - 2022-05-26

Bug Fixes

  • Caught server error when symlink broken

Documentation

  • Improve readme
  • Update readme

Features

  • Add basic auth and readonly mode
  • Support delete operation
  • Remove parent path

Styling

  • Cargo fmt
  • Update index page

Build

  • Remove dev deps

Ci

  • Init ci