Commit Graph

1205 Commits (146619134dc9a89b7aaecce3599776770c75a1c4)

Author SHA1 Message Date
小傅Fox 46701a176d
feat(aria2): mark aria2 seeding as complete (#2223)
Currently if using aria2 to download a torrent file, it does not
consider seeding + active as completed, so the torrent download task
only completes as aria2 stops seeding.

This commit uses seeder property of TaskInfo, and mark tasks with active
status and true seeder as complete.
2022-11-06 16:20:09 +08:00
Noah Hsu 26a29f20c3 fix: missed encode path while use down proxy (close #2208) 2022-11-06 14:46:47 +08:00
Noah Hsu 18cd45d257 fix: disable cache for 302 redirect (close #2216) 2022-11-05 15:54:51 +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
Noah Hsu f95ab6ee57 docs: add 115 to readme [skip ci] 2022-11-01 19:28:24 +08:00
Noah Hsu e75f19e9c0 feat: add `Referrer-Policy` while redirect (pr #2160) 2022-11-01 19:19:08 +08:00
Noah Hsu 1c212f6c30 feat!: force to use the bin dir as the data dir (close #2108)
- move default log path to `data/log/log.log`
- replace `--conf` with `--data`
2022-11-01 19:16:23 +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
Noah Hsu aabfe49cb9 docs: change contributors show [skip ci] 2022-10-30 15:26: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
Noah Hsu 0019959eec fix: delete cache if files is empty 2022-10-25 16:42:06 +08:00
BoYanZh 3e9c38697d
fix: use `utils.Log` during static file router init (#2100)
formerly the log is not in stderr
2022-10-24 23:33:57 +08:00
Noah Hsu e3b7c41199
docs: update demo url & sponsor content [skip ci] 2022-10-24 22:48:36 +08:00
Noah Hsu a2c808c8ce fix: incorrect root path of initial storage for dev mode 2022-10-23 16:26:14 +08:00
Jmper da7e17aa38
feat(local): add show hidden config (#2087) 2022-10-23 14:53:07 +08:00
Noah Hsu 02df3759df
docs: fix typo [skip ci] 2022-10-20 14:29:28 +08:00
缘生 4fef500795
feat(user): set default password of init user from env (#2058)
add init user default password

Signed-off-by: ysicing <i@ysicing.me>

Signed-off-by: ysicing <i@ysicing.me>
2022-10-19 20:06:06 +08:00
Noah Hsu 07ece452b3 docs: fix docker link [skip ci] 2022-10-19 17:08:01 +08:00
Noah Hsu b8cf02ca68 fix(aria2): retry 5 times for get status (close #1857) 2022-10-18 15:27:19 +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 549355bb29 build: change golang version 2022-10-12 17:35:44 +08:00
Noah Hsu 55aa8ee3b1 fix: version print of build script [skip ci] 2022-10-12 17:24:04 +08:00
Noah Hsu 1c22fc367e docs: change badges in readme 2022-10-12 17:08:40 +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 baebc2fbe9 fix: can't delete disabled storage (close #1942) 2022-10-09 22:20:48 +08:00
Noah Hsu 8c69260972 fix(webdav): set mime by ext if it's empty 2022-10-09 19:29:55 +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 be8ff92414
docs: replace qq with discord [skip ci] 2022-10-05 14:17:00 +08:00
Noah Hsu a4c846a424 chore(onedrive): set default value for region 2022-10-01 20:09:57 +08:00
Noah Hsu 451e418b18 perf: return cache before check obj to reduce recursion 2022-09-28 21:19:36 +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 9d2e9887af
docs: create FUNDING.yml [skip ci] 2022-09-27 14:41:43 +08:00
Noah Hsu dc73c2e97d fix: custom token expires in doesn't work 2022-09-27 14:23:56 +08:00
Noah Hsu a624121095 ci: manual trigger github actions 2022-09-27 14:12:36 +08:00
Noah Hsu 9d9c79179b feat: custom token expires in 2022-09-27 14:05:00 +08:00
Noah Hsu b7479651e1 fix: incorrect base_path from site_url (close #1830) 2022-09-27 13:56:32 +08:00