[PR #1081] [MERGED] feat: preset templates & script command variables #1133

Closed
opened 2026-03-03 01:07:51 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/certimate-go/certimate/pull/1081
Author: @fudiwei
Created: 12/4/2025
Status: Merged
Merged: 12/4/2025
Merged by: @fudiwei

Base: mainHead: main


📝 Commits (7)

  • 564e690 chore(deps): upgrade lego
  • af02307 refactor(ui): make settings be storable
  • e8905e4 feat(ui): improve provider pickers
  • 98bad3d feat: preset templates management
  • c242769 feat: preset notify templates in workflow notification nodes
  • c8ff00d feat: preset script templates in workflow deployment nodes
  • 11bf844 feat: support command variables in deployment to local or ssh

📊 Changes

68 files changed (+1939 additions, -1039 deletions)

View changed files

📝 go.mod (+8 -7)
📝 go.sum (+17 -15)
📝 internal/domain/settings.go (+5 -2)
📝 pkg/core/certifier/challengers/dns01/aliyun-esa/aliyun_esa.go (+5 -4)
pkg/core/certifier/challengers/dns01/aliyun-esa/internal/client.go (+0 -225)
pkg/core/certifier/challengers/dns01/aliyun-esa/internal/lego.go (+0 -196)
📝 pkg/core/certifier/challengers/dns01/baiducloud/baiducloud.go (+4 -3)
pkg/core/certifier/challengers/dns01/baiducloud/internal/lego.go (+0 -175)
📝 pkg/core/deployer/providers/local/local.go (+23 -2)
📝 pkg/core/deployer/providers/ssh/ssh.go (+23 -2)
📝 pkg/core/deployer/providers/webhook/webhook.go (+18 -9)
📝 pkg/core/notifier/providers/webhook/webhook.go (+8 -3)
📝 ui/eslint.config.mjs (+1 -1)
📝 ui/src/components/DrawerForm.tsx (+0 -1)
📝 ui/src/components/ModalForm.tsx (+0 -1)
📝 ui/src/components/MultipleSplitValueInput.tsx (+3 -3)
📝 ui/src/components/access/AccessEditDrawer.tsx (+22 -17)
📝 ui/src/components/access/AccessSelect.tsx (+3 -1)
📝 ui/src/components/access/forms/AccessConfigFieldsProviderWebhook.tsx (+23 -23)
ui/src/components/preset/PresetNotifyTemplatesPopselect.tsx (+83 -0)

...and 48 more files

📄 Description

该 PR 包含以下内容变更:

  • feat: 自定义预设通知模板。close #519 #997
  • feat: 自定义预设脚本模板。close #707
  • feat: 部署到本地主机或远程主机时提供脚本变量。close #1065

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/certimate-go/certimate/pull/1081 **Author:** [@fudiwei](https://github.com/fudiwei) **Created:** 12/4/2025 **Status:** ✅ Merged **Merged:** 12/4/2025 **Merged by:** [@fudiwei](https://github.com/fudiwei) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (7) - [`564e690`](https://github.com/certimate-go/certimate/commit/564e6909d8f0bf9686420a276f655c592221e45d) chore(deps): upgrade lego - [`af02307`](https://github.com/certimate-go/certimate/commit/af023073d7ef3a8bb9da956a825d44029a0b4f24) refactor(ui): make settings be storable - [`e8905e4`](https://github.com/certimate-go/certimate/commit/e8905e4b578ba9134f9d9ef4c046b139961415bb) feat(ui): improve provider pickers - [`98bad3d`](https://github.com/certimate-go/certimate/commit/98bad3d3a0dc3fd38a645c9e11440ac27f43a552) feat: preset templates management - [`c242769`](https://github.com/certimate-go/certimate/commit/c2427697def4f7dba76367aa6761988d04198d5f) feat: preset notify templates in workflow notification nodes - [`c8ff00d`](https://github.com/certimate-go/certimate/commit/c8ff00d10cdd445015f899bb69c01fd7021ef072) feat: preset script templates in workflow deployment nodes - [`11bf844`](https://github.com/certimate-go/certimate/commit/11bf8442c3b3cc5737a8f6d83b22a66451092001) feat: support command variables in deployment to local or ssh ### 📊 Changes **68 files changed** (+1939 additions, -1039 deletions) <details> <summary>View changed files</summary> 📝 `go.mod` (+8 -7) 📝 `go.sum` (+17 -15) 📝 `internal/domain/settings.go` (+5 -2) 📝 `pkg/core/certifier/challengers/dns01/aliyun-esa/aliyun_esa.go` (+5 -4) ➖ `pkg/core/certifier/challengers/dns01/aliyun-esa/internal/client.go` (+0 -225) ➖ `pkg/core/certifier/challengers/dns01/aliyun-esa/internal/lego.go` (+0 -196) 📝 `pkg/core/certifier/challengers/dns01/baiducloud/baiducloud.go` (+4 -3) ➖ `pkg/core/certifier/challengers/dns01/baiducloud/internal/lego.go` (+0 -175) 📝 `pkg/core/deployer/providers/local/local.go` (+23 -2) 📝 `pkg/core/deployer/providers/ssh/ssh.go` (+23 -2) 📝 `pkg/core/deployer/providers/webhook/webhook.go` (+18 -9) 📝 `pkg/core/notifier/providers/webhook/webhook.go` (+8 -3) 📝 `ui/eslint.config.mjs` (+1 -1) 📝 `ui/src/components/DrawerForm.tsx` (+0 -1) 📝 `ui/src/components/ModalForm.tsx` (+0 -1) 📝 `ui/src/components/MultipleSplitValueInput.tsx` (+3 -3) 📝 `ui/src/components/access/AccessEditDrawer.tsx` (+22 -17) 📝 `ui/src/components/access/AccessSelect.tsx` (+3 -1) 📝 `ui/src/components/access/forms/AccessConfigFieldsProviderWebhook.tsx` (+23 -23) ➕ `ui/src/components/preset/PresetNotifyTemplatesPopselect.tsx` (+83 -0) _...and 48 more files_ </details> ### 📄 Description 该 PR 包含以下内容变更: - **feat**: 自定义预设通知模板。close #519 #997 - **feat**: 自定义预设脚本模板。close #707 - **feat**: 部署到本地主机或远程主机时提供脚本变量。close #1065 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 01:07:51 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/certimate#1133
No description provided.