Commit Graph

1010 Commits

Author SHA1 Message Date
naiba
213b2ee2e3
dashboard v0.12.22 2022-04-22 17:02:25 +08:00
Akkia
55cbbcafe6
update: 增加TCP连接数与UDP连接数的占位符 2022-04-22 16:30:05 +08:00
naiba
4091752096
Merge pull request #162 from AkkiaS7/enhance-notification
feat: 添加更多的占位符以支持基于服务器状态指标构造自定义的HTTP请求

Co-authored-by: AkkiaS7 <68485070+AkkiaS7@users.noreply.github.com>
2022-04-18 21:15:06 +08:00
naiba
055b47e5d4
dashboard v0.12.21 2022-04-18 21:10:07 +08:00
Akkia
0418c288a0
update: 在 添加/编辑通知方式页面 增加可用的占位符标识提示 2022-04-18 20:55:36 +08:00
naiba
2ed1e08707 fix code scan alerts 2022-04-18 20:45:07 +08:00
Akkia
1f08b579a4
update: 发送消息前对服务器状态进行拷贝 保证消息发送的状态指标与触发该请求的状态指标相同 2022-04-18 19:59:42 +08:00
Akkia
61630a41db
Merge branch 'nezha-master' into enhance-notification 2022-04-18 15:22:48 +08:00
naiba
b533e9a490
Create SECURITY.md [skip ci] 2022-04-18 10:47:29 +08:00
naiba
66ed8b215b
Create codeql-analysis.yml 2022-04-18 10:43:42 +08:00
Akkia
975f11fb9e
Merge branch 'nezha-master' into enhance-notification 2022-04-17 21:07:19 +08:00
Akkia
e20b37b590
update: 增加更多占位符与单元测试 2022-04-17 21:06:30 +08:00
Akkia
b5b521e8cf
optimize: 在查找到Server对象后移除ServerID标识符 2022-04-17 18:08:30 +08:00
Akkia
f6a5362a97
WIP: 添加更多的占位符以支持基于服务器状态指标构造自定义的HTTP请求 2022-04-17 17:38:45 +08:00
naiba
0a7044f78c
Merge pull request #161 from AkkiaS7/master
optimise: 优化websocket数据包发送逻辑 加快首次访问时监控信息载入速度

Co-authored-by: AkkiaS7 <68485070+AkkiaS7@users.noreply.github.com>
2022-04-16 19:54:54 +08:00
Akkia
08ca889f78
optimise: 优化websocket数据包发送逻辑 加快首次访问时监控信息载入速度 2022-04-16 19:21:20 +08:00
naiba
61baa310e5
Merge pull request #160 from AkkiaS7/enhance-notification
feat: 通知方式分组 支持将不同的报警|监控|计划任务的通知 发送到指定的通知分组

Co-authored-by: AkkiaS7 <68485070+AkkiaS7@users.noreply.github.com>
2022-04-16 09:35:59 +08:00
naiba
5e400807e0
dashboard v0.12.20
Co-authored-by: AkkiaS7 <68485070+AkkiaS7@users.noreply.github.com>
2022-04-16 09:32:34 +08:00
Akkia
26646bff1a
fix: 修复修改通知方式所在组后 不会移除其原有map映射关系的问题 2022-04-15 23:23:51 +08:00
Akkia
2ccb8f3477
fix: 前向兼容性 | for range pointer issue 2022-04-15 20:34:25 +08:00
Akkia
548d25c9a6
update: 前端增加通知方式组相关选项 2022-04-15 10:56:04 +08:00
Akkia
ab033f3b2e
update: 调度失败的计划任务仅通知其所属的通知组 2022-04-15 10:55:21 +08:00
Akkia
615e337b42
fix "for range" pointer issue 2022-04-15 03:20:42 +08:00
Akkia
322467673f
WIP: 补全各模块的通知分组设置 2022-04-15 03:13:53 +08:00
Akkia
27cd794142
Merge branch 'master' into enhance-notification 2022-04-14 21:22:37 +08:00
Akkia
9c1d495eb0
WIP: 通知方式分组 支持将不同的报警|监控|计划任务的通知 发送到指定的通知分组 2022-04-14 21:06:42 +08:00
naiba
dce1c5cb5e ⬆️ Upgrade dependencies 2022-04-14 16:41:34 +08:00
naiba
8ab62858f9
Merge pull request #159 from AkkiaS7/master
feat: 通过传递客户端Cookie的方式使web终端功能兼容被Cloudflare Access保护的面板

