alist/cmd
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
..
flags feat!: force to use the bin dir as the data dir (close #2108) 2022-11-01 19:16:23 +08:00
admin.go feat: export all cmd (#2746) 2022-12-18 19:53:39 +08:00
cancel2FA.go feat: export all cmd (#2746) 2022-12-18 19:53:39 +08:00
common.go feat: optimize database search (#2687) 2022-12-12 20:20:01 +08:00
lang.go feat: export all cmd (#2746) 2022-12-18 19:53:39 +08:00
restart.go feat: export all cmd (#2746) 2022-12-18 19:53:39 +08:00
root.go feat: export all cmd (#2746) 2022-12-18 19:53:39 +08:00
server.go feat: support qbittorrent (close #3087 in #3333) 2023-02-14 15:20:45 +08:00
start.go feat: export all cmd (#2746) 2022-12-18 19:53:39 +08:00
stop.go feat: export all cmd (#2746) 2022-12-18 19:53:39 +08:00
version.go feat: export all cmd (#2746) 2022-12-18 19:53:39 +08:00