Commit Graph

979 Commits

Author SHA1 Message Date
naiba
168b18452e New translations zh-CN.toml (English) 2022-04-28 00:00:38 +08:00
naiba
b9787fe4e8 Update Crowdin configuration file 2022-04-28 00:00:12 +08:00
naiba
7bd67b2233 🌐 localization [skip ci] 2022-04-27 23:51:45 +08:00
naiba
0a6658fcb4 🔖 dashboard v0.12.27 取消用户名unique,有些用户 gitee/github 用户名相同导致无法启动 2022-04-26 22:54:40 +08:00
naiba
b5f33a6c5b ⬆️ dashboard v0.12.26 update gorm fields tags 2022-04-26 12:46:44 +08:00
naiba
0e35862b23 🗑️ 移除失效 GeoIP API 2022-04-26 09:26:52 +08:00
naiba
130248b9ed 🔖 dashboard v0.12.25 refactor oauth2 login 2022-04-26 09:20:32 +08:00
naiba
318986b0e7
Merge pull request #165 from AkkiaS7/enhance-notification
update: #SERVER.IP#仅返回一个IP(优先返回ipv4地址)| 新增获取ipv4与ipv6地址的占位符

Co-authored-by: AkkiaS7 <68485070+AkkiaS7@users.noreply.github.com>
2022-04-24 21:30:13 +08:00
naiba
55a439a17d
dashboard v0.12.24 2022-04-24 21:29:45 +08:00
Akkia
beb176bb48 Merge branch 'nezha-master' into enhance-notification 2022-04-24 21:21:43 +08:00
Akkia
fc9a65d18c
update: #SERVER.IP#仅返回一个IP(优先返回ipv4地址)| 新增获取ipv4与ipv6地址的占位符 2022-04-24 21:21:03 +08:00
naiba
c3c4080e71
Merge pull request #164 from AkkiaS7/enhance-notification
feat: 添加/修改通知方式时可选择不发送测试信息

Co-authored-by: AkkiaS7 <68485070+AkkiaS7@users.noreply.github.com>
2022-04-23 16:21:50 +08:00
Akkia
5bf29dabf5 Merge branch 'enhance-notification' of https://github.com/AkkiaS7/nezha into enhance-notification 2022-04-23 14:51:26 +08:00
Akkia
1dde839826
update: 格式修改 2022-04-23 14:51:10 +08:00
Akkia
892a147b5a
Update cmd/dashboard/controller/member_api.go
Co-authored-by: naiba <hi@nai.ba>
2022-04-23 14:46:33 +08:00
naiba
036701ae71
dashboard v0.12.23 2022-04-23 09:51:24 +08:00
Akkia
260a9cfe91
update: 表格内容自动换行 2022-04-23 02:49:45 +08:00
Akkia
7d03da21f3
feat: 添加/修改通知方式时可选择不发送测试信息 2022-04-23 02:07:46 +08:00
naiba
994f5dd445
Merge pull request #163 from AkkiaS7/enhance-notification
update: 增加TCP连接数与UDP连接数的占位符

Co-authored-by: AkkiaS7 <68485070+AkkiaS7@users.noreply.github.com>
2022-04-22 17:03:06 +08:00
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