mirror of
https://github.com/open-webui/oikb.git
synced 2026-11-05 01:27:25 +00:00
[PR #80] [CLOSED] feat(bookstack): support syncing pages from a specific book #101
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
open-webui/oikb#101
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/oikb/pull/80
Author: @hexsm
Created: 7/14/2026
Status: ❌ Closed
Base:
main← Head:feature/bookstack-book-ids📝 Commits (3)
7707808feat(bookstack): support filtering pages by book ID8436cd1test(bookstack): cover book ID source parsing3dc74afdocs: add changelog entry for BookStack book filtering📊 Changes
6 files changed (+119 additions, -5 deletions)
View changed files
📝
CHANGELOG.md(+6 -0)📝
README.md(+1 -0)📝
docs/guide.md(+11 -0)📝
src/oikb/cli.py(+3 -2)📝
src/oikb/connectors/bookstack.py(+19 -3)➕
tests/test_bookstack.py(+79 -0)📄 Description
Summary
Adds optional BookStack page filtering by numeric book ID.
BookStack sources now support:
Why
The BookStack connector previously synced all visible pages from the instance. This change allows syncing a specific BookStack book without relying on slugs, which can change over time.
Changes
bookstack:sources.book_idintoBookStackConnector.filter[book_id]parameter when listing pages.bookstack:behavior unchanged for syncing all visible pages.bookstack:abc.README.mdanddocs/guide.md.Validation
python -m pytest7 passedpython -m compileall -f src/oikb/connectors/bookstack.py src/oikb/cli.py tests/test_bookstack.pybookstack:listed all visible pages.bookstack:1listed only pages from book ID1.book_id.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.