WeKnora/frontend/src/views/knowledge
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
..
components feat(datasource): add Seafile data source connector (#3616) 2026-10-08 16:18:09 +08:00
gallery feat(gallery): rework the gallery toolbar, header tabs and image viewer 2026-09-25 13:20:30 +08:00
settings feat(datasource): add Seafile data source connector (#3616) 2026-10-08 16:18:09 +08:00
utils feat(wiki): implement folder management features in wiki API 2026-06-16 23:51:29 +08:00
wiki fix(frontend): render single tilde literally instead of GFM strikethrough (#3963) 2026-10-08 13:04:36 +08:00
KnowledgeBase.vue feat(datasource): add Seafile data source connector (#3616) 2026-10-08 16:18:09 +08:00
KnowledgeBaseEditorModal.test.mjs feat(gallery): add an image gallery tab with schema-driven filters (#3694) 2026-09-25 12:33:59 +08:00
KnowledgeBaseEditorModal.vue feat(gallery): add an image gallery tab with schema-driven filters (#3694) 2026-09-25 12:33:59 +08:00
KnowledgeBaseList.vue feat(chat): add session reasoning controls and polish model configuration 2026-09-23 17:12:19 +08:00
KnowledgeBaseReferenceNavigation.test.ts fix: navigate chat references to document folder 2026-08-20 14:34:16 +08:00
documentSorting.test.ts feat: add configurable sorting to document and resource lists (#3318) 2026-09-23 12:00:21 +08:00
documentSorting.ts feat: add configurable sorting to document and resource lists (#3318) 2026-09-23 12:00:21 +08:00
folderTree.test.ts fix(knowledge): sync folder APIs and address review follow-ups 2026-08-04 20:45:29 +08:00
folderTree.ts fix(knowledge): sync folder APIs and address review follow-ups 2026-08-04 20:45:29 +08:00
kbListMerge.test.ts fix(frontend): dedupe KB list to stop empty render with ≥2 knowledge bases 2026-06-08 12:10:30 +08:00
kbListMerge.ts fix(frontend): dedupe KB list to stop empty render with ≥2 knowledge bases 2026-06-08 12:10:30 +08:00
knowledgeDownloadFileName.test.ts feat(knowledge): add batch file downloads (#3300) 2026-09-16 15:40:10 +08:00
knowledgeDownloadFileName.ts feat(knowledge): add batch file downloads (#3300) 2026-09-16 15:40:10 +08:00
wikiStatusRefresh.test.ts fix: refresh wiki status after document polling completes 2026-06-08 20:15:42 +08:00
wikiStatusRefresh.ts fix: refresh wiki status after document polling completes 2026-06-08 20:15:42 +08:00