Commit Graph

31 Commits

Author SHA1 Message Date
naiba
33115bb221 chore: fix index bug & upgrade frontend 2024-12-26 23:52:44 +08:00
UUBulb
85818c2630
bug fixes (#918)
* bug fixes

* fix for backward compatibility

* fix init

* cleanup

* possible fix

* optimize permission check

* Revert "possible fix"

This reverts commit 003f1bbb2a.
2024-12-26 23:38:40 +08:00
UUBulb
653d0cf2e9
feat: user roles (#852)
* [WIP] feat: user roles

* update

* update

* admin handler

* update

* feat: user-specific connection secret

* simplify some logics

* cleanup

* update waf

* update user api error handling

* update waf api

* fix codeql

* update waf table

* fix several problems

* add pagination for waf api

* update permission checks

* switch to runtime check

* 1

* cover?

* some changes
2024-12-22 00:05:41 +08:00
naiba
1827963a8b fix: rule snapshot 2024-12-19 23:21:15 +08:00
naiba
3cce7ebf01 rename repo 2024-11-28 19:38:54 +08:00
UUBulb
288e1b75e9
fix struct tags (#7) 2024-11-16 20:57:03 +08:00
UUBulb
68d7e16773
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
ebc4fad9bc
add alert api (#458) 2024-10-26 08:16:57 +08:00
naiba
eae12d8df2 refactor: rename monitor -> service 2024-10-25 00:13:45 +08:00
UUBulb
61e755d2b9
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
Mmx
1dcd899591
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
Akkia
13abf2af13
为新增字段提供默认值 2022-09-14 12:16:24 +08:00
Akkia
13d1be59b6
feat: 报警规则支持绑定触发任务 2022-09-14 11:14:23 +08:00
Akkia
32d15e116e
feat: 触发报警后的通知支持仅发送一次 2022-09-13 04:01:08 +08:00
Akkia
322467673f
WIP: 补全各模块的通知分组设置 2022-04-15 03:13:53 +08:00
Akkia
707985e5c8
添加代码注释+修正一个typo 2022-04-11 22:51:02 +08:00
naiba
3ca23d8d88 ️ 使用 json-iterator 替换 encoding/json 进行一些序列化/反序列化操作 2022-03-18 23:13:22 +08:00
naiba
6b3723461b 💄 优化循环流量展示 2021-11-11 09:40:10 +08:00
naiba
561a3c85fb 展示月流量使用情况 2021-11-06 16:00:08 +08:00
naiba
8f06d90c30 🚸 使用服务器端时间判断机器离线 2021-07-16 11:14:07 +08:00
naiba
63bb1570d2 任意时间区间(月流量)统计,无视重启~ 2021-07-14 23:53:37 +08:00
naiba
8d0e269b73 优化 agent 信息上报与 ARM 安装面板的错误提示 2021-06-30 18:15:53 +08:00
naiba
4b0c0ad288 优化忽略规则配置和 Agent 获取 IP 2021-06-21 21:30:42 +08:00
naiba
01f99a8c2c 接入 Gitee 登录,v0.4.11 之前的用户需要更新配置文件 2021-03-02 23:08:40 +08:00
naiba
d792fc8499 🚸 release: v0.2.1 2021-01-16 14:11:51 +08:00
naiba
a41c792577 💥 v2.0 必须更新面板,新增服务监控 2021-01-16 00:45:49 +08:00
naiba
35766e590d 🐛 fix: 旧采样点清理及报警策略优化 2021-01-06 21:20:02 +08:00
naiba
4e85e40550 🐛 fix: divide by zero 2021-01-06 12:46:13 +08:00
naiba
87ecccd58c 🐛 fix(alert): 多规则同时满足 2020-12-21 22:51:23 +08:00
naiba
2ae832f509 🍻 报警通知上线 2020-12-20 12:18:27 +08:00
naiba
fcbd564bff up(notification): 添加修改删除通知、报警规则 2020-12-19 23:11:16 +08:00