mirror of
https://github.com/sigoden/dufs.git
synced 2026-06-07 15:59:03 +03:00
Update README.md and CHANGELOG.md
This commit is contained in:
+8
-1
@@ -2,17 +2,24 @@
|
||||
|
||||
All notable changes to this project will be documented in this file.
|
||||
|
||||
## [0.46.0] - 2026-03-04
|
||||
## [0.46.0] - 2026-04-25
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- Some search results missing due to broken symlinks ([#665](https://github.com/sigoden/dufs/issues/665))
|
||||
- Escape filename in ?simple output ([#669](https://github.com/sigoden/dufs/issues/669))
|
||||
- Ensure symlink inside serve root ([#670](https://github.com/sigoden/dufs/issues/670))
|
||||
- Tweak auth logic ([#689](https://github.com/sigoden/dufs/issues/689))
|
||||
- Http range underflow ([#690](https://github.com/sigoden/dufs/issues/690))
|
||||
- Escape control chars in logged URI and headers ([#691](https://github.com/sigoden/dufs/issues/691))
|
||||
|
||||
### Features
|
||||
|
||||
- Add option --allow-hash to allow/disallow file hashing ([#657](https://github.com/sigoden/dufs/issues/657))
|
||||
- Support `?json` on file path ([#686](https://github.com/sigoden/dufs/issues/686))
|
||||
- Support customizable 404 page ([#688](https://github.com/sigoden/dufs/issues/688))
|
||||
- Enhence log format ([#692](https://github.com/sigoden/dufs/issues/692))
|
||||
- Webui confirm on exit while uploading ([#693](https://github.com/sigoden/dufs/issues/693))
|
||||
|
||||
### Refactor
|
||||
|
||||
|
||||
@@ -303,11 +303,18 @@ The log format can use following variables.
|
||||
| $http_ | arbitrary request header field. examples: $http_user_agent, $http_referer |
|
||||
|
||||
|
||||
The default log format is `'$remote_addr "$request" $status'`.
|
||||
The default log format is `'$time_iso8601 $log_level - $remote_addr "$request" $status`.
|
||||
```
|
||||
2022-08-06T06:59:31+08:00 INFO - 127.0.0.1 "GET /" 200
|
||||
```
|
||||
|
||||
A json log format is also supported.
|
||||
```
|
||||
dufs --log-format '{"time":"$time_local","addr":"$remote_addr","uri":"$request_uri", "method":"$request_method","status":$status}'
|
||||
|
||||
{"time":"2022-08-06T06:59:31+08:00","addr":"127.0.0.1","uri":"/", "method":"GET","status":200}
|
||||
```
|
||||
|
||||
Disable http log
|
||||
```
|
||||
dufs --log-format=''
|
||||
@@ -415,6 +422,8 @@ Your assets folder must contains a `index.html` file.
|
||||
- `__INDEX_DATA__`: directory listing data
|
||||
- `__ASSETS_PREFIX__`: assets url prefix
|
||||
|
||||
> A customized 404.html page is also supported.
|
||||
|
||||
</details>
|
||||
|
||||
## License
|
||||
|
||||
Reference in New Issue
Block a user