Commit Graph

698 Commits

Author SHA1 Message Date
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
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
naiba
5c127bc03f ️ 提升「服务」页面抗击打能力 2022-03-24 20:22:05 +08:00
naiba
eefff7988a 🐛 修复默认主题模板 2022-03-23 22:04:33 +08:00
naiba
ba39c6e848 ️ 增强抗击打能力 2022-03-23 21:07:38 +08:00
naiba
379da07551 ⬆️ Upgrade to Go v1.18.0 2022-03-22 18:46:18 +08:00
naiba
4fa357755b 可选监控哪些分区及网卡 2022-03-19 17:22:15 +08:00
naiba
84866384f4 🐛 修复 Windows time.LoadLocation 2022-03-18 23:57:30 +08:00
naiba
d73ceaaaa5 🐛 修复 Windows time.LoadLocation 2022-03-18 23:45:03 +08:00
naiba
3ca23d8d88 ️ 使用 json-iterator 替换 encoding/json 进行一些序列化/反序列化操作 2022-03-18 23:13:22 +08:00
naiba
d928f65052 ️ WS 通信阻塞读写锁 2022-03-13 10:44:30 +08:00
naiba
d60bc3dad6 🚸 调整展示时间 timezone 2022-03-01 10:19:23 +08:00
naiba
520f8d2170 可选的通知信息 IP 不打码 2022-02-19 14:29:06 +08:00
naiba
e82ffd466a ⬆️ Upgrade dependencies 2022-02-05 21:30:01 +08:00