mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-04 05:10:19 +08:00
feat: support prefix path for storage files (#1258)
This commit is contained in:
@ -60,6 +60,7 @@ type Provider struct {
|
|||||||
IntranetEndpoint string `xorm:"varchar(100)" json:"intranetEndpoint"`
|
IntranetEndpoint string `xorm:"varchar(100)" json:"intranetEndpoint"`
|
||||||
Domain string `xorm:"varchar(100)" json:"domain"`
|
Domain string `xorm:"varchar(100)" json:"domain"`
|
||||||
Bucket string `xorm:"varchar(100)" json:"bucket"`
|
Bucket string `xorm:"varchar(100)" json:"bucket"`
|
||||||
|
PathPrefix string `xorm:"varchar(100)" json:"pathPrefix"`
|
||||||
|
|
||||||
Metadata string `xorm:"mediumtext" json:"metadata"`
|
Metadata string `xorm:"mediumtext" json:"metadata"`
|
||||||
IdP string `xorm:"mediumtext" json:"idP"`
|
IdP string `xorm:"mediumtext" json:"idP"`
|
||||||
|
@ -55,7 +55,7 @@ func escapePath(path string) string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func getUploadFileUrl(provider *Provider, fullFilePath string, hasTimestamp bool) (string, string) {
|
func getUploadFileUrl(provider *Provider, fullFilePath string, hasTimestamp bool) (string, string) {
|
||||||
escapedPath := escapePath(fullFilePath)
|
escapedPath := util.UrlJoin(provider.PathPrefix, escapePath(fullFilePath))
|
||||||
objectKey := util.UrlJoin(util.GetUrlPath(provider.Domain), escapedPath)
|
objectKey := util.UrlJoin(util.GetUrlPath(provider.Domain), escapedPath)
|
||||||
|
|
||||||
host := ""
|
host := ""
|
||||||
@ -70,7 +70,7 @@ func getUploadFileUrl(provider *Provider, fullFilePath string, hasTimestamp bool
|
|||||||
host = util.UrlJoin(provider.Domain, "/files")
|
host = util.UrlJoin(provider.Domain, "/files")
|
||||||
}
|
}
|
||||||
if provider.Type == "Azure Blob" {
|
if provider.Type == "Azure Blob" {
|
||||||
host = fmt.Sprintf("%s/%s", host, provider.Bucket)
|
host = util.UrlJoin(host, provider.Bucket)
|
||||||
}
|
}
|
||||||
|
|
||||||
fileUrl := util.UrlJoin(host, escapePath(objectKey))
|
fileUrl := util.UrlJoin(host, escapePath(objectKey))
|
||||||
|
@ -469,6 +469,16 @@ class ProviderEditPage extends React.Component {
|
|||||||
}} />
|
}} />
|
||||||
</Col>
|
</Col>
|
||||||
</Row>
|
</Row>
|
||||||
|
<Row style={{marginTop: "20px"}} >
|
||||||
|
<Col style={{marginTop: "5px"}} span={2}>
|
||||||
|
{Setting.getLabel(i18next.t("provider:Path prefix"), i18next.t("provider:The prefix path of the file - Tooltip"))} :
|
||||||
|
</Col>
|
||||||
|
<Col span={22} >
|
||||||
|
<Input value={this.state.provider.pathPrefix} onChange={e => {
|
||||||
|
this.updateProviderField("pathPrefix", e.target.value);
|
||||||
|
}} />
|
||||||
|
</Col>
|
||||||
|
</Row>
|
||||||
<Row style={{marginTop: "20px"}} >
|
<Row style={{marginTop: "20px"}} >
|
||||||
<Col style={{marginTop: "5px"}} span={2}>
|
<Col style={{marginTop: "5px"}} span={2}>
|
||||||
{Setting.getLabel(i18next.t("provider:Domain"), i18next.t("provider:Domain - Tooltip"))} :
|
{Setting.getLabel(i18next.t("provider:Domain"), i18next.t("provider:Domain - Tooltip"))} :
|
||||||
|
@ -13,6 +13,7 @@
|
|||||||
"Sync": "Sync"
|
"Sync": "Sync"
|
||||||
},
|
},
|
||||||
"application": {
|
"application": {
|
||||||
|
"Always": "Always",
|
||||||
"Auto signin": "Auto signin",
|
"Auto signin": "Auto signin",
|
||||||
"Auto signin - Tooltip": "Auto signin - Tooltip",
|
"Auto signin - Tooltip": "Auto signin - Tooltip",
|
||||||
"Background URL": "Background URL",
|
"Background URL": "Background URL",
|
||||||
@ -43,6 +44,7 @@
|
|||||||
"Grant types - Tooltip": "Grant types - Tooltip",
|
"Grant types - Tooltip": "Grant types - Tooltip",
|
||||||
"Left": "Left",
|
"Left": "Left",
|
||||||
"New Application": "New Application",
|
"New Application": "New Application",
|
||||||
|
"None": "None",
|
||||||
"Password ON": "Passwort AN",
|
"Password ON": "Passwort AN",
|
||||||
"Password ON - Tooltip": "Whether to allow password login",
|
"Password ON - Tooltip": "Whether to allow password login",
|
||||||
"Please select a HTML file": "Bitte wählen Sie eine HTML-Datei",
|
"Please select a HTML file": "Bitte wählen Sie eine HTML-Datei",
|
||||||
@ -53,6 +55,7 @@
|
|||||||
"Refresh token expire": "Aktualisierungs-Token läuft ab",
|
"Refresh token expire": "Aktualisierungs-Token läuft ab",
|
||||||
"Refresh token expire - Tooltip": "Aktualisierungs-Token läuft ab - Tooltip",
|
"Refresh token expire - Tooltip": "Aktualisierungs-Token läuft ab - Tooltip",
|
||||||
"Right": "Right",
|
"Right": "Right",
|
||||||
|
"Rule": "Rule",
|
||||||
"SAML metadata": "SAML metadata",
|
"SAML metadata": "SAML metadata",
|
||||||
"SAML metadata - Tooltip": "SAML metadata - Tooltip",
|
"SAML metadata - Tooltip": "SAML metadata - Tooltip",
|
||||||
"SAML metadata URL copied to clipboard successfully": "SAML metadata URL copied to clipboard successfully",
|
"SAML metadata URL copied to clipboard successfully": "SAML metadata URL copied to clipboard successfully",
|
||||||
@ -67,10 +70,7 @@
|
|||||||
"Token expire": "Token läuft ab",
|
"Token expire": "Token läuft ab",
|
||||||
"Token expire - Tooltip": "Token läuft ab - Tooltip",
|
"Token expire - Tooltip": "Token läuft ab - Tooltip",
|
||||||
"Token format": "Token-Format",
|
"Token format": "Token-Format",
|
||||||
"Token format - Tooltip": "Token-Format - Tooltip",
|
"Token format - Tooltip": "Token-Format - Tooltip"
|
||||||
"Rule": "Rule",
|
|
||||||
"None": "None",
|
|
||||||
"Always": "Always"
|
|
||||||
},
|
},
|
||||||
"cert": {
|
"cert": {
|
||||||
"Bit size": "Bitgröße",
|
"Bit size": "Bitgröße",
|
||||||
@ -491,6 +491,7 @@
|
|||||||
"New Provider": "New Provider",
|
"New Provider": "New Provider",
|
||||||
"Parse": "Parse",
|
"Parse": "Parse",
|
||||||
"Parse Metadata successfully": "Metadaten erfolgreich analysieren",
|
"Parse Metadata successfully": "Metadaten erfolgreich analysieren",
|
||||||
|
"Path prefix": "Path prefix",
|
||||||
"Port": "Port",
|
"Port": "Port",
|
||||||
"Port - Tooltip": "Unique string-style identifier",
|
"Port - Tooltip": "Unique string-style identifier",
|
||||||
"Provider URL": "Provider-URL",
|
"Provider URL": "Provider-URL",
|
||||||
@ -535,6 +536,7 @@
|
|||||||
"Test Connection": "Test Smtp Connection",
|
"Test Connection": "Test Smtp Connection",
|
||||||
"Test Email": "Test email config",
|
"Test Email": "Test email config",
|
||||||
"Test Email - Tooltip": "Email Address",
|
"Test Email - Tooltip": "Email Address",
|
||||||
|
"The prefix path of the file - Tooltip": "The prefix path of the file - Tooltip",
|
||||||
"Token URL": "Token URL",
|
"Token URL": "Token URL",
|
||||||
"Token URL - Tooltip": "Token URL - Tooltip",
|
"Token URL - Tooltip": "Token URL - Tooltip",
|
||||||
"Type": "Typ",
|
"Type": "Typ",
|
||||||
|
@ -13,6 +13,7 @@
|
|||||||
"Sync": "Sync"
|
"Sync": "Sync"
|
||||||
},
|
},
|
||||||
"application": {
|
"application": {
|
||||||
|
"Always": "Always",
|
||||||
"Auto signin": "Auto signin",
|
"Auto signin": "Auto signin",
|
||||||
"Auto signin - Tooltip": "Auto signin - Tooltip",
|
"Auto signin - Tooltip": "Auto signin - Tooltip",
|
||||||
"Background URL": "Background URL",
|
"Background URL": "Background URL",
|
||||||
@ -43,6 +44,7 @@
|
|||||||
"Grant types - Tooltip": "Grant types - Tooltip",
|
"Grant types - Tooltip": "Grant types - Tooltip",
|
||||||
"Left": "Left",
|
"Left": "Left",
|
||||||
"New Application": "New Application",
|
"New Application": "New Application",
|
||||||
|
"None": "None",
|
||||||
"Password ON": "Password ON",
|
"Password ON": "Password ON",
|
||||||
"Password ON - Tooltip": "Password ON - Tooltip",
|
"Password ON - Tooltip": "Password ON - Tooltip",
|
||||||
"Please select a HTML file": "Please select a HTML file",
|
"Please select a HTML file": "Please select a HTML file",
|
||||||
@ -53,6 +55,7 @@
|
|||||||
"Refresh token expire": "Refresh token expire",
|
"Refresh token expire": "Refresh token expire",
|
||||||
"Refresh token expire - Tooltip": "Refresh token expire - Tooltip",
|
"Refresh token expire - Tooltip": "Refresh token expire - Tooltip",
|
||||||
"Right": "Right",
|
"Right": "Right",
|
||||||
|
"Rule": "Rule",
|
||||||
"SAML metadata": "SAML metadata",
|
"SAML metadata": "SAML metadata",
|
||||||
"SAML metadata - Tooltip": "SAML metadata - Tooltip",
|
"SAML metadata - Tooltip": "SAML metadata - Tooltip",
|
||||||
"SAML metadata URL copied to clipboard successfully": "SAML metadata URL copied to clipboard successfully",
|
"SAML metadata URL copied to clipboard successfully": "SAML metadata URL copied to clipboard successfully",
|
||||||
@ -67,10 +70,7 @@
|
|||||||
"Token expire": "Token expire",
|
"Token expire": "Token expire",
|
||||||
"Token expire - Tooltip": "Token expire - Tooltip",
|
"Token expire - Tooltip": "Token expire - Tooltip",
|
||||||
"Token format": "Token format",
|
"Token format": "Token format",
|
||||||
"Token format - Tooltip": "Token format - Tooltip",
|
"Token format - Tooltip": "Token format - Tooltip"
|
||||||
"Rule": "Rule",
|
|
||||||
"None": "None",
|
|
||||||
"Always": "Always"
|
|
||||||
},
|
},
|
||||||
"cert": {
|
"cert": {
|
||||||
"Bit size": "Bit size",
|
"Bit size": "Bit size",
|
||||||
@ -491,6 +491,7 @@
|
|||||||
"New Provider": "New Provider",
|
"New Provider": "New Provider",
|
||||||
"Parse": "Parse",
|
"Parse": "Parse",
|
||||||
"Parse Metadata successfully": "Parse Metadata successfully",
|
"Parse Metadata successfully": "Parse Metadata successfully",
|
||||||
|
"Path prefix": "Path prefix",
|
||||||
"Port": "Port",
|
"Port": "Port",
|
||||||
"Port - Tooltip": "Port - Tooltip",
|
"Port - Tooltip": "Port - Tooltip",
|
||||||
"Provider URL": "Provider URL",
|
"Provider URL": "Provider URL",
|
||||||
@ -535,6 +536,7 @@
|
|||||||
"Test Connection": "Test Connection",
|
"Test Connection": "Test Connection",
|
||||||
"Test Email": "Test Email",
|
"Test Email": "Test Email",
|
||||||
"Test Email - Tooltip": "Test Email - Tooltip",
|
"Test Email - Tooltip": "Test Email - Tooltip",
|
||||||
|
"The prefix path of the file - Tooltip": "The prefix path of the file - Tooltip",
|
||||||
"Token URL": "Token URL",
|
"Token URL": "Token URL",
|
||||||
"Token URL - Tooltip": "Token URL - Tooltip",
|
"Token URL - Tooltip": "Token URL - Tooltip",
|
||||||
"Type": "Type",
|
"Type": "Type",
|
||||||
|
@ -13,6 +13,7 @@
|
|||||||
"Sync": "Sync"
|
"Sync": "Sync"
|
||||||
},
|
},
|
||||||
"application": {
|
"application": {
|
||||||
|
"Always": "Always",
|
||||||
"Auto signin": "Auto signin",
|
"Auto signin": "Auto signin",
|
||||||
"Auto signin - Tooltip": "Auto signin - Tooltip",
|
"Auto signin - Tooltip": "Auto signin - Tooltip",
|
||||||
"Background URL": "Background URL",
|
"Background URL": "Background URL",
|
||||||
@ -43,6 +44,7 @@
|
|||||||
"Grant types - Tooltip": "Grant types - Tooltip",
|
"Grant types - Tooltip": "Grant types - Tooltip",
|
||||||
"Left": "Left",
|
"Left": "Left",
|
||||||
"New Application": "New Application",
|
"New Application": "New Application",
|
||||||
|
"None": "None",
|
||||||
"Password ON": "Mot de passe activé",
|
"Password ON": "Mot de passe activé",
|
||||||
"Password ON - Tooltip": "Whether to allow password login",
|
"Password ON - Tooltip": "Whether to allow password login",
|
||||||
"Please select a HTML file": "Veuillez sélectionner un fichier HTML",
|
"Please select a HTML file": "Veuillez sélectionner un fichier HTML",
|
||||||
@ -53,6 +55,7 @@
|
|||||||
"Refresh token expire": "Expiration du jeton d'actualisation",
|
"Refresh token expire": "Expiration du jeton d'actualisation",
|
||||||
"Refresh token expire - Tooltip": "Expiration du jeton d'actualisation - infobulle",
|
"Refresh token expire - Tooltip": "Expiration du jeton d'actualisation - infobulle",
|
||||||
"Right": "Right",
|
"Right": "Right",
|
||||||
|
"Rule": "Rule",
|
||||||
"SAML metadata": "SAML metadata",
|
"SAML metadata": "SAML metadata",
|
||||||
"SAML metadata - Tooltip": "SAML metadata - Tooltip",
|
"SAML metadata - Tooltip": "SAML metadata - Tooltip",
|
||||||
"SAML metadata URL copied to clipboard successfully": "SAML metadata URL copied to clipboard successfully",
|
"SAML metadata URL copied to clipboard successfully": "SAML metadata URL copied to clipboard successfully",
|
||||||
@ -67,10 +70,7 @@
|
|||||||
"Token expire": "Expiration du jeton",
|
"Token expire": "Expiration du jeton",
|
||||||
"Token expire - Tooltip": "Expiration du jeton - Info-bulle",
|
"Token expire - Tooltip": "Expiration du jeton - Info-bulle",
|
||||||
"Token format": "Format du jeton",
|
"Token format": "Format du jeton",
|
||||||
"Token format - Tooltip": "Format du jeton - infobulle",
|
"Token format - Tooltip": "Format du jeton - infobulle"
|
||||||
"Rule": "Rule",
|
|
||||||
"None": "None",
|
|
||||||
"Always": "Always"
|
|
||||||
},
|
},
|
||||||
"cert": {
|
"cert": {
|
||||||
"Bit size": "Taille du bit",
|
"Bit size": "Taille du bit",
|
||||||
@ -491,6 +491,7 @@
|
|||||||
"New Provider": "New Provider",
|
"New Provider": "New Provider",
|
||||||
"Parse": "Parse",
|
"Parse": "Parse",
|
||||||
"Parse Metadata successfully": "Analyse des métadonnées réussie",
|
"Parse Metadata successfully": "Analyse des métadonnées réussie",
|
||||||
|
"Path prefix": "Path prefix",
|
||||||
"Port": "Port",
|
"Port": "Port",
|
||||||
"Port - Tooltip": "Unique string-style identifier",
|
"Port - Tooltip": "Unique string-style identifier",
|
||||||
"Provider URL": "URL du fournisseur",
|
"Provider URL": "URL du fournisseur",
|
||||||
@ -535,6 +536,7 @@
|
|||||||
"Test Connection": "Test Smtp Connection",
|
"Test Connection": "Test Smtp Connection",
|
||||||
"Test Email": "Test email config",
|
"Test Email": "Test email config",
|
||||||
"Test Email - Tooltip": "Email Address",
|
"Test Email - Tooltip": "Email Address",
|
||||||
|
"The prefix path of the file - Tooltip": "The prefix path of the file - Tooltip",
|
||||||
"Token URL": "Token URL",
|
"Token URL": "Token URL",
|
||||||
"Token URL - Tooltip": "Token URL - Tooltip",
|
"Token URL - Tooltip": "Token URL - Tooltip",
|
||||||
"Type": "Type de texte",
|
"Type": "Type de texte",
|
||||||
|
@ -13,6 +13,7 @@
|
|||||||
"Sync": "Sync"
|
"Sync": "Sync"
|
||||||
},
|
},
|
||||||
"application": {
|
"application": {
|
||||||
|
"Always": "Always",
|
||||||
"Auto signin": "Auto signin",
|
"Auto signin": "Auto signin",
|
||||||
"Auto signin - Tooltip": "Auto signin - Tooltip",
|
"Auto signin - Tooltip": "Auto signin - Tooltip",
|
||||||
"Background URL": "Background URL",
|
"Background URL": "Background URL",
|
||||||
@ -43,6 +44,7 @@
|
|||||||
"Grant types - Tooltip": "Grant types - Tooltip",
|
"Grant types - Tooltip": "Grant types - Tooltip",
|
||||||
"Left": "Left",
|
"Left": "Left",
|
||||||
"New Application": "New Application",
|
"New Application": "New Application",
|
||||||
|
"None": "None",
|
||||||
"Password ON": "パスワードON",
|
"Password ON": "パスワードON",
|
||||||
"Password ON - Tooltip": "Whether to allow password login",
|
"Password ON - Tooltip": "Whether to allow password login",
|
||||||
"Please select a HTML file": "HTMLファイルを選択してください",
|
"Please select a HTML file": "HTMLファイルを選択してください",
|
||||||
@ -53,6 +55,7 @@
|
|||||||
"Refresh token expire": "トークンの更新の期限が切れます",
|
"Refresh token expire": "トークンの更新の期限が切れます",
|
||||||
"Refresh token expire - Tooltip": "トークンの有効期限を更新する - ツールチップ",
|
"Refresh token expire - Tooltip": "トークンの有効期限を更新する - ツールチップ",
|
||||||
"Right": "Right",
|
"Right": "Right",
|
||||||
|
"Rule": "Rule",
|
||||||
"SAML metadata": "SAML metadata",
|
"SAML metadata": "SAML metadata",
|
||||||
"SAML metadata - Tooltip": "SAML metadata - Tooltip",
|
"SAML metadata - Tooltip": "SAML metadata - Tooltip",
|
||||||
"SAML metadata URL copied to clipboard successfully": "SAML metadata URL copied to clipboard successfully",
|
"SAML metadata URL copied to clipboard successfully": "SAML metadata URL copied to clipboard successfully",
|
||||||
@ -67,10 +70,7 @@
|
|||||||
"Token expire": "トークンの有効期限",
|
"Token expire": "トークンの有効期限",
|
||||||
"Token expire - Tooltip": "トークンの有効期限 - ツールチップ",
|
"Token expire - Tooltip": "トークンの有効期限 - ツールチップ",
|
||||||
"Token format": "トークンのフォーマット",
|
"Token format": "トークンのフォーマット",
|
||||||
"Token format - Tooltip": "トークンフォーマット - ツールチップ",
|
"Token format - Tooltip": "トークンフォーマット - ツールチップ"
|
||||||
"Rule": "Rule",
|
|
||||||
"None": "None",
|
|
||||||
"Always": "Always"
|
|
||||||
},
|
},
|
||||||
"cert": {
|
"cert": {
|
||||||
"Bit size": "ビットサイズ",
|
"Bit size": "ビットサイズ",
|
||||||
@ -491,6 +491,7 @@
|
|||||||
"New Provider": "New Provider",
|
"New Provider": "New Provider",
|
||||||
"Parse": "Parse",
|
"Parse": "Parse",
|
||||||
"Parse Metadata successfully": "メタデータの解析に成功",
|
"Parse Metadata successfully": "メタデータの解析に成功",
|
||||||
|
"Path prefix": "Path prefix",
|
||||||
"Port": "ポート",
|
"Port": "ポート",
|
||||||
"Port - Tooltip": "Unique string-style identifier",
|
"Port - Tooltip": "Unique string-style identifier",
|
||||||
"Provider URL": "プロバイダー URL",
|
"Provider URL": "プロバイダー URL",
|
||||||
@ -535,6 +536,7 @@
|
|||||||
"Test Connection": "Test Smtp Connection",
|
"Test Connection": "Test Smtp Connection",
|
||||||
"Test Email": "Test email config",
|
"Test Email": "Test email config",
|
||||||
"Test Email - Tooltip": "Email Address",
|
"Test Email - Tooltip": "Email Address",
|
||||||
|
"The prefix path of the file - Tooltip": "The prefix path of the file - Tooltip",
|
||||||
"Token URL": "Token URL",
|
"Token URL": "Token URL",
|
||||||
"Token URL - Tooltip": "Token URL - Tooltip",
|
"Token URL - Tooltip": "Token URL - Tooltip",
|
||||||
"Type": "タイプ",
|
"Type": "タイプ",
|
||||||
|
@ -13,6 +13,7 @@
|
|||||||
"Sync": "Sync"
|
"Sync": "Sync"
|
||||||
},
|
},
|
||||||
"application": {
|
"application": {
|
||||||
|
"Always": "Always",
|
||||||
"Auto signin": "Auto signin",
|
"Auto signin": "Auto signin",
|
||||||
"Auto signin - Tooltip": "Auto signin - Tooltip",
|
"Auto signin - Tooltip": "Auto signin - Tooltip",
|
||||||
"Background URL": "Background URL",
|
"Background URL": "Background URL",
|
||||||
@ -43,6 +44,7 @@
|
|||||||
"Grant types - Tooltip": "Grant types - Tooltip",
|
"Grant types - Tooltip": "Grant types - Tooltip",
|
||||||
"Left": "Left",
|
"Left": "Left",
|
||||||
"New Application": "New Application",
|
"New Application": "New Application",
|
||||||
|
"None": "None",
|
||||||
"Password ON": "Password ON",
|
"Password ON": "Password ON",
|
||||||
"Password ON - Tooltip": "Whether to allow password login",
|
"Password ON - Tooltip": "Whether to allow password login",
|
||||||
"Please select a HTML file": "Please select a HTML file",
|
"Please select a HTML file": "Please select a HTML file",
|
||||||
@ -53,6 +55,7 @@
|
|||||||
"Refresh token expire": "Refresh token expire",
|
"Refresh token expire": "Refresh token expire",
|
||||||
"Refresh token expire - Tooltip": "Refresh token expire - Tooltip",
|
"Refresh token expire - Tooltip": "Refresh token expire - Tooltip",
|
||||||
"Right": "Right",
|
"Right": "Right",
|
||||||
|
"Rule": "Rule",
|
||||||
"SAML metadata": "SAML metadata",
|
"SAML metadata": "SAML metadata",
|
||||||
"SAML metadata - Tooltip": "SAML metadata - Tooltip",
|
"SAML metadata - Tooltip": "SAML metadata - Tooltip",
|
||||||
"SAML metadata URL copied to clipboard successfully": "SAML metadata URL copied to clipboard successfully",
|
"SAML metadata URL copied to clipboard successfully": "SAML metadata URL copied to clipboard successfully",
|
||||||
@ -67,10 +70,7 @@
|
|||||||
"Token expire": "Token expire",
|
"Token expire": "Token expire",
|
||||||
"Token expire - Tooltip": "Token expire - Tooltip",
|
"Token expire - Tooltip": "Token expire - Tooltip",
|
||||||
"Token format": "Token format",
|
"Token format": "Token format",
|
||||||
"Token format - Tooltip": "Token format - Tooltip",
|
"Token format - Tooltip": "Token format - Tooltip"
|
||||||
"Rule": "Rule",
|
|
||||||
"None": "None",
|
|
||||||
"Always": "Always"
|
|
||||||
},
|
},
|
||||||
"cert": {
|
"cert": {
|
||||||
"Bit size": "Bit size",
|
"Bit size": "Bit size",
|
||||||
@ -491,6 +491,7 @@
|
|||||||
"New Provider": "New Provider",
|
"New Provider": "New Provider",
|
||||||
"Parse": "Parse",
|
"Parse": "Parse",
|
||||||
"Parse Metadata successfully": "Parse Metadata successfully",
|
"Parse Metadata successfully": "Parse Metadata successfully",
|
||||||
|
"Path prefix": "Path prefix",
|
||||||
"Port": "Port",
|
"Port": "Port",
|
||||||
"Port - Tooltip": "Unique string-style identifier",
|
"Port - Tooltip": "Unique string-style identifier",
|
||||||
"Provider URL": "Provider URL",
|
"Provider URL": "Provider URL",
|
||||||
@ -535,6 +536,7 @@
|
|||||||
"Test Connection": "Test Smtp Connection",
|
"Test Connection": "Test Smtp Connection",
|
||||||
"Test Email": "Test email config",
|
"Test Email": "Test email config",
|
||||||
"Test Email - Tooltip": "Email Address",
|
"Test Email - Tooltip": "Email Address",
|
||||||
|
"The prefix path of the file - Tooltip": "The prefix path of the file - Tooltip",
|
||||||
"Token URL": "Token URL",
|
"Token URL": "Token URL",
|
||||||
"Token URL - Tooltip": "Token URL - Tooltip",
|
"Token URL - Tooltip": "Token URL - Tooltip",
|
||||||
"Type": "Type",
|
"Type": "Type",
|
||||||
|
@ -13,6 +13,7 @@
|
|||||||
"Sync": "Sync"
|
"Sync": "Sync"
|
||||||
},
|
},
|
||||||
"application": {
|
"application": {
|
||||||
|
"Always": "Always",
|
||||||
"Auto signin": "Auto signin",
|
"Auto signin": "Auto signin",
|
||||||
"Auto signin - Tooltip": "Auto signin - Tooltip",
|
"Auto signin - Tooltip": "Auto signin - Tooltip",
|
||||||
"Background URL": "Background URL",
|
"Background URL": "Background URL",
|
||||||
@ -43,6 +44,7 @@
|
|||||||
"Grant types - Tooltip": "Виды грантов - Подсказка",
|
"Grant types - Tooltip": "Виды грантов - Подсказка",
|
||||||
"Left": "Left",
|
"Left": "Left",
|
||||||
"New Application": "Новое приложение",
|
"New Application": "Новое приложение",
|
||||||
|
"None": "None",
|
||||||
"Password ON": "Пароль ВКЛ",
|
"Password ON": "Пароль ВКЛ",
|
||||||
"Password ON - Tooltip": "Whether to allow password login",
|
"Password ON - Tooltip": "Whether to allow password login",
|
||||||
"Please select a HTML file": "Пожалуйста, выберите HTML-файл",
|
"Please select a HTML file": "Пожалуйста, выберите HTML-файл",
|
||||||
@ -53,6 +55,7 @@
|
|||||||
"Refresh token expire": "Срок действия обновления токена истекает",
|
"Refresh token expire": "Срок действия обновления токена истекает",
|
||||||
"Refresh token expire - Tooltip": "Срок обновления токена истекает - Подсказка",
|
"Refresh token expire - Tooltip": "Срок обновления токена истекает - Подсказка",
|
||||||
"Right": "Right",
|
"Right": "Right",
|
||||||
|
"Rule": "правило",
|
||||||
"SAML metadata": "Метаданные SAML",
|
"SAML metadata": "Метаданные SAML",
|
||||||
"SAML metadata - Tooltip": "Метаданные SAML - Подсказка",
|
"SAML metadata - Tooltip": "Метаданные SAML - Подсказка",
|
||||||
"SAML metadata URL copied to clipboard successfully": "Адрес метаданных SAML скопирован в буфер обмена",
|
"SAML metadata URL copied to clipboard successfully": "Адрес метаданных SAML скопирован в буфер обмена",
|
||||||
@ -67,10 +70,7 @@
|
|||||||
"Token expire": "Токен истекает",
|
"Token expire": "Токен истекает",
|
||||||
"Token expire - Tooltip": "Истек токен - Подсказка",
|
"Token expire - Tooltip": "Истек токен - Подсказка",
|
||||||
"Token format": "Формат токена",
|
"Token format": "Формат токена",
|
||||||
"Token format - Tooltip": "Формат токена - Подсказка",
|
"Token format - Tooltip": "Формат токена - Подсказка"
|
||||||
"Rule": "правило",
|
|
||||||
"None": "None",
|
|
||||||
"Always": "Always"
|
|
||||||
},
|
},
|
||||||
"cert": {
|
"cert": {
|
||||||
"Bit size": "Размер бита",
|
"Bit size": "Размер бита",
|
||||||
@ -491,6 +491,7 @@
|
|||||||
"New Provider": "New Provider",
|
"New Provider": "New Provider",
|
||||||
"Parse": "Parse",
|
"Parse": "Parse",
|
||||||
"Parse Metadata successfully": "Анализ метаданных успешно завершен",
|
"Parse Metadata successfully": "Анализ метаданных успешно завершен",
|
||||||
|
"Path prefix": "Path prefix",
|
||||||
"Port": "Порт",
|
"Port": "Порт",
|
||||||
"Port - Tooltip": "Unique string-style identifier",
|
"Port - Tooltip": "Unique string-style identifier",
|
||||||
"Provider URL": "URL провайдера",
|
"Provider URL": "URL провайдера",
|
||||||
@ -535,6 +536,7 @@
|
|||||||
"Test Connection": "Test Smtp Connection",
|
"Test Connection": "Test Smtp Connection",
|
||||||
"Test Email": "Test email config",
|
"Test Email": "Test email config",
|
||||||
"Test Email - Tooltip": "Email Address",
|
"Test Email - Tooltip": "Email Address",
|
||||||
|
"The prefix path of the file - Tooltip": "The prefix path of the file - Tooltip",
|
||||||
"Token URL": "Token URL",
|
"Token URL": "Token URL",
|
||||||
"Token URL - Tooltip": "Token URL - Tooltip",
|
"Token URL - Tooltip": "Token URL - Tooltip",
|
||||||
"Type": "Тип",
|
"Type": "Тип",
|
||||||
|
@ -13,6 +13,7 @@
|
|||||||
"Sync": "同步"
|
"Sync": "同步"
|
||||||
},
|
},
|
||||||
"application": {
|
"application": {
|
||||||
|
"Always": "始终开启",
|
||||||
"Auto signin": "启用自动登录",
|
"Auto signin": "启用自动登录",
|
||||||
"Auto signin - Tooltip": "当Casdoor存在已登录会话时,自动采用该会话进行应用端的登录",
|
"Auto signin - Tooltip": "当Casdoor存在已登录会话时,自动采用该会话进行应用端的登录",
|
||||||
"Background URL": "背景图URL",
|
"Background URL": "背景图URL",
|
||||||
@ -43,6 +44,7 @@
|
|||||||
"Grant types - Tooltip": "选择允许哪些OAuth协议中的Grant types",
|
"Grant types - Tooltip": "选择允许哪些OAuth协议中的Grant types",
|
||||||
"Left": "居左",
|
"Left": "居左",
|
||||||
"New Application": "添加应用",
|
"New Application": "添加应用",
|
||||||
|
"None": "关闭",
|
||||||
"Password ON": "开启密码",
|
"Password ON": "开启密码",
|
||||||
"Password ON - Tooltip": "是否允许密码登录",
|
"Password ON - Tooltip": "是否允许密码登录",
|
||||||
"Please select a HTML file": "请选择一个HTML文件",
|
"Please select a HTML file": "请选择一个HTML文件",
|
||||||
@ -53,6 +55,7 @@
|
|||||||
"Refresh token expire": "Refresh Token过期",
|
"Refresh token expire": "Refresh Token过期",
|
||||||
"Refresh token expire - Tooltip": "Refresh Token过期时间",
|
"Refresh token expire - Tooltip": "Refresh Token过期时间",
|
||||||
"Right": "居右",
|
"Right": "居右",
|
||||||
|
"Rule": "规则",
|
||||||
"SAML metadata": "SAML元数据",
|
"SAML metadata": "SAML元数据",
|
||||||
"SAML metadata - Tooltip": "SAML协议的元数据(Metadata)信息",
|
"SAML metadata - Tooltip": "SAML协议的元数据(Metadata)信息",
|
||||||
"SAML metadata URL copied to clipboard successfully": "SAML元数据URL已成功复制到剪贴板",
|
"SAML metadata URL copied to clipboard successfully": "SAML元数据URL已成功复制到剪贴板",
|
||||||
@ -67,10 +70,7 @@
|
|||||||
"Token expire": "Access Token过期",
|
"Token expire": "Access Token过期",
|
||||||
"Token expire - Tooltip": "Access Token过期时间",
|
"Token expire - Tooltip": "Access Token过期时间",
|
||||||
"Token format": "Access Token格式",
|
"Token format": "Access Token格式",
|
||||||
"Token format - Tooltip": "Access Token格式",
|
"Token format - Tooltip": "Access Token格式"
|
||||||
"Rule": "规则",
|
|
||||||
"None": "关闭",
|
|
||||||
"Always": "始终开启"
|
|
||||||
},
|
},
|
||||||
"cert": {
|
"cert": {
|
||||||
"Bit size": "位大小",
|
"Bit size": "位大小",
|
||||||
@ -491,6 +491,7 @@
|
|||||||
"New Provider": "添加提供商",
|
"New Provider": "添加提供商",
|
||||||
"Parse": "Parse",
|
"Parse": "Parse",
|
||||||
"Parse Metadata successfully": "解析元数据成功",
|
"Parse Metadata successfully": "解析元数据成功",
|
||||||
|
"Path prefix": "路径前缀",
|
||||||
"Port": "端口",
|
"Port": "端口",
|
||||||
"Port - Tooltip": "端口号",
|
"Port - Tooltip": "端口号",
|
||||||
"Provider URL": "提供商URL",
|
"Provider URL": "提供商URL",
|
||||||
@ -535,6 +536,7 @@
|
|||||||
"Test Connection": "测试SMTP连接",
|
"Test Connection": "测试SMTP连接",
|
||||||
"Test Email": "测试Email配置",
|
"Test Email": "测试Email配置",
|
||||||
"Test Email - Tooltip": "邮箱地址",
|
"Test Email - Tooltip": "邮箱地址",
|
||||||
|
"The prefix path of the file - Tooltip": "文件的路径前缀 - 工具提示",
|
||||||
"Token URL": "Token URL",
|
"Token URL": "Token URL",
|
||||||
"Token URL - Tooltip": "Token URL - 工具提示",
|
"Token URL - Tooltip": "Token URL - 工具提示",
|
||||||
"Type": "类型",
|
"Type": "类型",
|
||||||
|
Reference in New Issue
Block a user