feat: Add API key authentication (#1254)

Closes #945
This commit is contained in:
Samuel
2025-11-06 20:56:48 +01:00
committed by GitHub
parent 5a2564f575
commit b4cbd32bf2
75 changed files with 1501 additions and 94 deletions
+15
View File
@@ -39,6 +39,8 @@ export default {
allChangesWillBeAutomaticallySavedAfterConnectionRestored: '所有修改会在重连后自动保存',
alphabetically: '按字母顺序',
alwaysDisplayCardCreator: '始终显示卡片创建者',
apiKeyCreated_title: 'API密钥已创建',
apiKey_title: 'API密钥',
archive: '归档',
archiveCard_title: '归档卡片',
archiveCards_title: '归档多个卡片',
@@ -47,6 +49,7 @@ export default {
areYouSureYouWantToArchiveThisCard: '您确定要归档此卡片吗?',
areYouSureYouWantToAssignThisProjectManagerAsOwner: '您确定要指定此项目管理人作为所有者吗?',
areYouSureYouWantToDeactivateThisUser: '您确定要停用此用户吗?',
areYouSureYouWantToDeleteThisApiKey: '确认删除此API密钥吗?',
areYouSureYouWantToDeleteThisAttachment: '确认删除此附件吗?',
areYouSureYouWantToDeleteThisBackgroundImage: '您确定要删除此背景图片吗?',
areYouSureYouWantToDeleteThisBoard: '确认删除此面板吗?',
@@ -68,6 +71,7 @@ export default {
areYouSureYouWantToLeaveProject: '确认离开此项目吗?',
areYouSureYouWantToMakeThisProjectPrivate: '您确定要将此项目设为私有吗?',
areYouSureYouWantToMakeThisProjectShared: '您确定要将此项目设为共享吗?',
areYouSureYouWantToRegenerateThisApiKey: '确认重新生成此API密钥吗?之前的密钥将不再有效。',
areYouSureYouWantToRemoveThisManagerFromProject: '确认从本项目删除该管理员吗?',
areYouSureYouWantToRemoveThisMemberFromBoard: '确认本面板删除该成员吗?',
assignAsOwner_title: '指定为所有者',
@@ -113,6 +117,7 @@ export default {
createTextFile_title: '创建文本文件',
creator: '创建者',
currentPassword: '当前密码',
currentUser: '当前用户',
customFieldGroup_title: '自定义字段组',
customFieldGroups_title: '自定义字段组',
customField_title: '自定义字段',
@@ -124,6 +129,7 @@ export default {
defaultFrom: '默认"发件人"',
defaultView_title: '默认视图',
deleteAllBoardsToBeAbleToDeleteThisProject: '删除所有面板后方可删除此项目',
deleteApiKey_title: '删除API密钥',
deleteAttachment_title: '删除附件',
deleteBackgroundImage_title: '删除背景图片',
deleteBoard_title: '删除面板',
@@ -179,6 +185,7 @@ export default {
forTeamBasedProjects: '用于团队项目。',
fromComputer_title: '来自计算机',
fromTrello: '来自 Trello',
fullKeyIsHiddenForSecurityReasons: '出于安全考虑,完整密钥已隐藏。重新生成以创建新密钥。',
general: '全体',
gradients: '渐变',
grid: '网格',
@@ -186,7 +193,9 @@ export default {
hideFromProjectListAndFavorites: '从项目列表和收藏中隐藏',
host: '主机',
hours: '小时',
identity: '身份',
importBoard_title: '导入面板',
information: '信息',
invalidCurrentPassword: '当前密码错误',
kanban: '看板',
labels: '标签',
@@ -215,6 +224,7 @@ export default {
newUsername: '新用户名',
newVersionAvailable: '有新版本可用',
newestFirst: '最新优先',
noApiKeyCreated: '未创建API密钥。',
noBoards: '没有面板',
noCardsFound: '未找到卡片。',
noConnectionToServer: '未连接服务器',
@@ -241,10 +251,12 @@ export default {
projectNotFound_title: '项目未找到',
projectOwner: '项目所有者',
referenceDataAndKnowledgeStorage: '参考数据和知识存储。',
regenerateApiKey_title: '重新生成API密钥',
rejectUnauthorizedTlsCertificates: '拒绝未授权的TLS证书',
removeManager_title: '删除管理员',
removeMember_title: '删除成员',
role: '角色',
saveThisKeyItWillNotBeShownAgain: '保存此密钥——它不会再次显示!',
searchCards: '搜索卡片...',
searchCustomFieldGroups: '搜索自定义字段组...',
searchCustomFields: '搜索自定义字段...',
@@ -354,6 +366,7 @@ export default {
archiveCards_title: '归档多个卡片',
assignAsOwner: '指定为所有者',
cancel: '取消',
createApiKey: '创建API密钥',
createBoard: '创建面板',
createCustomFieldGroup: '创建自定义字段组',
createFile: '创建文件',
@@ -363,6 +376,7 @@ export default {
deactivateUser: '停用用户',
deactivateUser_title: '停用用户',
delete: '删除',
deleteApiKey: '删除API密钥',
deleteAttachment: '删除附件',
deleteAvatar: '删除头像',
deleteBackgroundImage: '删除背景图片',
@@ -421,6 +435,7 @@ export default {
move: '移动',
moveCard_title: '移动卡片',
moveList_title: '移动列表',
regenerateApiKey: '重新生成API密钥',
remove: '删除',
removeAssignee: '移除负责人',
removeColor: '移除颜色',