Commit Graph

3443 Commits

Author SHA1 Message Date
xiaojunnuo b55fe2ef19 Merge branch 'v2-dev' of https://github.com/certd/certd into v2-dev 2026-06-08 16:48:39 +08:00
xiaojunnuo 71030b7e27 chore: handsfree.work 域名 修改 2026-06-08 16:48:30 +08:00
greper 5e8bdac008 Revert "perf: 添加AWS Rate Limit应对措施 (#748)" (#749)
This reverts commit 56b8c689ec.
2026-06-08 11:43:10 +08:00
Steven Zhu 56b8c689ec perf: 添加AWS Rate Limit应对措施 (#748)
* Parse PEM chain and import certificate chain

Split the PEM in certInfo.crt into a leaf certificate and intermediate chain (using a lookbehind regex), trim the blocks, and pass the chain to ImportCertificateCommand only when present. Replace console.log with this.logger.info and log the returned CertificateArn. This ensures the leaf cert is uploaded separately from its chain and avoids sending an empty CertificateChain.

* Add AWS retry & CloudFront deployment wait

Introduce robust retry and polling helpers to handle AWS throttling and CloudFront propagation. Added AwsClient.withRetry (exponential backoff, handles common throttling errors, default 5 attempts/base 2s) and waitForDistributionDeployed (polls until distribution Status is "Deployed", default 10min timeout/15s interval). Update deploy-to-cloudfront plugin to use withRetry for Get/UpdateDistribution and importCertificate, pass AwsClient into uploadToACM, and wait for each distribution to finish deploying before continuing to avoid PreconditionFailed errors. Improves reliability when facing rate limits and global CloudFront propagation delays; adds informative logging for retry and deployment status.
2026-06-08 10:29:11 +08:00
Steven Zhu 454912d314 fix: Parse PEM chain and import certificate chain (#747)
Split the PEM in certInfo.crt into a leaf certificate and intermediate chain (using a lookbehind regex), trim the blocks, and pass the chain to ImportCertificateCommand only when present. Replace console.log with this.logger.info and log the returned CertificateArn. This ensures the leaf cert is uploaded separately from its chain and avoids sending an empty CertificateChain.
2026-06-08 10:28:39 +08:00
xiaojunnuo 2908569841 chore: 1 2026-06-06 03:02:47 +08:00
xiaojunnuo 775226b49f build: publish 2026-06-06 02:38:20 +08:00
xiaojunnuo cdea411136 v1.41.1 2026-06-06 02:36:50 +08:00
xiaojunnuo fdb000ee7c build: prepare to build 2026-06-06 02:33:06 +08:00
xiaojunnuo 4a0be1c29d build: prepare to build 2026-06-06 02:31:59 +08:00
xiaojunnuo 892d22e225 chore: 1 2026-06-06 02:30:57 +08:00
xiaojunnuo 4958a48b92 build: prepare to build 2026-06-06 02:21:11 +08:00
xiaojunnuo 28bbea85f0 chore: 1 2026-06-06 02:20:09 +08:00
xiaojunnuo 73b3a29cfc build: prepare to build 2026-06-06 02:15:39 +08:00
xiaojunnuo 77b8024453 perf(volcengine-vke): 火山VKE集群证书支持两种类型的证书保密字典 2026-06-06 02:12:47 +08:00
xiaojunnuo 1175e1164b refactor(ui): 统一使用useMounted钩子简化页面初始化逻辑 2026-06-06 00:50:59 +08:00
xiaojunnuo 5546af518e perf: 优化列表页面请求两次的问题 2026-06-05 00:23:08 +08:00
xiaojunnuo 99fd3083f2 perf: 流水线、监控站点支持导出 2026-06-04 23:43:25 +08:00
xiaojunnuo c0df8be832 perf(settings): 新增NO_PROXY代理排除配置 2026-06-04 23:24:29 +08:00
xiaojunnuo 73cab6a6ee chore(auth): 清理已使用的邀请码缓存 2026-06-04 18:28:15 +08:00
xiaojunnuo 7a71e45799 perf: 优化邀请注册流程 2026-06-04 18:22:21 +08:00
xiaojunnuo fdb1d1e6dd build: publish 2026-06-04 12:32:41 +08:00
xiaojunnuo d368f9666a v1.41.0 2026-06-04 12:25:23 +08:00
xiaojunnuo ee50458333 build: prepare to build 2026-06-04 12:22:06 +08:00
xiaojunnuo 9792c616b5 build: 数据库迁移脚本同步 2026-06-04 01:14:21 +08:00
xiaojunnuo 205a7d134e chore: 整理代码并修复部分交互细节
1. 移除configuration.ts中多余的空行
2. 调整dns-persist列表列宽至220px
3. 为icon-select新增selected-change事件并传递选中项信息
4. 优化apply-template的infoRequest逻辑,处理空id情况
5. 调整设置弹窗宽度至600px,更新绑定按钮文案
6. 为sslProvider新增mergeScript,切换时清空acme账号配置
7. 更新helper文案修正ZeroSSL翻墙说明
2026-06-04 00:41:51 +08:00
xiaojunnuo 2cbacb4338 refactor: 统一userProject查询参数传递逻辑 2026-06-04 00:00:40 +08:00
xiaojunnuo cdb812ef63 refactor(backend): 统一使用buildUserProjectQuery处理用户和项目查询条件 2026-06-03 23:32:14 +08:00
xiaojunnuo 362bbc5f32 Merge branch 'v2-dev' into v2-invite 2026-06-03 22:39:47 +08:00
xiaojunnuo 2e19dda72e fix(pipeline): 修复批量随机修改定时没有生效的bug 2026-06-03 10:54:53 +08:00
xiaojunnuo 021155278e feat: 新增管理员针对用户流水线和证书监控管理功能
1.  新增后台管理页面:用户流水线管理、用户证书监控管理
2.  新增对应前后端接口与控制器
3.  添加多语言国际化配置
4.  修复导入顺序与多余空行问题
5.  补充证书申请类型选项
2026-06-03 01:01:19 +08:00
xiaojunnuo 3db87218ee chore: 优化证书参数模版功能 2026-06-03 00:29:21 +08:00
xiaojunnuo 91d5c90eb0 fix(monitor): 修复开放接口自动创建证书流水线重复触发和等待时间不足的问题
1.  新增判断流水线状态为start时也跳过自动触发
2.  将等待时间从1秒调整为2秒,确保流水线能正常启动
2026-06-02 23:16:20 +08:00
xiaojunnuo f8b71a0e61 feat: 新增证书申请参数模版管理,开放接口支持使用证书参数模版和指定证书申请参数 2026-06-02 23:08:10 +08:00
xiaojunnuo 3e4b7f30ac perf(aliyun-apig): 优化阿里云API网关部署插件的查询及翻页 2026-06-02 22:19:22 +08:00
xiaojunnuo c637985575 perf: 插件全局配置支持下拉选项自定义映射功能 2026-06-01 09:31:38 +08:00
xiaojunnuo 2960e2459b chore: 1 2026-05-31 06:09:35 +08:00
xiaojunnuo 81d6289a86 feat: 新增套餐激活码功能,通过CDK兑换套餐 2026-05-31 06:00:15 +08:00
xiaojunnuo dc1507a5ea chore: eslint 2026-05-31 02:20:11 +08:00
xiaojunnuo 3d960c3869 chore: eslint 2026-05-31 02:11:00 +08:00
xiaojunnuo 5d60e6191f chore: format 2026-05-31 01:51:55 +08:00
xiaojunnuo 4b49f8a5a6 chore: format 2026-05-31 01:50:35 +08:00
xiaojunnuo 94459fe922 chore: format 2026-05-31 01:48:14 +08:00
xiaojunnuo 4b57a0d729 chore: format 2026-05-31 01:41:33 +08:00
xiaojunnuo 5096df5cc0 feat: 新增推广等级激励功能 2026-05-31 01:01:30 +08:00
xiaojunnuo 3c2d450aa8 Merge branch 'v2-dev' into v2-invite 2026-05-30 21:53:15 +08:00
xiaojunnuo b083b3cc41 style(trade crud): adjust order and style for order operation buttons
add order prop for syncStatus, cancel and updatePaid buttons, set cancel button to danger style for both trade pages, unify button display order logic
2026-05-29 01:00:14 +08:00
xiaojunnuo 6624769032 perf(trade): 优化商品购买页面的规格展示和折扣计算,支持订单取消 2026-05-29 00:56:30 +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