chore(release): version v0.20.0
This commit is contained in:
parent
4058a2db72
commit
2d0dfed456
4 changed files with 16 additions and 5 deletions
13
CHANGELOG.md
13
CHANGELOG.md
|
@ -2,7 +2,18 @@
|
||||||
|
|
||||||
All notable changes to this project will be documented in this file.
|
All notable changes to this project will be documented in this file.
|
||||||
|
|
||||||
## [0.19.0] - 2022-06-19
|
## [0.20.0] - 2022-06-20
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
- DecodeURI searching string ([#61](https://github.com/sigoden/dufs/issues/61))
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
- Added basic auth ([#60](https://github.com/sigoden/dufs/issues/60))
|
||||||
|
- Add option --allow-search ([#62](https://github.com/sigoden/dufs/issues/62))
|
||||||
|
|
||||||
|
## [0.19.0-rc1] - 2022-06-19
|
||||||
|
|
||||||
### Features
|
### Features
|
||||||
|
|
||||||
|
|
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -572,7 +572,7 @@ checksum = "fea41bba32d969b513997752735605054bc0dfa92b4c56bf1189f2e174be7a10"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "dufs"
|
name = "dufs"
|
||||||
version = "0.19.0"
|
version = "0.20.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"assert_cmd",
|
"assert_cmd",
|
||||||
"assert_fs",
|
"assert_fs",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "dufs"
|
name = "dufs"
|
||||||
version = "0.19.0"
|
version = "0.20.0"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
authors = ["sigoden <sigoden@gmail.com>"]
|
authors = ["sigoden <sigoden@gmail.com>"]
|
||||||
description = "Dufs is a distinctive utility file server"
|
description = "Dufs is a distinctive utility file server"
|
||||||
|
|
|
@ -158,7 +158,7 @@ curl -X DELETE http://127.0.0.1:5000/path-to-file
|
||||||
|
|
||||||
## Access Control
|
## Access Control
|
||||||
|
|
||||||
Dufs implements path level access control through http authentication.
|
Dufs supports path level access control. You can control who can do what on which path with `--auth`/`-a`.
|
||||||
|
|
||||||
```
|
```
|
||||||
dufs -a <path>@<readwrite>[@<readonly>]
|
dufs -a <path>@<readwrite>[@<readonly>]
|
||||||
|
@ -168,7 +168,7 @@ dufs -a <path>@<readwrite>[@<readonly>]
|
||||||
- `<readwrite>`: Account with readwrite permission, required
|
- `<readwrite>`: Account with readwrite permission, required
|
||||||
- `<readonly>`: Account with readonly permission, optional
|
- `<readonly>`: Account with readonly permission, optional
|
||||||
|
|
||||||
> `*` as `<readonly>` means `<path>` is public, everyone can access/download it.
|
> `<readonly>` can be `*` means `<path>` is public, everyone can access/download it.
|
||||||
|
|
||||||
For example:
|
For example:
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue