Commit graph

338 commits

Author SHA1 Message Date
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
7a6c84a115 Fix: unsafe pointer while initializing unfinished aria2 task 2020-02-09 10:52:06 +08:00
HFO4
d30159579f Feat: list downloading file 2020-02-08 15:37:51 +08:00
HFO4
356ac8d608 Modify: delete temp file inside monitor lifecycle 2020-02-08 10:02:08 +08:00
HFO4
096483b6ee Fix: do hard-copy when put file content in WebDAV 2020-02-07 14:47:59 +08:00
HFO4
14982f5e70 Fix: handle none-utf8 encoding in decompression 2020-02-07 14:01:53 +08:00
HFO4
16613a6113 Modify: return parent folder id while listing objects 2020-02-07 13:54:37 +08:00
HFO4
4c530a26a0 Test: pkg/task / Fix: failed test due to policy cache 2020-02-07 11:47:52 +08:00
HFO4
fc5b7d42c8 Test: pkg/task 2020-02-06 16:01:06 +08:00
HFO4
2b853dddd3 Test: aria2 related 2020-02-06 13:53:47 +08:00
HFO4
cde49e6e98 Feat: group-defined aria2 download options 2020-02-06 10:27:20 +08:00
HFO4
c29695a40d Feat: cancel aria2 download task 2020-02-06 10:07:46 +08:00
HFO4
1a93c9a2b9 Feat: retry for Onedrive SimpleUpload 2020-02-05 15:17:49 +08:00
HFO4
491e4de9de Feat: download torrent / multiple file / select file 2020-02-05 15:11:34 +08:00
HFO4
3ed84ad5ec Feat: validate / cancel task while downloading file in aria2 2020-02-05 12:58:26 +08:00
HFO4
8c7e3883ee Feat: handle aria2 download complete 2020-02-05 11:22:19 +08:00
HFO4
fe8f1b1ef5 Feat: creat uri aria2 download task 2020-02-04 15:29:52 +08:00
HFO4
7804b4efb1 Fix: Onedrive have batch requests limit for 20 per request 2020-02-04 10:48:26 +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
b1490a665c Fix: missing x-oss-process params in thumb url in public oss bucket 2020-02-01 14:36:57 +08:00
HFO4
8bb2c2b0c5 Test: share related operation in filesystem 2020-02-01 14:26:21 +08:00
HFO4
b49202e7e1 Test: Share model 2020-02-01 13:14:50 +08:00
HFO4
437bdf46d4 Feat: thumb for shared folder 2020-02-01 10:34:23 +08:00
HFO4
9fe451ad4b Fix: cache-control header in thumb redirect request 2020-02-01 10:08:34 +08:00
HFO4
4f0c2bbb29 Feat: readme in shared folder 2020-01-31 15:12:15 +08:00
HFO4
cc2c3b3f0f Feat: archive download in shared folder 2020-01-31 13:18:32 +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
0edbbfc9ea Feat: list files for shared folder 2020-01-30 13:21:21 +08:00
HFO4
a0c320b964 Feat: set default view method in file manager 2020-01-29 14:25:14 +08:00
HFO4
e2f6dab70c Feat: save re-save single shared file 2020-01-29 13:45:27 +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
0977b36f8b Feat: get share info / unlock share 2020-01-27 13:34:39 +08:00
HFO4
94b13393a9 Feat: hash id decode and verification 2020-01-26 14:57:07 +08:00
HFO4
880d224169 Test: hash id generate 2020-01-26 13:16:02 +08:00
HFO4
0ee0ac5e89 Feat: generate share URL 2020-01-26 13:07:05 +08:00
HFO4
4abd5b2346 Feat: cos policy upload/download in server-side 2020-01-25 11:43:13 +08:00
HFO4
c34f211d7e Feat: get source url in COS 2020-01-25 11:20:31 +08:00
HFO4
dc32e85492 Fix: capacity should be returned back when put failed 2020-01-25 10:40:53 +08:00
HFO4
8d437a451c Feat: COS credential / upload callback 2020-01-23 12:38:32 +08:00
HFO4
e894450d5e Modify: cancel race test 2020-01-22 15:11:03 +08:00
HFO4
4baddecd8e Fix: ignore data-race detector in onedrive tests 2020-01-22 15:06:56 +08:00
HFO4
f3c7263b52 Fix: ignore data-race detector in onedrive tests 2020-01-22 14:57:10 +08:00
HFO4
a70bc7b908 Fix: ignore data-race detector in onedrive tests 2020-01-22 14:52:05 +08:00
HFO4
588514b4e0 Test: get filesystem from callback context 2020-01-22 14:41:12 +08:00
HFO4
8672042d61 Test: onedrive related 2020-01-22 14:26:13 +08:00
HFO4
0d2e3cc717 Test: Onedrive.OAuth 2020-01-22 10:50:47 +08:00
HFO4
d3f132de6d Fix: thumbnails for 21Vianet OneDrive 2020-01-22 08:58:59 +08:00
HFO4
752ce5ce62 Feat: resume upload in server side 2020-01-21 15:36:04 +08:00
HFO4
06ff8b5a50 Feat: get OneDrive thumbnails 2020-01-21 13:27:20 +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
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
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
21ec3fc710 Modify: use base64-URLEncoding to encode signature hash 2020-01-17 14:39:30 +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
b862ddb666 Fix: file should be deleted when callback return error 2020-01-17 14:24:51 +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
83a17645a1 Feat: Put file in oss handler 2020-01-17 10:52:43 +08:00
HFO4
7eda63f089 Feat: Get file for oss handler 2020-01-16 15:50:58 +08:00
HFO4
286f76cbec Feat: download file / speed limit in oss policy 2020-01-16 14:28:35 +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
098aa0a0c0 Fix: failed unit test due to setting name change 2020-01-15 16:10:25 +08:00
HFO4
90f82100cf Feat: put / get file in qiniu policy 2020-01-15 16:03:23 +08:00
HFO4
7fbbcefc57 Feat: get thumb & download file in qiniu policy 2020-01-15 14:15:25 +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
5be7ec98c1 Feat: user storage pack 2020-01-14 10:32:54 +08:00
HFO4
f3e78ec4ff Fix: failed unit test 2020-01-13 12:51:20 +08:00
HFO4
57d2ad9e5f Test: remote handler put 2020-01-13 11:03:51 +08:00
HFO4
37e78cb39b Feat: generate upload server url from policy 2020-01-13 10:03:45 +08:00
HFO4
6b6bfb4c6b Modify: FileName header in remote put request should be urlencoded 2020-01-13 09:47:04 +08:00
HFO4
4b6fbc0de2 Feat: remoter handler get content 2020-01-04 19:44:38 +08:00
HFO4
c23d129dbb Modify: use path package in app level 2020-01-04 16:21:43 +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
93dc25aabb Test: remote handler get & request chan operations / Modify: GET request to remote server should return error http status code 2020-01-04 15:17:27 +08:00
HFO4
aeca161186 Feat: cancel archive action / request with context 2020-01-02 15:36:13 +08:00
HFO4
1393659668 Feat: GET interface for remote policy 2020-01-02 14:51:17 +08:00
HFO4
0f93864c8e Modify: add time.Now for expiration inside signing function 2020-01-02 13:41:57 +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
bf0998f3a5 Fix: unclosed file after get thumbnails 2020-01-01 20:17:50 +08:00
HFO4
ee08821361 Feat: remote delete file / Fix: broken Filesystem recycle in upload request 2020-01-01 20:15:05 +08:00
HFO4
e9f02940ee Test: remote handler.source 2019-12-31 14:38:28 +08:00
HFO4
b19910867e Feat: download / preview files in slave side 2019-12-31 14:21:57 +08:00
HFO4
35c2a5c977 Test: filesystem/Preview 2019-12-31 13:31:20 +08:00
HFO4
8a262a15d5 Modify: Decide whether to redirect when previewing based on storage policy 2019-12-31 13:09:26 +08:00
HFO4
eceee2fc76 Test: remote callback auth 2019-12-30 19:56:01 +08:00
HFO4
4a5782b4e5 Feat: remote upload callback / validation 2019-12-30 19:37:21 +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
ca9f44c06c Test: SlaveAfterUpload hook 2019-12-29 17:11:54 +08:00
HFO4
64342fa88d Feat: send remote uploading callback 2019-12-29 17:04:08 +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
132c7a8fcb Feat: file uploading in slave mode 2019-12-28 13:14:00 +08:00
HFO4
6470340104 Add: upload controller in slave mode 2019-12-27 21:15:05 +08:00
HFO4
4f8558d1e8 Add: uploadPolicy serializer 2019-12-24 11:50:44 +08:00
HFO4
f8c8604cda Feat: auth middleware for complex request 2019-12-24 11:42:23 +08:00
HFO4
90827b2441 Feat: sign http request / read running mode from config file 2019-12-23 13:27:18 +08:00
HFO4
fd7b6e33c8 Test: auth middleware for WebDAV 2019-12-23 11:22:46 +08:00
HFO4
cf90ab5a9a Fix: unable to save office file in root directory of WebDAV 2019-12-21 18:32:13 +08:00
HFO4
bb27d1d587 Test: remove test for internal xml package 2019-12-21 13:01:18 +08:00
HFO4
327765a7be Fix: missing ttl check in memstore.Get 2019-12-21 12:29:58 +08:00
HFO4
e97ed216f2 Feat: finish WebDAV adaptation 2019-12-20 15:08:04 +08:00
HFO4
c1b02380ac Feat: adapt copy method for WebDAV 2019-12-20 11:59:09 +08:00
HFO4
9fdf2fe7ab Feat: adapt major methods of WebDAV for Cloudreve file system 2019-12-17 12:02:50 +08:00
HFO4
1dac66e632 Merge branch 'master' of github.com:HFO4/Backend-V3 2019-12-16 19:43:21 +08:00
HFO4
963100d60f Modify: add fs into webdav 2019-12-16 19:43:00 +08:00
HFO4
a6d16cc7ba Add: internal packages in webdav 2019-12-16 19:35:13 +08:00
HFO4
327a3c1edf Feat: ttl in memory-cache / Add: webdav from standard library 2019-12-16 18:56:25 +08:00
HFO4
9a942f8b48 Modify: decoupling getSignedURL modules 2019-12-16 12:52:35 +08:00
HFO4
6ada69f637 Test: update file content related hooks 2019-12-15 16:35:01 +08:00
HFO4
8bf2966d46 Feat: update file content 2019-12-15 14:01:37 +08:00
HFO4
8557ed8e2e Fix: failed uint test due to cache 2019-12-14 14:44:29 +08:00
HFO4
ca07a94d41 Test: file compress / download 2019-12-14 14:28:01 +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
00ef240bea Delete: test file for task/pool 2019-12-13 15:21:45 +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
d58898e364 Feat: task pool for goroutines 2019-12-12 11:33:41 +08:00
HFO4
e8aa0435c5 Feat: archive & download routers for test 2019-12-12 10:04:24 +08:00
HFO4
18968458a4 Modify: close file in main routine 2019-12-11 18:52:41 +08:00
HFO4
d0bb123e03 Test: get source URL of files 2019-12-11 12:24:09 +08:00
HFO4
9f26c0c8ab Test: signRequired middleware 2019-12-10 21:26:19 +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
1963a495fb Feat: get file source route / Fix: cache initialize at wrong time 2019-12-10 11:55:28 +08:00
HFO4
e871f6e421 Feat: HMAC auth and check 2019-12-10 11:13:33 +08:00
HFO4
5b01202844 Test: redis pool connection 2019-12-09 19:40:24 +08:00
HFO4
6d6255e759 Test: redis cache 2019-12-09 19:30:52 +08:00
HFO4
cb61945125 Feat: redis driver for cache 2019-12-09 15:20:02 +08:00