Skip to content

Commit

Permalink
Bump version to 2.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
messense committed Aug 8, 2023
1 parent 99a92f7 commit f13f54c
Show file tree
Hide file tree
Showing 8 changed files with 132 additions and 38 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
files = Cargo.toml README.md openwrt/aliyundrive-webdav/Makefile openwrt/luci-app-aliyundrive-webdav/Makefile snap/snapcraft.yaml
commit = False
tag = False
current_version = 2.2.2
current_version = 2.3.0
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

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

## 2.3.0

* 增加资源库支持

## 2.1.0

* 增加 `--redirect` 参数用于启用 302 重定向
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "aliyundrive-webdav"
version = "2.2.2"
version = "2.3.0"
edition = "2021"
description = "WebDAV server for AliyunDrive"
license = "MIT"
Expand Down
154 changes: 122 additions & 32 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@ sudo snap install aliyundrive-webdav
aarch64/arm/mipsel/x86_64/i686 等架构的版本,可以下载后使用 opkg 安装,以 nanopi r4s 为例:

```bash
wget https://github.com/messense/aliyundrive-webdav/releases/download/v2.2.2/aliyundrive-webdav_2.2.2-1_aarch64_generic.ipk
wget https://github.com/messense/aliyundrive-webdav/releases/download/v2.2.2/luci-app-aliyundrive-webdav_2.2.2_all.ipk
wget https://github.com/messense/aliyundrive-webdav/releases/download/v2.2.2/luci-i18n-aliyundrive-webdav-zh-cn_2.2.2-1_all.ipk
opkg install aliyundrive-webdav_2.2.2-1_aarch64_generic.ipk
opkg install luci-app-aliyundrive-webdav_2.2.2_all.ipk
opkg install luci-i18n-aliyundrive-webdav-zh-cn_2.2.2-1_all.ipk
wget https://github.com/messense/aliyundrive-webdav/releases/download/v2.3.0/aliyundrive-webdav_2.3.0-1_aarch64_generic.ipk
wget https://github.com/messense/aliyundrive-webdav/releases/download/v2.3.0/luci-app-aliyundrive-webdav_2.3.0_all.ipk
wget https://github.com/messense/aliyundrive-webdav/releases/download/v2.3.0/luci-i18n-aliyundrive-webdav-zh-cn_2.3.0-1_all.ipk
opkg install aliyundrive-webdav_2.3.0-1_aarch64_generic.ipk
opkg install luci-app-aliyundrive-webdav_2.3.0_all.ipk
opkg install luci-i18n-aliyundrive-webdav-zh-cn_2.3.0-1_all.ipk
```

