Commit Graph

498 Commits (4be8524d8071890df6f32f1396bc61122defb71f)

Author SHA1 Message Date
Noah Hsu 900e71f78f feat: add `139yun` driver 2022-09-05 13:35:01 +08:00
Noah Hsu 3416861cab style: use `utils.SliceConvert` uniformly 2022-09-05 00:26:04 +08:00
Noah Hsu 25ae1b8397 feat: add yandex disk driver 2022-09-05 00:24:16 +08:00
Noah Hsu 3dd4fbd76d feat: add webdav driver 2022-09-04 22:34:54 +08:00
Noah Hsu a1c86b3350 chore!: change root folder 2022-09-04 13:22:42 +08:00
Noah Hsu a4a8739748 feat: add `upyun-uss` driver 2022-09-04 13:03:10 +08:00
Noah Hsu ffba5e0aec feat: add sftp driver (close #1466) 2022-09-04 12:43:52 +08:00
Noah Hsu 849de88e68 feat: add ftp driver 2022-09-03 22:07:08 +08:00
Noah Hsu c89a462d0c feat: add s3 driver 2022-09-03 21:38:43 +08:00
Noah Hsu 5d0668b00b feat: add google_drive driver 2022-09-03 20:34:06 +08:00
Noah Hsu 552aba997c fix: default root folder of `baidu_netdisk` 2022-09-03 10:12:28 +08:00
Noah Hsu 611457c0e7 feat: add `baidu_netdisk` driver 2022-09-02 22:46:31 +08:00
Noah Hsu decea4a739 feat: add quark driver 2022-09-02 21:36:47 +08:00
Noah Hsu 0f2425ce53 feat: add teambition driver 2022-09-02 18:24:14 +08:00
Noah Hsu 284274b37e feat: add 123pan driver 2022-09-01 22:13:37 +08:00
Noah Hsu 755f4b83f6 feat: add progress for io copy 2022-08-31 22:41:27 +08:00
Noah Hsu b73dce33aa fix(onedrive,ali): upload progress 2022-08-31 22:04:04 +08:00
Noah Hsu 7ac1d14eeb style: shorten name `operations` to `op` 2022-08-31 21:01:15 +08:00
Noah Hsu 9ec6d5be7a chore: just use std errors in drivers 2022-08-31 20:58:57 +08:00
Noah Hsu 817d63597e feat: add aliyundrive driver 2022-08-31 20:46:19 +08:00
Noah Hsu 102384e170 feat: add pikpak driver 2022-08-31 17:32:57 +08:00
Noah Hsu 7d407de22e feat: add a driver template 2022-08-31 16:37:00 +08:00
Noah Hsu f551dc76d0 feat: add onedrive driver 2022-08-30 21:52:06 +08:00
Noah Hsu 59ec17a353 feat: add driver config in driver info 2022-08-30 14:39:10 +08:00
Noah Hsu cc9ccc4e9b ci: auto generate drivers lang file 2022-08-26 19:06:32 +08:00
Noah Hsu 7425e001db feat: auto generate drivers language json 2022-08-26 15:08:31 +08:00
Noah Hsu e9927806d4 fix(local): return `ObjectNotFound` if can't find file 2022-08-19 11:02:00 +08:00
Noah Hsu af884010d1 feat: local storage image thumbnail 2022-08-11 20:32:17 +08:00
Noah Hsu b51e664543 chore: go fmt 2022-08-03 14:26:59 +08:00
Noah Hsu 721f18a7f4 feat: fs other api 2022-08-03 14:14:37 +08:00
Noah Hsu 90a5c175ed feat: virtual driver 2022-07-19 19:55:54 +08:00
Noah Hsu 638db77ca1 chore: rename local struct 2022-07-19 17:11:53 +08:00
Noah Hsu fe94016289 chore: set default root folder in driver config 2022-07-19 17:07:12 +08:00
Noah Hsu a16da3b45e chore: fix typo 2022-07-12 18:41:16 +08:00
Noah Hsu fc1204c914 chore: rename account to storage 2022-07-10 14:45:39 +08:00
Noah Hsu 505b126888 chore: optional get func for driver 2022-06-28 22:13:47 +08:00
Noah Hsu 74973bc5b5 fix: local relative path 2022-06-27 20:37:05 +08:00
Noah Hsu ee2bc99e4c feat: cancel copy for upload 2022-06-25 15:14:03 +08:00
Noah Hsu ffdb198247 feat(local): basic function of driver 2022-06-23 17:06:07 +08:00
Noah Hsu 1b3387ca1a chore: aria2 notifier 2022-06-20 22:29:52 +08:00
Noah Hsu fa6e918fc7 feat: add copy to task manager 2022-06-17 21:23:44 +08:00
Noah Hsu 69647f73f0 chore: rename some symbols 2022-06-15 20:41:17 +08:00
Noah Hsu 09ef7c7106 refactor: change driver interface 2022-06-15 20:31:23 +08:00
Noah Hsu 4fa7846f00 feat(local): check root folder while init 2022-06-15 18:48:30 +08:00
Noah Hsu 979f8383d8 chore: move some types to model 2022-06-15 18:06:42 +08:00
Noah Hsu b8e4a2e7c0 test: add driver and account test 2022-06-14 19:44:25 +08:00
Noah Hsu e3d2e6dd64 fix(local): local storage should haven't cache 2022-06-14 17:18:11 +08:00
Noah Hsu 77b0c69112 feat: extract get function 2022-06-11 14:43:03 +08:00
Noah Hsu ec89bb70c7 feat: fs and operations 2022-06-10 21:00:51 +08:00
Noah Hsu cd7e9974df feat: add root prefix before operate 2022-06-10 20:20:45 +08:00
Noah Hsu e1a2ed0436 feat: driver and account operate 2022-06-09 17:11:46 +08:00
Noah Hsu ba648fa10c feat: get type from field's type 2022-06-08 16:32:20 +08:00
Noah Hsu ae755db2d2 feat: driver additional items parse 2022-06-08 16:20:58 +08:00
Noah Hsu 677047c80b feat: improve driver 2022-06-07 22:02:41 +08:00
Noah Hsu 0d93a6aa41 feat: driver manage 2022-06-07 18:13:55 +08:00
Noah Hsu 62ac168226 chore: delete placeholder README 2022-06-06 22:08:39 +08:00
Noah Hsu 09616dbe25 feat: set gin log writer 2022-06-06 22:06:33 +08:00
Noah Hsu fced60c2b5 feat: basic structure 2022-06-06 21:48:53 +08:00
Noah Hsu b76060570e refactor: init v3 2022-06-06 16:28:37 +08:00
Noah Hsu f6be50f15a fix(189): login and get link (close #1182) 2022-05-31 16:03:54 +08:00
Noah Hsu 323dad2a1c fix(sftp): infinite loop while remove file (close #1094) 2022-05-28 21:01:04 +08:00
Noah Hsu 62aefc4f68 fix(189): new resty client 2022-05-28 20:43:13 +08:00
Xhofe 6a7eb8b3eb fix: don't save search files of balance account (close #1125) 2022-05-21 22:12:18 +08:00
foxxorcat 04e04a1aa6 fix(189pc): delete user-agent for upload 2022-05-16 23:33:12 +08:00
foxxorcat 6a66e39d5b feat(123):add io stream upload 2022-05-16 21:03:00 +08:00
foxxorcat f2b2728be7 fix(123,189pc,alidriver,xunlei):tempfile remove 2022-05-16 09:48:33 +08:00
Xhofe 87e339850d fix(ftp): remove dir (#1082) 2022-05-13 17:38:22 +08:00
Noe Hsu 79c9b6ac77
chore: Merge pull request #1090 from foxxorcat/dev (#1090) 2022-05-13 13:54:04 +08:00
foxxorcat aeb2297f1f perf(123):file thumbnail 2022-05-12 22:27:32 +08:00
foxxorcat 3b59bb5c09 perf(123):upload 2022-05-12 21:39:55 +08:00
Noe Hsu bc4bac921f
chore: Merge pull request #1089 from foxxorcat/dev
修复迅雷一些已知问题
2022-05-12 20:42:49 +08:00
foxxorcat f917882a84 perf(xunlei):upload 2022-05-12 19:18:28 +08:00
foxxorcat 6a67d1cf69 fix(xunlei):check captchaToken 2022-05-12 19:15:39 +08:00
foxxorcat 041b3587bf fix(xunlei):turn page 2022-05-12 13:27:49 +08:00
foxxorcat 0eef7a129c fix(xunlei):the verification code cannot be obtained from the mobile phone number or email 2022-05-12 13:26:12 +08:00
Xhofe 4b635f06e3 fix(189pc): delete user-agent for upload 2022-05-11 20:01:15 +08:00
Noe Hsu 279111a8e2
chore: Merge pull request #1079 from foxxorcat/dev 2022-05-10 22:35:59 +08:00
foxxorcat 67674835da fix(alidriver):fast upload file is not close 2022-05-10 21:54:44 +08:00
foxxorcat b6af9aa587 fix(139,189,189pc,alidrive,onedrive,yandex):http response body is not close #1072 2022-05-10 21:37:48 +08:00
foxxorcat a9027c0f06 fix(baidu.photo):update download api 2022-05-10 20:35:19 +08:00
Xhofe d780fa18a5 fix(sftp): error while has no files(close #1078) 2022-05-10 18:18:06 +08:00
foxxorcat 52dcbfe1a4 fix(xunlei):missing x-client-id error in some user requests 2022-05-09 18:14:52 +08:00
foxxorcat bf0ee3d315 refactor(baidu.photo): add a file api of download 2022-05-09 12:43:51 +08:00
Xhofe 44b8c6abf7 fix(189): typo 2022-05-08 14:28:26 +08:00
Xhofe c54cb61f14 chore: add debug info 2022-05-08 14:25:37 +08:00
foxxorcat e698b457b9 fix(baidu.photo):windows path error 2022-05-08 13:37:56 +08:00
foxxorcat 5258c21656 fix(xunlei):login error 2022-05-08 13:36:36 +08:00
foxxorcat 11830bb51c fix(xunlei):download link speed limit 2022-04-30 21:41:15 +08:00
foxxorcat 0a8bd96d33 feat: support baidu.photo 2022-04-28 23:44:22 +08:00
foxxorcat 68f37fc11f refactor(xunlei): optimized code 2022-04-28 23:15:37 +08:00
Xhofe d6775cda69 fix(123): can't delete folder (close #1009) 2022-04-28 21:17:11 +08:00
Xhofe 4901e9080c fix(quark): file size over i32 (close #997) 2022-04-26 15:22:39 +08:00
Xhofe bd7260f0ff chore: base for template 2022-04-24 21:22:24 +08:00
Xhofe 42c0e438d5 fix(webdav): sharepoint upload 2022-04-24 15:38:17 +08:00
Xhofe e4df146043 fix(webdav): sharepoint repeat login 2022-04-24 15:37:59 +08:00
Xhofe 27b7dae113 feat(webdav): support range get 2022-04-23 22:43:02 +08:00
Xhofe 95c0106fdd feat(onedrive): default redirect_uri(close #967) 2022-04-20 15:21:48 +08:00
Xhofe 6612338fc1 fix(189pc): InvalidSessionKey (fix #920) 2022-04-20 15:16:30 +08:00
Xhofe 0810561a8a fix(xunlei): check err prevent stack overflow 2022-04-18 18:29:21 +08:00
Xhofe 41a186b051 fix(native): set size of folder to 0 2022-04-17 21:12:55 +08:00
Xhofe 1a1e86521f fix(quark): lost files while number of files > 100 (fix #947) 2022-04-16 21:06:33 +08:00
Xhofe e6ecf1fa30 feat(189): add tips `get page` 2022-04-16 17:08:21 +08:00
foxxorcat 3ad75e54cb
refactor(baidu): add a crack api of download
* 修复百度网盘API文件大于20M问题

* refactor: keep the official api

Co-authored-by: Xhofe <i@nn.ci>
2022-04-16 14:52:36 +08:00
Xhofe e24814ee2f
chore: Merge pull request #938 from Xhofe/feature/search
Feature/search
2022-04-13 21:57:59 +08:00
Xhofe 37b42e6e17 fix(sftp): add port 2022-04-12 20:22:09 +08:00
Xhofe 30ebb0f4d4 feat: support other region sharepoint with webdav 2022-04-12 09:54:22 +08:00
Xhofe 8e059c64b5 feat: webdav for sharepoint online (#460) 2022-04-11 21:32:38 +08:00
Xhofe a73a40133d feat: search api 2022-04-08 22:03:26 +08:00
Xhofe 6591af58ea feat: store search file index 2022-04-08 21:51:21 +08:00
Xhofe 58568d4ef6 fix(189cloud): remove empty Authorization 2022-04-07 16:56:50 +08:00
Xhofe 5295593bf8 fix(189cloudpc): wrong modified time (close #910) 2022-04-06 17:59:45 +08:00
Xhofe dfcf66b43e fix(native): set size of folder to 0 2022-04-06 15:11:03 +08:00
Xhofe c413c22201 fix(quark): denied by Referer ACL 2022-04-04 20:55:48 +08:00
Xhofe 9b6adecd62 feat: sharepoint webdav (unfinished) 2022-04-04 20:55:22 +08:00
foxxorcat bf2e5768d6
feat: add rapid upload switch for 189pc and alidrive (#892)
* 189PC增加快传开关

* alidrive增加快传开关
2022-04-03 17:56:21 +08:00
Xhofe 18c82e79b5 feat: sftp support 2022-04-02 19:28:43 +08:00
Xhofe d69d24a5b2 fix(alidrive): judge status of delete folder (close #886) 2022-04-02 14:34:34 +08:00
Xhofe ced61da33a feat: virtual path 2022-03-31 20:43:17 +08:00
Xhofe a0f4383d41 feat(quark): set status 2022-03-30 14:06:50 +08:00
Xhofe 5a527dfa2c feat(xunlei): set timeout 2022-03-30 00:18:20 +08:00
Xhofe 49fc475f9f feat(s3): create placeholder file for mkdir 2022-03-30 00:18:00 +08:00
Xhofe dd151480a8 fix(alidrive): change response of move and copy 2022-03-28 21:51:24 +08:00
Xhofe ad3121d367 fix(quark): __puus expired (close #830) 2022-03-28 21:38:05 +08:00
Xhofe d9652e2a0b fix(189cloud): link force https (close #821) 2022-03-26 21:59:18 +08:00
Xhofe 0bc05a60b0 feat(189pc): override upload 2022-03-23 18:51:07 +08:00
Xhofe 77ffb93cbe feat: multiple down proxy urls (close #793) 2022-03-20 16:53:30 +08:00
foxxorcat 6db09a2736
fix: xunlei upload error (#749) 2022-03-17 21:13:13 +08:00
Xhofe b21801d505 fix: clear cookie for 189 cloud login 2022-03-16 18:02:11 +08:00
foxxorcat 2dbedc245c
fix: 189 family cloud upload (#761) 2022-03-16 14:22:42 +08:00
Xhofe ef19e851e3 fix: check local ip for 123pan 2022-03-15 14:48:39 +08:00
Xhofe 5a1b16a601 feat: set overwrite for aliyundrive upload 2022-03-14 22:43:27 +08:00
Xhofe 4eef9cd9bc fix: nil pointer while delete baidu account (close #751) 2022-03-14 20:40:42 +08:00
Xhofe 19d0a88b55 fix: cookie lanzou file with password 2022-03-11 19:48:32 +08:00
Xhofe 40567dee0e fix: lanzou url password 2022-03-11 19:16:21 +08:00
Xhofe 4b540a2297 feat: skip creating an existing folder 2022-03-11 18:12:13 +08:00
Xhofe 8a62d55efe feat(google): add default client 2022-03-10 20:08:10 +08:00
foxxorcat 10fce6c0fe
fix(xunlei): some issues about page turning(#716) 2022-03-09 22:48:15 +08:00
Xhofe d31d49a9bb fix(189pc): some minor issues 2022-03-09 21:09:21 +08:00
foxxorcat 2e91f5ffa5
feat: support 189 family cloud (close #612) 2022-03-09 20:30:56 +08:00
Xhofe 8f19c45a81 feat: pikpak video use media link 2022-03-09 15:11:12 +08:00
Xhofe c63e05983d fix: 189cloud big file download (close #683) 2022-03-07 15:04:20 +08:00
Xhofe 678a982535 feat: add sleep for lanzou request (close #690) 2022-03-07 14:36:25 +08:00
Xhofe b2c02e6c5e feat: add driver template 2022-03-06 21:33:58 +08:00
foxxorcat 4ae81b5a79
feat: aliyundrive fast upload (#652) 2022-03-05 13:14:57 +08:00
Xhofe 6faecbd5d8 feat: add cache for xunlei 2022-03-04 09:55:37 +08:00
Xhofe d08a7440bc 🎇 import uss 2022-03-03 19:33:40 +08:00
Xhofe f68ab40d26
🔀 Merge pull request #659 from foxxorcat/dev
 xunleicloud support
2022-03-03 17:03:23 +08:00
Xhofe 796d490fb7 🐛 fix #658 onedrive file/folder judge 2022-03-03 16:01:24 +08:00
foxxorcat 2964d5a6db xunleicloud support 2022-03-03 15:45:33 +08:00
Xhofe 79bef09ee7 🔀 Merge branch 'feature/upyun' into dev 2022-02-25 21:06:49 +08:00
Xhofe 01de01630e 🔥 remove placeholder for uss 2022-02-23 20:16:57 +08:00
Xhofe 72b5d25e4c ✏️ fix label typo 2022-02-23 20:07:45 +08:00
Xhofe aa79f49e25 🐛 fix #600 aliyundrive move file 2022-02-23 14:56:17 +08:00
Xhofe b4ad301d53 🐛 fix #599 lanzou url without password 2022-02-23 11:18:51 +08:00
Xhofe 00ed54c4c9 upyun uss support 2022-02-23 11:07:19 +08:00
Xhofe 52ee2e0a8b 🐛 close #581 teambition update time error 2022-02-21 17:20:05 +08:00
Xhofe f2ec7884ec 🐛 fix only proxy webdav_direct 2022-02-17 17:49:03 +08:00
Xhofe 815975a4d2 🐛 fix 139 delete dir 2022-02-17 17:37:45 +08:00
Xhofe 515daa22a9 🐛 fix #551 add S3ForcePathStyle config 2022-02-17 11:30:34 +08:00
Xhofe b3a6e33ce1 🎇 quark support 2022-02-16 20:20:39 +08:00
Xhofe cb53ddc8e8 🐛 fix nil pointer 2022-02-16 16:10:39 +08:00
Xhofe e90b979d15 close #535 request set timeout 2022-02-14 14:59:00 +08:00
Xhofe fb05a6ca48 🐛 fix #533 only encode fileName 2022-02-14 14:31:09 +08:00
Xhofe e055ed3afa 🎇 lanzou proxy add user-agent 2022-02-13 17:46:07 +08:00
Xhofe 4371c470b3 webdav direct proxy 2022-02-13 15:57:42 +08:00
Xhofe 7bb237d0ef 🐛 fix #527 189 upload file name contains % 2022-02-13 13:03:34 +08:00
Xhofe 5c42354b01 🐛 fix #527 189 upload name contains + 2022-02-12 20:27:38 +08:00
Xhofe 387e8af422 🐛 fix 189 upload while filename contains & 2022-02-12 13:08:46 +08:00
Xhofe 5dca777caf 🔒 fix baidu direct link 2022-02-12 12:04:10 +08:00
Xhofe 435bdea8f7 🔧 #523 add some default setting 2022-02-11 16:17:07 +08:00
微凉 f5c5162a9b load balance 2022-02-08 15:51:58 +08:00
微凉 a22903533e 🐛 set random seed 2022-02-04 16:08:15 +08:00
微凉 9013add749 🔒 random initial password 2022-02-03 12:27:50 +08:00
微凉 feb42f1f4b 🔥 delete proxy interface 2022-02-02 18:03:54 +08:00
微凉 6f14d0eb5c 🎇 baidu disk support 2022-02-02 17:32:11 +08:00
微凉 7530d8f5b2 🐛 fix lanzou for download change 2022-02-01 22:33:19 +08:00
微凉 e25fe05a53 yandex disk support 2022-02-01 17:15:11 +08:00
微凉 8e0ab8f780 🔥 remove onedrive refresh token cron 2022-02-01 15:20:17 +08:00
微凉 cb2a3c2b42 🎨 change proxy interface 2022-02-01 14:28:21 +08:00
微凉 1b6ec94f33 🐛 fix s3 custom host 2022-02-01 11:34:32 +08:00
微凉 cb23edc1fe 🐛 fix #462 check connect while get ftp client 2022-01-31 11:13:29 +08:00
微凉 6fd05d7d72 🐛 fix connMap not init 2022-01-30 00:55:12 +08:00
微凉 f26ac57569 🐛 fix ftp conn not store 2022-01-30 00:04:31 +08:00
微凉 2434ac54d0 🐛 fix webdav 2022-01-29 18:36:22 +08:00
微凉 81a0706d01 189 chunk upload 2022-01-29 11:16:40 +08:00
微凉 c6a5ba9b91 🚧 189 chunk upload 2022-01-28 19:51:54 +08:00
微凉 1a69d80489 🎨 Pull away Path 2022-01-28 11:04:56 +08:00
微凉 b797f4302c 🎇 use tempFile to cal md5 2022-01-27 23:48:29 +08:00
微凉 bf9aa5c3d3 🔒 not allowed use relative path of native 2022-01-27 15:10:33 +08:00
微凉 7390e19a7a 🔒 not allowed down with relative path 2022-01-27 15:05:17 +08:00
微凉 b31a12a0cc 🔒 not allowed access using relative path for native 2022-01-27 14:54:20 +08:00
微凉 26ce001782 🎇 add ocr for 189 2022-01-27 12:34:49 +08:00
微凉 c70fc3fc4b finish teambition chunk upload 2022-01-26 14:05:35 +08:00
微凉 df513b7dc0 teambition upload (<= 20 MB) 2022-01-23 14:03:04 +08:00
微凉 2a9598f4c6 🐛 fix #407 189cloud use local sort 2022-01-21 19:01:33 +08:00
微凉 4144afcc92 🐛 fix #397 139yun file size overflow int32 2022-01-20 20:35:01 +08:00
微凉 9516ac6718 🎇 finish move api 2022-01-20 19:58:25 +08:00
微凉 de638c7c36 🐛 fix 123pan move 2022-01-20 19:58:10 +08:00
微凉 cfb51e9f80 Extract folder 2022-01-16 16:38:41 +08:00
微凉 e952f1c243 🔥 Optimize 189 cloud get client 2022-01-16 16:05:32 +08:00