Skip to content

Commit 8bdf9d6

Browse files
committed
【调整】api授权新增lecdn和constellix类型
【调整】部署新增LeCdn类型
1 parent 64d29d2 commit 8bdf9d6

File tree

81 files changed

+391
-241
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

81 files changed

+391
-241
lines changed

frontend/apps/allin-ssl/src/assets/icons/svg/resources/constellix.svg

Lines changed: 1 addition & 130 deletions
Loading
Lines changed: 1 addition & 1 deletion
Loading

frontend/apps/allin-ssl/src/components/flowChart/types.d.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,7 @@ export interface DeployConfig<
254254
| 'safeline-site'
255255
| 'safeline-panel'
256256
| 'btpanel-dockersite'
257+
| 'lecdn' // LeCDN 部署类型
257258
| 'plugin', // 新增插件类型
258259
> {
259260
provider: T
@@ -331,6 +332,12 @@ export interface DeployBTPanelDockerSiteConfig extends DeployBTPanelSiteConfig {
331332
[key: string]: unknown
332333
}
333334

335+
// 部署LeCDN配置
336+
export interface DeployLeCDNConfig {
337+
site_id: string // 站点ID
338+
domain: string // 域名
339+
}
340+
334341
// 部署插件配置
335342
export interface DeployPluginConfig {
336343
action: string // 插件方法名称
@@ -352,6 +359,7 @@ export type DeployNodeConfig = DeployConfig<
352359
| DeploySafelineConfig // 部署节点配置(雷池WAF)
353360
| DeploySafelineSiteConfig // 部署节点配置(雷池WAF站点)
354361
| DeployBTPanelDockerSiteConfig // 部署节点配置(宝塔docker站点)
362+
| DeployLeCDNConfig // 部署节点配置(LeCDN)
355363
| DeployPluginConfig // 部署节点配置(插件)
356364
>
357365

frontend/apps/allin-ssl/src/config/data.tsx

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,21 +225,34 @@ export const ApiProjectConfig: Record<string, ApiProjectType> = {
225225
type: ['dns'],
226226
sort: 25,
227227
},
228+
lecdn: {
229+
name: 'LeCDN',
230+
icon: 'lecdn',
231+
type: ['dns', 'host'],
232+
hostRelated: { default: { name: 'LeCDN' } },
233+
sort: 26,
234+
},
235+
constellix: {
236+
name: 'Constellix',
237+
icon: 'constellix',
238+
type: ['dns'],
239+
sort: 27,
240+
},
228241
doge: {
229242
name: $t('t_0_1750129254226'),
230243
icon: 'doge',
231244
type: ['host'],
232245
hostRelated: {
233246
cdn: { name: $t('t_0_1750129254226') + 'CDN' },
234247
},
235-
sort: 26,
248+
sort: 28,
236249
},
237250
plugin: {
238251
name: '插件',
239252
icon: 'plugin',
240253
type: ['host'],
241254
hostRelated: { default: { name: '插件' } },
242-
sort: 27,
255+
sort: 29,
243256
},
244257
}
245258

frontend/apps/allin-ssl/src/locales/model/arDZ.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
"t_0_1750469182154": "صيغة اسم المجال خاطئة",
32
"t_0_1744098811152": "تحذير: لقد دخلتم منطقة غير معروفة، الصفحة التي تحاول زيارتها غير موجودة، يرجى الضغط على الزر للعودة إلى الصفحة الرئيسية.",
43
"t_1_1744098801860": "رجوع إلى الصفحة الرئيسية",
54
"t_2_1744098804908": "نصيحة أمنية: إذا كنت تعتقد أن هذا خطأ، يرجى الاتصال بالمدير على الفور",
@@ -667,5 +666,6 @@
667666
"t_0_1750399513983": "عنوان URL لخدمة ACME",
668667
"t_1_1750399516161": "يرجى إدخال عنوان URL لخدمة ACME",
669668
"t_2_1750399515511": "وقت آخر استثناء",
670-
"t_3_1750399513606": "شهادة CA"
669+
"t_3_1750399513606": "شهادة CA",
670+
"t_0_1750469182154": "صيغة اسم المجال خاطئة"
671671
}

