TomyJan
42c128995b
feat: separate real ip header of frontend/agent ( #1057 )
...
* test(deps): use self admin-frontend
* feat: separate real ip header of frontend/agent
* test(ci): test
* Revert "test(ci): test"
This reverts commit 1634c7e7d7bca2873c13955abb582ea88645844f.
* test(ci): test
* test(ci): test
* test(ci): test
* Revert "test(ci): test"
This reverts commit 8fce20a07e5a9503f665937337050d4373ca7e78.
* Revert "test(ci): test"
This reverts commit 3267cccbfb81776a711e8cb34e676536f0852d1c.
* Revert "test(ci): test"
This reverts commit 566660c0c6a9875864aa46537bcc6788769337eb.
* Revert "test(deps): use self admin-frontend"
This reverts commit 16a838b374ff040800b2c1c5f8e5ede577645669.
2025-04-13 18:41:28 +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
ea3739cf1c
ddns: support provider hurricane electric ( #1036 )
2025-03-19 21:52:16 +08:00
UUBulb
49c68f0da4
ddns: retreive dns servers from context ( #1034 )
2025-03-17 23:11:40 +08:00
naiba
235ee05c91
feat: upgrade frontend
2025-03-15 22:31:16 +08:00
UUBulb
4ce74d9fd8
hide install_host for guest ( #1029 )
2025-03-15 18:01:23 +08:00
UUBulb
4d3393271b
fix: config fields not generated on first startup ( #1016 )
...
* fix: config fields not generated on first startup
* cleanup
* fix reference
* replace yaml module
* remove duplicated fields
* remove yaml.v3 as a direct dependency
* update dependency
* chore
2025-03-03 19:02:25 +08:00
JSker9
cf65101fac
feat: add configurable JWT timeout setting ( #1014 )
2025-03-02 15:37:46 +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
c0fee50776
fix: possible redirect url inconsistency ( #1003 )
2025-02-24 20:53:11 +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
7cd8387db8
fix: notifier groups cache not initialized ( #995 )
2025-02-17 20:14:38 +08:00
UUBulb
eeb96caf4d
feat: batch set server config ( #983 )
...
* feat: batch set server config
* run in parallel
* fix route
* fix
* return some information
* fix order
2025-02-04 11:25:49 +08:00
UUBulb
b75a49c3c6
feat: edit server config online ( #980 )
...
* feat: edit server config online
* clean
* refactor
* generate template
* fix deadlocks
* fix
2025-01-31 13:33:53 +08:00
UUBulb
2a6206f1a9
ddns: allow overriding domains per configuration ( #979 )
2025-01-30 12:19:40 +08:00
UUBulb
ec6b9b9b43
feat: option to force authorization for vistor routes ( #971 )
2025-01-29 19:27:57 +08:00
naiba
22d7a88318
feat: disable nat
2025-01-21 22:23:15 +08:00
naiba
dd64a4b780
feat: upgrade frontend
2025-01-06 21:07:32 +08:00
naiba
2c9d514527
feat: implement client-side status code handling
2025-01-05 23:53:04 +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
c5cb385dc3
chore: refactor
2025-01-04 12:32:29 +08:00
naiba
60de03142e
improve: server list lock
2025-01-04 01:10:16 +08:00
UUBulb
1131f84385
fix: update user cache after profile updates ( #936 )
2025-01-01 16:11:10 +08:00
naiba
cd311b4ae6
feat: v1.5.2
2025-01-01 01:02:02 +08:00
UUBulb
178d847836
fix windows ci ( #934 )
...
* fix windows ci
* perm
* use custom writer
* remove patches
* fuck codeql
2025-01-01 00:58:57 +08:00
naiba
8836d11c22
Merge branch 'master' of github.com:nezhahq/nezha
2024-12-31 23:58:49 +08:00
naiba
fcb0ced018
improve: 404 status code
2024-12-31 23:58:44 +08:00
UUBulb
3d591fae78
fix: struct tag ( #932 )
...
* fix: struct tag
* fix: struct tag
* fix: strings conversion
* do not write anything after redirection
* fix table
* fix select
2024-12-31 23:09:58 +08:00
UUBulb
2d03c61f38
fix: oauth2 redirect url not consistent ( #930 )
...
* fix: oauth2 redirect url not consistent
* only use one redirect uri
* feat: allow to disable password authentication
* generate translation template
* update error
* redirect
* query
2024-12-31 22:29:29 +08:00
naiba
ea60a513b8
fix: home page 404
2024-12-30 21:25:22 +08:00
quanljh
3cce0b03ca
fix: return 404 when page not found ( #927 )
2024-12-30 20:43:37 +08:00
naiba
8b9afbf39c
feat: 绑定 oauth2
2024-12-28 23:50:59 +08:00
UUBulb
d70cfe9ee9
bug fixes ( #918 )
...
* bug fixes
* fix for backward compatibility
* fix init
* cleanup
* possible fix
* optimize permission check
* Revert "possible fix"
This reverts commit 003f1bbb2aa368aade6702e6019922b7f4871a39.
2024-12-26 23:38:40 +08:00
naiba
72e3406ac0
feat: upgrade frontend
2024-12-25 21:02:54 +08:00
naiba
540b339a85
feat: show online user id
2024-12-24 23:28:37 +08:00
UUBulb
fa30df0320
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
0b54aa070d
feat: block user manual & upgrade frontend
2024-12-23 19:50:41 +08:00
naiba
eaf57ec1ab
chore: api doc
2024-12-22 23:20:49 +08:00
仓鼠
2dd53c7f38
fix: batch-block online-user request method ( #903 )
2024-12-22 23:18:08 +08:00
naiba
0764dac3b3
refactor: improve performance
2024-12-22 17:23:55 +08:00
naiba
5158375448
fix: install host
2024-12-22 16:25:00 +08:00
naiba
04ce6f5850
fix: install host
2024-12-22 16:17:13 +08:00
naiba
ea43234797
fix: create user form
2024-12-22 15:51:37 +08:00
naiba
8c5023a650
feat: enhance authorization check for settings access
2024-12-22 12:20:18 +08:00
naiba
6dea3e19d2
feat: list & block online users
2024-12-22 01:08:07 +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
naiba
09ad9b30da
feat: add online user count
2024-12-21 10:59:05 +08:00
naiba
bbf0f96b8d
feat: update language handling and frontend template versions
2024-12-15 17:07:53 +08:00
UUBulb
8dd7c609f5
fix: custom_nameservers should be dns_servers ( #581 )
2024-12-13 22:25:20 +08:00