Skip to content

Commit

Permalink
Bump version to 1.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
messense committed Jun 4, 2022
1 parent 22ec25f commit 9cc729b
Show file tree
Hide file tree
Showing 9 changed files with 21 additions and 14 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 merlin/config.json.js snap/snapcraft.yaml
commit = False
tag = False
current_version = 1.4.0
current_version = 1.5.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.

## 1.5.0

* 增加移动端 App refresh token 支持,扫码登录使用 App refresh token.

## 1.4.0

* 命令行增加阿里云盘扫码登录功能
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 = "1.4.0"
version = "1.5.0"
edition = "2021"
description = "WebDAV server for AliyunDrive"
license = "MIT"
Expand Down
17 changes: 10 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,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/v1.4.0/aliyundrive-webdav_1.4.0-1_aarch64_generic.ipk
wget https://github.com/messense/aliyundrive-webdav/releases/download/v1.4.0/luci-app-aliyundrive-webdav_1.4.0_all.ipk
wget https://github.com/messense/aliyundrive-webdav/releases/download/v1.4.0/luci-i18n-aliyundrive-webdav-zh-cn_1.4.0-1_all.ipk
opkg install aliyundrive-webdav_1.4.0-1_aarch64_generic.ipk
opkg install luci-app-aliyundrive-webdav_1.4.0_all.ipk
opkg install luci-i18n-aliyundrive-webdav-zh-cn_1.4.0-1_all.ipk
wget https://github.com/messense/aliyundrive-webdav/releases/download/v1.5.0/aliyundrive-webdav_1.5.0-1_aarch64_generic.ipk
wget https://github.com/messense/aliyundrive-webdav/releases/download/v1.5.0/luci-app-aliyundrive-webdav_1.5.0_all.ipk
wget https://github.com/messense/aliyundrive-webdav/releases/download/v1.5.0/luci-i18n-aliyundrive-webdav-zh-cn_1.5.0-1_all.ipk
opkg install aliyundrive-webdav_1.5.0-1_aarch64_generic.ipk
opkg install luci-app-aliyundrive-webdav_1.5.0_all.ipk
opkg install luci-i18n-aliyundrive-webdav-zh-cn_1.5.0-1_all.ipk
```

其它 CPU 架构的路由器可在 [GitHub Releases](https://github.com/messense/aliyundrive-webdav/releases) 页面中查找对应的架构的主程序 ipk 文件下载安装, 常见
Expand Down Expand Up @@ -120,7 +120,7 @@ services:

```bash
$ aliyundrive-webdav --help
aliyundrive-webdav 1.4.0
aliyundrive-webdav 1.5.0
USAGE:
aliyundrive-webdav [OPTIONS]
Expand Down Expand Up @@ -151,6 +151,7 @@ OPTIONS:
> 注意:TLS/HTTPS 暂不支持 MIPS 架构。

### 获取 refresh_token

* 自动获取: 登录[阿里云盘](https://www.aliyundrive.com/drive/)后,控制台粘贴 `JSON.parse(localStorage.token).refresh_token`
![](https://user-images.githubusercontent.com/12248888/150632769-ea6b7a0f-4170-44d6-bafb-92b2a7c1726b.png)

Expand All @@ -159,6 +160,8 @@ Application -> Local Storage 中的 `token` 字段中找到。
注意:不是复制整段 JSON 值,而是 JSON 里 `refresh_token` 字段的值,如下图所示红色部分:
![refresh token](./doc/refresh_token.png)

* 使用移动端 App refresh token: 需要在其前增加 `app:` 前缀,如 refresh token 为 `abcd` 则填入 `app:abcd`

## License

This work is released under the MIT license. A copy of the license is provided in the [LICENSE](./LICENSE) file.
2 changes: 1 addition & 1 deletion merlin/config.json.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
"md5": "c0bac93db83f87293a1e4efb7aa5a97c",
"module": "aliyundrivewebdav",
"title": "阿里云盘 WebDAV",
"version": "1.4.0"
"version": "1.5.0"
}
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:=1.4.0
PKG_VERSION:=1.5.0
PKG_RELEASE:=$(AUTORELEASE)

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:=1.4.0
PKG_VERSION:=1.5.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: '1.4.0'
version: '1.5.0'
summary: 阿里云盘 WebDAV
description: |
阿里云盘 WebDAV 服务
Expand Down

0 comments on commit 9cc729b

Please sign in to comment.