[PR #421] [MERGED] feat: enhance workflow #949

Closed
opened 2026-03-03 01:06:58 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/certimate-go/certimate/pull/421
Author: @fudiwei
Created: 1/16/2025
Status: Merged
Merged: 1/17/2025
Merged by: @usual2970

Base: nextHead: feat/new-workflow


📝 Commits (9)

  • dea4106 fix: couldn't return stdout or stderr during script execution if errors occur on deployment to local/ssh
  • 8ecb71f refactor: clean code
  • e10fb64 Merge branch 'feat/new-workflow' of https://github.com/fudiwei/certimate into feat/new-workflow
  • 831f0ee feat(ui): improve responsive ui
  • 3a2baba feat: support removing certificates
  • d1dbbae feat(ui): show errmsg if table loaded error
  • 087fd81 feat: support configuring pb-data-dir on app launch
  • a20b82b feat: re-run workflow nodes when critical configurations changed
  • dab6ad9 refactor: remove unused code

📊 Changes

56 files changed (+707 additions, -475 deletions)

View changed files

📝 go.mod (+1 -1)
📝 go.sum (+2 -2)
📝 internal/certificate/service.go (+21 -23)
📝 internal/domain/access.go (+5 -5)
📝 internal/domain/certificate.go (+1 -0)
internal/domain/err.go (+0 -33)
internal/domain/error.go (+30 -0)
📝 internal/notify/service.go (+3 -3)
📝 internal/pkg/core/deployer/providers/local/local.go (+8 -9)
📝 internal/pkg/core/deployer/providers/local/local_test.go (+25 -13)
📝 internal/pkg/core/deployer/providers/ssh/ssh.go (+7 -7)
📝 internal/pkg/core/deployer/providers/ssh/ssh_test.go (+1 -0)
internal/pkg/utils/types/types.go (+25 -0)
📝 internal/repository/access.go (+15 -1)
📝 internal/repository/acme_account.go (+31 -18)
📝 internal/repository/certificate.go (+85 -5)
📝 internal/repository/settings.go (+11 -2)
📝 internal/repository/workflow.go (+35 -27)
📝 internal/repository/workflow_output.go (+9 -39)
📝 internal/rest/notify.go (+1 -1)

...and 36 more files

📄 Description

该 PR 包含以下内容的变更:

  • feat: 支持删除证书。
  • feat: 工作流申请和部署节点的关键配置项发生变化时,再次触发执行时不再跳过。
  • feat: 启动进程时可显式传递 -dir 参数指定 Pocketbase 数据库路径。关闭 #343
  • feat: 优化表格 UI 在网络错误时的显示。
  • feat: 优化仪表盘 UI 在移动端的响应式布局。
  • fix: 修复本地或 SSH 部署时,当执行的 Shell 命令报错时未返回标准输出和标准错误信息。

🔄 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/421 **Author:** [@fudiwei](https://github.com/fudiwei) **Created:** 1/16/2025 **Status:** ✅ Merged **Merged:** 1/17/2025 **Merged by:** [@usual2970](https://github.com/usual2970) **Base:** `next` ← **Head:** `feat/new-workflow` --- ### 📝 Commits (9) - [`dea4106`](https://github.com/certimate-go/certimate/commit/dea4106569a6faa26f056bb1132d52773ade6925) fix: couldn't return stdout or stderr during script execution if errors occur on deployment to local/ssh - [`8ecb71f`](https://github.com/certimate-go/certimate/commit/8ecb71fb55c5727d8a99a0e6ff984a0423c00360) refactor: clean code - [`e10fb64`](https://github.com/certimate-go/certimate/commit/e10fb64d6be5627b8035227d84e2d38c17963a24) Merge branch 'feat/new-workflow' of https://github.com/fudiwei/certimate into feat/new-workflow - [`831f0ee`](https://github.com/certimate-go/certimate/commit/831f0ee5d9221338133da59d65ef9ecb1b7eec82) feat(ui): improve responsive ui - [`3a2baba`](https://github.com/certimate-go/certimate/commit/3a2baba746a6341daeeeaee618da2537274d5c63) feat: support removing certificates - [`d1dbbae`](https://github.com/certimate-go/certimate/commit/d1dbbae101f4ea7202fafc3a81236aeb71a2d02f) feat(ui): show errmsg if table loaded error - [`087fd81`](https://github.com/certimate-go/certimate/commit/087fd81879fc4c90ab9c26a91e9c0cfd28a2dab7) feat: support configuring pb-data-dir on app launch - [`a20b82b`](https://github.com/certimate-go/certimate/commit/a20b82b9cf8f082d865f3e0ebfd832907484f9b7) feat: re-run workflow nodes when critical configurations changed - [`dab6ad9`](https://github.com/certimate-go/certimate/commit/dab6ad917c62124f64cfcd9255952a4c9eff632b) refactor: remove unused code ### 📊 Changes **56 files changed** (+707 additions, -475 deletions) <details> <summary>View changed files</summary> 📝 `go.mod` (+1 -1) 📝 `go.sum` (+2 -2) 📝 `internal/certificate/service.go` (+21 -23) 📝 `internal/domain/access.go` (+5 -5) 📝 `internal/domain/certificate.go` (+1 -0) ➖ `internal/domain/err.go` (+0 -33) ➕ `internal/domain/error.go` (+30 -0) 📝 `internal/notify/service.go` (+3 -3) 📝 `internal/pkg/core/deployer/providers/local/local.go` (+8 -9) 📝 `internal/pkg/core/deployer/providers/local/local_test.go` (+25 -13) 📝 `internal/pkg/core/deployer/providers/ssh/ssh.go` (+7 -7) 📝 `internal/pkg/core/deployer/providers/ssh/ssh_test.go` (+1 -0) ➕ `internal/pkg/utils/types/types.go` (+25 -0) 📝 `internal/repository/access.go` (+15 -1) 📝 `internal/repository/acme_account.go` (+31 -18) 📝 `internal/repository/certificate.go` (+85 -5) 📝 `internal/repository/settings.go` (+11 -2) 📝 `internal/repository/workflow.go` (+35 -27) 📝 `internal/repository/workflow_output.go` (+9 -39) 📝 `internal/rest/notify.go` (+1 -1) _...and 36 more files_ </details> ### 📄 Description 该 PR 包含以下内容的变更: - **feat**: 支持删除证书。 - **feat**: 工作流申请和部署节点的关键配置项发生变化时,再次触发执行时不再跳过。 - **feat**: 启动进程时可显式传递 `-dir` 参数指定 Pocketbase 数据库路径。关闭 #343 - **feat**: 优化表格 UI 在网络错误时的显示。 - **feat**: 优化仪表盘 UI 在移动端的响应式布局。 - **fix**: 修复本地或 SSH 部署时,当执行的 Shell 命令报错时未返回标准输出和标准错误信息。 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 01:06:58 +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#949
No description provided.