Commit Graph

125 Commits (update-checksum)

Author SHA1 Message Date
HFO4 e41ec9defa Refactor: move slave pkg inside of cluster
Test: middleware for node communication
2021-11-08 19:54:26 +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 a5f80a4431 Feat: get permanent URL for OneDrive policy 2021-03-20 12:33:39 +08:00
HFO4 1f1bc056e3 Feat: API for getting object property 2021-03-11 14:50:02 +08:00
HFO4 5e226efea1 Feat: disable overwrite for non-updating put request, only works under local,slave,OneDrive,OSS policy. (#764) 2021-03-01 13:03:49 +08:00
HFO4 9f2f14cacf Fix: https://github.com/cloudreve/Cloudreve/issues/504 2020-12-10 16:59:45 +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
HFO4 aa3e8913ab Feat: add ".zip" suffix if not specified while creating compressed file 2020-05-24 10:36:26 +08:00
HFO4 58856612e2 Feat: create empty file in web panel (#305) 2020-05-09 10:35:18 +08:00
HFO4 5d579cdadc Feat: slave side list file 2020-04-28 10:02:53 +08:00
HFO4 ab3b59e63d Feat: add option to force delete file record in database 2020-04-19 10:09:16 +08:00
HFO4 68d3131521 Feat: cross compile script 2020-03-09 16:53:01 +08:00
HFO4 e8c4660c38 Feat: check policy update before upload 2020-02-27 17:12:59 +08:00
HFO4 faf46745bc Feat: cron / Fix: users status check 2020-02-15 14:02:21 +08:00
HFO4 15f4b1819b Feat: add and delete file tags 2020-02-12 11:38:04 +08:00
HFO4 127d0236f9 Feat: filter and search file 2020-02-11 11:13:20 +08:00
HFO4 8f28a9c346 Modify: change raw object ID to Hash ID in share service 2020-02-10 14:29:27 +08:00
HFO4 9be1b4366f Modify: change raw object ID to Hash ID in file service 2020-02-10 13:10:59 +08:00
HFO4 f235ad1def Fix: aria2 RPC retry / return NoT_FOUND error while listing not existed path 2020-02-10 10:33:39 +08:00
HFO4 16613a6113 Modify: return parent folder id while listing objects 2020-02-07 13:54:37 +08:00
HFO4 91e202c7e6 Feat: decompression task 2020-02-03 13:23:33 +08:00
HFO4 e722c33cd5 Feat: task queue / compression task 2020-02-02 14:40:07 +08:00
HFO4 4f0c2bbb29 Feat: readme in shared folder 2020-01-31 15:12:15 +08:00
HFO4 f5d79b1f94 Feat: re-save shared folder to user's space 2020-01-31 11:27:52 +08:00
HFO4 b1a9943b0c Feat: download / preview files for shared folder 2020-01-30 14:22:03 +08:00
HFO4 0d7c0793b2 Feat: preview shared text/doc file 2020-01-29 12:16:52 +08:00
HFO4 1ff4d59978 Feat: preview shared file 2020-01-28 13:40:19 +08:00
HFO4 fa3b51096a Feat: upyun download / thumb / sign 2020-01-18 14:08:43 +08:00
HFO4 5befbc21d0 Feat: upyun callback & authentication 2020-01-18 10:40:03 +08:00
HFO4 dd198becce Feat: client-upload file in oss 2020-01-16 13:36:13 +08:00
HFO4 0e62665d7f Fix: do hard-copy when editing file with soft links 2020-01-16 10:11:16 +08:00
HFO4 d94896041e Fix: cannot edit file in remote server / Modify: separate preview and text-file content controller 2020-01-04 15:49:08 +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 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 8a262a15d5 Modify: Decide whether to redirect when previewing based on storage policy 2019-12-31 13:09:26 +08:00
HFO4 5b9de0e097 Feat: use sync.pool to obtain new FileSystem instance 2019-12-29 14:31:03 +08:00
HFO4 de4793aacb Modify: auth instance as first param in SignURI/Request 2019-12-29 13:50:23 +08:00
HFO4 b5ee3ee609 Fix: cors middleware should be applied directly to root router 2019-12-29 13:15:09 +08:00
HFO4 2b8921e9fd Fix: untracked files 2019-12-28 15:54:16 +08:00
HFO4 e6d2a94809 Feat: preview doc file / Fix: chinese character encoding in attachment header 2019-12-16 13:24:09 +08:00
HFO4 9a942f8b48 Modify: decoupling getSignedURL modules 2019-12-16 12:52:35 +08:00
HFO4 8bf2966d46 Feat: update file content 2019-12-15 14:01:37 +08:00
HFO4 2c75c73886 Modify: preview should use login session to enable http-range 2019-12-14 15:06:30 +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 ad02a659a6 Feat: read CORS config from file 2019-12-13 19:00:58 +08:00
HFO4 c102c74d6d Fix: download archived file anonymously 2019-12-13 18:07:15 +08:00
HFO4 02c93be3bc Feat: download temporary archive file 2019-12-13 15:10:44 +08:00
HFO4 afc0b647ca Fix: failed unit test / Feat: support TTL in redis cache 2019-12-13 13:22:10 +08:00
HFO4 cf9416ef88 Feat: archive download and sign temp url 2019-12-13 11:41:22 +08:00
HFO4 012281c41f Feat: zip create 2019-12-13 09:46:53 +08:00
HFO4 e8aa0435c5 Feat: archive & download routers for test 2019-12-12 10:04:24 +08:00
HFO4 ba34a092d1 Feat: group options in database scheme 2019-12-12 09:16:24 +08:00
HFO4 18968458a4 Modify: close file in main routine 2019-12-11 18:52:41 +08:00
HFO4 297b507ca7 Feat: get file content via anonymous url 2019-12-10 20:42:40 +08:00
HFO4 ea7f034332 Feat: sign auth middleware 2019-12-10 20:17:21 +08:00
HFO4 36d5f51495 Feat: sign file source url 2019-12-10 17:10:34 +08:00
HFO4 a445da5286 Fix: failed unit test due to missing mock.ExpectWereMatch() 2019-12-08 13:03:08 +08:00
HFO4 56b1ae9f31 Modify: use pure tree structure in file system scheme 2019-12-07 19:47:22 +08:00
HFO4 10a2ef4267 Feat: rename file 2019-12-07 15:54:07 +08:00
HFO4 c09fc535dc Feat: unit test coverage report 2019-12-03 14:20:23 +08:00
HFO4 adf7f3deeb Fix: handler move files in top levels 2019-12-02 14:47:55 +08:00
HFO4 fd02425547 Feat: move files/directories 2019-12-01 18:31:29 +08:00
HFO4 93010e3525 Feat: delete objects 2019-11-30 15:09:56 +08:00
HFO4 0cbbe5bb79 Modify: use uri parameter in Get File 2019-11-29 15:24:23 +08:00
HFO4 7d5016ae40 Test: same folder check 2019-11-27 19:16:13 +08:00
HFO4 9bb432c220 Feat: download file with speed limit 2019-11-27 13:10:19 +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 a734493b65 Feat: custom error for general layer codes 2019-11-26 19:51:54 +08:00
HFO4 b431f3674c Feat: list objects in specific path 2019-11-24 13:06:15 +08:00
HFO4 a89c3cb11a Feat: create folder / Modify: add index to some column 2019-11-24 11:33:30 +08:00