wip: Add AI MANGA publishing connector - #3
Open
negurvulkan wants to merge 4 commits into
Open
negurvulkan wants to merge 4 commits into
negurvulkan wants to merge 4 commits into
Conversation
Adds an experimental AI MANGA publishing connector across the app: account-level OAuth connect/disconnect, per-project external ID tracking, a chapter publish flow that renders pages client-side and uploads a manifest+ZIP, and background polling for AI MANGA validation. Also adds the account settings UI, page-grid publish panel, translations, and docs/feature notes for the new workflow. Includes connector registry and tests for auth, publish routing, and package generation.
Replace the old "paid" access mode with "supporter_only" across client and server code and update translations. Refactor the AI MANGA connector to follow the partner OpenAPI: explicit scopes, manifest builder (slugify, null handling), separate ZIP creation, include package metadata and sha256, best-effort series pre-registration, and improved OAuth redirect handling for the desktop build. Update Electron to inject AI_MANGA_REDIRECT_URI, adjust tests, and extend docs to describe the desktop/shared client-id behavior.
This change tightens AI MANGA publishing by validating supported source-language mappings, page counts/sizes, and immediate-publish access rules before upload. It also tracks each connected AI MANGA account ID to block cross-account publishing of the same project, keys chapter external IDs by volume+chapter instead of volume alone, and updates the client publish flow and status messaging for supported-language filtering and draft validation states.
Export the AI MANGA manifest/ZIP builders so they can be reused outside the publish flow. Add a one-off script that generates a sample manifest and export ZIP using the same packaging logic ComiKumi uses in production, with placeholder cover/pages for partner review submissions.
This branch has not been deployed
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.
Adds an experimental AI MANGA publishing connector across the app: account-level OAuth connect/disconnect, per-project external ID tracking, a chapter publish flow that renders pages client-side and uploads a manifest+ZIP, and background polling for AI MANGA validation. Also adds the account settings UI, page-grid publish panel, translations, and docs/feature notes for the new workflow. Includes connector registry and tests for auth, publish routing, and package generation.