Skip to content

Tsundoku novel support - #2143

Open
mrissaoussama wants to merge 8 commits into
Suwayomi:masterfrom
mrissaoussama:novel-support
Open

Tsundoku novel support#2143
mrissaoussama wants to merge 8 commits into
Suwayomi:masterfrom
mrissaoussama:novel-support

Conversation

@mrissaoussama

Copy link
Copy Markdown

Add support for Tsundoku novel extensions,

  • Source: Added isNovelSource
  • Added fetchPageText(page: Page): String for text content.
  • Added feature tachiyomi.novelextension
  • Text endpoint: GET /api/v1/manga/{mangaId}/chapter/{chapterIndex}/text
  • Graphql queries: Added isNovel param filter.
  • used Tsundoku's protonumber 8000 for isnovel to keep compatibility with backups.

- remove server-rendered /read page + sanitize() (XSS-prone, WebUI iframe replaces it)
- memoize isNovelSource per source id
- gate novel download branch behind cheap in-memory hasNovelSource() so manga
  downloads skip the extra sourceReference transaction
- drop narration comments
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