f2747adcaf
feat(bookstack-api-jt9): implement pages export (Markdown, PDF)
...
Add doRaw() for non-JSON responses. Implement ExportMarkdown() and
ExportPDF() on PagesService returning raw bytes. Add tests.
2026-01-30 09:52:10 +01:00
6944d50512
feat(bookstack-api-m6n): implement pagination iterator with iter.Seq2
...
Add generic listAll helper using Go 1.23+ iter.Seq2 for memory-efficient
pagination. Implement ListAll() on BooksService and PagesService.
Tests cover multi-page iteration, early break, errors, and empty results.
2026-01-30 09:51:35 +01:00
1a26e9035a
feat(bookstack-api-2x5): implement SearchService
...
Implement full-text search across all Bookstack content types with
pagination support via ListOptions. Add mock server tests.
2026-01-30 09:50:44 +01:00
5107bb8a84
feat(bookstack-api-cpg): implement PagesService List and Get
...
Implement PagesService.List with pagination and Get with full page
content including HTML/Markdown fields. Add mock server tests.
2026-01-30 09:50:18 +01:00
c241399cab
feat(bookstack-api-9xo): implement BooksService List and Get
...
Add listResponse generic type and ListOptions.queryString() helper.
Implement BooksService.List with pagination support and Get with
proper error handling. Include mock server tests.
2026-01-30 09:49:49 +01:00
43b8aac9a5
feat(bookstack-api-q8z): add unit tests for data types JSON unmarshaling
...
Verify Book, Page, and SearchResult correctly unmarshal from Bookstack
API JSON format including time.Time parsing.
2026-01-30 09:49:03 +01:00
9478a9d36e
feat(bookstack-api-vl3): add unit tests for error types and APIError
...
Test APIError.Error() formatting, status code to sentinel error mapping
via Is(), and error matching through fmt.Errorf wrapping.
2026-01-30 09:48:32 +01:00
4875540f21
feat(bookstack-api-8ea): implement HTTP helper and request building
...
Implement do() method on Client with auth header, JSON marshaling,
error parsing into APIError, and context support. Add httptest-based
unit tests.
2026-01-30 09:48:01 +01:00
8223a37f53
Sync beads export state
2026-01-30 09:45:40 +01:00
b015f450c5
Add validation and error handling to NewClient
...
- NewClient now returns (*Client, error) instead of *Client
- Validate that BaseURL, TokenID, and TokenSecret are non-empty
- Strip trailing slash from BaseURL
- Add comprehensive unit tests for NewClient
2026-01-30 09:45:35 +01:00
342614b614
Sync beads export state
2026-01-30 09:39:25 +01:00
7db143aff8
Update beads export state metadata
2026-01-30 09:39:14 +01:00
886369df69
Sync beads final state
2026-01-30 09:39:01 +01:00
efb43f03d1
Final beads state sync
2026-01-30 09:38:54 +01:00
d1ac466b4c
Update beads export state
2026-01-30 09:38:46 +01:00
9f613b1901
Add project documentation and beads configuration
...
- Added CLAUDE.md with project overview and architecture details
- Added PRD.md with product requirements
- Added AGENTS.md for agent workflow documentation
- Initialized beads issue tracking system
- Added .gitattributes for Git configuration
2026-01-30 09:38:32 +01:00
62e299192d
Set up Go module and project structure
...
- Populated .gitignore with Go-specific patterns
- Created placeholder Go files with basic package structure:
- bookstack.go: Client and Config setup
- types.go: Data structures (Book, Page, Chapter, Shelf, SearchResult)
- errors.go: Error handling types with sentinel errors
- http.go: HTTP helper placeholder with ListOptions
- books.go, pages.go, chapters.go, shelves.go, search.go: Service placeholders
- Verified build succeeds with go build ./...
- No external dependencies added (stdlib only)
All files compile successfully and follow flat package structure.
2026-01-30 09:36:58 +01:00
a6adae98dd
Initial commit
2026-01-28 09:35:55 +01:00