100 Commits
Author SHA1 Message Date
zaunist 1c62802f4c refactor(notifications): reuse jwt payload variable for user id 2026-03-06 19:47:11 +08:00
zaunist 0cc1267701 fix(types): require username and role in JwtPayload 2026-03-06 16:38:32 +08:00
zaunist 6286cf9fe1 refactor(api): type jwt payload variables across endpoints 2026-03-06 16:29:10 +08:00
阿杰鲁 5c8009bd89 Remove sponsorship request from README
Removed sponsorship request for monitoring agent.
2026-03-01 20:10:26 +08:00
阿杰鲁 eba8ebccac Merge pull request #92 from zaunist/fix/notification-ip-address-variable
fix(notification): add backward compatibility for ip_address variable
2026-02-05 13:23:16 +08:00
zaunist 6b430d4b6e fix(notification): add backward compatibility for ip_address variable
The notification template variable was renamed from ip_address to
ip_addresses in commit 182e50d, but existing user templates in the
database still use the old variable name. This causes ${ip_address}
to be displayed literally instead of the actual IP.

Add ip_address as an alias for ip_addresses to support both old and
new templates.
2026-02-05 13:20:25 +08:00
zaunist 27180ce5d3 fix(auth): explicitly specify HS256 algorithm for JWT verification
Prevents algorithm confusion attacks by enforcing the expected signing algorithm.
2026-01-14 17:38:50 +08:00
zaunistandClaude Opus 4.5 d1861fbebe ci: optimize docker build trigger and add hitokoto to release name
- Change docker-build.yml trigger from push-to-main to release-published
  and workflow_dispatch for more controlled builds