Co-authored-by: AkkiaS7 <68485070+AkkiaS7@users.noreply.github.com>
2022-04-13 16:52:15 +08:00
naiba
48b755a046
bump dashboard version 2022-04-13 16:51:57 +08:00
Akkia
f305d8f55c
为cloudflareCookies增加基本的合法性验证 2022-04-13 16:45:39 +08:00
Akkia
1d6cca7a9e
Update cmd/dashboard/controller/common_page.go
Co-authored-by: naiba <hi@nai.ba>
2022-04-13 15:18:10 +08:00
Akkia
a22c58305b
Update cmd/dashboard/controller/common_page.go
Co-authored-by: naiba <hi@nai.ba>
2022-04-13 15:18:05 +08:00
Akkia
5d4566080d
Merge branch 'master' of https://github.com/AkkiaS7/nezha 2022-04-13 12:28:45 +08:00
Akkia
913c3da79b
feat: 通过传递客户端Cookie的方式使web终端兼容被Cloudflare Access保护的面板 2022-04-13 12:27:40 +08:00
naiba
c8933e76e4
Merge pull request #158 from AkkiaS7/master
optimize:移除两处冗余的代码 + refactor:优化代码组织结构

Co-authored-by: AkkiaS7 <68485070+AkkiaS7@users.noreply.github.com>
2022-04-12 20:15:22 +08:00
naiba
6b75682bdf
typo 2022-04-12 20:11:19 +08:00
Akkia
50a18daf05
更新 UpdateIP 注释 2022-04-12 19:02:22 +08:00
Akkia
e1ca2d5a1c
optimize: 优化自动更新相关代码 2022-04-12 18:05:26 +08:00
Akkia
c65028188c
refactor: 优化代码组织结构 2022-04-12 13:16:33 +08:00
Akkia
3d5e292d26
optimize: 移除两处冗余的代码 (初始化后未使用|重复初始化) 2022-04-12 00:01:38 +08:00
naiba
8236e224b3
Merge pull request #157 from AkkiaS7/master [skip ci]
增加代码注释

Co-authored-by: AkkiaS7 <68485070+AkkiaS7@users.noreply.github.com>
2022-04-11 23:07:28 +08:00
Akkia
707985e5c8
添加代码注释+修正一个typo 2022-04-11 22:51:02 +08:00
naiba
d7748dc756
Merge pull request #156 from AkkiaS7/master [skip ci]
fix some typo
2022-04-10 20:37:59 +08:00
Akkia
91a1e3fe22
fix some typo 2022-04-10 20:28:22 +08:00
naiba
97ef37ac56 Agent 获取 IP 增加 api.myip.la 2022-04-05 11:54:38 +08:00
naiba
7bca2988f4 Dashboard s390x 2022-04-03 11:23:37 +08:00
naiba
cf7a7ae77c revert: 随机API获取IP(双栈支持问题) 2022-04-01 08:30:44 +08:00
naiba
80320488d1 installer: 替换 ip.sb 到 ipapi 2022-03-31 23:02:41 +08:00
naiba
888f2efa60 💩 优化 CountryCode 获取 2022-03-31 22:59:07 +08:00
naiba
1f051459bb 💩 优化获取 GeoIP 2022-03-31 22:45:26 +08:00