Skip to content

Commit f13f54c

Browse files
committed
Bump version to 2.3.0
1 parent 99a92f7 commit f13f54c

File tree

8 files changed

+132
-38
lines changed

8 files changed

+132
-38
lines changed

.bumpversion.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
files = Cargo.toml README.md openwrt/aliyundrive-webdav/Makefile openwrt/luci-app-aliyundrive-webdav/Makefile snap/snapcraft.yaml
33
commit = False
44
tag = False
5-
current_version = 2.2.2
5+
current_version = 2.3.0

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

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

5+
## 2.3.0
6+
7+
* 增加资源库支持
8+
59
## 2.1.0
610

711
* 增加 `--redirect` 参数用于启用 302 重定向

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "aliyundrive-webdav"
3-
version = "2.2.2"
3+
version = "2.3.0"
44
edition = "2021"
55
description = "WebDAV server for AliyunDrive"
66
license = "MIT"

README.md

Lines changed: 122 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@ sudo snap install aliyundrive-webdav
4141
aarch64/arm/mipsel/x86_64/i686 等架构的版本,可以下载后使用 opkg 安装,以 nanopi r4s 为例:
4242

4343
```bash
44-
wget https://github.com/messense/aliyundrive-webdav/releases/download/v2.2.2/aliyundrive-webdav_2.2.2-1_aarch64_generic.ipk
45-
wget https://github.com/messense/aliyundrive-webdav/releases/download/v2.2.2/luci-app-aliyundrive-webdav_2.2.2_all.ipk
46-
wget https://github.com/messense/aliyundrive-webdav/releases/download/v2.2.2/luci-i18n-aliyundrive-webdav-zh-cn_2.2.2-1_all.ipk
47-
opkg install aliyundrive-webdav_2.2.2-1_aarch64_generic.ipk
48-
opkg install luci-app-aliyundrive-webdav_2.2.2_all.ipk
49-
opkg install luci-i18n-aliyundrive-webdav-zh-cn_2.2.2-1_all.ipk
44+
wget https://github.com/messense/aliyundrive-webdav/releases/download/v2.3.0/aliyundrive-webdav_2.3.0-1_aarch64_generic.ipk
45+
wget https://github.com/messense/aliyundrive-webdav/releases/download/v2.3.0/luci-app-aliyundrive-webdav_2.3.0_all.ipk
46+
wget https://github.com/messense/aliyundrive-webdav/releases/download/v2.3.0/luci-i18n-aliyundrive-webdav-zh-cn_2.3.0-1_all.ipk
47+
opkg install aliyundrive-webdav_2.3.0-1_aarch64_generic.ipk
48+
opkg install luci-app-aliyundrive-webdav_2.3.0_all.ipk
49+
opkg install luci-i18n-aliyundrive-webdav-zh-cn_2.3.0-1_all.ipk
5050
```
5151

