Commit Graph

50 Commits

Author SHA1 Message Date
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
f6683adb70 feat: implement client-side status code handling
Some checks failed
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
CodeQL / Analyze (go) (push) Has been cancelled
CodeQL / Analyze (javascript) (push) Has been cancelled
2025-01-05 23:53:04 +08:00
UUBulb
d21179609d
feat(waf): return ip in string literal (#947)
* feat(waf): return ip in string literal

* rename
2025-01-04 20:49:14 +08:00
naiba
7c8ac7ae5a refactor: improve performance
Some checks are pending
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
2024-12-22 17:23:55 +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
UUBulb
2bc3d38b83
chore: use cmp (#568) 2024-12-08 20:21:35 +08:00
UUBulb
f853cd9ec9
fix netip parsing (#20) 2024-11-25 21:20:08 +08:00
naiba
22738b6244 improve: use stream reduce auth check time 2024-11-23 12:43:02 +08:00
naiba
cd42b1b9d5 fix: waf condition 2024-11-23 10:21:01 +08:00
UUBulb
867f840265
optimize sorting, fix a bug (#15) 2024-11-23 01:13:39 +08:00
uubulb
ca997cc994 add zh_TW locale, rename ssl to tls 2024-11-01 14:32:55 +08:00
naiba
c9ec634857 refactor nat 2024-10-23 20:37:29 +08:00
UUBulb
cf5408751e
add a helper function (#443) 2024-10-21 12:11:02 +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
UUBulb
f6531a52bd
ddns: remove ipv6 nameservers, support custom nameservers (#439) 2024-10-18 22:06:01 +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
eb6dd2855e
refactor: ddns (#414)
* refactor ddns

* update webhook
2024-08-24 11:11:06 +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
67b788a969 内置HTTP内网穿透 2024-07-14 19:41:50 +08:00
naiba
7d85c4c4a5 Update dependencies and fix test assertions 2024-03-23 13:00:47 +08:00
Mmx
927bf13ce4
fix: field name "VerifySSL" to "SkipVerifySSL" in Transport config (#305) 2023-12-06 09:35:38 +08:00
Mmx
1dcd899591
Fix Coroutine Leaks and Proxy Handling in http.Client (#304)
* fix: builtin variable conflict

* feat: add pkg/utils/http HttpClientSkipTlsVerify HttpClient

* fix: realtime create http Transport

* fix: http keepalive connection may not reusable

* feat: allow http request use proxy from environment
2023-12-05 23:22:25 +08:00
naiba
65afad89eb [agent] splitting the agent into separate repositories 2023-05-11 00:08:54 +08:00
naiba
8ae885874b 🔒️ more secure token generation 2022-12-16 23:34:14 +08:00
naiba
6aec814e9e 🚀 dashboard v0.13.31 bytecdn -> staticfile 2022-06-24 20:43:38 +08:00
naiba
cbef1fcf8a 🚨 fix warnings [no ci] 2022-06-23 22:56:34 +08:00
naiba
f15bd9c6dd 🚀 dashboard v0.13.30 2022-06-22 12:53:21 +08:00
naiba
db32cdbfae 🚨 fix: gosec lint 2022-06-03 10:16:33 +08:00
naiba
2ab7a5fdd8 custon dashboard template [no ci] 2022-06-03 09:45:11 +08:00
Akkia
f5f71b252e
feat: 服务器信息API 2022-05-17 20:17:02 +08:00
naiba
2fc4939878 ♻️ refactor settings page [skip ci] 2022-04-30 23:02:40 +08:00
naiba
ade06839b7 🔖 dashboard v0.13.0 Globalization 2022-04-30 00:48:39 +08:00
naiba
3ca23d8d88 ️ 使用 json-iterator 替换 encoding/json 进行一些序列化/反序列化操作 2022-03-18 23:13:22 +08:00
naiba
c0f46c98f1 更新IP脱敏测试用例 [skip ci] 2021-09-29 20:14:25 +08:00
naiba
e40026f6cc gosec 2021-09-04 12:42:51 +08:00
naiba
8ca11d4760 v0.9.22 WebSSH 2021-08-18 17:42:26 +08:00
naiba
fea7858297 🚸 优化NAT64机器取IP场景 2021-07-13 10:59:13 +08:00
naiba
d20f33af5f ♻️ 优化 IPv4 / IPv6 地址判断 2021-06-22 17:28:28 +08:00
naiba
d59acfa824 🚸 优化 Agent 取 IP 2021-06-22 14:04:07 +08:00
naiba
26ba5d3786 ✏️ 2021-06-21 21:41:18 +08:00
naiba
4b0c0ad288 优化忽略规则配置和 Agent 获取 IP 2021-06-21 21:30:42 +08:00
naiba
2b05dcfc23 通知内 IP 脱敏 2021-05-27 20:48:12 +08:00
naiba
52d9a4597b 🐛 fix: windows 杀子进程 2021-01-29 14:29:31 +08:00
naiba
b5a0b0ff16 📦 [agent v0.3.7] fix: cross compile 2021-01-29 11:59:35 +08:00
naiba
0f24c0d7ef [agent v0.3.6] 🐛 fix: kill process group 2021-01-29 11:11:39 +08:00
naiba
e914dd8135 🚸 [agent v0.3.3] 优化多行及带参命令执行 2021-01-28 23:19:59 +08:00
naiba
d7a3ba607b 🔊 v0.3.0 计划任务(定期备份等场景) 2021-01-19 09:59:04 +08:00