Commit Graph

526 Commits (cefec1a66344f1c800631d2c934bf75de7b6a765)

Author SHA1 Message Date
Noah Hsu 8beeba7c0c fix(google_drive): check token before return link (close #2392) 2022-11-17 09:08:31 +08:00
BoYanZh 3fbdf6f022
fix: resolve import cycle in alist v3 driver (close #2337 pr #2338) 2022-11-15 10:51:32 +08:00
Noah Hsu aa9ba289bb fix(123): overwrite upload if file has no change (close #2324) 2022-11-14 17:58:49 +08:00
Noah Hsu 6e3df9f847 fix(google_drive): type of `chunk_size` (close #2303) 2022-11-12 18:46:38 +08:00
Noah Hsu 1743110a70 fix(123): incorrect order_by (close #2285) 2022-11-10 21:47:13 +08:00
BoYanZh 0352a8e028
feat: add alist v2 driver (#2281) 2022-11-10 17:42:12 +08:00
Code2qing c601bb794b
feat(123): support mail login (close #2218 pr #2276) 2022-11-10 09:34:48 +08:00
BoYanZh 42865486f1
fix(local): deal with relative symlink dir (#2274) 2022-11-09 18:15:42 +08:00
sheltonzhu 44f5cf40ef
fix(115): update 115 driver lib to fix some bugs (#2275)
* fix duplicate cookies in client.List func
* rm useless cookie when init
2022-11-09 18:15:06 +08:00
Noah Hsu c3ab378ac5 feat(google_drive): support shortcut (close #2268) 2022-11-09 16:19:33 +08:00
BoYanZh cdcbfb24c4
fix(local): directory handle (#2262)
* fix(local): check symlink dir

* fix(local): set size of dir to 0 (close #2264)
2022-11-09 11:20:09 +08:00
Noah Hsu e05e2fd663 chore: change default timeout (close #2252) 2022-11-08 20:37:42 +08:00
Noah Hsu 6639cab1ae feat(google_drive): chunk upload (close #2241) 2022-11-07 20:58:52 +08:00
Noah Hsu 8241f0999a feat(google_drive): override upload (close #1880) 2022-11-07 20:35:35 +08:00
Noah Hsu f3a5e3702d fix(189): force use `CN` time zone (close #2240) 2022-11-07 16:37:47 +08:00
联盟少侠 f0a533a77a
feat(115): put `UA` as a variable (#2217)
In special cases, developers can pass in custom UA to solve the speed limit problem
Mainly for developers calling from outside
2022-11-05 15:50:57 +08:00
sheltonzhu 619a9aeb6c
feat(115): add qrcode login (#2206) 2022-11-04 21:16:52 +08:00
Noah Hsu 7bfa5876ed fix(189pc): fix typo 2022-11-01 19:32:40 +08:00
sheltonzhu 141419056d
feat(115): add cloud 115 driver (#2164)
close #2112
close #1598
close #894
2022-11-01 15:31:31 +08:00
BoYanZh a3b631f9e9
fix(smb): remount smb before each operation (close #2123 pr #2140) 2022-10-30 15:05:07 +08:00
浅秋枫影 18165eb50d
fix(123): get real url (#2135)
123 今天更新多加了一层跳转`https://web-pro.cjjd18.com/download/?params=base64encode(rawurl)`,导致ip如果不符则可能下载返回403,在服务器端处理获取rawurl
2022-10-27 17:02:35 +08:00
浅秋枫影 061c462f0b
feat(mediatrack): get real url (#2132)
* feat:get real url for mediatrack

redirect token 一次有效,点击第二次就抛出了`400`错误。本次提交直接获取302后的真实链接返回前端

* add cache

cache 60 Second
2022-10-27 15:26:08 +08:00
BoYanZh 5f79d665d9
feat: add alist v3 driver (close #1833 pr #2129)
* feat: add alist v3 driver (close #1833)

* chore: use generics

Co-authored-by: Noah Hsu <i@nn.ci>
2022-10-27 10:54:49 +08:00
BoYanZh f0cc0a76a9
chore: fix typos (#2122)
* refactor: fix typos

* Update help.go

Co-authored-by: Noah Hsu <i@nn.ci>
2022-10-26 14:05:56 +08:00
BoYanZh dd4674e486
feat: add smb driver (close #1746) (#2114)
* feat: add smb driver (close #1746)

* Update driver.go
2022-10-25 23:00:23 +08:00
Jmper da7e17aa38
feat(local): add show hidden config (#2087) 2022-10-23 14:53:07 +08:00
Jake Liu 3db798a82a
feat(google_photo): Add categories in root, add album support. (#2046)
* feat(google_photo): Add categories in root, add album support.

* fix(google_photo): Remove else block in `drive/google_photo/types.go:60`
2022-10-18 15:19:05 +08:00
Noah Hsu 45cc0cedbd fix(s3): mkdir and delete (close #2029) 2022-10-18 15:10:47 +08:00
foxxorcat 2efade123e fix(189pc):slice bounds out of range close #2045 2022-10-17 22:39:51 +08:00
foxxorcat fc393f743f fix(thunder):no additional processing when the deviceID is correct 2022-10-17 22:37:17 +08:00
foxxorcat 0e99e7e9b9 fix(thunder,189pc): some known problems 2022-10-17 00:54:39 +08:00
Noah Hsu 7a95850c1b fix(google_drive): incorrect `ModifiedTime` (close #2002) 2022-10-14 14:17:33 +08:00
Noah Hsu 5ea8d62aa4 fix(onedrive): unable to operate if path contains `%` (close #1965) 2022-10-11 14:21:58 +08:00
Noah Hsu 30f992c6a8 feat(onedrive): customize chunk size (close #1927) 2022-10-08 22:23:33 +08:00
Noah Hsu dcaaae366b feat: add support for mega.nz (close 1553) 2022-10-08 22:16:41 +08:00
Jake Liu 284035823f
feat: add Google Photo support (#1853)
* feat: add Google Photo support

* fix: fetch all pages

* chore(google_photo): add meta info

Co-authored-by: Noah Hsu <i@nn.ci>
2022-10-07 20:36:56 +08:00
Noah Hsu a4c846a424 chore(onedrive): set default value for region 2022-10-01 20:09:57 +08:00
hdm9527 4e13b1a83c
perf: modify onedrive upload chunk size (#1831 close #1790)
improve onedrive upload speed
2022-09-27 20:29:54 +08:00
Noah Hsu 5ac6a30c56 fix: use `get_share_link_download_url` if can't `get_download_url` (close #1753) 2022-09-25 20:32:11 +08:00
Noah Hsu 96d8a382e8 fix(aliyundrive_share): reget share token if token expired (close #1798) 2022-09-25 20:14:33 +08:00
Noah Hsu c929888e39 fix(123): change remove api (close #1760) 2022-09-23 12:28:57 +08:00
foxxorcat af946ff13e fix(baidu_photo): cannot download when proxy is opened 2022-09-23 01:15:12 +08:00
Noah Hsu 3537153b91 feat: add aliyundrive share driver (close #1215) 2022-09-21 22:00:06 +08:00
Noah Hsu 9382f66f87 fix(aliyundrive): thumbnail missed 2022-09-21 21:59:07 +08:00
Noah Hsu 656f5f112c fix(ftp): nil pointer dereference (close #1722) 2022-09-20 22:23:22 +08:00
Noah Hsu 9181861f47 fix: illegal files are not displayed (close #1729) 2022-09-20 20:14:38 +08:00
foxxorcat 1ab73e0742 feat: add lanzou driver 2022-09-20 15:29:40 +08:00
Noah Hsu 57686d9df1 fix(189): file size missed 2022-09-19 19:35:07 +08:00
Noah Hsu 09564102e7 fix(aliyundrive): rapid upload empty file (close #1699) 2022-09-17 19:39:19 +08:00
Noah Hsu 1af9f4061e fix(s3): remove folder recursively 2022-09-16 21:25:55 +08:00
foxxorcat 0d012f85cb feat: Add thunderExpert priority video url switch 2022-09-15 22:50:27 +08:00
Noah Hsu d9f0603271 fix: copy folder between two storage (fix #1670) 2022-09-15 17:58:32 +08:00
foxxorcat f22232de5d chore: baidu_photo rename only duplicate folders 2022-09-15 09:25:20 +08:00
foxxorcat a90ef201c7 fix(189pc,baidu_photo,thunder): single link limit multithreading 2022-09-13 18:44:07 +08:00
Noah Hsu 2de0da87fa fix: infinite loop if new multi-level folder (close #1661) 2022-09-13 18:34:04 +08:00
foxxorcat 53e08e75fe fix(189pc,baidu_photo): source file not closed 2022-09-12 22:45:30 +08:00
foxxorcat 6b5236f52e feat: add baidu_photo driver 2022-09-12 17:10:02 +08:00
Noah Hsu 5ff0d850d7 feat(aliyundrive): add doc and video preview api 2022-09-11 19:12:54 +08:00
Noah Hsu cd73e34ccc chore: optional `other` interface 2022-09-11 18:40:19 +08:00
Noah Hsu 889ddcef7e feat(baidu): update upload progress 2022-09-11 17:09:48 +08:00
Noah Hsu 68a6a0c40e fix(aliyundrive): upload empty file 2022-09-11 17:04:05 +08:00
Noah Hsu 969018db37 fix: is the root folder required (close #1633) 2022-09-11 16:23:46 +08:00
Noah Hsu 8b72ac7f80 chore: rename `xunlei` to `thunder` 2022-09-11 14:30:17 +08:00
foxxorcat 9c91f062b9 fix(189pc): some minor problems 2022-09-11 13:18:29 +08:00
foxxorcat 537ca030b2 chore: fix xunlei some minor problems 2022-09-11 13:09:36 +08:00
foxxorcat 35d177b67b feat: add xunlei driver 2022-09-10 17:40:30 +08:00
Noah Hsu 849124f177 fix(quark): default root folder id 2022-09-10 14:38:47 +08:00
Noah Hsu 043a79189d style: uniform use `utils.CreateTempFile` 2022-09-10 14:11:06 +08:00
Noah Hsu 5ed43fd17d fix(123): pass ip when getting download link 2022-09-10 13:54:10 +08:00
Noah Hsu f692e6c011 fix(s3): copy or move folder (close #1336) 2022-09-10 13:42:03 +08:00
Noah Hsu f48365929e fix(pikpak): upload empty file (close #1452) 2022-09-10 13:25:52 +08:00
Noah Hsu 56219bf096 fix(google): folder judgment missed 2022-09-10 13:09:18 +08:00
Noah Hsu fbaebc020f fix(189pc): wrong time if location incorrect (close #1562) 2022-09-08 20:03:07 +08:00
foxxorcat 918ca28d2b feat: add 189cloudPC driver 2022-09-08 15:00:57 +08:00
Noah Hsu e07654299b fix(quark): upload commit bind resp 2022-09-06 22:41:45 +08:00
Noah Hsu f127c959a1 feat: add `MediaTrack` driver 2022-09-06 17:24:05 +08:00
Noah Hsu a24dfddc2a feat: add 189cloud driver 2022-09-06 14:39:21 +08:00
Noah Hsu 868a4fd49e fix(baidu): duplicate prefix of crack link request 2022-09-05 15:59:28 +08:00
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