This commit is contained in:
xiaojunnuo
2026-02-16 00:23:13 +08:00
parent eef021f472
commit 01eb50078e
66 changed files with 553 additions and 104 deletions
@@ -17,6 +17,12 @@ input:
placeholder: 密码
required: true
encrypt: true
testRequest:
title: 测试
component:
name: api-test
action: TestRequest
helper: 测试授权是否正确
pluginType: access
type: builtIn
scriptFilePath: /plugins/plugin-51dns/access.js
@@ -19,6 +19,12 @@ input:
component:
placeholder: totp key
encrypt: true
testRequest:
title: 测试
component:
name: api-test
action: TestRequest
helper: 测试授权是否正确
pluginType: access
type: builtIn
scriptFilePath: /plugins/plugin-cachefly/access.js
@@ -19,6 +19,12 @@ input:
component:
placeholder: totp key
encrypt: true
testRequest:
title: 测试
component:
name: api-test
action: TestRequest
helper: 点击测试接口是否正常
pluginType: access
type: builtIn
scriptFilePath: /plugins/plugin-gcore/access.js
@@ -24,6 +24,12 @@ input:
value: ap-southeast-1
helper: 请选择ESA地区
required: true
testRequest:
title: 测试
component:
name: api-test
action: TestRequest
helper: 点击测试接口是否正常
pluginType: access
type: builtIn
scriptFilePath: /plugins/plugin-lib/aliyun/access/aliesa-access.js
@@ -17,6 +17,12 @@ input:
required: true
encrypt: true
helper: 注意:证书申请需要dns解析权限;其他阿里云插件,需要对应的权限,比如证书上传需要证书管理权限;嫌麻烦就用主账号的全量权限的accessKey
testRequest:
title: 测试
component:
name: api-test
action: TestRequest
helper: 点击测试接口是否正常
pluginType: access
type: builtIn
scriptFilePath: /plugins/plugin-lib/aliyun/access/aliyun-access.js
@@ -165,6 +165,12 @@ input:
value: me-south-1
- label: sa-east-1
value: sa-east-1
testRequest:
title: 测试
component:
name: api-test
action: TestRequest
helper: 测试授权是否正确
pluginType: access
type: builtIn
scriptFilePath: /plugins/plugin-aws/access.js
@@ -19,6 +19,12 @@ input:
helper: 是否使用http代理
required: false
encrypt: false
testRequest:
title: 测试
component:
name: api-test
action: TestRequest
helper: 测试授权是否正确
pluginType: access
type: builtIn
scriptFilePath: /plugins/plugin-cloudflare/access.js
@@ -17,6 +17,12 @@ input:
required: true
encrypt: true
helper: ''
testRequest:
title: 测试
component:
name: api-test
action: TestRequest
helper: 点击测试接口看是否正常
pluginType: access
type: builtIn
scriptFilePath: /plugins/plugin-plus/ctyun/access/ctyun-access.js
@@ -17,6 +17,12 @@ input:
helper: ''
required: false
encrypt: true
testRequest:
title: 测试
component:
name: api-test
action: TestRequest
helper: 测试授权是否正确
pluginType: access
type: builtIn
scriptFilePath: /plugins/plugin-dnsla/access.js
@@ -17,6 +17,12 @@ input:
helper: 请前往[多吉云-密钥管理](https://console.dogecloud.com/user/keys)获取
required: true
encrypt: true
testRequest:
title: 测试
component:
name: api-test
action: TestRequest
helper: 测试授权是否正确
pluginType: access
type: builtIn
scriptFilePath: /plugins/plugin-doge/access.js
@@ -17,6 +17,12 @@ input:
placeholder: accessKeySecret
required: true
encrypt: true
testRequest:
title: 测试
component:
name: api-test
action: TestRequest
helper: 点击测试接口是否正常
pluginType: access
type: builtIn
scriptFilePath: /plugins/plugin-huawei/access/huawei-access.js
@@ -16,6 +16,12 @@ input:
placeholder: SecretAccessKey
required: true
encrypt: true
testRequest:
title: 测试
component:
name: api-test
action: TestRequest
helper: 点击测试接口是否正常
pluginType: access
type: builtIn
scriptFilePath: /plugins/plugin-jdcloud/access.js
@@ -18,6 +18,12 @@ input:
vModel: checked
required: false
encrypt: false
testRequest:
title: 测试
component:
name: api-test
action: TestRequest
helper: 点击测试接口看是否正常
pluginType: access
type: builtIn
scriptFilePath: /plugins/plugin-plus/k8s/access.js
@@ -15,6 +15,12 @@ input:
placeholder: password
required: true
encrypt: true
testRequest:
title: 测试
component:
name: api-test
action: TestRequest
helper: 点击测试接口看是否正常
pluginType: access
type: builtIn
scriptFilePath: /plugins/plugin-plus/kuocai/access.js
@@ -64,6 +64,12 @@ input:
})
}
testRequest:
title: 测试
component:
name: api-test
action: TestRequest
helper: 点击测试接口看是否正常
pluginType: access
type: builtIn
scriptFilePath: /plugins/plugin-plus/lecdn/access.js
@@ -24,6 +24,12 @@ input:
helper: 设置->最下面开发者设置->启用OpenToken
required: true
encrypt: true
testRequest:
title: 测试
component:
name: api-test
action: TestRequest
helper: 点击测试接口看是否正常
pluginType: access
type: builtIn
scriptFilePath: /plugins/plugin-plus/lucky/access.js
@@ -30,6 +30,12 @@ input:
vModel: value
encrypt: false
required: false
testRequest:
title: 测试
component:
name: api-test
action: TestRequest
helper: 点击测试接口看是否正常
pluginType: access
type: builtIn
scriptFilePath: /plugins/plugin-plus/maoyun/access.js
@@ -14,6 +14,12 @@ input:
然后点击Generate按钮
required: true
encrypt: true
testRequest:
title: 测试
component:
name: api-test
action: TestRequest
helper: 点击测试接口是否正常
pluginType: access
type: builtIn
scriptFilePath: /plugins/plugin-namesilo/access.js
@@ -0,0 +1,30 @@
name: nextTerminal
title: Next Terminal 授权
icon: clarity:plugin-line
desc: 用于访问 Next Terminal API 的授权配置
input:
baseUrl:
title: 系统地址
component:
name: a-input
allowClear: true
placeholder: https://nt.example.com:8088
required: true
apiToken:
title: API 令牌
helper: 个人中心->授权令牌->创建令牌
component:
name: a-input
allowClear: true
placeholder: NT_xxxxx
required: true
encrypt: true
testRequest:
title: 测试
component:
name: api-test
action: TestRequest
helper: 点击测试接口是否正常
pluginType: access
type: builtIn
scriptFilePath: /plugins/plugin-next-terminal/access.js
@@ -37,6 +37,12 @@ input:
helper: pam 或 pve。默认值 pam
required: false
encrypt: false
testRequest:
title: 测试
component:
name: api-test
action: onTestRequest
helper: 点击测试接口看是否正常
pluginType: access
type: builtIn
scriptFilePath: /plugins/plugin-proxmox/access.js
@@ -13,6 +13,12 @@ input:
title: SecretKey
encrypt: true
helper: SK
testRequest:
title: 测试
component:
name: api-test
action: onTestRequest
helper: 点击测试接口看是否正常
order: 2
pluginType: access
type: builtIn
@@ -21,6 +21,12 @@ input:
name: a-switch
vModel: checked
helper: 如果面板的url是https,且使用的是自签名证书,则需要开启此选项,其他情况可以关闭
testRequest:
title: 测试
component:
name: api-test
action: onTestRequest
helper: 点击测试接口看是否正常
pluginType: access
type: builtIn
scriptFilePath: /plugins/plugin-plus/safeline/access.js
@@ -83,6 +83,12 @@ input:
name: a-input-number
vModel: value
helper: 请求超时时间,单位:秒
testRequest:
title: 测试
component:
name: api-test
action: onTestRequest
helper: 点击测试接口看是否正常
pluginType: access
type: builtIn
scriptFilePath: /plugins/plugin-plus/synology/access.js
@@ -41,6 +41,12 @@ input:
component:
name: a-switch
vModel: checked
testRequest:
title: 测试
component:
name: api-test
action: onTestRequest
helper: 点击测试接口看是否正常
pluginType: access
type: builtIn
scriptFilePath: /plugins/plugin-lib/tencent/access.js
@@ -16,6 +16,12 @@ input:
placeholder: 密码
required: true
encrypt: true
testRequest:
title: 测试
component:
name: api-test
action: onTestRequest
helper: 点击测试接口看是否正常
pluginType: access
type: builtIn
scriptFilePath: /plugins/plugin-plus/unicloud/access.js
@@ -14,6 +14,12 @@ input:
placeholder: 又拍云密码
required: true
encrypt: true
testRequest:
title: 测试
component:
name: api-test
action: onTestRequest
helper: 点击测试接口看是否正常
pluginType: access
type: builtIn
scriptFilePath: /plugins/plugin-upyun/access.js
@@ -16,6 +16,12 @@ input:
placeholder: SecretAccessKey
required: true
encrypt: true
testRequest:
title: 测试
component:
name: api-test
action: onTestRequest
helper: 点击测试接口看是否正常
pluginType: access
type: builtIn
scriptFilePath: /plugins/plugin-volcengine/access.js
@@ -18,6 +18,12 @@ input:
placeholder: 密码
required: true
encrypt: true
testRequest:
title: 测试
component:
name: api-test
action: onTestRequest
helper: 点击测试接口看是否正常
pluginType: access
type: builtIn
scriptFilePath: /plugins/plugin-xinnetconnet/access.js
@@ -17,6 +17,12 @@ input:
helper: http://user.yiduncdn.com/console/index.html#/account/config/api,点击开启后获取
required: true
encrypt: true
testRequest:
title: 测试
component:
name: api-test
action: onTestRequest
helper: 点击测试接口看是否正常
pluginType: access
type: builtIn
scriptFilePath: /plugins/plugin-plus/yidun/access.js
@@ -15,6 +15,12 @@ input:
placeholder: password
required: true
encrypt: true
testRequest:
title: 测试
component:
name: api-test
action: onTestRequest
helper: 点击测试接口看是否正常
pluginType: access
type: builtIn
scriptFilePath: /plugins/plugin-plus/yidun/access-rcdn.js
@@ -18,10 +18,11 @@ input:
options:
- label: 本地复制
value: local
- label: ssh上传
value: ssh
- label: oss上传
- label: oss上传(推荐)
value: oss
- label: ssh上传(请使用oss上传方式)
value: ssh
disabled: true
placeholder: ''
helper: 支持本地复制、ssh上传
required: true
@@ -58,6 +59,8 @@ input:
label: Ftp
- value: sftp
label: Sftp
- value: scp
label: SCP
mergeScript: |2-
return {
@@ -0,0 +1,24 @@
showRunStrategy: false
default:
strategy:
runStrategy: 1
name: DeployToCertd
title: 部署证书到Certd本身
icon: mdi:restart
desc: 【仅管理员可用】 部署证书到 certd的https服务,用于更新 Certd 的 ssl 证书,建议将此任务放在流水线的最后一步
group: admin
onlyAdmin: true
input:
cert:
title: 域名证书
helper: 请选择前置任务输出的域名证书
component:
name: output-selector
from:
- ':cert:'
required: true
order: 0
output: {}
pluginType: deploy
type: builtIn
scriptFilePath: /plugins/plugin-admin/plugin-deploy-to-certd.js
@@ -0,0 +1,58 @@
showRunStrategy: false
default:
strategy:
runStrategy: 1
name: NextTerminalRefreshCert
title: NextTerminal-更新证书
icon: clarity:plugin-line
desc: 更新 Next Terminal 证书
group: panel
input:
cert:
title: 域名证书
helper: 请选择前置任务输出的域名证书
component:
name: output-selector
from:
- CertApply
required: true
order: 0
accessId:
title: Next Terminal 授权
helper: 选择 Next Terminal 授权配置
component:
name: access-selector
type: nextTerminal
required: true
order: 0
certIds:
title: 选择证书
component:
name: remote-select
vModel: value
mode: tags
type: plugin
action: onGetCertList
search: false
pager: false
watches:
- certDomains
- accessId
- accessId
required: true
mergeScript: |2-
return {
component:{
form: ctx.compute(({form})=>{
return form
})
},
}
helper: 选择要更新的 Next Terminal 证书(支持多选),如果这里没有列出,需要先前往控制台上传证书,之后就可以自动更新
order: 0
output: {}
pluginType: deploy
type: builtIn
scriptFilePath: /plugins/plugin-next-terminal/plugins/plugin-refresh-cert.js
@@ -3,9 +3,9 @@ default:
strategy:
runStrategy: 1
name: SafelineDeployToWebsitePlugin
title: 雷池-更新证书
title: 雷池-更新证书(支持控制台和防护应用)
icon: svg:icon-safeline
desc: 更新长亭雷池WAF的证书
desc: 更新长亭雷池WAF的证书,支持更新控制台和防护应用的证书。
group: panel
needPlus: false
input:
@@ -68,7 +68,9 @@ input:
},
}
helper: 请选择要更新的雷池的证书Id,需要先手动到雷池控制台上传一次
helper: |-
请选择要更新的雷池的证书Id,需要先手动到雷池控制台上传一次
如果输入0,则表示新增证书,运行一次之后可以在雷池中使用该证书,最后记得在此处选择新上传的这个证书id,后续将进行自动更新
order: 0
output: {}
pluginType: deploy
@@ -31,7 +31,9 @@ input:
order: 0
accessId:
title: 群晖授权
helper: 群晖登录授权,请确保账户是管理员用户组
helper: |-
群晖登录授权,请确保账户是管理员用户组
群晖OTP授权有效期只有30天,您还需要添加“群晖-刷新OTP登录有效期”任务做登录有效期保活
component:
name: access-selector
type: synology
@@ -0,0 +1,35 @@
showRunStrategy: false
default:
strategy:
runStrategy: 0
name: SynologyKeepAlive
title: 群晖-刷新OTP登录有效期
icon: simple-icons:synology
group: panel
desc: 群晖登录状态可能30天失效,需要在失效之前登录一次,刷新有效期,您可以将其放在“部署到群晖面板”任务之后
needPlus: true
input:
accessId:
title: 群晖授权
helper: 群晖登录授权,请确保账户是管理员用户组
component:
name: access-selector
type: synology
required: true
order: 0
intervalDays:
title: 间隔天数
helper: 多少天刷新一次,建议15天以内
value: 15
component:
name: a-input-number
vModel: value
required: true
order: 0
output:
lastRefreshTime:
title: 上次刷新时间
type: SynologyLastRefreshTime
pluginType: deploy
type: builtIn
scriptFilePath: /plugins/plugin-plus/synology/plugins/plugin-keep-alive.js