Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support qbittorrent #3333

Merged
merged 17 commits into from
Feb 14, 2023
Merged

feat: support qbittorrent #3333

merged 17 commits into from
Feb 14, 2023

Conversation

kdxcxs
Copy link
Contributor

@kdxcxs kdxcxs commented Feb 10, 2023

@welcome
Copy link

welcome bot commented Feb 10, 2023

Thanks for opening this pull request! Please check out our contributing guidelines.

@kdxcxs
Copy link
Contributor Author

kdxcxs commented Feb 10, 2023

或许可以重构下离线下载这部分,aria2 和 qbittorrent 不管是后端还是前端重复的地方都挺多的,可以考虑合并一下,然后把它俩当作下载器,如果后面还要扩展的话也更方便。

@xhofe
Copy link
Collaborator

xhofe commented Feb 10, 2023

这个应该没有太多拓展的机会了 不像存储有那么多

@xhofe xhofe merged commit c28168c into AlistGo:main Feb 14, 2023
@welcome
Copy link

welcome bot commented Feb 14, 2023

Congrats on merging your first pull request! We here at behavior bot are proud of you!

varg1714 pushed a commit to varg1714/alist that referenced this pull request Feb 26, 2023
* 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 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants