Commit graph

24 commits

Author SHA1 Message Date
sigoden ae2f878e62
feat: support customize http log format (#116) 2022-07-31 08:27:09 +08:00
sigoden 4e823e8bba
feat: make --path-prefix works on serving single file (#102) 2022-07-08 19:30:05 +08:00
sigoden 4e84e6c532
fix: cors headers (#100) 2022-07-08 16:18:10 +08:00
sigoden 76e967fa59
feat: add completions (#97) 2022-07-06 12:11:00 +08:00
sigoden 604cbb7412
feat: check permission on move/copy destination (#93) 2022-07-04 23:25:05 +08:00
sigoden 2ffdcdf106
feat: allow search with --render-try-index (#88) 2022-07-02 23:25:57 +08:00
sigoden eb7a536a3f
feat: support hiding folders with --hidden (#73) 2022-06-25 08:15:16 +08:00
sigoden e29cf4c752
refactor: split css/js from index.html (#68) 2022-06-21 23:01:00 +08:00
sigoden 7f062b6705
feat: use custom logger with timestamp in rfc3339 (#67) 2022-06-21 21:19:51 +08:00
sigoden 4058a2db72
feat: add option --allow-search (#62) 2022-06-21 07:23:20 +08:00
sigoden 069cb64889
fix: decodeURI searching string (#61) 2022-06-20 21:51:41 +08:00
Joe Koop deb6365a28
feat: added basic auth (#60)
* some small css fixes and changes

* added basic auth
https://stackoverflow.com/a/9534652/3642588

* most tests are passing

* fixed all the tests

* maybe now CI will pass

* implemented sigoden's suggestions

* test basic auth

* fixed some little things
2022-06-20 11:25:09 +08:00
sigoden a67da8bdd3
feat: rename to dufs (#59)
close #50

BREAKING CHANGE: rename duf to dufs
2022-06-19 22:53:51 +08:00
sigoden e66951fd11
refactor: rename --cors to --enable-cors (#57)
BREAKING CHANGE: `--cors` rename to `--enable-cors`
2022-06-19 17:27:09 +08:00
sigoden c3ac2a21c9
feat: serve single file (#54)
close #53
2022-06-19 14:23:10 +08:00
sigoden 9c2e9d1503
feat: path level access control (#52)
BREAKING CHANGE: `--auth` is changed, `--no-auth-access` is removed
2022-06-19 11:26:03 +08:00
sigoden af866aaaf4 chore: optimize --render-try-index 2022-06-17 19:05:25 +08:00
sigoden 5b11bb75dd
feat: add option --render-try-index (#47)
close #46
2022-06-17 08:41:01 +08:00
sigoden d8f7335053
fix: range request (#44)
close #43
2022-06-16 10:24:32 +08:00
sigoden c7d42a3f1c
fix: webdav propfind dir with slash (#42) 2022-06-15 20:24:53 +08:00
sigoden 3c4bb77023
refactor: trival changes (#41)
- refactor status code
- log remote addr and time in miliseconds
2022-06-15 19:57:28 +08:00
sigoden 12aafa00d8
feat: listen both ipv4 and ipv6 by default (#40) 2022-06-15 19:33:51 +08:00
sigoden dd8b21f3a6 feat: options method return status 200 2022-06-12 09:33:01 +08:00
sigoden 471bca86c6
test: add integration tests (#36) 2022-06-12 08:43:50 +08:00