Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

Feat: confluence space key (#11706)

hsparks-codesa3c940221891
diff --git a/web/src/locales/en.ts b/web/src/locales/en.ts
index 9091833f57..479cafb648 100644
--- a/web/src/locales/en.ts
+++ b/web/src/locales/en.ts
@@ -714,6 +714,8 @@ This auto-tagging feature enhances retrieval by adding another layer of domain-s
'Check if this is a Confluence Cloud instance, uncheck for Confluence Server/Data Center',
confluenceWikiBaseUrlTip:
'The base URL of your Confluence instance (e.g., https://your-domain.atlassian.net/wiki)',
+ confluenceSpaceKeyTip:
+ 'Optional: Specify a space key to limit syncing to a specific space. Leave empty to sync all accessible spaces. For multiple spaces, separate with commas (e.g., DEV,DOCS,HR)',
s3PrefixTip: `Specify the folder path within your S3 bucket to fetch files from.
Example: general/v2/`,
S3CompatibleEndpointUrlTip: `Required for S3 compatible Storage Box. Specify the S3-compatible endpoint URL.
diff --git a/web/src/locales/ru.ts b/web/src/locales/ru.ts
index bbdfcc2787..6c6141abc0 100644
--- a/web/src/locales/ru.ts
+++ b/web/src/locales/ru.ts
@@ -711,6 +711,8 @@ export default {
'Отметьте, если это экземпляр Confluence Cloud, снимите для Confluence Server/Data Center',
confluenceWikiBaseUrlTip:
'Базовый URL вашего экземпляра Confluence (например, https://your-domain.atlassian.net/wiki)',
+ confluenceSpaceKeyTip:
+ 'Необязательно: Укажите ключ пространства для синхронизации только определенного пространства. Оставьте пустым для синхронизации всех доступных пространств. Для нескольких пространств разделите запятыми (например, DEV,DOCS,HR)',
s3PrefixTip: `Укажите путь к папке в вашем S3 бакете для получения файлов.
Пример: general/v2/`,
S3CompatibleEndpointUrlTip: `Требуется для S3 совместимого Storage Box. Укажите URL конечной точки, совместимой с S3.
diff --git a/web/src/locales/zh.ts b/web/src/locales/zh.ts
index baf1c75d9a..4179557c31 100644
--- a/web/src/locales/zh.ts
+++ b/web/src/locales/zh.ts
@@ -701,6 +701,8 @@ General:实体和关系提取提示来自 GitHub - microsoft/graphrag:基于
'检查这是否是 Confluence Cloud 实例,如果是 Confluence 服务/数据中心,则取消选中。',
confluenceWikiBaseUrlTip:
'Confluence Wiki 的基础 URL(例如 https://your-domain.atlassian.net/wiki)',
+ confluenceSpaceKeyTip:
+ '可选:指定空间键以限制同步到特定空间。留空则同步所有可访问的空间。多个空间请用逗号分隔(例如:DEV,DOCS,HR)',
s3PrefixTip: `指定 S3 存储桶内的文件夹路径,用于读取文件。
示例:general/v2/`,
addDataSourceModalTital: '创建你的 {{name}} 链接',
@@ -1903,16 +1905,5 @@ Tokenizer 会根据所选方式将内容存储为对应的数据结构。`,
searchTitle: '尚未创建搜索应用',
addNow: '立即添加',
},
-
- deleteModal: {
- delAgent: '删除智能体',
- delDataset: '删除知识库',
- delSearch: '删除搜索',
- delFile: '删除文件',
- delFiles: '删除文件',
- delFilesContent: '已选择 {{count}} 个文件',
- delChat: '删除聊天',
- delMember: '删除成员',
- },
},
};
diff --git a/web/src/pages/user-setting/data-source/contant.tsx b/web/src/pages/user-setting/data-source/contant.tsx
index f1359860a5..db23927116 100644
--- a/web/src/pages/user-setting/data-source/contant.tsx
+++ b/web/src/pages/user-setting/data-source/contant.tsx
@@ -230,6 +230,13 @@ export const DataSourceFormFields = {
required: false,
tooltip: t('setting.confluenceIsCloudTip'),
},
+ {
+ label: 'Space Key',
+ name: 'config.space',
+ type: FormFieldType.Text,
+ required: false,
+ tooltip: t('setting.confluenceSpaceKeyTip'),
+ },
],
[DataSourceKey.GOOGLE_DRIVE]: [
{
@@ -563,6 +570,7 @@ export const DataSourceFormDefaultValues = {
config: {
wiki_base: '',
is_cloud: true,
+ space: '',
credentials: {
confluence_username: '',
confluence_access_token: '',