Compare commits

...

19 Commits

Author SHA1 Message Date
xiaojunnuo 2e19dda72e fix(pipeline): 修复批量随机修改定时没有生效的bug 2026-06-03 10:54:53 +08:00
xiaojunnuo c637985575 perf: 插件全局配置支持下拉选项自定义映射功能 2026-06-01 09:31:38 +08:00
xiaojunnuo 55f75c6051 chore(acme): 包装DNS提供商错误信息并抛出异常
为DNS解析记录创建操作添加异常捕获,将错误信息添加上提供商名称前缀后重新抛出,便于定位具体出错的DNS服务商
2026-05-27 10:56:08 +08:00
xiaojunnuo 42d9c3ef14 chore: 优化http提示 2026-05-27 09:19:07 +08:00
xiaojunnuo 03ce030754 build: release 2026-05-26 15:40:34 +08:00
xiaojunnuo f2c1e362a0 build: publish 2026-05-26 14:02:47 +08:00
xiaojunnuo 6426aa57a2 build: trigger build image 2026-05-26 14:02:35 +08:00
xiaojunnuo 7ceb0f6306 v1.40.5 2026-05-26 14:00:57 +08:00
xiaojunnuo b26a1944c6 build: prepare to build 2026-05-26 13:31:45 +08:00
xiaojunnuo 235aec3e42 chore: 1 2026-05-26 13:29:12 +08:00
xiaojunnuo 346fb730a3 fix: 修复查询阿里云cdn Dcdn 域名太多无法选择的bug 2026-05-26 12:30:58 +08:00
xiaojunnuo c87bc22a5f chore: package 2026-05-26 11:55:04 +08:00
xiaojunnuo 7198e24945 chore: 1 2026-05-26 11:54:04 +08:00
xiaojunnuo 1a08bd340e fix: 安装glibc,增加Alpine镜像下 dns解析结果的兼容性 2026-05-26 11:35:06 +08:00
xiaojunnuo af9047bf3c fix: 修复阿里云证书订单orderid 选择出错的问题 2026-05-26 11:28:14 +08:00
xiaojunnuo 9566fc4e03 chore: 阿里云订单优化只获取一个订单id 2026-05-26 11:28:07 +08:00
xiaojunnuo f721cefb4a build: release 2026-05-25 00:32:36 +08:00
xiaojunnuo fc2c947afe build: publish 2026-05-25 00:23:24 +08:00
xiaojunnuo d0272095cc build: trigger build image 2026-05-25 00:23:12 +08:00
143 changed files with 511 additions and 244 deletions
+8
View File
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.40.5](https://github.com/certd/certd/compare/v1.40.4...v1.40.5) (2026-05-26)
### Bug Fixes
* 安装glibc,增加Alpine镜像下 dns解析结果的兼容性 ([1a08bd3](https://github.com/certd/certd/commit/1a08bd340e1e7d3f9acf5d40f7bba7998459b8fb))
* 修复阿里云证书订单orderid 选择出错的问题 ([af9047b](https://github.com/certd/certd/commit/af9047bf3c54ce71b11727ccc6220288ed1f57be))
* 修复查询阿里云cdn Dcdn 域名太多无法选择的bug ([346fb73](https://github.com/certd/certd/commit/346fb730a37e035576f5d9ea5c0d74c052b34aeb))
## [1.40.4](https://github.com/certd/certd/compare/v1.40.3...v1.40.4) (2026-05-24)
### Bug Fixes
+1
View File
@@ -135,6 +135,7 @@ export default defineConfig({
{text: "支付宝配置", link: "/guide/use/comm/payments/alipay.md"},
{text: "微信支付配置", link: "/guide/use/comm/payments/wxpay.md"},
{text: "彩虹易支付配置", link: "/guide/use/comm/payments/yizhifu.md"},
{text: "插件选项映射", link: "/guide/use/comm/plugin/"},
]
},
{
+19
View File
@@ -3,6 +3,25 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.40.5](https://github.com/certd/certd/compare/v1.40.4...v1.40.5) (2026-05-26)
### Bug Fixes
* 安装glibc,增加Alpine镜像下 dns解析结果的兼容性 ([1a08bd3](https://github.com/certd/certd/commit/1a08bd340e1e7d3f9acf5d40f7bba7998459b8fb))
* 修复阿里云证书订单orderid 选择出错的问题 ([af9047b](https://github.com/certd/certd/commit/af9047bf3c54ce71b11727ccc6220288ed1f57be))
* 修复查询阿里云cdn Dcdn 域名太多无法选择的bug ([346fb73](https://github.com/certd/certd/commit/346fb730a37e035576f5d9ea5c0d74c052b34aeb))
## [1.40.4](https://github.com/certd/certd/compare/v1.40.3...v1.40.4) (2026-05-24)
### Bug Fixes
* **pipeline-service:** 修复流水线运行时超过套餐部署次数仍然能够正常运行的bug ([5e59651](https://github.com/certd/certd/commit/5e59651d45bc91919629e35995ff1b3cff6b87ea))
### Performance Improvements
* 商业版套餐只支持设置为可叠加 ([5e72f75](https://github.com/certd/certd/commit/5e72f75395fb632a30e80c07d35d8ba40ef631fa))
* 新增阿里云直播证书部署插件 ([8edb6f8](https://github.com/certd/certd/commit/8edb6f8727bd148f106801bef25567880fd35e9e))
## [1.40.3](https://github.com/certd/certd/compare/v1.40.2...v1.40.3) (2026-05-21)
### Bug Fixes
+1 -1
View File
@@ -22,7 +22,7 @@
| 证书域名数量 | 无限制 | 无限制 | 无限制 |
| 证书流水线条数 | 无限制 | 无限制 | 无限制 |
| 自动部署插件 | 阿里云CDN、腾讯云、七牛CDN、主机部署、宝塔、1Panel等大部分插件 | 群晖、威联通、proxmox等 | 同专业版 |
| 通知 | 邮件通知、自定义webhook | 邮件免配置、企微、钉钉、飞书、anpush、server酱等 | 同专业版 |
| 通知 | 邮件通知、自定义webhook | 企微、钉钉、飞书、anpush、server酱等 | 同专业版 |
| 站点监控 | 限制1条 | 无限制 | 无限制 |
| 批量操作 | 无 | 流水线模版,流水线复制,批量运行,批量设置通知、定时等 | 同专业版 |
| VIP群 | 无 | 可加,一对一技术支持,必要时可申请远程协助 | 商业版技术支持 |
+2 -1
View File
@@ -6,4 +6,5 @@
* [支付宝支付配置](./payments/alipay.md)
* [微信支付配置](./payments/wxpay.md)
* [彩虹易支付配置](./payments/yizhifu.md)
* [彩虹易支付配置](./payments/yizhifu.md)
* [插件选项映射](./plugin/)
Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 133 KiB

+37
View File
@@ -0,0 +1,37 @@
# 插件选项映射
商业版可以通过插件配置,自定义插件中下拉选择框的选项显示内容。
## 适用场景
插件中部分下拉选择框的选项可能带有"免费"、"测试"等字眼,商业版运营场景下需要隐藏或改写这些文字。
## 配置方式
1. 进入"系统管理" → "插件管理"
2. 找到需要配置的插件(如 CertApply 证书申请),点击"配置"按钮
3. 在"插件参数自定义"对话框中,找到带有下拉选项的参数(如"证书颁发机构")
4. 该参数的配置行会多出一项"选项映射",点击"自定义"
### 填写映射关系
![](./images/options-1.png)
系统会列出该下拉框的所有**选项值**和**原始显示内容**:
| 选项值 | 原始显示 | 自定义显示 |
|---|---|---|
| letsencrypt | Let's Encrypt(免费,新手推荐,支持IP证书) | [输入框] |
| google | Google(免费) | [输入框] |
- "自定义显示"一列为输入框,默认 placeholder 显示原始内容
- 只需填写**需要改写**的选项,留空的选项将保持原始显示
- 例如:将 Let's Encrypt(免费,新手推荐,支持IP证书) 改写为 Let's Encrypt
### 保存生效
![](./images/options-2.png)
填写完成后保存配置,用户在创建证书流水线时看到的选项文字即会变更为自定义内容。
+1 -1
View File
@@ -9,5 +9,5 @@
}
},
"npmClient": "pnpm",
"version": "1.40.4"
"version": "1.40.5"
}
+6
View File
@@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.40.5](https://github.com/publishlab/node-acme-client/compare/v1.40.4...v1.40.5) (2026-05-26)
### Bug Fixes
* 修复阿里云证书订单orderid 选择出错的问题 ([af9047b](https://github.com/publishlab/node-acme-client/commit/af9047bf3c54ce71b11727ccc6220288ed1f57be))
## [1.40.4](https://github.com/publishlab/node-acme-client/compare/v1.40.3...v1.40.4) (2026-05-24)
**Note:** Version bump only for package @certd/acme-client
+3 -3
View File
@@ -3,7 +3,7 @@
"description": "Simple and unopinionated ACME client",
"private": false,
"author": "nmorsman",
"version": "1.40.4",
"version": "1.40.5",
"type": "module",
"module": "./dist/index.js",
"main": "./dist/index.js",
@@ -18,7 +18,7 @@
"types"
],
"dependencies": {
"@certd/basic": "^1.40.4",
"@certd/basic": "^1.40.5",
"@peculiar/x509": "^1.11.0",
"asn1js": "^3.0.5",
"axios": "^1.9.0",
@@ -76,5 +76,5 @@
"bugs": {
"url": "https://github.com/publishlab/node-acme-client/issues"
},
"gitHead": "01c91ba294f88bd07fddf9358c4301bbb4027916"
"gitHead": "7ceb0f6306b8b5e9ab875b9f7c41cc7d56209ea4"
}
+4
View File
@@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.40.5](https://github.com/certd/certd/compare/v1.40.4...v1.40.5) (2026-05-26)
**Note:** Version bump only for package @certd/basic
## [1.40.4](https://github.com/certd/certd/compare/v1.40.3...v1.40.4) (2026-05-24)
**Note:** Version bump only for package @certd/basic
+1 -1
View File
@@ -1 +1 @@
00:18
13:31
+2 -2
View File
@@ -1,7 +1,7 @@
{
"name": "@certd/basic",
"private": false,
"version": "1.40.4",
"version": "1.40.5",
"type": "module",
"main": "./dist/index.js",
"module": "./dist/index.js",
@@ -52,5 +52,5 @@
"tslib": "^2.8.1",
"typescript": "^5.4.2"
},
"gitHead": "01c91ba294f88bd07fddf9358c4301bbb4027916"
"gitHead": "7ceb0f6306b8b5e9ab875b9f7c41cc7d56209ea4"
}
+6
View File
@@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.40.5](https://github.com/certd/certd/compare/v1.40.4...v1.40.5) (2026-05-26)
### Bug Fixes
* 修复阿里云证书订单orderid 选择出错的问题 ([af9047b](https://github.com/certd/certd/commit/af9047bf3c54ce71b11727ccc6220288ed1f57be))
## [1.40.4](https://github.com/certd/certd/compare/v1.40.3...v1.40.4) (2026-05-24)
**Note:** Version bump only for package @certd/pipeline
+4 -4
View File
@@ -1,7 +1,7 @@
{
"name": "@certd/pipeline",
"private": false,
"version": "1.40.4",
"version": "1.40.5",
"type": "module",
"main": "./dist/index.js",
"module": "./dist/index.js",
@@ -19,8 +19,8 @@
"compile": "tsc --skipLibCheck --watch"
},
"dependencies": {
"@certd/basic": "^1.40.4",
"@certd/plus-core": "^1.40.4",
"@certd/basic": "^1.40.5",
"@certd/plus-core": "^1.40.5",
"dayjs": "^1.11.7",
"lodash-es": "^4.17.21",
"reflect-metadata": "^0.1.13"
@@ -49,5 +49,5 @@
"tslib": "^2.8.1",
"typescript": "^5.4.2"
},
"gitHead": "01c91ba294f88bd07fddf9358c4301bbb4027916"
"gitHead": "7ceb0f6306b8b5e9ab875b9f7c41cc7d56209ea4"
}
+4
View File
@@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.40.5](https://github.com/certd/certd/compare/v1.40.4...v1.40.5) (2026-05-26)
**Note:** Version bump only for package @certd/lib-huawei
## [1.40.4](https://github.com/certd/certd/compare/v1.40.3...v1.40.4) (2026-05-24)
**Note:** Version bump only for package @certd/lib-huawei
+2 -2
View File
@@ -1,7 +1,7 @@
{
"name": "@certd/lib-huawei",
"private": false,
"version": "1.40.4",
"version": "1.40.5",
"main": "./dist/bundle.js",
"module": "./dist/bundle.js",
"types": "./dist/d/index.d.ts",
@@ -27,5 +27,5 @@
"prettier": "^2.8.8",
"tslib": "^2.8.1"
},
"gitHead": "01c91ba294f88bd07fddf9358c4301bbb4027916"
"gitHead": "7ceb0f6306b8b5e9ab875b9f7c41cc7d56209ea4"
}
+4
View File
@@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.40.5](https://github.com/certd/certd/compare/v1.40.4...v1.40.5) (2026-05-26)
**Note:** Version bump only for package @certd/lib-iframe
## [1.40.4](https://github.com/certd/certd/compare/v1.40.3...v1.40.4) (2026-05-24)
**Note:** Version bump only for package @certd/lib-iframe
+2 -2
View File
@@ -1,7 +1,7 @@
{
"name": "@certd/lib-iframe",
"private": false,
"version": "1.40.4",
"version": "1.40.5",
"type": "module",
"main": "./dist/index.js",
"module": "./dist/index.js",
@@ -34,5 +34,5 @@
"tslib": "^2.8.1",
"typescript": "^5.4.2"
},
"gitHead": "01c91ba294f88bd07fddf9358c4301bbb4027916"
"gitHead": "7ceb0f6306b8b5e9ab875b9f7c41cc7d56209ea4"
}
+4
View File
@@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.40.5](https://github.com/certd/certd/compare/v1.40.4...v1.40.5) (2026-05-26)
**Note:** Version bump only for package @certd/jdcloud
## [1.40.4](https://github.com/certd/certd/compare/v1.40.3...v1.40.4) (2026-05-24)
**Note:** Version bump only for package @certd/jdcloud
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@certd/jdcloud",
"version": "1.40.4",
"version": "1.40.5",
"description": "jdcloud openApi sdk",
"main": "./dist/bundle.js",
"module": "./dist/bundle.js",
@@ -59,5 +59,5 @@
"fetch"
]
},
"gitHead": "01c91ba294f88bd07fddf9358c4301bbb4027916"
"gitHead": "7ceb0f6306b8b5e9ab875b9f7c41cc7d56209ea4"
}
+4
View File
@@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.40.5](https://github.com/certd/certd/compare/v1.40.4...v1.40.5) (2026-05-26)
**Note:** Version bump only for package @certd/lib-k8s
## [1.40.4](https://github.com/certd/certd/compare/v1.40.3...v1.40.4) (2026-05-24)
**Note:** Version bump only for package @certd/lib-k8s
+3 -3
View File
@@ -1,7 +1,7 @@
{
"name": "@certd/lib-k8s",
"private": false,
"version": "1.40.4",
"version": "1.40.5",
"type": "module",
"main": "./dist/index.js",
"module": "./dist/index.js",
@@ -19,7 +19,7 @@
"compile": "tsc --skipLibCheck --watch"
},
"dependencies": {
"@certd/basic": "^1.40.4",
"@certd/basic": "^1.40.5",
"@kubernetes/client-node": "0.21.0"
},
"devDependencies": {
@@ -36,5 +36,5 @@
"tslib": "^2.8.1",
"typescript": "^5.4.2"
},
"gitHead": "01c91ba294f88bd07fddf9358c4301bbb4027916"
"gitHead": "7ceb0f6306b8b5e9ab875b9f7c41cc7d56209ea4"
}
+6
View File
@@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.40.5](https://github.com/certd/certd/compare/v1.40.4...v1.40.5) (2026-05-26)
### Bug Fixes
* 修复阿里云证书订单orderid 选择出错的问题 ([af9047b](https://github.com/certd/certd/commit/af9047bf3c54ce71b11727ccc6220288ed1f57be))
## [1.40.4](https://github.com/certd/certd/compare/v1.40.3...v1.40.4) (2026-05-24)
### Performance Improvements
+7 -7
View File
@@ -1,6 +1,6 @@
{
"name": "@certd/lib-server",
"version": "1.40.4",
"version": "1.40.5",
"description": "midway with flyway, sql upgrade way ",
"private": false,
"type": "module",
@@ -29,11 +29,11 @@
],
"license": "AGPL",
"dependencies": {
"@certd/acme-client": "^1.40.4",
"@certd/basic": "^1.40.4",
"@certd/pipeline": "^1.40.4",
"@certd/plugin-lib": "^1.40.4",
"@certd/plus-core": "^1.40.4",
"@certd/acme-client": "^1.40.5",
"@certd/basic": "^1.40.5",
"@certd/pipeline": "^1.40.5",
"@certd/plugin-lib": "^1.40.5",
"@certd/plus-core": "^1.40.5",
"@midwayjs/cache": "3.14.0",
"@midwayjs/core": "3.20.11",
"@midwayjs/i18n": "3.20.13",
@@ -69,5 +69,5 @@
"typeorm": "^0.3.11",
"typescript": "^5.4.2"
},
"gitHead": "01c91ba294f88bd07fddf9358c4301bbb4027916"
"gitHead": "7ceb0f6306b8b5e9ab875b9f7c41cc7d56209ea4"
}
@@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.40.5](https://github.com/certd/certd/compare/v1.40.4...v1.40.5) (2026-05-26)
**Note:** Version bump only for package @certd/midway-flyway-js
## [1.40.4](https://github.com/certd/certd/compare/v1.40.3...v1.40.4) (2026-05-24)
**Note:** Version bump only for package @certd/midway-flyway-js
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@certd/midway-flyway-js",
"version": "1.40.4",
"version": "1.40.5",
"description": "midway with flyway, sql upgrade way ",
"private": false,
"type": "module",
@@ -49,5 +49,5 @@
"typeorm": "^0.3.11",
"typescript": "^5.4.2"
},
"gitHead": "01c91ba294f88bd07fddf9358c4301bbb4027916"
"gitHead": "7ceb0f6306b8b5e9ab875b9f7c41cc7d56209ea4"
}
@@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.40.5](https://github.com/certd/certd/compare/v1.40.4...v1.40.5) (2026-05-26)
### Bug Fixes
* 修复阿里云证书订单orderid 选择出错的问题 ([af9047b](https://github.com/certd/certd/commit/af9047bf3c54ce71b11727ccc6220288ed1f57be))
## [1.40.4](https://github.com/certd/certd/compare/v1.40.3...v1.40.4) (2026-05-24)
**Note:** Version bump only for package @certd/plugin-cert
+6 -6
View File
@@ -1,7 +1,7 @@
{
"name": "@certd/plugin-cert",
"private": false,
"version": "1.40.4",
"version": "1.40.5",
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
@@ -18,10 +18,10 @@
"compile": "tsc --skipLibCheck --watch"
},
"dependencies": {
"@certd/acme-client": "^1.40.4",
"@certd/basic": "^1.40.4",
"@certd/pipeline": "^1.40.4",
"@certd/plugin-lib": "^1.40.4",
"@certd/acme-client": "^1.40.5",
"@certd/basic": "^1.40.5",
"@certd/pipeline": "^1.40.5",
"@certd/plugin-lib": "^1.40.5",
"psl": "^1.9.0",
"punycode.js": "^2.3.1"
},
@@ -41,5 +41,5 @@
"tslib": "^2.8.1",
"typescript": "^5.4.2"
},
"gitHead": "01c91ba294f88bd07fddf9358c4301bbb4027916"
"gitHead": "7ceb0f6306b8b5e9ab875b9f7c41cc7d56209ea4"
}
+6
View File
@@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.40.5](https://github.com/certd/certd/compare/v1.40.4...v1.40.5) (2026-05-26)
### Bug Fixes
* 修复阿里云证书订单orderid 选择出错的问题 ([af9047b](https://github.com/certd/certd/commit/af9047bf3c54ce71b11727ccc6220288ed1f57be))
## [1.40.4](https://github.com/certd/certd/compare/v1.40.3...v1.40.4) (2026-05-24)
### Performance Improvements
+6 -6
View File
@@ -1,7 +1,7 @@
{
"name": "@certd/plugin-lib",
"private": false,
"version": "1.40.4",
"version": "1.40.5",
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
@@ -23,10 +23,10 @@
"@alicloud/pop-core": "^1.7.10",
"@alicloud/tea-util": "^1.4.11",
"@aws-sdk/client-s3": "^3.964.0",
"@certd/acme-client": "^1.40.4",
"@certd/basic": "^1.40.4",
"@certd/pipeline": "^1.40.4",
"@certd/plus-core": "^1.40.4",
"@certd/acme-client": "^1.40.5",
"@certd/basic": "^1.40.5",
"@certd/pipeline": "^1.40.5",
"@certd/plus-core": "^1.40.5",
"@kubernetes/client-node": "0.21.0",
"ali-oss": "^6.22.0",
"basic-ftp": "^5.0.5",
@@ -61,5 +61,5 @@
"tslib": "^2.8.1",
"typescript": "^5.4.2"
},
"gitHead": "01c91ba294f88bd07fddf9358c4301bbb4027916"
"gitHead": "7ceb0f6306b8b5e9ab875b9f7c41cc7d56209ea4"
}
@@ -34,7 +34,7 @@ describe("plugin-lib common util", () => {
title: "选择资源",
action: "ListResource",
typeName: "resource",
multi: false,
single: true,
search: true,
watches: ["region"],
});
@@ -46,8 +46,8 @@ describe("plugin-lib common util", () => {
vModel: "value",
action: "ListResource",
typeName: "resource",
mode: "default",
multi: false,
mode: "tags",
single: true,
search: true,
});
expect(define.component.watches).to.deep.equal(["certDomains", "accessId", "region"]);
@@ -35,7 +35,7 @@ export function createRemoteSelectInputDefine(opts?: {
helper?: string;
formItem?: any;
mode?: string;
multi?: boolean;
single?: boolean;
required?: boolean;
rules?: any;
mergeScript?: string;
@@ -59,11 +59,8 @@ export function createRemoteSelectInputDefine(opts?: {
const helper = opts?.helper || "请选择";
const search = opts?.search ?? false;
const pager = opts?.pager ?? false;
let mode = "default";
const multi = opts?.multi ?? true;
if (multi) {
mode = "tags";
}
const mode = "tags";
const single = opts?.single ?? false;
const item = {
title,
component: {
@@ -75,7 +72,7 @@ export function createRemoteSelectInputDefine(opts?: {
action,
search,
pager,
multi,
single,
pageSize: opts?.pageSize,
watches: [certDomainsInputKey, accessIdInputKey, ...watches],
uploadCert: opts?.uploadCert,
+1
View File
@@ -36,6 +36,7 @@ EXPOSE 7002
RUN apk add --no-cache openssl
RUN apk add --no-cache openjdk8
RUN apk add --no-cache gcompat
WORKDIR /app/
COPY --from=builder /workspace/certd-server/ /app/
+6
View File
@@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.40.5](https://github.com/certd/certd/compare/v1.40.4...v1.40.5) (2026-05-26)
### Bug Fixes
* 修复阿里云证书订单orderid 选择出错的问题 ([af9047b](https://github.com/certd/certd/commit/af9047bf3c54ce71b11727ccc6220288ed1f57be))
## [1.40.4](https://github.com/certd/certd/compare/v1.40.3...v1.40.4) (2026-05-24)
### Performance Improvements
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "@certd/ui-client",
"version": "1.40.4",
"version": "1.40.5",
"private": true,
"scripts": {
"dev": "vite --open",
@@ -106,8 +106,8 @@
"zod-defaults": "^0.1.3"
},
"devDependencies": {
"@certd/lib-iframe": "^1.40.4",
"@certd/pipeline": "^1.40.4",
"@certd/lib-iframe": "^1.40.5",
"@certd/pipeline": "^1.40.5",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-node-resolve": "^15.2.3",
"@types/chai": "^4.3.12",
@@ -30,10 +30,9 @@
</template>
<script lang="ts" setup>
import { Ref, ref, watch, nextTick } from "vue";
import { nextTick, Ref, ref, watch } from "vue";
import { useI18n } from "vue-i18n";
import { HttpRecord } from "/@/components/plugins/cert/domains-verify-plan-editor/type";
import { dict } from "@fast-crud/fast-crud";
import { Dicts } from "/@/components/plugins/lib/dicts";
defineOptions({
@@ -46,7 +46,13 @@
<div class="form-item">
<span class="label">{{ t("certd.verifyPlan.dnsAccess") }}:</span>
<span class="input">
<access-selector v-model="item.dnsProviderAccessId" size="small" :type="item.dnsProviderAccessType || item.dnsProviderType" :placeholder="t('certd.verifyPlan.pleaseSelect')" @change="onPlanChanged"></access-selector>
<access-selector
v-model="item.dnsProviderAccessId"
size="small"
:type="item.dnsProviderAccessType || item.dnsProviderType"
:placeholder="t('certd.verifyPlan.pleaseSelect')"
@change="onPlanChanged"
></access-selector>
</span>
</div>
</div>
@@ -69,7 +69,7 @@ const props = defineProps<
watches?: string[];
search?: boolean;
pager?: boolean;
multi?: boolean;
single?: boolean;
pageSize?: number;
uploadCert?: UploadCertProps;
} & ComponentPropsType
@@ -79,15 +79,15 @@ const emit = defineEmits<{
}>();
function updateValue(value: any) {
// if (props.multi !== false) {
// emit("update:value", value);
// } else {
// const last = value?.[value.length - 1];
// emit("update:value", last);
// selectRef.value.blur();
// }
if (props.single === true) {
const last = value?.[value.length - 1];
emit("update:value", last);
selectRef.value.blur();
} else {
emit("update:value", value);
}
emit("update:value", value);
// emit("update:value", value);
}
const attrs = useAttrs();
@@ -57,6 +57,18 @@ export class PluginGroups {
for (const plugin of groups[key].plugins) {
if (plugin.sysSetting) {
merge(plugin.input, plugin.sysSetting.metadata?.input || {});
// 应用选项映射
for (const key of Object.keys(plugin.input)) {
const inputDef = plugin.input[key];
if (inputDef.optionsMapping && inputDef.component?.options) {
const mapping = inputDef.optionsMapping;
for (const opt of inputDef.component.options) {
if (mapping[opt.value] !== undefined) {
opt.label = mapping[opt.value];
}
}
}
}
}
}
}
@@ -17,9 +17,9 @@
</thead>
<tbody>
<template v-for="item in originInputs" :key="item.key">
<template v-for="prop in editableKeys" :key="prop.key">
<template v-for="prop in getEditableKeys(item)" :key="prop.key">
<tr>
<td v-if="prop.key === 'value'" class="border-t-2 p-5" rowspan="3" :class="{ 'border-t-2': prop.key === 'value' }">{{ item.title }}</td>
<td v-if="prop.key === 'value'" class="border-t-2 p-5" :rowspan="getEditableKeys(item).length" :class="{ 'border-t-2': prop.key === 'value' }">{{ item.title }}</td>
<td class="border-t p-5" :class="{ 'border-t-2': prop.key === 'value' }">{{ prop.label }}</td>
<td class="border-t p-5" :class="{ 'border-t-2': prop.key === 'value' }">
<rollbackable :value="configForm[item.key][prop.key]" @set="prop.onSet(item)" @clear="delete configForm[item.key][prop.key]">
@@ -157,6 +157,92 @@ const editableKeys = ref([
},
]);
const optionsMappingKey = {
key: "optionsMapping",
label: "选项映射",
onSet(item: any) {
configForm[item.key]["optionsMapping"] = item.optionsMapping ?? null;
},
defaultRender(item: any) {
return () => {
const mapping = item["optionsMapping"];
if (!mapping || Object.keys(mapping).length === 0) {
return <span class="text-gray-400">未设置</span>;
}
return (
<div class="options-mapping-tags">
{Object.entries(mapping).map(([key, label]: any) => (
<a-tag color="blue" size="small" class="mb-2 mr-2">
{key} {label}
</a-tag>
))}
</div>
);
};
},
editRender(item: any) {
return () => {
const options = item.component?.options || [];
if (options.length === 0) {
return <span class="text-gray-400">该组件没有预设选项</span>;
}
const onLabelChange = (optValue: string, newLabel: string) => {
const mapping = configForm[item.key]["optionsMapping"] || {};
if (newLabel) {
mapping[optValue] = newLabel;
configForm[item.key]["optionsMapping"] = { ...mapping };
} else {
delete mapping[optValue];
if (Object.keys(mapping).length > 0) {
configForm[item.key]["optionsMapping"] = { ...mapping };
} else {
delete configForm[item.key]["optionsMapping"];
}
}
};
const getLabel = (optValue: string) => {
return configForm[item.key]["optionsMapping"]?.[optValue] || "";
};
return (
<div class="options-mapping-editor">
<table class="w-full table-auto border-collapse border border-gray-300 text-sm">
<thead>
<tr class="bg-gray-50">
<th class="border border-gray-300 px-2 py-1 text-left">选项值</th>
<th class="border border-gray-300 px-2 py-1 text-left">原始显示</th>
<th class="border border-gray-300 px-2 py-1 text-left">自定义显示</th>
</tr>
</thead>
<tbody>
{options.map((opt: any) => (
<tr>
<td class="border border-gray-300 px-2 py-1">
<code class="text-xs">{opt.value}</code>
</td>
<td class="border border-gray-300 px-2 py-1 text-gray-500">{opt.label}</td>
<td class="border border-gray-300 px-2 py-1">
<a-input size="small" placeholder={opt.label} value={getLabel(opt.value)} onUpdate:value={(val: string) => onLabelChange(opt.value, val)} />
</td>
</tr>
))}
</tbody>
</table>
<div class="helper mt-1">只需填写需要自定义的选项留空则使用原始显示内容</div>
</div>
);
};
},
};
function getEditableKeys(item: any) {
if (item.component?.name === "a-select" || item.component?.name === "icon-select") {
return [...editableKeys.value, optionsMappingKey];
}
return editableKeys.value;
}
const originInputs = computed(() => {
if (!currentPlugin.value) {
return;
@@ -15,6 +15,9 @@
<div>
<a-form-item :label="t('certd.smtpDomain')" name="host" :rules="[{ required: true, message: t('certd.pleaseEnterSmtpDomain') }]">
<a-input v-model:value="formState.host" />
<div class="helper">
{{ t("certd.sendFailHelpDoc") }}<a href="https://certd.docmirror.cn/guide/use/email/" target="_blank">{{ t("certd.emailConfigHelpDoc") }}</a>
</div>
</a-form-item>
<a-form-item :label="t('certd.smtpPort')" name="port" :rules="[{ required: true, message: t('certd.pleaseEnterSmtpPort') }]">
@@ -42,7 +45,7 @@
</a-form-item>
</div>
</a-tab-pane>
<a-tab-pane key="plus" class="plus" :disabled="!settingStore.isPlus">
<a-tab-pane key="plus" class="plus" :disabled="!settingStore.isPlus" v-if="formState.usePlus">
<template #tab>
<span class="flex items-center">
{{ t("certd.useOfficialEmailServer") }}
@@ -113,7 +116,6 @@
<div class="helper">
{{ t("certd.sendFailHelpDoc") }}<a href="https://certd.docmirror.cn/guide/use/email/" target="_blank">{{ t("certd.emailConfigHelpDoc") }}</a>
</div>
<div class="helper">{{ t("certd.tryOfficialEmailServer") }}</div>
</a-form-item>
<a-form-item :wrapper-col="{ offset: 8, span: 16 }">
<a-button type="primary" :loading="testFormState.loading" html-type="submit">{{ t("certd.test") }}</a-button>
+1 -1
View File
@@ -1,2 +1,2 @@
link-workspace-packages=deep
prefer-workspace-packages=true
prefer-workspace-packages=true
+7
View File
@@ -3,6 +3,13 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.40.5](https://github.com/certd/certd/compare/v1.40.4...v1.40.5) (2026-05-26)
### Bug Fixes
* 修复阿里云证书订单orderid 选择出错的问题 ([af9047b](https://github.com/certd/certd/commit/af9047bf3c54ce71b11727ccc6220288ed1f57be))
* 修复查询阿里云cdn Dcdn 域名太多无法选择的bug ([346fb73](https://github.com/certd/certd/commit/346fb730a37e035576f5d9ea5c0d74c052b34aeb))
## [1.40.4](https://github.com/certd/certd/compare/v1.40.3...v1.40.4) (2026-05-24)
### Bug Fixes
@@ -54,7 +54,7 @@ input:
action: onGetNodes
search: false
pager: false
multi: true
single: false
watches:
- certDomains
- accessId
@@ -54,7 +54,7 @@ input:
action: onGetNodes
search: false
pager: false
multi: true
single: false
watches:
- certDomains
- accessId
@@ -83,7 +83,7 @@ input:
action: onGetSSLIds
search: false
pager: false
multi: true
single: false
watches:
- certDomains
- accessId
@@ -51,7 +51,7 @@ input:
action: onGetWebsiteList
search: false
pager: false
multi: true
single: false
watches:
- certDomains
- accessId
@@ -66,13 +66,13 @@ input:
component:
name: remote-select
vModel: value
mode: default
mode: tags
type: plugin
typeName: AliyunDeployCertToALB
action: onGetRegionList
search: false
pager: false
multi: false
single: true
watches:
- certDomains
- accessId
@@ -101,7 +101,7 @@ input:
action: onGetLoadBalanceList
search: false
pager: false
multi: true
single: false
watches:
- certDomains
- accessId
@@ -130,7 +130,7 @@ input:
action: onGetListenerList
search: false
pager: false
multi: true
single: false
watches:
- certDomains
- accessId
@@ -116,7 +116,7 @@ input:
action: onGetProductList
search: false
pager: false
multi: true
single: false
watches:
- certDomains
- accessId
@@ -146,7 +146,7 @@ input:
action: onGetContactList
search: false
pager: false
multi: true
single: false
watches:
- certDomains
- accessId
@@ -80,7 +80,7 @@ input:
action: onGetSiteList
search: false
pager: false
multi: true
single: false
watches:
- certDomains
- accessId
@@ -111,7 +111,7 @@ input:
action: onGetDomainList
search: false
pager: false
multi: true
single: false
watches:
- certDomains
- accessId
@@ -62,12 +62,12 @@ input:
component:
name: remote-select
vModel: value
mode: default
mode: tags
type: plugin
action: onGetAcceleratorList
search: false
pager: false
multi: false
single: true
watches:
- certDomains
- accessId
@@ -95,7 +95,7 @@ input:
action: onGetListenerList
search: false
pager: false
multi: true
single: false
watches:
- certDomains
- accessId
@@ -137,7 +137,7 @@ input:
action: onGetAdditionalDomainList
search: false
pager: false
multi: true
single: false
watches:
- certDomains
- accessId
@@ -66,13 +66,13 @@ input:
component:
name: remote-select
vModel: value
mode: default
mode: tags
type: plugin
typeName: AliyunDeployCertToNLB
action: onGetRegionList
search: false
pager: false
multi: false
single: true
watches:
- certDomains
- accessId
@@ -101,7 +101,7 @@ input:
action: onGetLoadBalanceList
search: false
pager: false
multi: true
single: false
watches:
- certDomains
- accessId
@@ -130,7 +130,7 @@ input:
action: onGetListenerList
search: false
pager: false
multi: true
single: false
watches:
- certDomains
- accessId
@@ -66,12 +66,12 @@ input:
component:
name: remote-select
vModel: value
mode: default
mode: tags
type: plugin
action: onGetRegionList
search: false
pager: false
multi: false
single: true
watches:
- certDomains
- accessId
@@ -99,7 +99,7 @@ input:
action: onGetLoadBalanceList
search: false
pager: false
multi: true
single: false
watches:
- certDomains
- accessId
@@ -127,7 +127,7 @@ input:
action: onGetListenerList
search: false
pager: false
multi: true
single: false
watches:
- certDomains
- accessId
@@ -169,7 +169,7 @@ input:
action: onGetExtensionDomainList
search: false
pager: false
multi: true
single: false
watches:
- certDomains
- accessId
@@ -68,7 +68,7 @@ input:
action: onGetDomainList
search: true
pager: true
multi: true
single: false
watches:
- certDomains
- accessId
@@ -84,7 +84,7 @@ input:
action: onGetCnameList
search: true
pager: true
multi: true
single: false
watches:
- certDomains
- accessId
@@ -84,7 +84,7 @@ input:
action: onGetCloudResourceList
search: true
pager: true
multi: true
single: false
watches:
- certDomains
- accessId
@@ -51,7 +51,7 @@ input:
action: onGetCertList
search: false
pager: false
multi: true
single: false
watches:
- certDomains
- accessId
@@ -71,7 +71,7 @@ input:
action: onGetDistributions
search: false
pager: false
multi: true
single: false
watches:
- certDomains
- accessId
@@ -133,7 +133,7 @@ input:
action: onGetDistributions
search: false
pager: false
multi: true
single: false
watches:
- certDomains
- accessId
@@ -63,7 +63,7 @@ input:
action: onGetCertList
search: true
pager: false
multi: true
single: false
watches:
- certDomains
- accessId
@@ -92,7 +92,7 @@ input:
action: onGetSiteList
search: true
pager: false
multi: true
single: false
watches:
- certDomains
- accessId
@@ -80,7 +80,7 @@ input:
action: onGetOrderList
search: false
pager: true
multi: true
single: true
pageSize: 50
watches:
- certDomains
@@ -51,7 +51,7 @@ input:
action: onGetDomainList
search: false
pager: false
multi: true
single: false
watches:
- certDomains
- accessId
@@ -76,7 +76,7 @@ input:
action: onGetDomainList
search: false
pager: false
multi: true
single: false
watches:
- certDomains
- accessId
@@ -101,7 +101,7 @@ input:
action: onGetSiteList
search: false
pager: false
multi: true
single: false
watches:
- certDomains
- accessId
@@ -56,7 +56,7 @@ input:
action: onGetRegionList
search: false
pager: false
multi: true
single: false
watches:
- certDomains
- accessId
@@ -85,7 +85,7 @@ input:
action: onGetGroupList
search: false
pager: false
multi: true
single: false
watches:
- certDomains
- accessId
@@ -114,7 +114,7 @@ input:
action: onGetDomainList
search: false
pager: false
multi: true
single: false
watches:
- certDomains
- accessId
@@ -53,7 +53,7 @@ input:
action: onGetRegionList
search: false
pager: false
multi: true
single: false
watches:
- certDomains
- accessId
@@ -94,7 +94,7 @@ input:
action: onGetDomainList
search: false
pager: false
multi: true
single: false
watches:
- certDomains
- accessId
@@ -98,9 +98,10 @@ input:
type: plugin
typeName: DeployCertToAliyunCDN
action: onGetDomainList
search: false
search: true
pager: true
multi: true
single: false
pageSize: 100
watches:
- certDomains
- accessId
@@ -68,9 +68,10 @@ input:
mode: tags
type: plugin
action: onGetDomainList
search: false
search: true
pager: true
multi: true
single: false
pageSize: 100
watches:
- certDomains
- accessId
@@ -71,7 +71,7 @@ input:
action: onGetDomainList
search: true
pager: true
multi: true
single: false
watches:
- certDomains
- accessId
@@ -149,7 +149,7 @@ input:
action: onGetDomainList
search: false
pager: false
multi: true
single: false
watches:
- certDomains
- accessId
@@ -88,7 +88,7 @@ input:
action: onGetDomainList
search: false
pager: false
multi: true
single: false
watches:
- certDomains
- accessId
@@ -53,7 +53,7 @@ input:
action: onGetZoneList
search: false
pager: false
multi: true
single: false
watches:
- certDomains
- accessId
@@ -82,7 +82,7 @@ input:
action: onGetDomainList
search: false
pager: false
multi: true
single: false
watches:
- certDomains
- accessId
@@ -53,7 +53,7 @@ input:
action: onGetDomainList
search: false
pager: false
multi: true
single: false
watches:
- certDomains
- accessId
@@ -51,7 +51,7 @@ input:
action: onGetServerList
search: false
pager: false
multi: true
single: false
watches:
- certDomains
- accessId
@@ -51,7 +51,7 @@ input:
action: onGetCertList
search: false
pager: false
multi: true
single: false
watches:
- certDomains
- accessId
@@ -50,7 +50,7 @@ input:
action: onGetCertList
search: false
pager: false
multi: true
single: false
watches:
- certDomains
- accessId
@@ -56,7 +56,7 @@ input:
action: onGetCertList
search: false
pager: false
multi: true
single: false
watches:
- certDomains
- accessId
@@ -61,7 +61,7 @@ input:
action: onGetCertList
search: true
pager: true
multi: true
single: false
watches:
- certDomains
- accessId
@@ -63,7 +63,7 @@ input:
action: onGetDomainList
search: false
pager: false
multi: true
single: false
watches:
- certDomains
- accessId
@@ -50,13 +50,13 @@ input:
component:
name: remote-select
vModel: value
mode: default
mode: tags
type: plugin
typeName: HauweiDeployCertToELB
action: onGetProjectList
search: false
pager: false
multi: false
single: true
watches:
- certDomains
- accessId
@@ -84,7 +84,7 @@ input:
action: onGetCertList
search: true
pager: false
multi: true
single: false
watches:
- certDomains
- accessId
@@ -56,7 +56,7 @@ input:
action: onGetBucketList
search: false
pager: false
multi: true
single: false
watches:
- certDomains
- accessId
@@ -83,7 +83,7 @@ input:
action: onGetDomainList
search: false
pager: false
multi: true
single: false
watches:
- certDomains
- accessId
@@ -51,7 +51,7 @@ input:
action: onGetSiteList
search: false
pager: false
multi: true
single: false
watches:
- certDomains
- accessId
@@ -53,7 +53,7 @@ input:
action: onGetDomainList
search: false
pager: false
multi: true
single: false
watches:
- certDomains
- accessId
@@ -53,7 +53,7 @@ input:
action: onGetCertList
search: false
pager: false
multi: true
single: false
watches:
- certDomains
- accessId
@@ -51,7 +51,7 @@ input:
action: onGetCertList
search: false
pager: false
multi: true
single: false
watches:
- certDomains
- accessId
@@ -37,7 +37,7 @@ input:
action: onGetDomainList
search: false
pager: false
multi: true
single: false
watches:
- certDomains
- accessId
@@ -26,7 +26,7 @@ input:
action: onGetCertList
search: false
pager: false
multi: true
single: false
watches:
- certDomains
- accessId
@@ -27,7 +27,7 @@ input:
action: onGetCertList
search: false
pager: false
multi: true
single: false
watches:
- certDomains
- accessId
@@ -51,7 +51,7 @@ input:
action: onGetCertList
search: false
pager: false
multi: true
single: false
watches:
- certDomains
- accessId
@@ -50,7 +50,7 @@ input:
action: onGetDomainList
search: false
pager: false
multi: true
single: false
watches:
- certDomains
- accessId
@@ -35,7 +35,7 @@ input:
action: onGetCertList
search: false
pager: false
multi: true
single: false
watches:
- certDomains
- accessId
@@ -52,7 +52,7 @@ input:
action: onGetProxyHostOptions
search: true
pager: false
multi: true
single: false
watches:
- certDomains
- accessId
@@ -51,7 +51,7 @@ input:
action: onGetDomainList
search: false
pager: false
multi: true
single: false
watches:
- certDomains
- accessId
@@ -52,7 +52,7 @@ input:
action: onGetCertList
search: false
pager: false
multi: true
single: false
watches:
- certDomains
- accessId
@@ -34,7 +34,7 @@ input:
action: onGetNodeList
search: false
pager: false
multi: true
single: false
watches:
- certDomains
- accessId
@@ -53,7 +53,7 @@ input:
action: onGetDomainList
search: false
pager: false
multi: true
single: false
watches:
- certDomains
- accessId
@@ -51,7 +51,7 @@ input:
action: onGetCertList
search: false
pager: false
multi: true
single: false
watches:
- certDomains
- accessId
@@ -54,7 +54,7 @@ input:
action: onGetCertIds
search: false
pager: false
multi: true
single: false
watches:
- certDomains
- accessId

Some files were not shown because too many files have changed in this diff Show More