Repository navigation
Require lowercase index in processing mode values - #1982
Merged
bullmoose20 merged 1 commit intoNov 25, 2026
Merged
bullmoose20 merged 1 commit into
bullmoose20 merged 1 commit into
Conversation
Signed-off-by: Sean Stoube <31805425+HoneyBearTech@users.noreply.github.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Related Issues
N/A
What type of PR is this?
Description
validateProcessingModeinprocessingMode.jsmatchedindex(...)case-insensitively, so the browser accepted a hand-typedINDEX(A-F). The server (library_scheduling.validate_modeand its schema extension) and Kometa's config schema both need the keywordindexin lowercase. The value then failed later, when saving the schedule or starting a run with--mode.This makes the browser check match the server:
indexmust be lowercase.index(A-F).added(...)stays case-insensitive, as it is on the server.initProcessingModeis unchanged, so a savedINDEX(...)still loads into the dropdowns.Tests:
INDEX(A-F)andIndex(a).index(A-F),index(a-f),index(a)andindex(A-F#).INDEX(A-F).The new browser tests fail without the fix.
npm testandpytest tests/test_library_scheduling.pypass.Which Environment Did You Test On?
python quickstart.py)Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.