John Niang 2e0881d560 Clean up notification reason after notifying and remove finalizers (#8007)
#### What type of PR is this?

/kind improvement
/area core
/milestone 2.22.x

#### What this PR does / why we need it:

Prior to this, the notification sent by the system would leave behind a lot of useless data, such as Reason. This PR is to clean up all the useless data after notifying.

#### Which issue(s) this PR fixes:

Fixes https://github.com/halo-dev/halo/issues/7578

#### Special notes for your reviewer:

Try to log in with a fresh Browser environment and check the reason data from <http://localhost:8090/apis/notification.halo.run/v1alpha1/reasons>.

#### Does this PR introduce a user-facing change?

```release-note
清理通知发送所残留的无用数据
```
2025-12-10 08:53:01 +00:00
2025-10-22 08:38:13 +00:00
2025-11-28 13:02:34 +08:00
2024-10-09 12:20:54 +08:00
2025-11-05 03:18:26 +00:00
2025-12-10 14:37:45 +08:00
2018-03-21 21:39:46 +08:00

Halo logo

Halo [ˈheɪloʊ],强大易用的开源建站工具。

GitHub release Docker pulls GitHub last commit GitHub Workflow Status Codecov percentage GitCode Stars Halo - Powerful and easy-to-use Open-Source website building tool | Product Hunt
官网 文档 社区 Gitee Telegram 频道

Watch the video


快速开始

如果你的设备有 Docker 环境,可以使用以下命令快速启动一个 Halo 的体验环境:

docker run -d --name halo -p 8090:8090 -v ~/.halo2:/root/.halo2 halohub/halo:2.21

或者点击下方按钮使用 GitpodClawCloud Run 启动一个体验环境:

Open in Gitpod

Run on ClawCloud

以上方式仅作为体验使用,推荐使用开源 Linux 服务器运维管理面板 1Panel 进行部署(查看文档轻松搞定反向代理、SSL 证书及升级备份任务。更多部署方式,请查看文档

在线体验

专业版

相比于社区版Halo 专业版为用户提供了大量增强功能及技术支持服务增强功能包括短信验证码注册登录、全站私有化、LDAP 登录、三方账号登录及自定义 LOGO 等。 点击查看专业版详细介绍

生态

可访问 官方应用市场awesome-halo 仓库 查看适用于 Halo 2.x 的主题和插件。

许可证

license

Halo 使用 GPL-v3.0 协议开源,请遵守开源协议。

赞助

如果 Halo 对你有帮助,欢迎赞助我们,感谢以下赞助者对 Halo 项目的支持:

sponsors

贡献

参考 CONTRIBUTING

状态

Repobeats analytics

Languages
Java 47.1%
TypeScript 35.3%
Vue 16.2%
HTML 0.6%
JavaScript 0.2%
Other 0.5%