frontend/apps/allin-ssl/src/locales/model/enUS.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
"t_0_1750469182154": "Domain name format is incorrect",
32
"t_0_1744098811152": "Warning: You have entered an unknown area, the page you are visiting does not exist, please click the button to return to the homepage.",
43
"t_1_1744098801860": "Return Home",
54
"t_2_1744098804908": "Safety Tip: If you think this is an error, please contact the administrator immediately",
@@ -667,5 +666,6 @@
667666
"t_0_1750399513983": "ACME service URL address",
668667
"t_1_1750399516161": "Please enter the ACME service URL address",
669668
"t_2_1750399515511": "Last exception time",
670-
"t_3_1750399513606": "Certificate CA"
669+
"t_3_1750399513606": "Certificate CA",
670+
"t_0_1750469182154": "Domain name format is incorrect"
671671
}

frontend/apps/allin-ssl/src/locales/model/esAR.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
"t_0_1750469182154": "Formato de nombre de dominio incorrecto",
32
"t_0_1744098811152": "Advertencia: Ha ingresado a una zona desconocida, la página que intenta visitar no existe, por favor, haga clic en el botón para regresar a la página de inicio.",
43
"t_1_1744098801860": "Volver al inicio",
54
"t_2_1744098804908": "Consejo de seguridad: Si piensa que es un error, póngase en contacto con el administrador inmediatamente",
@@ -667,5 +666,6 @@
667666
"t_0_1750399513983": "Dirección URL del servicio ACME",
668667
"t_1_1750399516161": "Por favor, ingrese la URL del servicio ACME",
669668
"t_2_1750399515511": "Hora de la última excepción",
670-
"t_3_1750399513606": "Certificado CA"
669+
"t_3_1750399513606": "Certificado CA",
670+
"t_0_1750469182154": "Formato de nombre de dominio incorrecto"
671671
}

frontend/apps/allin-ssl/src/locales/model/frFR.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
"t_0_1750469182154": "Format du nom de domaine incorrect",
32
"t_0_1744098811152": "Avertissement : Vous avez entré dans une zone inconnue, la page que vous visitez n'existe pas, veuillez cliquer sur le bouton pour revenir à la page d'accueil.",
43
"t_1_1744098801860": "Retour à l'accueil",
54
"t_2_1744098804908": "Avis de sécurité : Si vous pensez que c'est une erreur, veuillez contacter l'administrateur immédiatement",
@@ -667,5 +666,6 @@
667666
"t_0_1750399513983": "URL du service ACME",
668667
"t_1_1750399516161": "Veuillez entrer l'URL du service ACME",
669668
"t_2_1750399515511": "Heure de la dernière exception",
670-
"t_3_1750399513606": "Certificat CA"
669+
"t_3_1750399513606": "Certificat CA",
670+
"t_0_1750469182154": "Format du nom de domaine incorrect"
671671
}

frontend/apps/allin-ssl/src/locales/model/jaJP.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
"t_0_1750469182154": "ドメイン名の形式が間違っています",
32
"t_0_1744098811152": "警告:未知のエリアに進入しました。アクセスしようとしたページは存在しません。ボタンをクリックしてホームページに戻ってください。",
43
"t_1_1744098801860": "ホームに戻る",
54
"t_2_1744098804908": "安全注意:これが誤りだと思われる場合は、すぐに管理者に連絡してください",
@@ -667,5 +666,6 @@
667666
"t_0_1750399513983": "ACMEサービスURLアドレス",
668667
"t_1_1750399516161": "ACMEサービスURLアドレスを入力してください",
669668
"t_2_1750399515511": "最終異常時間",
670-
"t_3_1750399513606": "証明書CA"
669+
"t_3_1750399513606": "証明書CA",
670+
"t_0_1750469182154": "ドメイン名の形式が間違っています"
671671
}

frontend/apps/allin-ssl/src/locales/model/koKR.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
"t_0_1750469182154": "도메인 이름 형식이 잘못되었습니다",
32
"t_0_1744098811152": "경고: 알 수 없는 영역에 진입했습니다. 방문하려는 페이지가 존재하지 않습니다. 버튼을 클릭하여 홈페이지로 돌아가세요。",
43
"t_1_1744098801860": "홈으로 돌아가기",
54
"t_2_1744098804908": "안전 유의사항: 이가 오류라면 즉시 관리자에게 연락하십시오",
@@ -667,5 +666,6 @@
667666
"t_0_1750399513983": "ACME 서비스 URL 주소",
668667
"t_1_1750399516161": "ACME 서비스 URL 주소를 입력하세요",
669668
"t_2_1750399515511": "마지막 예외 시간",
670-
"t_3_1750399513606": "인증서 CA"
669+
"t_3_1750399513606": "인증서 CA",
670+
"t_0_1750469182154": "도메인 이름 형식이 잘못되었습니다"
671671
}

0 commit comments

Comments
 (0)