WeKnora/internal/datasource/connector/confluence
jacentsao e7c27ccc9e
feat(confluence): add directory sync and private image assets (#3319)
* feat(confluence): support page subtree selection

* feat(confluence): add private image asset resolver

* fix(confluence): preserve pages during partial syncs

* fix(confluence): cap total inlined image bytes per page

Up to 30 images of 10 MB each could be inlined as base64, and every
downstream conversion copies the page again, so one extreme page could
peak above 1 GB. Cap the data URIs a page holds, in the download cache
and the rewritten HTML, at 50 MB; images past the budget keep their
original src like any other skipped image.

---------

Co-authored-by: wizardchen <wizardchen@tencent.com>
Co-authored-by: lyingbug <xiayula2014@gmail.com>
2026-09-25 22:23:48 +08:00
..
asset_resolver.go feat(confluence): add directory sync and private image assets (#3319) 2026-09-25 22:23:48 +08:00
asset_resolver_test.go feat(confluence): add directory sync and private image assets (#3319) 2026-09-25 22:23:48 +08:00
client.go feat(confluence): add directory sync and private image assets (#3319) 2026-09-25 22:23:48 +08:00
client_behavior_test.go feat(datasource): add Confluence sync (#3287) 2026-09-16 14:38:16 +08:00
client_pages_test.go feat(confluence): add directory sync and private image assets (#3319) 2026-09-25 22:23:48 +08:00
client_resolve_test.go feat(datasource): add Confluence sync (#3287) 2026-09-16 14:38:16 +08:00
client_test.go feat(datasource): add Confluence sync (#3287) 2026-09-16 14:38:16 +08:00
connector.go feat(confluence): add directory sync and private image assets (#3319) 2026-09-25 22:23:48 +08:00
connector_stream_test.go feat(confluence): add directory sync and private image assets (#3319) 2026-09-25 22:23:48 +08:00
resource.go feat(confluence): add directory sync and private image assets (#3319) 2026-09-25 22:23:48 +08:00
resource_test.go feat(confluence): add directory sync and private image assets (#3319) 2026-09-25 22:23:48 +08:00
sync_plan.go feat(confluence): add directory sync and private image assets (#3319) 2026-09-25 22:23:48 +08:00
types.go feat(confluence): add directory sync and private image assets (#3319) 2026-09-25 22:23:48 +08:00
types_test.go feat(confluence): add directory sync and private image assets (#3319) 2026-09-25 22:23:48 +08:00