5252
其它 CPU 架构的路由器可在 [GitHub Releases](https://github.com/messense/aliyundrive-webdav/releases) 页面中查找对应的架构的主程序 ipk 文件下载安装, 常见
@@ -143,32 +143,122 @@ Commands:
143143
help Print this message or the help of the given subcommand(s)
144144
145145
Options:
146-
--host <HOST> Listen host [env: HOST=] [default: 0.0.0.0]
147-
-p, --port <PORT> Listen port [env: PORT=] [default: 8080]
148-
--client-id <CLIENT_ID> Aliyun drive client_id [env: CLIENT_ID=]
149-
--client-secret <CLIENT_SECRET> Aliyun drive client_secret [env: CLIENT_SECRET=]
150-
-r, --refresh-token <REFRESH_TOKEN> Aliyun drive refresh token [env: REFRESH_TOKEN=]
151-
-U, --auth-user <AUTH_USER> WebDAV authentication username [env: WEBDAV_AUTH_USER=]
152-
-W, --auth-password <AUTH_PASSWORD> WebDAV authentication password [env: WEBDAV_AUTH_PASSWORD=]
153-
-I, --auto-index Automatically generate index.html
154-
-S, --read-buffer-size <READ_BUFFER_SIZE> Read/download buffer size in bytes, defaults to 10MB [default: 10485760]
155-
--upload-buffer-size <UPLOAD_BUFFER_SIZE> Upload buffer size in bytes, defaults to 16MB [default: 16777216]
156-
--cache-size <CACHE_SIZE> Directory entries cache size [default: 1000]
157-
--cache-ttl <CACHE_TTL> Directory entries cache expiration time in seconds [default: 600]
158-
--root <ROOT> Root directory path [default: /]
159-
-w, --workdir <WORKDIR> Working directory, refresh_token will be stored in there if specified
160-
--no-trash Delete file permanently instead of trashing it
161-
--read-only Enable read only mode
162-
--tls-cert <TLS_CERT> TLS certificate file path [env: TLS_CERT=]
163-
--tls-key <TLS_KEY> TLS private key file path [env: TLS_KEY=]
164-
--strip-prefix <STRIP_PREFIX> Prefix to be stripped off when handling request [env: WEBDAV_STRIP_PREFIX=]
165-
--debug Enable debug log
166-
--no-self-upgrade Disable self auto upgrade
167-
--skip-upload-same-size Skip uploading same size file
168-
--prefer-http-download Prefer downloading using HTTP protocol
169-
--redirect Enable 302 redirect when possible
170-
-h, --help Print help
171-
-V, --version Print version
146+
--host <HOST>
147+
Listen host
148+
149+
[env: HOST=]
150+
[default: 0.0.0.0]
151+
152+
-p, --port <PORT>
153+
Listen port
154+
155+
[env: PORT=]
156+
[default: 8080]
157+
158+
--client-id <CLIENT_ID>
159+
Aliyun drive client_id
160+
161+
[env: CLIENT_ID=]
162+
163+
--client-secret <CLIENT_SECRET>
164+
Aliyun drive client_secret
165+
166+
[env: CLIENT_SECRET=]
167+
168+
--drive-type <DRIVE_TYPE>
169+
Aliyun drive type
170+
171+
Possible values:
172+
- resource: Resource drive
173+
- backup: Backup drive
174+
175+
-r, --refresh-token <REFRESH_TOKEN>
176+
Aliyun drive refresh token
177+
178+
[env: REFRESH_TOKEN=]
179+
180+
-U, --auth-user <AUTH_USER>
181+
WebDAV authentication username
182+
183+
[env: WEBDAV_AUTH_USER=]
184+
185+
-W, --auth-password <AUTH_PASSWORD>
186+
WebDAV authentication password
187+
188+
[env: WEBDAV_AUTH_PASSWORD=]
189+
190+
-I, --auto-index
191+
Automatically generate index.html
192+
193+
-S, --read-buffer-size <READ_BUFFER_SIZE>
194+
Read/download buffer size in bytes, defaults to 10MB
195+
196+
[default: 10485760]
197+
198+
--upload-buffer-size <UPLOAD_BUFFER_SIZE>
199+
Upload buffer size in bytes, defaults to 16MB
200+
201+
[default: 16777216]
202+
203+
--cache-size <CACHE_SIZE>
204+
Directory entries cache size
205+
206+
[default: 1000]
207+
208+
--cache-ttl <CACHE_TTL>
209+
Directory entries cache expiration time in seconds
210+
211+
[default: 600]
212+
213+
--root <ROOT>
214+
Root directory path
215+
216+
[default: /]
217+
218+
-w, --workdir <WORKDIR>
219+
Working directory, refresh_token will be stored in there if specified
220+
221+
--no-trash
222+
Delete file permanently instead of trashing it
223+
224+
--read-only
225+
Enable read only mode
226+
227+
--tls-cert <TLS_CERT>
228+
TLS certificate file path
229+
230+
[env: TLS_CERT=]
231+
232+
--tls-key <TLS_KEY>
233+
TLS private key file path
234+
235+
[env: TLS_KEY=]
236+
237+
--strip-prefix <STRIP_PREFIX>
238+
Prefix to be stripped off when handling request
239+
240+
[env: WEBDAV_STRIP_PREFIX=]
241+
242+
--debug
243+
Enable debug log
244+
245+
--no-self-upgrade
246+
Disable self auto upgrade
247+
248+
--skip-upload-same-size
249+
Skip uploading same size file
250+
251+
--prefer-http-download
252+
Prefer downloading using HTTP protocol
253+
254+
--redirect
255+
Enable 302 redirect when possible
256+
257+
-h, --help
258+
Print help (see a summary with '-h')
259+
260+
-V, --version
261+
Print version
172262
```
173263

174264
> **Note**

openwrt/aliyundrive-webdav/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
include $(TOPDIR)/rules.mk
22

33
PKG_NAME:=aliyundrive-webdav
4-
PKG_VERSION:=2.2.2
4+
PKG_VERSION:=2.3.0
55
PKG_RELEASE:=1
66

77
PKG_LICENSE:=MIT

openwrt/luci-app-aliyundrive-webdav/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
include $(TOPDIR)/rules.mk
22

33
PKG_NAME:=luci-app-aliyundrive-webdav
4-
PKG_VERSION:=2.2.2
4+
PKG_VERSION:=2.3.0
55
PKG_RELEASE:=1
66
PKG_PO_VERSION:=$(PKG_VERSION)-$(PKG_RELEASE)
77

snap/snapcraft.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: aliyundrive-webdav
2-
version: '2.2.2'
2+
version: '2.3.0'
33
summary: 阿里云盘 WebDAV
44
description: |
55
阿里云盘 WebDAV 服务

0 commit comments

Comments
 (0)