Commit Graph

41 Commits

Author SHA1 Message Date
UUBulb
d50605d668
feat: support id query for "list" apis (#908)
* feat: support id query for "list" apis

* gosec
2024-12-24 23:23:01 +08:00
naiba
be51c5a1e6 feat: refactor grpc keepalive 2024-12-05 00:11:34 +08:00
naiba
3cce7ebf01 rename repo 2024-11-28 19:38:54 +08:00
UUBulb
9d45bf6601
fix: server api schema (#23) 2024-11-28 17:06:54 +08:00
UUBulb
e90941f52b
send country code in ws, update profile api (#22)
* send country code in ws

* make ddns_profiles optional field

* update profile api
2024-11-26 21:30:56 +08:00
UUBulb
fc98c0919f
report geoip separately, fix server creation & deletion bugs (#14)
* new geoip method

* report geoip separately, fix server creation & deletion bugs

* fix struct tag

* fix write name

* remove deleteion list

* remove rpc realip header

* Revert "remove rpc realip header"

This reverts commit 8a5f86cf2d7df87f28cfa2a3b3430f449dd6ed73.
2024-11-22 22:40:43 +08:00
UUBulb
288e1b75e9
fix struct tags (#7) 2024-11-16 20:57:03 +08:00
naiba
aa20c97312 refactor agent auth & server api 2024-10-20 23:23:04 +08:00
naiba
4fc0aad7a0 model redesign 2024-10-20 00:32:55 +08:00
UUBulb
a503f0cf40
ddns: store configuation in database (#435)
* ddns: store configuation in database

Co-authored-by: nap0o <144927971+nap0o@users.noreply.github.com>

* feat: split domain with soa lookup

* switch to libdns interface

* ddns: add unit test

* ddns: skip TestSplitDomainSOA on ci

network is not steady

* fix error handling

* fix error handling

---------

Co-authored-by: nap0o <144927971+nap0o@users.noreply.github.com>
2024-10-17 21:03:03 +08:00
naiba
106d58575b 增加透传给前端的自定义字段方便前端扩展功能 2024-09-28 00:16:54 +08:00
naiba
6abc0fce51 fix: 流量统计异常 2024-08-12 10:06:55 +08:00
naiba
b1d77a1d27 improve: 优化可能造成流量统计异常的情况 2024-08-11 10:35:19 +08:00
UUBulb
6b05a21641
ws: ignore all DDNS fields (#406) 2024-08-09 21:47:29 +08:00
UUBulb
5c7652f047
Add DDNS Profiles, use publicsuffixlist domain parser (#350)
* Add DDNS Profiles, use publicsuffixlist domain parser

* Add Tencent Cloud DNS Provider

* Restore validate DDNS provider function

* chore: fmt & upgrade dependencies
2024-04-27 13:36:36 +08:00
UUBulb
f647a5f8e6
ddns: Add ability to update IPv4 or IPv6 only (#342)
* ddns: Add ability to resolve IPv4 or IPv6 only

* Fix bugs

* cdn cache
2024-03-30 11:00:55 +08:00
Darc Z
3b5ee464a7
Add DDNS support (#324)
* feat: add ddns updater framework

Note: no functionality implemented yet

* feat: add webhook ddns provider

* feat: update dashboard template

* fix: check nil and cron task string

* fix: webhook string formated with unexcepted param

* fix: webhook header split error

* feat: cloudflare ddns provider

* refract: move ddns update trigger into ReportSystemInfo

* lang: update other languages text

* fix: clear codes and logics

* fix: move update ddns to goroutine to avoid blocking

* fix: clear unused codes

* fix: update timestamp to prevent cache
2024-02-24 21:10:27 +08:00
naiba
d1f3c47cee 🚀 dashboard v0.14.4 hide the server from guests 2022-09-30 22:40:56 +08:00
naiba
3ca23d8d88 ️ 使用 json-iterator 替换 encoding/json 进行一些序列化/反序列化操作 2022-03-18 23:13:22 +08:00
naiba
e40026f6cc gosec 2021-09-04 12:42:51 +08:00
naiba
e24121bdf7 🐛 修复修改服务器导致 Agent 离线 2021-07-25 23:50:08 +08:00
naiba
63bb1570d2 任意时间区间(月流量)统计,无视重启~ 2021-07-14 23:53:37 +08:00
naiba
8f7346141a 🐛 fixed #105 2021-02-28 23:58:04 +08:00
naiba
0cdd0626f3 ♻️ v4: 去掉添加 Agent ID 要求 需要更新面板 close #83 2021-01-30 17:10:51 +08:00
naiba
777cfd84ca 💄 UI: 前端优化调整 2021-01-30 11:22:59 +08:00
naiba
ec17948fe4 feat: 后台服务器备注 close #72 2021-01-20 19:24:59 +08:00
naiba
c5379a0092 🐛 quickfix: nil point 2021-01-18 13:45:06 +08:00
naiba
d059835877 ️ refactor: 小幅提升性能 2021-01-17 22:05:59 +08:00
naiba
a41c792577 💥 v2.0 必须更新面板,新增服务监控 2021-01-16 00:45:49 +08:00
我若为王
be3fc41755 添加标签功能 2021-01-12 14:09:25 +08:00
naiba
347bb7faa0 feat: 展示排序 close #29 2021-01-08 21:04:50 +08:00
naiba
fcbd564bff up(notification): 添加修改删除通知、报警规则 2020-12-19 23:11:16 +08:00
naiba
d19de0edc2 feat(notification): 添加通知方式 2020-12-19 22:14:36 +08:00
naiba
8e30f48395 🐛 fix #9 2020-12-09 10:27:00 +08:00
naiba
b3033976fe 🔒 hide secret in ws messages 2020-12-07 20:47:13 +08:00
naiba
4083a42978 🚚 from p14yground to naiba 2020-11-11 10:07:45 +08:00
naiba
4ad8a7e61a 🎨 improve offline server detect 2020-10-24 21:29:05 +08:00
奶爸
af146872fe 修复内存数据更新 2019-12-13 17:56:14 +08:00
奶爸
3c39e1537d Websocket 实时拉取 2019-12-10 17:57:57 +08:00
奶爸
bfe6d48927 展示服务器列表 2019-12-09 18:14:31 +08:00
奶爸
1b18e7103e 添加服务器 & 展示服务器 2019-12-08 23:18:29 +08:00