Commit graph

67 commits

Author SHA1 Message Date
HFO4
855c9d92c4 Feat: get policy from directory props / Feat: return source enabled flag in file list 2022-02-10 19:25:38 +08:00
HFO4
af4d9767c2 Fix: slave node cannot transfer files to other slave node 2021-11-30 19:26:07 +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
HFO4
d97bc26042 Fix: add recycleLock preventing recycle FileSystem used by another goroutine 2020-11-21 19:32:25 +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
36e5b31f73 Modify: add recursive options for list method
Test: local.List
2020-04-27 10:31:34 +08:00
HFO4
f7311f906b Feat: add List method to Handler interface / implement local.List 2020-04-24 11:08:07 +08:00
HFO4
91e202c7e6 Feat: decompression task 2020-02-03 13:23:33 +08:00
HFO4
8bb2c2b0c5 Test: share related operation in filesystem 2020-02-01 14:26:21 +08:00
HFO4
f5d79b1f94 Feat: re-save shared folder to user's space 2020-01-31 11:27:52 +08:00
HFO4
68704f8646 Feat: options to disable preview in file sharing 2020-01-29 11:03:09 +08:00
HFO4
7f0feebf42 Feat: download file from single file share 2020-01-28 12:41:00 +08:00
HFO4
4abd5b2346 Feat: cos policy upload/download in server-side 2020-01-25 11:43:13 +08:00
HFO4
8d437a451c Feat: COS credential / upload callback 2020-01-23 12:38:32 +08:00
HFO4
752ce5ce62 Feat: resume upload in server side 2020-01-21 15:36:04 +08:00
HFO4
dd5f6e3d25 Feat: onedrive client upload / callback 2020-01-20 14:34:21 +08:00
HFO4
807aa5ac18 Feat: OneDrive OAuth / refresh token 2020-01-19 12:52:36 +08:00
HFO4
fa3b51096a Feat: upyun download / thumb / sign 2020-01-18 14:08:43 +08:00
HFO4
68d4a86166 Fix: storage policy should be re-dispatched according to policy id in upload session 2020-01-17 14:35:21 +08:00
HFO4
f7ecbce64c Feat: generate upload credentials for upyun 2020-01-17 14:05:51 +08:00
HFO4
3da87ba7cf Test: oss driver 2020-01-17 13:04:14 +08:00
HFO4
286f76cbec Feat: download file / speed limit in oss policy 2020-01-16 14:28:35 +08:00
HFO4
0e62665d7f Fix: do hard-copy when editing file with soft links 2020-01-16 10:11:16 +08:00
HFO4
098aa0a0c0 Fix: failed unit test due to setting name change 2020-01-15 16:10:25 +08:00
HFO4
e8d21b1e9b Feat: qiniu upload & callback 2020-01-15 10:14:15 +08:00
HFO4
9c48f4b7ad Feat: remote file thumb preview 2020-01-02 13:31:41 +08:00
HFO4
b6102c3ae5 Fix: policy should be re-dispatch while getting thumbnails 2020-01-02 13:10:04 +08:00
HFO4
a75be3a927 Add: GetIntSetting helper 2020-01-02 12:44:53 +08:00
HFO4
fffcf1aa1b Test: remote handler.delete 2020-01-01 20:34:25 +08:00
HFO4
ee08821361 Feat: remote delete file / Fix: broken Filesystem recycle in upload request 2020-01-01 20:15:05 +08:00
HFO4
b19910867e Feat: download / preview files in slave side 2019-12-31 14:21:57 +08:00
HFO4
d29b7ef6f8 Feat: auth for remote callback / Modify: use map to store hooks in filesystem 2019-12-30 19:08:38 +08:00
HFO4
5b9de0e097 Feat: use sync.pool to obtain new FileSystem instance 2019-12-29 14:31:03 +08:00
HFO4
2b8921e9fd Fix: untracked files 2019-12-28 15:54:16 +08:00
HFO4
6470340104 Add: upload controller in slave mode 2019-12-27 21:15:05 +08:00
HFO4
9a942f8b48 Modify: decoupling getSignedURL modules 2019-12-16 12:52:35 +08:00
HFO4
03dcd9a9e0 Modify: add general ReaderCloserSeeker interface for handler GET method to return 2019-12-13 20:54:28 +08:00
HFO4
f262caf1f5 Feat: download file and get file downloading session 2019-12-13 20:46:11 +08:00
HFO4
c102c74d6d Fix: download archived file anonymously 2019-12-13 18:07:15 +08:00
HFO4
d0bb123e03 Test: get source URL of files 2019-12-11 12:24:09 +08:00
HFO4
297b507ca7 Feat: get file content via anonymous url 2019-12-10 20:42:40 +08:00
HFO4
36d5f51495 Feat: sign file source url 2019-12-10 17:10:34 +08:00
HFO4
f35c585edf Feat experimental WebAuth API 2019-12-08 22:17:36 +08:00
HFO4
93010e3525 Feat: delete objects 2019-11-30 15:09:56 +08:00
HFO4
16067c3ac8 Test: download file in filesystem 2019-11-27 13:54:25 +08:00
HFO4
29def02489 Fix: upload was marked canceled when small file uploaded 2019-11-27 12:49:31 +08:00
HFO4
4156a71adf Feat: file download in service level 2019-11-26 20:59:57 +08:00
HFO4
0cb80f69f5 Modify: split hooks into small modules 2019-11-26 11:42:26 +08:00
HFO4
5e1e76719f Test: list folder & filesystem/path & model/folder/list 2019-11-24 16:28:41 +08:00