UUBulb
4b1af369e3
small improvements ( #958 )
...
* small improvements
* fix: return empty iterator if no json present
* use time.Tick
* changes
2025-01-19 21:22:00 +08:00
naiba
3999d1f99a
chore: refactor
CodeQL / Analyze (go) (push) Waiting to run
CodeQL / Analyze (javascript) (push) Waiting to run
Contributors / contributors (push) Waiting to run
Sync / sync-to-jihulab (push) Waiting to run
Run Tests / tests (macos) (push) Waiting to run
Run Tests / tests (ubuntu) (push) Waiting to run
Run Tests / tests (windows) (push) Waiting to run
2025-01-04 12:32:29 +08:00
naiba
81a08a38da
improve: server list lock
CodeQL / Analyze (go) (push) Waiting to run
CodeQL / Analyze (javascript) (push) Waiting to run
Contributors / contributors (push) Waiting to run
Sync / sync-to-jihulab (push) Waiting to run
Run Tests / tests (macos) (push) Waiting to run
Run Tests / tests (ubuntu) (push) Waiting to run
Run Tests / tests (windows) (push) Waiting to run
2025-01-04 01:10:16 +08:00
UUBulb
85818c2630
bug fixes ( #918 )
...
* bug fixes
* fix for backward compatibility
* fix init
* cleanup
* possible fix
* optimize permission check
* Revert "possible fix"
This reverts commit 003f1bbb2a
.
2024-12-26 23:38:40 +08:00
naiba
87e01a532e
feat: upgrade frontend
CodeQL / Analyze (go) (push) Has been cancelled
CodeQL / Analyze (javascript) (push) Has been cancelled
Contributors / contributors (push) Has been cancelled
Sync / sync-to-jihulab (push) Has been cancelled
Run Tests / tests (macos) (push) Has been cancelled
Run Tests / tests (ubuntu) (push) Has been cancelled
Run Tests / tests (windows) (push) Has been cancelled
2024-12-25 21:02:54 +08:00
UUBulb
653d0cf2e9
feat: user roles ( #852 )
...
* [WIP] feat: user roles
* update
* update
* admin handler
* update
* feat: user-specific connection secret
* simplify some logics
* cleanup
* update waf
* update user api error handling
* update waf api
* fix codeql
* update waf table
* fix several problems
* add pagination for waf api
* update permission checks
* switch to runtime check
* 1
* cover?
* some changes
2024-12-22 00:05:41 +08:00
naiba
8b959b213f
refactor: fallback agent ip to connecting ip
2024-12-19 23:21:31 +08:00
UUBulb
864cfbb375
fix: add nil check for ReportSystemState ( #583 )
2024-12-13 22:27:30 +08:00
naiba
fb387060a2
feat: upgrade frontend
2024-12-07 12:19:48 +08:00
naiba
5b5e006b97
feat: 优化 GeoIP 更新逻辑
2024-12-07 11:06:42 +08:00
UUBulb
2234cff5eb
fix: allocate geoip on server creation ( #554 )
2024-12-05 17:07:31 +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
07989705d2
fix: only close user/agentIo connect channel once ( #21 )
2024-11-26 09:18:13 +08:00
naiba
22738b6244
improve: use stream reduce auth check time
2024-11-23 12:43:02 +08:00
naiba
58cc8aa5df
Merge branch 'dev' of github.com:naiba/nezha-v1 into dev
2024-11-22 23:57:48 +08:00
naiba
17b02640a9
feat: waf 🤡
2024-11-22 23:57:25 +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
naiba
d699d0ee87
feat: grpc / web get real ip
2024-11-22 00:19:36 +08:00
uubulb
5114fc2854
feat: add i18n support
2024-11-01 05:07:04 +08:00
uubulb
6eb28d03b3
merge upstream, improve geoip pkg
2024-10-31 03:34:25 +08:00
UUBulb
b4edb4cc95
add setting api ( #461 )
2024-10-27 13:10:07 +08:00
naiba
c4011934f7
fix agent connect
2024-10-22 23:44:50 +08:00
naiba
aa20c97312
refactor agent auth & server api
2024-10-20 23:23:04 +08:00
naiba
606e10ca0a
refactor: remove pages, combine grpc http port
2024-10-20 11:47:45 +08:00
naiba
843ecdaa33
init jwt
2024-10-20 00:09:16 +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
UUBulb
55f5c89c1c
feat: description file for custom theme; use gjson ( #433 )
...
* feat: description file for custom theme; use gjson
* fix gosec
* remove outdated stuff
2024-10-10 00:08:16 +08:00
UUBulb
bdf36276da
improve: use sync.Pool for buffer allocation ( #423 )
2024-09-27 18:50:19 +08:00
UUBulb
eb6dd2855e
refactor: ddns ( #414 )
...
* refactor ddns
* update webhook
2024-08-24 11:11:06 +08:00
UUBulb
47f8447a22
feat: framed fm for webshell ( #411 )
...
* feat: framed fm for webshell
* 1MB buffer
2024-08-20 22:25:29 +08:00
naiba
6abc0fce51
fix: 流量统计异常
2024-08-12 10:06:55 +08:00
naiba
b1d77a1d27
improve: 优化可能造成流量统计异常的情况
2024-08-11 10:35:19 +08:00
naiba
fe234f4f38
improve: Handle case when host is not found in LookupGeoIP
2024-07-28 15:11:50 +08:00
naiba
df9487b5fc
fix: CountryCode 被冲掉
2024-07-28 14:39:14 +08:00
UUBulb
26d81f6d7a
feat: use embed geoip database ( #396 )
...
* feat: use embed geoip database
* mention ipinfo
* only read once
* comments
comments
* chore: installer version
---------
Co-authored-by: naiba <hi@nai.ba>
2024-07-28 13:59:58 +08:00
naiba
67b788a969
✨ 内置HTTP内网穿透
2024-07-14 19:41:50 +08:00
naiba
ce624a0ca6
fix: loop delay
2024-07-14 13:04:35 +08:00
naiba
1c91fcffac
feat: 去除 webTerminal 的 websocket 依赖
2024-07-14 12:47:36 +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
cf9d9bd248
Fix DDNS bugs and split up ddns module ( #326 )
...
* fix: webhook retry logic
fix: adjust record type based on ipv4 ipv6
refract: move ddns providers to a new module
* refract: move ddns module to pkg/
2024-02-26 11:49:28 +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
Akkia
966dfc0496
始终发送ip变更通知+优化ssl与延迟通知静音缓存规则
2023-06-19 05:02:20 +08:00
naiba
668711eb23
🚀 dashboard v0.14.6
with installer v0.11.0
2022-10-31 21:54:37 +08:00
naiba
36432e31b2
💬 update notification text [skip ci]
2022-04-30 19:23:19 +08:00
Akkia
1f08b579a4
update: 发送消息前对服务器状态进行拷贝 保证消息发送的状态指标与触发该请求的状态指标相同
2022-04-18 19:59:42 +08:00
Akkia
e20b37b590
update: 增加更多占位符与单元测试
2022-04-17 21:06:30 +08:00
Akkia
9c1d495eb0
WIP: 通知方式分组 支持将不同的报警|监控|计划任务的通知 发送到指定的通知分组
2022-04-14 21:06:42 +08:00
naiba
520f8d2170
✨ 可选的通知信息 IP 不打码
2022-02-19 14:29:06 +08:00