Compare commits

...

7 Commits

Author SHA1 Message Date
simba
1ec66adda0 change dingtalk qrcode 2022-06-30 23:28:44 +08:00
Simba
60c8843734
Merge pull request #175 from eyebluecn/v3.1.6
V3.1.6
2022-05-01 18:01:32 +08:00
lishuang
f779053040 Release v3.1.6 2022-05-01 17:55:46 +08:00
lishuang
6becac74d0 Upgrade the front to 3.1.6 2022-05-01 17:51:18 +08:00
lishuang
e64a73eb67 Fix the bug of share auth. 2022-05-01 17:38:19 +08:00
Simba
6626afa6b6
Merge pull request #165 from eyebluecn/fix/build.sh
fix: throw build.sh error
2022-05-01 10:31:04 +08:00
simba
6d35063027 fix: throw build.sh error 2022-04-29 16:32:14 +08:00
16 changed files with 36 additions and 26 deletions

View File

@ -2,7 +2,7 @@
[English Version](https://tank-doc.eyeblue.cn/en)
# 蓝眼云盘3.1.5
# 蓝眼云盘3.1.6
[在线Demo](https://tanker.eyeblue.cn) (体验账号: demo 密码123456)
蓝眼云盘是蓝眼开源系列代表作品之一,致力于打造精致,优雅,简约的云盘。核心功能如下:
@ -42,11 +42,11 @@
如果您也想参与进来请尽情的fork, star, post issue, pull requests
当然你可以加入钉钉群一起直接交流在钉钉群中可以获取最新beta版本。
当然你可以加入钉钉群(一群已满员)一起直接交流在钉钉群中可以获取最新beta版本。
![](./build/doc/img/dingding.jpg)
群号:23156361
群号:44754005
### Support

Binary file not shown.

Before

Width:  |  Height:  |  Size: 208 KiB

After

Width:  |  Height:  |  Size: 136 KiB

View File

@ -1,7 +1,7 @@
{
"files": {
"main.css": "/static/css/main.8994a208.css",
"main.js": "/static/js/main.7a2a6dcd.js",
"main.css": "/static/css/main.b03c51fb.css",
"main.js": "/static/js/main.b94b1947.js",
"static/media/logo.png": "/static/media/logo.847e54ef7fb4b744fad4.png",
"static/media/empty.svg": "/static/media/empty.20ceb38d310075aa4c3cdaae210afb65.svg",
"static/media/psd.svg": "/static/media/psd.bf2ac5411c0132f292787f45855934f2.svg",
@ -18,11 +18,11 @@
"static/media/folder.svg": "/static/media/folder.0bdd7430280c98bf4970b6af5a061c2c.svg",
"static/media/archive.svg": "/static/media/archive.684c1e42f233aa9d53a8910d4fee091e.svg",
"index.html": "/index.html",
"main.8994a208.css.map": "/static/css/main.8994a208.css.map",
"main.7a2a6dcd.js.map": "/static/js/main.7a2a6dcd.js.map"
"main.b03c51fb.css.map": "/static/css/main.b03c51fb.css.map",
"main.b94b1947.js.map": "/static/js/main.b94b1947.js.map"
},
"entrypoints": [
"static/css/main.8994a208.css",
"static/js/main.7a2a6dcd.js"
"static/css/main.b03c51fb.css",
"static/js/main.b94b1947.js"
]
}

View File

@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="eyeblue tank"/><title>EyeblueTank</title><script defer="defer" src="/static/js/main.7a2a6dcd.js"></script><link href="/static/css/main.8994a208.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run EyeblueTank.</noscript><div id="root"></div></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="eyeblue tank"/><title>EyeblueTank</title><script defer="defer" src="/static/js/main.b94b1947.js"></script><link href="/static/css/main.b03c51fb.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run EyeblueTank.</noscript><div id="root"></div></body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -11,7 +11,7 @@
@REM prepare the variables.
@REM version name
SET VERSION_NAME=tank-3.1.5
SET VERSION_NAME=tank-3.1.6
ECHO VERSION_NAME: %VERSION_NAME%
@REM golang proxy
SET GOPROXY=https://goproxy.cn

View File

@ -1,4 +1,5 @@
#!/bin/bash
set -e
###########################################################################
#
@ -9,7 +10,7 @@
#prepare the variables.
# version name
VERSION_NAME=tank-3.1.5
VERSION_NAME=tank-3.1.6
echo "VERSION_NAME: ${VERSION_NAME}"
# golang proxy
GOPROXY=https://goproxy.cn

View File

@ -14,7 +14,7 @@ const (
//db table's prefix. tank31_ means current version is tank:3.1.x
TABLE_PREFIX = "tank31_"
VERSION = "3.1.5"
VERSION = "3.1.6"
)
type Config interface {

View File

@ -278,6 +278,10 @@ func (this *ShareController) Browse(writer http.ResponseWriter, request *http.Re
user := this.findUser(request)
share := this.shareService.CheckShare(request, shareUuid, code, user)
bridges := this.bridgeDao.FindByShareUuid(share.Uuid)
shareOwner := this.userDao.FindByUuid(share.UserUuid)
if shareOwner.Status == USER_STATUS_DISABLED {
panic(result.BadRequestI18n(request, i18n.UserDisabled))
}
if puuid == MATTER_ROOT {

View File

@ -92,6 +92,11 @@ func (this *ShareService) ValidateMatter(request *http.Request, shareUuid string
share := this.CheckShare(request, shareUuid, code, user)
shareOwner := this.userDao.FindByUuid(share.UserUuid)
if shareOwner.Status == USER_STATUS_DISABLED {
panic(result.BadRequestI18n(request, i18n.UserDisabled))
}
//if shareRootUuid is root. Bridge must has record.
if shareRootUuid == MATTER_ROOT {