- Add hitokoto API integration to release workflow for dynamic release names

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-14 17:08:26 +08:00
阿杰鲁 c9cc431ad6 Merge pull request #90 from zhangsherry/fix/notification
fix: 修复 Agent 和 Monitor 上线通知失效以及 Monitor 故障时重复通知问题
2026-01-12 16:55:02 +08:00
zaunist 4803321951 feat: set jwt expired time to 30d 2026-01-01 17:02:20 +08:00
zaunist 726c6c5e97 chore: update blog addr 2025-12-31 11:11:00 +08:00
zaunist 3731aee277 fix: wrong install-agent.sh addr 2025-12-26 05:06:54 +08:00
zaunist 19351b0dd1 style: change TextField.root to Input 2025-12-17 08:16:22 +08:00
zaunist 215fce5d41 fix: status page no agents 2025-12-17 06:23:06 +08:00
zaunist e9c5840ead docs: move wiki to repo 2025-12-14 23:33:03 +08:00
阿杰鲁 ba7807f560 Merge pull request #83 from zaunist/codex/fix-missing-agent-notification-template
fix: get notification template failed
2025-11-06 01:33:13 +08:00
zaunist 5fbb84bfe9 fix: get notification template failed 2025-11-06 01:31:37 +08:00
zaunist af7a006c16 fix: get notification template error 2025-11-06 00:49:09 +08:00
阿杰鲁 a6a9976852 Merge pull request #81 from zaunist/codex/fix-notification-client-data-not-found-error
Ensure getAgentById returns agent entity
2025-11-05 08:17:41 +08:00
阿杰鲁 75507a0f33 Remove Workers Optimization Video Tutorial section
Removed the section for Workers Optimization Domain Video Tutorial.
2025-10-23 01:34:36 +08:00
阿杰鲁 a7e442ae3f Update README.md 2025-10-23 01:33:45 +08:00
阿杰鲁 a1b9912e03 Merge pull request #76 from gujiangjiang/main
fix: 修复添加客户端监控时服务端地址为 undefined 的问题
2025-10-11 03:44:36 +08:00
阿杰鲁 3b7da479aa Merge pull request #73 from gujiangjiang/main
feat: 为新用户添加默认的通知渠道和消息模板、完善PWA应用
2025-10-10 05:05:45 +08:00
阿杰鲁 e1604da258 Merge pull request #72 from gujiangjiang/main
feat: 新增通知功能的用户隔离
2025-10-09 23:07:57 +08:00
zaunist fda06de5c1 docs: 更新部署指南,移除失效链接 2025-10-09 10:17:37 +08:00
阿杰鲁 f1569f303b Merge pull request #71 from gujiangjiang/main
新功能:github action推送部署、完善用户管理、新增用户注册功能等
2025-10-09 10:01:25 +08:00
zaunist dbdbe5a7b9 docs: remove dartnode link 2025-09-15 01:37:58 +08:00
zaunist 37c12f7b00 docs: remove invalid link 2025-09-12 04:10:58 +08:00
zaunist f7d0fe0c03 feat: add feishu notification support 2025-08-16 16:46:16 +08:00
zaunist 58a7db9f4d ci: remove custom domain 2025-08-02 07:53:39 +08:00
zaunist c2f025b2a4 docs: update readme 2025-07-24 16:31:59 +08:00
zaunist 1e670f7558 docs: add workers optimism domain video 2025-07-05 17:29:22 +08:00
zaunist 84f70a3b94 docs: update video link 2025-06-30 16:13:47 +08:00
zaunist fe7afd4063 feat: add timestamp index in monitorstatushistory24h table 2025-06-27 17:32:03 +08:00
zaunist 9ad0c96d28 chore: add custom domain 2025-06-26 17:40:53 +08:00
zaunist 2d0cb02f6c feat: add docker image 2025-06-26 17:14:17 +08:00
zaunist 76e8c1047b fix: wrangler config 2025-06-25 20:49:02 +08:00
zaunist d5c4163a64 fix: build error 2025-06-25 20:41:06 +08:00
zaunist 0877ad013f feat: and cf deploy button 2025-06-25 20:23:40 +08:00
zaunist 4e354cd277 Merge pull request #59 from zaunist/fix/delete_failed
fix: delete agent or monitor failed
2025-06-13 13:07:36 +08:00
zaunist 49d0377119 chore: db migrate 2025-06-12 22:01:40 +08:00
zaunist 7e6bcd12ae fix: delete agent or monitor failed 2025-06-12 22:00:12 +08:00
zaunist 7df1a777ce docs: update buymeacoke link 2025-06-07 03:27:07 +08:00
zaunist 12eca2e3e5 docs: update readme 2025-06-06 19:00:07 +08:00
zaunist b2cabdc578 Merge pull request #54 from CHENPrime-coder/fix/notify_error
fix: 修复通知相关逻辑失效的问题
2025-06-06 18:15:04 +08:00
zaunist adb0652dbd Merge pull request #50 from CHENPrime-coder/fix/update_agent_without_keys
Fix/update agent without keys
2025-06-05 02:25:45 +08:00
zaunist c1d00a7855 fix: scheduled clean job 2025-06-04 01:52:51 +08:00
zaunist 0207782a6a fix: schedule task error and change password error 2025-06-04 01:11:55 +08:00
zaunist c7a80aab2c docs: add buy me a coke 2025-06-03 23:07:41 +08:00
zaunist 11fdffb090 Merge pull request #49 from CHENPrime-coder/feat/mobile-adaptation
Feat/mobile adaptation 适配移动端屏幕、添加PWA安装按钮
2025-06-03 15:13:13 +08:00
zaunist affe220bf5 docs: add buymeacoffee link 2025-06-01 05:27:58 +08:00
zaunist 852cd378fa fix: monitors stats 2025-06-01 05:21:56 +08:00
zaunist 1c8afcb9a0 fix: pacakge.json 2025-06-01 05:15:22 +08:00
zaunist 05288f9137 Merge pull request #45 from zaunist/feat/use_drizzle
feat: add drizzle
2025-06-01 05:06:48 +08:00
zaunist 7ef88e1e6c feat: add drizzle 2025-06-01 05:03:35 +08:00
zaunist 169aab9991 feat: statuspage support LF 2025-05-26 02:37:26 +08:00
zaunist 0644f0d455 feat: add agent_status_bar and optimism style 2025-05-26 02:13:01 +08:00
zaunist 2a9e6c06da Merge pull request #43 from CHENPrime-coder/feat/update_agent
feat: 添加agent更新的功能,添加用户环境变量XUGOU_SERVER,XUGOU_TOKEN
2025-05-23 16:51:51 +08:00
zaunist 3a1b7d1b9f docs: update video addr 2025-05-22 23:14:28 +08:00
zaunist 3b2d2db5ff fix: compatible with old xugou_agent 2025-05-22 22:22:57 +08:00
zaunist 716aa43f99 feat: support custom devices and interface collect 2025-05-22 22:09:55 +08:00
zaunist fc1c0c3221 feat: more timely disconnection notification 2025-05-22 21:44:03 +08:00
zaunist 1b501190bd fix: remove useless deps 2025-05-22 03:39:17 +08:00
zaunist 7b9c8c1bc0 refactory: add tailwindcss and remove css 2025-05-22 03:13:58 +08:00
zaunist 7909ee9bbf docs: add video link 2025-05-20 17:02:40 +08:00
zaunist f244078667 Merge pull request #39 from CHENPrime-coder/feat/pwa
feat: 尝试适配PWA,添加ServiceWorker sw.js支持,更新manifest文件名称
2025-05-15 19:18:45 +08:00
zaunist d5cc9cf2a7 fix: status page 401 2025-05-14 15:39:28 +08:00
zaunist 6d28362dcb Merge pull request #37 from CHENPrime-coder/fix/all_metrics_503
refactor: 把status页面的agent-metrics拆分成一个个独立的请求
2025-05-14 15:16:39 +08:00
zaunist 63eaee80c0 Merge pull request #36 from CHENPrime-coder/fix/all_metrics_503
refactor: 移除获取所有客户端指标的相关代码,改为按需获取单个客户端指标
2025-05-13 20:27:59 +08:00
zaunist bb3dec3ad6 Merge pull request #30 from CHENPrime-coder/fix/add_header
Fix/add header
2025-05-11 18:47:02 +08:00
zaunist ee0a92212c Merge pull request #28 from zhang0281/fix/get-previous-day-error
添加 api监控->卡片 中 StatusBar 组件的 点击弹窗。并修复定时任务获取每日数据的日期的问题。
2025-05-10 19:03:06 +08:00
zaunist 4242054a3f fix: cannot find $HOME 2025-05-09 18:53:30 +08:00
zaunist 356b063cb1 feat: add install agent shell 2025-05-09 18:43:48 +08:00
zaunist 12ac190eea feat: clean metrics per 6 hour 2025-05-07 07:26:58 +08:00
zaunist 5808634757 Merge pull request #25 from zhang0281/feature/fix
fix: 修复多余的","导致检查监控出错
2025-05-07 06:24:10 +08:00
zaunist a0c8f235ac chore: remove mobile
维护不过来
2025-05-05 23:37:15 +08:00
zaunist 98cf0753b5 perf: remove uptime for optimism sql query 2025-05-05 20:39:33 +08:00
zaunist dcc84683a8 fix: import error 2025-05-05 20:11:58 +08:00
zaunist f3eba7f6cf fix: schedule job not work 2025-05-05 19:34:03 +08:00
zaunist c79475863d fix: request timeout 2025-05-05 18:54:55 +08:00
zaunist 74383ab281 fix: get data from server timeout
临时解决方案
2025-05-05 18:35:34 +08:00
zaunist 63b6f887b0 chore: set notification default value to false 2025-05-04 21:35:59 +08:00
zaunist 1a5689e2a5 fix: init 2025-05-04 15:03:41 +08:00
zaunist da0495b4cb fix: delete constraint 2025-05-03 15:42:28 +08:00
zaunist d6756ba065 fix: network display 2025-05-02 19:08:47 +08:00
zaunist c6a8d75cef fix: schdule job 2025-05-02 10:50:36 +08:00
zaunist 9cbbdddadb chore: remove useless code 2025-05-01 02:38:27 +08:00
zaunist 8b5a7c118a fix: status data without metrics 2025-05-01 02:29:59 +08:00
zaunist 06cb37589f feat: enhancement agent metrics 2025-05-01 02:15:18 +08:00
zaunist 1b390e7847 chore: change generate daliy once a day 2025-04-29 15:23:43 +08:00
zaunist 0cb6fab71d fix: migrate history insert sql 2025-04-29 15:20:10 +08:00
zaunist 197ab0069f fix: generate daily stats 2025-04-29 15:11:11 +08:00
zaunist 1058dcfa3a chore: remove useless code 2025-04-29 01:56:11 +08:00
zaunist c88d4dd5b2 fix: remove cleanlog in initcheck 2025-04-29 01:06:31 +08:00
zaunist e0473bffdb fix: update monitor sql 2025-04-29 00:49:04 +08:00
zaunist ca4ddeac65 feat: add monitor history 24h table 2025-04-28 19:17:22 +08:00
zaunist 61a59f8a4d fix: monitor schedule job 2025-04-28 15:32:09 +08:00
zaunist 4d6c53f0f8 fix: reduce db query 2025-04-28 15:10:34 +08:00
zaunist 596626565c fix: agent info display 2025-04-28 00:00:19 +08:00
zaunist 869db46106 perf: change maxDays from 90 to 30 2025-04-27 22:44:16 +08:00