WeKnora/frontend/src/views/knowledge/components
zaqqmm 19542f2a1d
feat(datasource): add Seafile data source connector (#3616)
* fix(datasource): omit last_sync_cursor from the data source list response

The settings page polls GET /datasource every few seconds during a sync,
and connector cursors can grow to megabytes. No list consumer reads the
cursor, so NewDataSourceResponses now blanks it; detail, create and
update responses still return it through NewDataSourceResponse.

* feat(datasource): add Seafile connector with fingerprint-based incremental sync

Sync folders and files from one Seafile library per data source. The
connector walks the selected scope one directory level at a time,
downloads files through the link + fileserver flow without credentials,
and reconciles deletions against a per-file oid/mtime/size fingerprint
cursor that is checkpointed every 50 mutations.

- resource ids are "<repo_id>:<path>"; ancestors collapse, one library
- per-file failures become coded error items and keep the path pending
- directory failures and Retry-After > 60s abort without deletions
- forced full runs keep the old cursor as a deletion baseline
- API token never reaches cursors, metadata, logs or error text
- share the supported import extension set through internal/utils

* feat(datasource): add Seafile frontend connector and docs

Wire the Seafile data source into the editor dialog, channel labels
and the five locales, and document how to connect a Seafile 10.0.1
library.

- connector definition with base_url + API token fields and icon
- picker guard: one library per data source, at least one selection
- "library" resource type and icon in the lazy tree
- channel label in the knowledge base filter, document views and chat
- i18n for labels, guide steps and the eight seafile_* sync error codes
- website-docs integration guide, data source and extension point doc
  updates, and Seafile in the README data source lists

---------

Co-authored-by: zaqqmm <q-zhang10@qq.com>
2026-10-08 16:18:09 +08:00
..
BatchTagDialog.test.ts fix(ui): 优化知识库文档交互与对话布局 (#3420) 2026-09-19 11:58:49 +08:00
BatchTagDialog.vue fix(ui): 优化知识库文档交互与对话布局 (#3420) 2026-09-19 11:58:49 +08:00
DocumentActionMenu.vue fix(ui): 优化知识库文档交互与对话布局 (#3420) 2026-09-19 11:58:49 +08:00
DocumentBatchBar.vue fix(ui): 优化知识库文档交互与对话布局 (#3420) 2026-09-19 11:58:49 +08:00
DocumentBatchDownload.test.ts feat(knowledge): add batch file downloads (#3300) 2026-09-16 15:40:10 +08:00
DocumentCardView.vue feat(datasource): add Seafile data source connector (#3616) 2026-10-08 16:18:09 +08:00
DocumentFileIcon.vue fix(ui): 优化知识库文档交互与对话布局 (#3420) 2026-09-19 11:58:49 +08:00
DocumentListView.vue feat(datasource): add Seafile data source connector (#3616) 2026-10-08 16:18:09 +08:00
FAQBatchActions.test.ts feat(i18n): add Japanese (ja-JP) locale support (#3080) 2026-09-07 19:20:41 +08:00
FAQBatchBar.vue refactor(frontend): style consistency pass — shared shells, tokens, unified confirmations (#3376) 2026-09-17 23:11:08 +08:00
FAQEntryManager.vue refactor(frontend): drop TTL resource caches and remove duplicate startup requests (#3562) 2026-09-25 22:22:48 +08:00
FolderPickerMenu.vue fix(ui): 优化知识库文档交互与对话布局 (#3420) 2026-09-19 11:58:49 +08:00
KbFolderTree.test.ts fix(ui): 优化知识库文档交互与对话布局 (#3420) 2026-09-19 11:58:49 +08:00
KbFolderTree.vue fix(ui): 优化知识库文档交互与对话布局 (#3420) 2026-09-19 11:58:49 +08:00
KbTagManageDrawer.vue refactor(frontend): style consistency pass — shared shells, tokens, unified confirmations (#3376) 2026-09-17 23:11:08 +08:00
KbUploadSourceDropdown.vue fix(ui): 优化知识库文档交互与对话布局 (#3420) 2026-09-19 11:58:49 +08:00
KbWikiBadge.vue feat(knowledge-list): show Wiki badge on knowledge base cards 2026-07-08 20:12:14 +08:00
KnowledgeTagFilter.test.ts refactor(frontend): consolidate knowledge tag filters and remove stale styles 2026-09-17 16:46:27 +08:00
KnowledgeTagFilter.vue refactor(frontend): style consistency pass — shared shells, tokens, unified confirmations (#3376) 2026-09-17 23:11:08 +08:00
KnowledgeTagPicker.test.ts fix(ui): 优化资源卡片、标签分组与共享空间创建布局 2026-09-19 20:40:19 +08:00
KnowledgeTagPicker.vue fix(ui): 优化资源卡片、标签分组与共享空间创建布局 2026-09-19 20:40:19 +08:00
KnowledgeTagPopover.test.ts fix(ui): 优化知识库文档交互与对话布局 (#3420) 2026-09-19 11:58:49 +08:00
KnowledgeTagPopover.vue fix(ui): 优化知识库文档交互与对话布局 (#3420) 2026-09-19 11:58:49 +08:00
UploadConfirmDialog.test.ts feat(frontend): show overall progress for knowledge file uploads (#3399) 2026-09-18 16:43:59 +08:00
UploadConfirmDialog.vue feat(gallery): add an image gallery tab with schema-driven filters (#3694) 2026-09-25 12:33:59 +08:00