Commit graph

73 commits

Author SHA1 Message Date
HFO4
532bff820a Test: new modifications in filesystem pkg 2021-11-16 20:54:21 +08:00
HFO4
4d7b8685b9 Test: aria2 task monitor
Fix: tmp file not deleted after transfer task failed to create
2021-11-09 20:53:42 +08:00
HFO4
3064ed60f3 Test: new database models and middlewares 2021-11-08 20:49:07 +08:00
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
e781185ad2 Test: captcha verify middleware 2021-03-22 21:19:43 +08:00
topjohncian
233648b956
Refactor: captcha (#796) 2021-03-22 02:28:12 -08:00
日下部 詩
a276be4098
注册帐号时,如果尚未验证,再发一次验证信 (#765)
* 注册帐号时,如果尚未验证,再发一次验证信

* 修正2个bug。 1:未验证显示密码错误 2:未验证无法重发email

* 小修正,如果已存在user,拿已有user资讯取代掉新user资讯来寄送激活码

* 激活码改成激活邮件

* 忘记密码以后,重设二步验证设定

* Revert "忘记密码以后,重设二步验证设定"

This reverts commit c5ac10b11c.

* 實作 https://github.com/cloudreve/Cloudreve/pull/765#discussion_r584313520
2021-03-02 12:43:14 +08:00
HFO4
055ed0e075 Fix: standardize the use of error codes related to login credentials 2020-12-08 20:13:42 +08:00
HFO4
5ab93a6e0d Test: frontend middleware 2020-12-08 18:15:02 +08:00
HFO4
5d406f1c6a Feat: use history router mode 2020-12-08 17:36:19 +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
746aa3e8ef Test: s3 policy 2020-10-26 15:33:28 +08:00
GuerraMorgan
bfd2340732
Add: Unix Socket support (#466)
* Update conf.go

* Update driver.go

* Update session.go

* Update defaults.go

* Update main.go

* Update conf.go

* Update defaults.go
2020-08-12 20:31:28 +08:00
ZZF
dd50ef1c25
添加S3策略的支持 (#425)
* 添加亚马逊S3策略的支持

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

* 增加Region
2020-06-05 14:45:24 +08:00
HFO4
4c458df666 Fix: failed tests while static files not loaded 2020-05-19 10:34:16 +08:00
HFO4
2076d56f0f Feat: dynamic writing site title, favicon, description, custom html (#286) 2020-05-19 10:24:15 +08:00
HFO4
65cf0f57aa Fix: failed test due to policy cache 2020-03-18 09:47:06 +08:00
HFO4
32c0232105 Fix: file preview URL in share page should not be accessed directly 2020-03-17 15:57:38 +08:00
HFO4
c74ed10dbd Test: aria2 / filesystem.image 2020-03-12 10:12:13 +08:00
HFO4
210af8f9e1 Fix: Root user should always have admin permission 2020-03-11 19:56:20 +08:00
HFO4
4ba24e0cf1 Modify: clean modals 2020-03-11 15:22:21 +08:00
HFO4
f1ef21e195 Feat: add local policy 2020-02-26 15:11:06 +08:00
HFO4
49f784104e Fix: get site summary in dashboard 2020-02-22 16:22:04 +08:00
HFO4
5363b90167 Test: options / WebDAV middleware 2020-02-21 11:16:25 +08:00
HFO4
c817f70f8e Feat: Webauthn / theme changing 2020-02-21 10:08:47 +08:00
HFO4
0502a0f212 Test: share/storage/user model 2020-02-17 14:04:48 +08:00
HFO4
faf46745bc Feat: cron / Fix: users status check 2020-02-15 14:02:21 +08:00
HFO4
44d6ca487c Feat: mount storage policy for folders in WebDAV 2020-02-13 15:27:40 +08:00
HFO4
cfbfbc3c55 Feat: list/search/update/delete shares 2020-02-13 11:53:24 +08:00
HFO4
bb63ea7142 Test: model.Tags / modifications 2020-02-12 13:19:25 +08:00
HFO4
9be1b4366f Modify: change raw object ID to Hash ID in file service 2020-02-10 13:10:59 +08:00
HFO4
4c530a26a0 Test: pkg/task / Fix: failed test due to policy cache 2020-02-07 11:47:52 +08:00
HFO4
e722c33cd5 Feat: task queue / compression task 2020-02-02 14:40:07 +08:00
HFO4
ab739ea07c Test: Share related middleware 2020-02-01 13:47:10 +08:00
HFO4
0edbbfc9ea Feat: list files for shared folder 2020-01-30 13:21:21 +08:00
HFO4
e2f6dab70c Feat: save re-save single shared file 2020-01-29 13:45:27 +08:00
HFO4
8d437a451c Feat: COS credential / upload callback 2020-01-23 12:38:32 +08:00
HFO4
6aee31341f Feat: async monitor OneDrive resume upload progress 2020-01-21 11:49:46 +08:00
HFO4
dd5f6e3d25 Feat: onedrive client upload / callback 2020-01-20 14:34:21 +08:00
HFO4
fa3b51096a Feat: upyun download / thumb / sign 2020-01-18 14:08:43 +08:00
HFO4
84a6218d3a Test: oss callback signature verification 2020-01-18 12:51:07 +08:00
HFO4
5befbc21d0 Feat: upyun callback & authentication 2020-01-18 10:40:03 +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
dd198becce Feat: client-upload file in oss 2020-01-16 13:36:13 +08:00
HFO4
534e127f87 Test: qiniu handler get token 2020-01-15 11:03:26 +08:00
HFO4
e8d21b1e9b Feat: qiniu upload & callback 2020-01-15 10:14:15 +08:00
HFO4
eceee2fc76 Test: remote callback auth 2019-12-30 19:56:01 +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
64342fa88d Feat: send remote uploading callback 2019-12-29 17:04:08 +08:00