Commit Graph
28 Commits
Author SHA1 Message Date
UUBulb 427e0e5449 feat: description file for custom theme; use gjson (#433)
* feat: description file for custom theme; use gjson

* fix gosec

* remove outdated stuff
2024-10-10 00:08:16 +08:00
hiDandelion 6b3743f39f Add replacing fields to notification content in notification.go (#408) 2024-08-13 13:51:19 +08:00
Mmx 256ca2465b fix: field name "VerifySSL" to "SkipVerifySSL" in Transport config (#305) 2023-12-06 09:35:38 +08:00
Mmx 9df97e2bdb Fix Coroutine Leaks and Proxy Handling in http.Client (#304)
* fix: builtin variable conflict

* feat: add pkg/utils/http HttpClientSkipTlsVerify HttpClient

* fix: realtime create http Transport

* fix: http keepalive connection may not reusable

* feat: allow http request use proxy from environment
2023-12-05 23:22:25 +08:00
naiba f62f68fbeb fix gosec (3 2023-10-21 22:21:21 +08:00
naiba 30db2f2441 fix gosec 2023-10-21 22:11:55 +08:00
naiba 78cb02b886 fix gosec 2023-10-21 18:13:38 +08:00
naiba 668453eed0 v0.15.2 消息模板新增 #DATETIME# 占位符 2023-09-02 00:06:40 +08:00
naiba bea284ad25 fix gosec G307 2023-02-12 21:10:34 +08:00
naiba c8f6c5172e ⬆️ upgrade dependencies 2022-09-14 22:26:14 +08:00
Akkia 9d2a0b9f7e update: #SERVER.IP#仅返回一个IP(优先返回ipv4地址)| 新增获取ipv4与ipv6地址的占位符 2022-04-24 21:21:03 +08:00
Akkia 8644853ab3 update: 增加TCP连接数与UDP连接数的占位符 2022-04-22 16:30:05 +08:00
Akkia e29161782c update: 增加更多占位符与单元测试 2022-04-17 21:06:30 +08:00
Akkia 0f02d8c0a0 WIP: 添加更多的占位符以支持基于服务器状态指标构造自定义的HTTP请求 2022-04-17 17:38:45 +08:00
Akkia 2ebcc13ab8 WIP: 通知方式分组 支持将不同的报警|监控|计划任务的通知 发送到指定的通知分组 2022-04-14 21:06:42 +08:00
naiba a90c0400d9 ️ 使用 json-iterator 替换 encoding/json 进行一些序列化/反序列化操作 2022-03-18 23:13:22 +08:00
naiba d5e59984b7 add tests 2021-11-05 15:49:01 +08:00
naiba 2700d08079 🐛 默认请求方式 2021-11-05 14:53:27 +08:00
naiba 9a056d7a4c ♻️ set content type 2021-11-05 12:16:41 +08:00
naiba 6b47af1d5e ♻️ 通知支持自定义 request header 2021-11-05 12:04:39 +08:00
naiba 6db297ba91 💚 #nosec 2021-09-04 12:54:05 +08:00
naiba b6dde7d324 gosec 2021-09-04 12:42:51 +08:00
naiba de6c868222 🔊 dashboard: 默认输出服务故障上报日志 2021-08-27 21:04:37 +08:00
naiba aaf9209a5c 🔥 chore: unnecessary code 2021-01-03 21:17:39 +08:00
naiba 41d744e191 🐛 fix(notification): close #47
query escape && json encode
2021-01-03 21:11:00 +08:00
naiba 1b091b591e 🎨 refactor: notification 2020-12-30 21:28:57 +08:00
naiba e1a0c3a7c3 🍻 报警通知上线 2020-12-20 12:18:27 +08:00
naiba 82adcf8fd3 feat(notification): 添加通知方式 2020-12-19 22:14:36 +08:00