Commit Graph

10 Commits (aa1c5b2be3e2d485c7bee45f41879c76bff5f845)

Author SHA1 Message Date
kdxcxs c28168c970
feat: support qbittorrent (close #3087 in #3333)
* feat(qbittorrent): authorization and logging in support

* feat(qbittorrent/client): support `AddFromLink`

* refactor(qbittorrent/client): check authorization when getting a new client

* feat(qbittorrent/client): support `GetInfo`

* test(qbittorrent/client): update test cases

* feat(qbittorrent): init qbittorrent client on bootstrap

* feat(qbittorrent): support setting webui url via gin

* feat(qbittorrent/client): support deleting

* feat(qbittorrent/client): parse `TorrentStatus` enum when unmarshalling json in `GetInfo()`

* feat(qbittorrent/client): support getting files by id

* feat(qbittorrent): support adding qbittorrent tasks via gin

* refactor(qbittorrent/client): return a `Client` interface in `New()` instead of `*client`

* refactor: task handle

* chore: fix typo

* chore: change path

---------

Co-authored-by: Andy Hsu <i@nn.ci>
2023-02-14 15:20:45 +08:00
BoYanZh 0ae3fc608b
feat: export all cmd (#2746) 2022-12-18 19:53:39 +08:00
Noah Hsu dcaaae366b feat: add support for mega.nz (close 1553) 2022-10-08 22:16:41 +08:00
联盟少侠 08a001fbd1
feat: add a start func for external calls (#1628) 2022-09-13 20:12:57 +08:00
Noah Hsu a6b9dbfbe4 fix: use `utils.Log` in some places 2022-08-30 16:13:01 +08:00
Noah Hsu 046bbb3a48 feat: use `lumberjack` for log rotate 2022-08-30 15:22:54 +08:00
Noah Hsu a6f3094c9a chore: graceful restart or stop 2022-08-28 15:34:12 +08:00
Noah Hsu 0fdfd1f2c2 feat: load storages while starting 2022-08-11 21:32:33 +08:00
Noah Hsu 5b40254e3b chore: fix drivers not import 2022-08-07 13:23:15 +08:00
Noah Hsu 0df3473337 feat: use cobra and add some command 2022-08-07 13:09:59 +08:00