jqzhang
|
b0f1c0d42a
|
modify vendor
|
2021-06-15 14:10:23 +08:00 |
|
jqzhang
|
4f1e6c74f1
|
bugfix bigfile upload #286
|
2021-06-15 14:08:53 +08:00 |
|
jqzhang
|
f93842510f
|
bugix #279 delete file not found
|
2021-05-28 17:46:12 +08:00 |
|
jqzhang
|
f4f8705f33
|
modify dockerfile for source code refactoring
|
2021-05-19 15:38:28 +08:00 |
|
jqzhang
|
aa2661295f
|
add vendor
|
2021-05-19 14:47:08 +08:00 |
|
busyfree
|
83d4d8cd4f
|
change app name
|
2021-05-18 14:37:12 +08:00 |
|
busyfree
|
af82630e2b
|
rm conf
|
2021-05-18 14:37:12 +08:00 |
|
busyfree
|
ba702d5198
|
change github.com/shirou/gopsutil import
|
2021-05-18 14:37:12 +08:00 |
|
busyfree
|
9c3d468bbe
|
change tusd import path
|
2021-05-18 14:37:12 +08:00 |
|
busyfree
|
98c04ba8a5
|
add github workflow
|
2021-05-18 14:37:12 +08:00 |
|
busyfree
|
986290e8a7
|
fix fileserver_test.go
|
2021-05-18 14:37:12 +08:00 |
|
busyfree
|
0e900315d3
|
change gitignore
|
2021-05-18 14:37:12 +08:00 |
|
busyfree
|
866c7b7677
|
reconstruct project and add go mod support
|
2021-05-18 14:37:12 +08:00 |
|
busyfree
|
2279daac11
|
add gitignore
|
2021-05-18 14:37:12 +08:00 |
|
jqzhang
|
e706f5c5aa
|
image resize support max size
|
2021-04-22 15:45:44 +08:00 |
|
jqzhang
|
00dc11c340
|
git add tag for version
|
2021-04-22 12:35:50 +08:00 |
|
jqzhang
|
88b5c1355e
|
remove duplicate file
|
2021-03-02 18:29:06 +08:00 |
|
jqzhang
|
3cd109a75b
|
bugfix json output &
|
2021-02-18 14:01:21 +08:00 |
|
jqzhang
|
3fb3e07d62
|
bugfix json output &
|
2021-02-18 10:32:26 +08:00 |
|
jqzhang
|
d503095f95
|
bugfix big file upload the same file with callback
|
2021-01-12 10:08:59 +08:00 |
|
Phani Rithvij
|
ef08d8ce26
|
fix some markdown issues
|
2020-11-18 11:28:45 +08:00 |
|
jqzhang
|
75e7d76f0c
|
Merge branch 'master' of https://github.com/sjqzhang/go-fastdfs
|
2020-09-24 22:36:31 +08:00 |
|
jqzhang
|
5f2b41d5e1
|
modify download filename by parameters
|
2020-09-23 14:32:02 +08:00 |
|
Jrohy
|
41f004ba8b
|
优化gofastdfs.service
|
2020-08-06 22:08:07 +08:00 |
|
jqzhang
|
08af0d309a
|
remove enterprise description
|
2020-07-14 11:02:04 +08:00 |
|
jqzhang
|
78bd97281a
|
add status check peer_id host
|
2020-07-03 11:45:04 +08:00 |
|
Gavin-cn
|
e348f8e1d9
|
为了方便基于Docker部署增加peers和peerId的环境变量获取。
修改3806-3822行,增加`GO_FASTDFS_PEER_ID`和`GO_FASTDFS_PEERS`用来传递对应的`peerId`和`peers`对应的参数,方便基于容器和k8s进行集群部署。
```go
var peerId string
if peerId = os.Getenv("GO_FASTDFS_PEER_ID"); peerId == "" {
peerId = fmt.Sprintf("%d", server.util.RandInt(0, 9))
}
if !server.util.FileExists(CONST_CONF_FILE_NAME) {
var ip string
if ip = os.Getenv("GO_FASTDFS_IP"); ip == "" {
ip = server.util.GetPulicIP()
}
peer := "http://" + ip + ":8080"
var peers string
if peers = os.Getenv("GO_FASTDFS_PEERS"); peers == ""{
peers = peer
}
cfg := fmt.Sprintf(cfgJson, peerId, peer, peers)
server.util.WriteFile(CONST_CONF_FILE_NAME, cfg)
}
```
|
2020-06-29 16:19:25 +08:00 |
|
jqzhang
|
0c7be5bad8
|
add check host
|
2020-06-18 13:58:29 +08:00 |
|
jqzhang
|
b403dedecd
|
add check host
|
2020-06-18 13:39:43 +08:00 |
|
jqzhang
|
a07d53e906
|
modify Readme
|
2020-06-13 10:28:12 +08:00 |
|
jqzhang
|
aeef0844fc
|
bugfix file not close for tmp file
|
2020-06-09 21:34:08 +08:00 |
|
jqzhang
|
cebaa107a2
|
bugfix file close for windows
|
2020-05-11 13:06:23 +08:00 |
|
jqzhang
|
a23368161f
|
bugfix sync file fail when support_group_manage is true
|
2020-05-10 20:41:21 +08:00 |
|
jqzhang
|
c02e3af8cb
|
add community compare with enterprise description
|
2020-05-10 20:11:36 +08:00 |
|
jqzhang
|
f7a55a2ad8
|
bugfix close tmp file
|
2020-04-22 09:54:50 +08:00 |
|
jqzhang
|
b68156a143
|
bugfix close tmp file
|
2020-04-22 09:35:45 +08:00 |
|
jqzhang
|
e3e79794cb
|
add enable_image_resize options
|
2020-04-18 13:44:58 +08:00 |
|
jqzhang
|
c2ac4ea126
|
bugfix static dir
|
2020-04-17 14:43:09 +08:00 |
|
jqzhang
|
d7ccbd7f28
|
reset static for community
|
2020-04-16 16:13:54 +08:00 |
|
jqzhang
|
ba4e2a6ae1
|
go-bindata -o asset.go -fs -prefix static static/...
|
2020-04-16 16:04:45 +08:00 |
|
jqzhang
|
d73e1cd808
|
add static
|
2020-04-15 18:38:29 +08:00 |
|
jqzhang
|
b7bd0255c5
|
support backup metadata to redis
|
2020-04-12 18:00:47 +08:00 |
|
jqzhang
|
ef8f503871
|
add redis support
|
2020-04-12 09:03:49 +08:00 |
|
jqzhang
|
c1124aefaa
|
support https
|
2020-04-09 12:16:21 +08:00 |
|
FulltimeLove
|
9d2c182325
|
解决adminIP不能使用ip的问题
len(strings.Split(v, "/")) > 0 在string 不为空时,恒为true
|
2020-03-24 19:26:57 +08:00 |
|
jqzhang
|
a84dff1c7e
|
add static file
|
2020-03-21 11:11:37 +08:00 |
|
FulltimeLove
|
833b32d509
|
paic when file stat error
当 outFile.Stat() 出现 错误时, fi会被赋值为nil , 导致后面使用fi.Size()时 引起panic
|
2020-03-20 12:30:43 +08:00 |
|
jqzhang
|
f75fe4a7dd
|
bugfix testing
|
2020-03-19 11:29:33 +08:00 |
|
jqzhang
|
eba2cfca81
|
admin_ips support cidr for exmaple: 10.10.0.0/16
|
2020-03-19 10:25:38 +08:00 |
|
jqzhang
|
3f30f6cf0e
|
when admin_ips contains 0.0.0.0 all permit
|
2020-03-18 17:21:14 +08:00 |
|