Commit graph

47 commits

Author SHA1 Message Date
HFO4
0df9529b32 Feat: generating token and callback url for OSS muiltpart upload, support resume upload in sever-side uploading for OSS 2022-03-20 11:23:55 +08:00
kikoqiu
54ed7e43ca
Feat: improve thumbnails proformance and GC for local policy (#1044)
* thumb generating improvement

Replace "github.com/nfnt/resize" with "golang.org/x/image/draw". Add thumb task queue to avoid oom when batch thumb operation

* thumb improvement

* Add some tests for thumbnail generation
2021-11-11 17:45:22 +08:00
AaronLiu
056de22edb
Feat: aria2 download and transfer in slave node (#1040)
* Feat: retrieve nodes from data table

* Feat: master node ping slave node in REST API

* Feat: master send scheduled ping request

* Feat: inactive nodes recover loop

* Modify: remove database operations from aria2 RPC caller implementation

* Feat: init aria2 client in master node

* Feat: Round Robin load balancer

* Feat: create and monitor aria2 task in master node

* Feat: salve receive and handle heartbeat

* Fix: Node ID will be 0 in download record generated in older version

* Feat: sign request headers with all `X-` prefix

* Feat: API call to slave node will carry meta data in headers

* Feat: call slave aria2 rpc method from master

* Feat: get slave aria2 task status
Feat: encode slave response data using gob

* Feat: aria2 callback to master node / cancel or select task to slave node

* Fix: use dummy aria2 client when caller initialize failed in master node

* Feat: slave aria2 status event callback / salve RPC auth

* Feat: prototype for slave driven filesystem

* Feat: retry for init aria2 client in master node

* Feat: init request client with global options

* Feat: slave receive async task from master

* Fix: competition write in request header

* Refactor: dependency initialize order

* Feat: generic message queue implementation

* Feat: message queue implementation

* Feat: master waiting slave transfer result

* Feat: slave transfer file in stateless policy

* Feat: slave transfer file in slave policy

* Feat: slave transfer file in local policy

* Feat: slave transfer file in OneDrive policy

* Fix: failed to initialize update checker http client

* Feat: list slave nodes for dashboard

* Feat: test aria2 rpc connection in slave

* Feat: add and save node

* Feat: add and delete node in node pool

* Fix: temp file cannot be removed when aria2 task fails

* Fix: delete node in admin panel

* Feat: edit node and get node info

* Modify: delete unused settings
2021-10-31 09:41:56 +08:00
Loyalsoldier
79b8784934
Comply with Golang semantic import versioning (#630)
* Code: compatible with semantic import versioning

* Tools & Docs: compatible with semantic import versioning

* Clean go.mod & go.sum
2020-11-21 17:34:55 +08:00
ZZF
dd50ef1c25
添加S3策略的支持 (#425)
* 添加亚马逊S3策略的支持

* 添加CDN支持,公有目录删除无用参数

* 增加Region
2020-06-05 14:45:24 +08:00
HFO4
1a1543f190 Fix: catch internal error in OneDrive OAuth callback 2020-04-07 10:08:34 +08:00
HFO4
691c9aeb7d Feat: gzip support for static files 2020-04-06 09:05:30 +08:00
HFO4
f594d0ab83 Feat: check new versions while booting 2020-03-18 11:36:34 +08:00
HFO4
68d3131521 Feat: cross compile script 2020-03-09 16:53:01 +08:00
HFO4
30311d181d Feat: embed static files 2020-03-09 14:07:36 +08:00
HFO4
1d0d6e5f31 Feat: git submodule / static file 2020-03-09 13:23:13 +08:00
HFO4
c30c19ca3e Feat: create SFC for oss callback 2020-03-01 16:25:56 +08:00
HFO4
a8272a66b7 Modify: move aria2 into internal packages / migration version check 2020-02-22 12:18:49 +08:00
HFO4
80268e33bf Feat: enable 2FA / password management 2020-02-20 12:42:38 +08:00
HFO4
4420a75c04 Feat: user setting 2020-02-19 16:05:54 +08:00
HFO4
0253b4e5b6 Feat: payjs payment 2020-02-17 13:14:18 +08:00
HFO4
f8c14b3826 Feat: vas alipay 2020-02-17 12:33:54 +08:00
HFO4
faf46745bc Feat: cron / Fix: users status check 2020-02-15 14:02:21 +08:00
HFO4
14982f5e70 Fix: handle none-utf8 encoding in decompression 2020-02-07 14:01:53 +08:00
HFO4
491e4de9de Feat: download torrent / multiple file / select file 2020-02-05 15:11:34 +08:00
HFO4
fe8f1b1ef5 Feat: creat uri aria2 download task 2020-02-04 15:29:52 +08:00
HFO4
0ee0ac5e89 Feat: generate share URL 2020-01-26 13:07:05 +08:00
HFO4
c34f211d7e Feat: get source url in COS 2020-01-25 11:20:31 +08:00
HFO4
8d437a451c Feat: COS credential / upload callback 2020-01-23 12:38:32 +08:00
HFO4
fa3b51096a Feat: upyun download / thumb / sign 2020-01-18 14:08:43 +08:00
HFO4
dd198becce Feat: client-upload file in oss 2020-01-16 13:36:13 +08:00
HFO4
90827b2441 Feat: sign http request / read running mode from config file 2019-12-23 13:27:18 +08:00
HFO4
327a3c1edf Feat: ttl in memory-cache / Add: webdav from standard library 2019-12-16 18:56:25 +08:00
HFO4
6d6255e759 Test: redis cache 2019-12-09 19:30:52 +08:00
HFO4
f35c585edf Feat experimental WebAuth API 2019-12-08 22:17:36 +08:00
HFO4
0932a10fed Feat: generate thumbnails for image file 2019-12-08 14:16:01 +08:00
HFO4
7375cc01f1 Feat: cache in-memory store 2019-12-05 17:01:14 +08:00
HFO4
5d50e7ed1e Test: moveOrCopyFolder / File 2019-12-04 13:49:28 +08:00
HFO4
9bb432c220 Feat: download file with speed limit 2019-11-27 13:10:19 +08:00
HFO4
0cb80f69f5 Modify: split hooks into small modules 2019-11-26 11:42:26 +08:00
HFO4
948059ec1c Feat: CORS / Test: site/config route 2019-11-23 15:09:46 +08:00
HFO4
e835dafc88 Feat: colorful log output for log prefix 2019-11-20 12:39:27 +08:00
HFO4
e05ba1030c Modify: package name 2019-11-16 16:11:37 +08:00
HFO4
7d4e212d4e Feat: captcha 2019-11-13 17:03:55 +08:00
HFO4
6f96018223 Feat: User login 2019-11-11 19:13:17 +08:00
HFO4
e858cbe2cf Feat: Decide whether to do database migration based on version.lock 2019-11-09 19:04:48 +08:00
HFO4
53da4655ad Reading config file 2019-11-08 18:29:12 +08:00
HFO4
aca8bde521 User model/migrations and gorm init 2019-11-07 15:56:05 +08:00
HFO4
2c9e0c1119 Testing for controller/main.go 2019-11-06 22:35:31 +08:00
HFO4
6539ae20fa Basic check for User controller 2019-11-05 19:49:56 +08:00
HFO4
74b5bf24a8 Add: Ping router 2019-11-05 12:31:22 +08:00
HFO4
86896aedd0 Init 2019-11-04 20:30:12 +08:00