Commit Graph
35 Commits
Author SHA1 Message Date
UUBulb b3377127a4 update ddns on server update (#1050) 2025-03-31 19:41:04 +08:00
UUBulb f34b263b69 improve transfer record logic (#1033)
* improve transfer record logic

* refactor

* modernize loops

* remove unused type conversions

* update dependencies

* script: keep .gitkeep files

* fix

* remove clear
2025-03-19 22:21:21 +08:00
UUBulb d0f69c424e generate agent_secret for old users (#1021) 2025-03-08 18:47:42 +08:00
UUBulb af55fae652 improve check for offline rules (#1013)
* improve check for offline rules

* bug fixes

* update dependencies

* fix error wrap

* fix offline check

* improve readability
2025-03-02 15:37:21 +08:00
UUBulb 043d6c4097 feat: update to go1.24 & support listening https (#1002)
* feat: support listening https

* refactor

* modernize

* support snake case in config

* more precise control of config fields

* update goreleaser config

* remove kubeyaml

* fix: expose agent_secret

* chore
2025-02-28 22:02:54 +08:00
UUBulb ea068d4db1 refactor: simplify server & service manipulation (#993)
* refactor: simplify server & service manipulation

* update

* fix

* update for nat, ddns & notification

* chore

* update cron

* update dependencies

* use of function iterators

* update default dns servers
2025-02-21 23:08:12 +08:00
UUBulb e3cf4f3794 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 0764dac3b3 refactor: improve performance 2024-12-22 17:23:55 +08:00
UUBulb dc0132c9aa 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 3e3994d3c9 chore: use cmp (#568) 2024-12-08 20:21:35 +08:00
UUBulb eca8b65e7c fix netip parsing (#20) 2024-11-25 21:20:08 +08:00
naiba 336d8d4fc3 fix: waf condition 2024-11-23 10:21:01 +08:00
UUBulb e4c6502363 optimize sorting, fix a bug (#15) 2024-11-23 01:13:39 +08:00
uubulb 96bec45855 add zh_TW locale, rename ssl to tls 2024-11-01 14:32:55 +08:00
UUBulb 2699627df5 add a helper function (#443) 2024-10-21 12:11:02 +08:00
naiba 80740ddf39 refactor agent auth & server api 2024-10-20 23:23:04 +08:00
UUBulb 643c6dd3a1 ddns: remove ipv6 nameservers, support custom nameservers (#439) 2024-10-18 22:06:01 +08:00
UUBulbandnap0o bf9c6d669a 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 911bce71ff refactor: ddns (#414)
* refactor ddns

* update webhook
2024-08-24 11:11:06 +08:00
naiba e0599e7a38 fix: 流量统计异常 2024-08-12 10:06:55 +08:00
naiba 4546524df0 improve: 优化可能造成流量统计异常的情况 2024-08-11 10:35:19 +08:00
naiba 15f4816e1f 🔒️ more secure token generation 2022-12-16 23:34:14 +08:00
naiba dc19008265 🚀 dashboard v0.13.31 bytecdn -> staticfile 2022-06-24 20:43:38 +08:00
naiba 9417367ee7 🚨 fix warnings [no ci] 2022-06-23 22:56:34 +08:00
naiba be78e8a92f 🚀 dashboard v0.13.30 2022-06-22 12:53:21 +08:00
naiba 0a1b67d3c0 🚨 fix: gosec lint 2022-06-03 10:16:33 +08:00
naiba 0f99a30c4c custon dashboard template [no ci] 2022-06-03 09:45:11 +08:00
Akkia 3984c466a9 feat: 服务器信息API 2022-05-17 20:17:02 +08:00
naiba 8aedc2b6bc ♻️ refactor settings page [skip ci] 2022-04-30 23:02:40 +08:00
naiba a9277b156e 🔖 dashboard v0.13.0 Globalization 2022-04-30 00:48:39 +08:00
naiba a90c0400d9 ️ 使用 json-iterator 替换 encoding/json 进行一些序列化/反序列化操作 2022-03-18 23:13:22 +08:00
naiba b6dde7d324 gosec 2021-09-04 12:42:51 +08:00
naiba c4e5dc01e0 通知内 IP 脱敏 2021-05-27 20:48:12 +08:00
naiba 27704b3d74 🚸 [agent v0.3.3] 优化多行及带参命令执行 2021-01-28 23:19:59 +08:00
naiba 29cee9865e 🔊 v0.3.0 计划任务(定期备份等场景) 2021-01-19 09:59:04 +08:00