WeKnora/frontend/src/views/knowledge/settings
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
..
DataSourceEditorDialog.test.ts feat(datasource): add Seafile data source connector (#3616) 2026-10-08 16:18:09 +08:00
DataSourceEditorDialog.vue feat(datasource): add Seafile data source connector (#3616) 2026-10-08 16:18:09 +08:00
DataSourceSettings.vue revert: take the plugin system back out of main 2026-09-26 14:58:18 +08:00
DataSourceSyncLogs.vue refactor(frontend): style consistency pass — shared shells, tokens, unified confirmations (#3376) 2026-09-17 23:11:08 +08:00
DataSourceTypeIcon.vue revert: take the plugin system back out of main 2026-09-26 14:58:18 +08:00
GraphSettings.vue fix(frontend): link docs to the public docs site instead of GitHub 2026-09-24 20:41:27 +08:00
KBAdvancedSettings.vue refactor(frontend): style consistency pass — shared shells, tokens, unified confirmations (#3376) 2026-09-17 23:11:08 +08:00
KBChunkingDebug.vue refactor(frontend): style consistency pass — shared shells, tokens, unified confirmations (#3376) 2026-09-17 23:11:08 +08:00
KBChunkingSettings.vue refactor(frontend): style consistency pass — shared shells, tokens, unified confirmations (#3376) 2026-09-17 23:11:08 +08:00
KBModelConfig.vue refactor(frontend): style consistency pass — shared shells, tokens, unified confirmations (#3376) 2026-09-17 23:11:08 +08:00
KBParserSettings.vue fix(frontend): avoid false unsaved changes warnings 2026-10-08 14:57:40 +08:00
KBShareSettings.vue refactor(frontend): style consistency pass — shared shells, tokens, unified confirmations (#3376) 2026-09-17 23:11:08 +08:00
KBStorageSettings.vue refactor(frontend): style consistency pass — shared shells, tokens, unified confirmations (#3376) 2026-09-17 23:11:08 +08:00
KBVectorStoreSettings.vue refactor(frontend): style consistency pass — shared shells, tokens, unified confirmations (#3376) 2026-09-17 23:11:08 +08:00
KnowledgeBaseActivitySettings.vue fix(ui): 优化知识库文档交互与对话布局 (#3420) 2026-09-19 11:58:49 +08:00
chunkingSamples.ts docs: 迁移有效文档至 website-docs 并清理旧文档 (#3580) 2026-09-22 23:25:40 +08:00
datasource-surface.less refactor(frontend): style consistency pass — shared shells, tokens, unified confirmations (#3376) 2026-09-17 23:11:08 +08:00
datasourceIcons.ts feat(datasource): add Seafile data source connector (#3616) 2026-10-08 16:18:09 +08:00