Skip to content

fix(MangaPlus): decode protobuf API and filter inaccessible chapters - #262

Open
aksdenn wants to merge 1 commit into
inkdex:0.9/stablefrom
aksdenn:fix-manga-plus
Open

fix(MangaPlus): decode protobuf API and filter inaccessible chapters#262
aksdenn wants to merge 1 commit into
inkdex:0.9/stablefrom
aksdenn:fix-manga-plus

Conversation

@aksdenn

@aksdenn aksdenn commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Summary

Updated MangaPlus to use protobuf decoding and current API behavior, then hardened chapter loading for inaccessible Deluxe/restricted chapters to prevent crashes. The source now filters inaccessible chapters before display, improves language handling and labeling, and keeps reader/image request behavior stable with safer page/header handling. Also bumped the MangaPlus version and validated conformance plus scoped MangaPlus tests.

Checklist

Making changes

For updates to existing extensions

  • Bumped the version value in pbconfig.ts for each modified extension.

For new extensions

  • Generated tests with npx paperback-cli test --generate EXTENSION_NAME. (N/A - this PR updates an existing extension.)

Testing changes

  • npm run conformance passes.
  • npm test -- MangaPlus passes.
  • Bundled the extension and verified it works in the Paperback app.

Committing changes

  • Commit messages follow the existing convention (type(Scope): summary, e.g. fix(EXTENSION_NAME): ...).

AI assistance

Pick one:

  • This PR contains no AI-assisted changes.
  • This PR is AI-assisted. I manually reviewed every change and added an Assisted-by: Codex:gpt-5.3 trailer to each AI-assisted commit.

Migrate MangaPlus request parsing to protobuf and update current API usage.
Some chapters now return backend-denied viewer payloads (Deluxe/restricted), so the source now filters inaccessible chapters before display and surfaces clean errors instead of returning empty pages.

* Decode responses with protobuf and align endpoint/query usage
* Normalize language settings values and improve title language labeling
* Map chapter language codes from title language
* Filter inaccessible chapters via viewer accessibility checks with cache
* Bound accessibility checks with limited concurrency
* Harden reader page URL handling and vwToken image header flow
* Add MangaPlus regression test for inaccessible chapter filtering
* Bump MangaPlus version to 1.0.0-alpha.12

Assisted-by: Codex:gpt-5
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.

1 participant