其它 CPU 架构的路由器可在 [GitHub Releases](https://github.com/messense/aliyundrive-webdav/releases) 页面中查找对应的架构的主程序 ipk 文件下载安装, 常见
Expand Down Expand Up @@ -143,32 +143,122 @@ Commands:
help Print this message or the help of the given subcommand(s)
Options:
--host <HOST> Listen host [env: HOST=] [default: 0.0.0.0]
-p, --port <PORT> Listen port [env: PORT=] [default: 8080]
--client-id <CLIENT_ID> Aliyun drive client_id [env: CLIENT_ID=]
--client-secret <CLIENT_SECRET> Aliyun drive client_secret [env: CLIENT_SECRET=]
-r, --refresh-token <REFRESH_TOKEN> Aliyun drive refresh token [env: REFRESH_TOKEN=]
-U, --auth-user <AUTH_USER> WebDAV authentication username [env: WEBDAV_AUTH_USER=]
-W, --auth-password <AUTH_PASSWORD> WebDAV authentication password [env: WEBDAV_AUTH_PASSWORD=]
-I, --auto-index Automatically generate index.html
-S, --read-buffer-size <READ_BUFFER_SIZE> Read/download buffer size in bytes, defaults to 10MB [default: 10485760]
--upload-buffer-size <UPLOAD_BUFFER_SIZE> Upload buffer size in bytes, defaults to 16MB [default: 16777216]
--cache-size <CACHE_SIZE> Directory entries cache size [default: 1000]
--cache-ttl <CACHE_TTL> Directory entries cache expiration time in seconds [default: 600]
--root <ROOT> Root directory path [default: /]
-w, --workdir <WORKDIR> Working directory, refresh_token will be stored in there if specified
--no-trash Delete file permanently instead of trashing it
--read-only Enable read only mode
--tls-cert <TLS_CERT> TLS certificate file path [env: TLS_CERT=]
--tls-key <TLS_KEY> TLS private key file path [env: TLS_KEY=]
--strip-prefix <STRIP_PREFIX> Prefix to be stripped off when handling request [env: WEBDAV_STRIP_PREFIX=]
--debug Enable debug log
--no-self-upgrade Disable self auto upgrade
--skip-upload-same-size Skip uploading same size file
--prefer-http-download Prefer downloading using HTTP protocol
--redirect Enable 302 redirect when possible
-h, --help Print help
-V, --version Print version
--host <HOST>
Listen host
[env: HOST=]
[default: 0.0.0.0]
-p, --port <PORT>
Listen port
[env: PORT=]
[default: 8080]
--client-id <CLIENT_ID>
Aliyun drive client_id
[env: CLIENT_ID=]
--client-secret <CLIENT_SECRET>
Aliyun drive client_secret
[env: CLIENT_SECRET=]
--drive-type <DRIVE_TYPE>
Aliyun drive type
Possible values:
- resource: Resource drive
- backup: Backup drive
-r, --refresh-token <REFRESH_TOKEN>
Aliyun drive refresh token
[env: REFRESH_TOKEN=]
-U, --auth-user <AUTH_USER>
WebDAV authentication username
[env: WEBDAV_AUTH_USER=]
-W, --auth-password <AUTH_PASSWORD>
WebDAV authentication password
[env: WEBDAV_AUTH_PASSWORD=]
-I, --auto-index
Automatically generate index.html
-S, --read-buffer-size <READ_BUFFER_SIZE>
Read/download buffer size in bytes, defaults to 10MB
[default: 10485760]
--upload-buffer-size <UPLOAD_BUFFER_SIZE>
Upload buffer size in bytes, defaults to 16MB
[default: 16777216]
--cache-size <CACHE_SIZE>
Directory entries cache size
[default: 1000]
--cache-ttl <CACHE_TTL>
Directory entries cache expiration time in seconds
[default: 600]
--root <ROOT>
Root directory path
[default: /]
-w, --workdir <WORKDIR>
Working directory, refresh_token will be stored in there if specified
--no-trash
Delete file permanently instead of trashing it
--read-only
Enable read only mode
--tls-cert <TLS_CERT>
TLS certificate file path
[env: TLS_CERT=]
--tls-key <TLS_KEY>
TLS private key file path
[env: TLS_KEY=]
--strip-prefix <STRIP_PREFIX>
Prefix to be stripped off when handling request
[env: WEBDAV_STRIP_PREFIX=]
--debug
Enable debug log
--no-self-upgrade
Disable self auto upgrade
--skip-upload-same-size
Skip uploading same size file
--prefer-http-download
Prefer downloading using HTTP protocol
--redirect
Enable 302 redirect when possible
-h, --help
Print help (see a summary with '-h')
-V, --version
Print version
```

> **Note**
Expand Down
2 changes: 1 addition & 1 deletion openwrt/aliyundrive-webdav/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
include $(TOPDIR)/rules.mk

PKG_NAME:=aliyundrive-webdav
PKG_VERSION:=2.2.2
PKG_VERSION:=2.3.0
PKG_RELEASE:=1

PKG_LICENSE:=MIT
Expand Down
2 changes: 1 addition & 1 deletion openwrt/luci-app-aliyundrive-webdav/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
include $(TOPDIR)/rules.mk

PKG_NAME:=luci-app-aliyundrive-webdav
PKG_VERSION:=2.2.2
PKG_VERSION:=2.3.0
PKG_RELEASE:=1
PKG_PO_VERSION:=$(PKG_VERSION)-$(PKG_RELEASE)

Expand Down
2 changes: 1 addition & 1 deletion snap/snapcraft.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: aliyundrive-webdav
version: '2.2.2'
version: '2.3.0'
summary: 阿里云盘 WebDAV
description: |
阿里云盘 WebDAV 服务
Expand Down

0 comments on commit f13f54c

Please sign in to comment.