Commit Graph
37 Commits
Author SHA1 Message Date
UUBulb 043d6c4097 feat: update to go1.24 & support listening https (#1002)
* feat: support listening https

* refactor

* modernize

* support snake case in config

* more precise control of config fields

* update goreleaser config

* remove kubeyaml

* fix: expose agent_secret

* chore
2025-02-28 22:02:54 +08:00
UUBulb ea068d4db1 refactor: simplify server & service manipulation (#993)
* refactor: simplify server & service manipulation

* update

* fix

* update for nat, ddns & notification

* chore

* update cron

* update dependencies

* use of function iterators

* update default dns servers
2025-02-21 23:08:12 +08:00
UUBulb ff4fd31ec4 small improvements (#958)
* small improvements

* fix: return empty iterator if no json present

* use time.Tick

* changes
2025-01-19 21:22:00 +08:00
naiba a7e4fe0909 rename repo 2024-11-28 19:38:54 +08:00
UUBulb 13810bb38b report geoip separately, fix server creation & deletion bugs (#14)
* new geoip method

* report geoip separately, fix server creation & deletion bugs

* fix struct tag

* fix write name

* remove deleteion list

* remove rpc realip header

* Revert "remove rpc realip header"

This reverts commit 8a5f86cf2d7df87f28cfa2a3b3430f449dd6ed73.
2024-11-22 22:40:43 +08:00
UUBulb 5c1599c88c fix struct tags (#7) 2024-11-16 20:57:03 +08:00
uubulb 96bec45855 add zh_TW locale, rename ssl to tls 2024-11-01 14:32:55 +08:00
UUBulb 8bfe70d519 add cron, nat api & refactor alert rule (#459)
* add cron api & refactor alert rule

* add nat api

* fix swagger

* remove unnecessary steps
2024-10-26 23:57:47 +08:00
UUBulb 28b606ef7b implement notification group (#450)
* implement notification group

* some fixes

* fix sql

* add listNotification

* retrieve notification from map

* create notification_group_notification if non-exist

* NotificationIDToGroup -> NotificationIDToGroups

* clean
2024-10-23 21:55:12 +08:00
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