-
Notifications
You must be signed in to change notification settings - Fork 0
feat: add per-tracker SortTorrents queue ordering #64
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
Closed
Closed
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
033e44f
feat: add per-tracker SortTorrents queue ordering
0a9bf1b
Avoid tracker API calls when sorting is disabled
cursoragent 3cd21b5
Fix tracker-priority sorting with sequential topPrio calls
cursoragent 264d3e3
Add SECURITY policy and warn before disabling WebUI auth
8d20a79
Fix flaky RadarrView movies table assertion on CI.
bd283a5
Fix global tracker-priority sorting across categories
cursoragent 66ae762
Avoid redundant global tracker sorting across workers
cursoragent 929f04a
Isolate tracker sort failures from torrent processing
cursoragent 1b61335
Refactored how the processes for free space, failed and recheck categ…
19f0679
Updated docs and adjusted mermaid rules for md files
31549f4
revert mermaid changes for tables
507f7ec
Fix update message mojibake and dedupe category builder
cursoragent c4b4721
Fix qBit tracker SortTorrents serialization on save
cursoragent c00106d
Added some tests
a34db31
Fix host restart response and dedupe category loops
cursoragent bbc9789
Fix case-insensitive host worker restart
cursoragent 5830dca
Extract shared free-space parser utility
cursoragent 723483f
Added swagger ui to torrentarr itself
9cfb811
Merge branch 'feat/per-tracker-sort-torrents' of https://github.com/F…
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,36 @@ | ||
| import { describe, expect, it } from "vitest"; | ||
| import { | ||
| getArrTorrentHandlingSummary, | ||
| getQbitTorrentHandlingSummary, | ||
| } from "../../config/torrentHandlingSummary"; | ||
|
|
||
| describe("torrentHandlingSummary", () => { | ||
| it("includes queue sorting line for Arr tracker when SortTorrents is enabled", () => { | ||
| const summary = getArrTorrentHandlingSummary({ | ||
| Torrent: { | ||
| Trackers: [ | ||
| { | ||
| Name: "Private", | ||
| HitAndRunMode: "disabled", | ||
| SortTorrents: true, | ||
| }, | ||
| ], | ||
| }, | ||
| } as never); | ||
|
|
||
| expect(summary).toContain("Queue sorting is enabled for this tracker."); | ||
| }); | ||
|
|
||
| it("does not include queue sorting line when SortTorrents is absent", () => { | ||
| const summary = getQbitTorrentHandlingSummary({ | ||
| Trackers: [ | ||
| { | ||
| Name: "Private", | ||
| HitAndRunMode: "disabled", | ||
| }, | ||
| ], | ||
| } as never); | ||
|
|
||
| expect(summary).not.toContain("Queue sorting is enabled for this tracker."); | ||
| }); | ||
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.