UUBulb
9ee5595da7
generate agent_secret for old users ( #1021 )
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) Has been cancelled
Run Tests / tests (ubuntu) (push) Has been cancelled
Run Tests / tests (windows) (push) Has been cancelled
2025-03-08 18:47:42 +08:00
UUBulb
f1e3613daf
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
b23680f913
feat: add configurable JWT timeout setting ( #1014 )
2025-03-02 15:37:46 +08:00
UUBulb
5c8cc75523
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
1d2f8d24f6
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
d457a7c5cd
fix: ConfigCache not copied affer server updates ( #1008 )
...
* fix: ConfigCache not copied affer server updates
* fix: server list not updated when dispatching tasks
* improve
* reuse logic
2025-02-26 20:48:54 +08:00
UUBulb
5fc1c8d83c
fix: possible redirect url inconsistency ( #1003 )
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
2025-02-24 20:53:11 +08:00
UUBulb
91bef2882a
refactor: simplify server & service manipulation ( #993 )
...
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
* 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
029d6dbd5f
fix: notifier groups cache not initialized ( #995 )
2025-02-17 20:14:38 +08:00
UUBulb
a41f623dd2
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
7e8985a599
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
82d40d49fd
ddns: allow overriding domains per configuration ( #979 )
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-30 12:19:40 +08:00
UUBulb
a5b7db10e1
feat: option to force authorization for vistor routes ( #971 )
2025-01-29 19:27:57 +08:00
naiba
7831e2d1f8
feat: disable nat
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
2025-01-21 22:23:15 +08:00
naiba
992096b143
feat: upgrade frontend
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) Has been cancelled
Run Tests / tests (ubuntu) (push) Has been cancelled
Run Tests / tests (windows) (push) Has been cancelled
2025-01-06 21:07:32 +08:00
naiba
f6683adb70
feat: implement client-side status code handling
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
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
igophper
17f039cbf5
fix: fix typo in database variable name ( #939 )
...
Co-authored-by: igophper <jianghanghui@k.app>
2025-01-03 22:39:55 +08:00
UUBulb
283733d120
fix: update user cache after profile updates ( #936 )
2025-01-01 16:11:10 +08:00
naiba
7cb04d79ee
feat: v1.5.2
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-01 01:02:02 +08:00
UUBulb
3c72d6ce64
fix windows ci ( #934 )
...
* fix windows ci
* perm
* use custom writer
* remove patches
* fuck codeql
2025-01-01 00:58:57 +08:00
naiba
126773974c
Merge branch 'master' of github.com:nezhahq/nezha
2024-12-31 23:58:49 +08:00
naiba
828588eef1
improve: 404 status code
2024-12-31 23:58:44 +08:00
UUBulb
3216ad43fa
fix: struct tag ( #932 )
...
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
* 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
553f8e58d4
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
953fa153cc
fix: home page 404
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-30 21:25:22 +08:00
quanljh
cea4031da3
fix: return 404 when page not found ( #927 )
2024-12-30 20:43:37 +08:00
naiba
18020939da
feat: 绑定 oauth2
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-28 23:50:59 +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
naiba
5128bfff61
feat: show online user id
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-24 23:28:37 +08:00
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
672063f4de
feat: block user manual & 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-23 19:50:41 +08:00
naiba
7540e80f20
chore: api doc
2024-12-22 23:20:49 +08:00
仓鼠
3c6dc2c87e
fix: batch-block online-user request method ( #903 )
2024-12-22 23:18:08 +08:00
naiba
7c8ac7ae5a
refactor: improve performance
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
naiba
a550709c95
fix: install host
2024-12-22 16:25:00 +08:00
naiba
1395438dee
fix: install host
2024-12-22 16:17:13 +08:00
naiba
1a21abddcf
fix: create user form
2024-12-22 15:51:37 +08:00
naiba
f10e048bec
feat: enhance authorization check for settings access
2024-12-22 12:20:18 +08:00
naiba
4af7e83004
feat: list & block online users
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 01:08:07 +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
f212144310
feat: add online user count
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-21 10:59:05 +08:00
naiba
8b959b213f
refactor: fallback agent ip to connecting ip
2024-12-19 23:21:31 +08:00
naiba
180773a4f3
feat: update language handling and frontend template versions
2024-12-15 17:07:53 +08:00
UUBulb
a24f452b65
fix: custom_nameservers should be dns_servers ( #581 )
2024-12-13 22:25:20 +08:00
naiba
06738d5d16
feat: enhance template configuration and update README for translation status
2024-12-10 22:27:06 +08:00
Moraxyc
8f8a30c02c
Refactor: Load UserTemplates from embedded yaml file ( #575 )
...
* Refactor: Load UserTemplates from embedded yaml file
* feat: add version field to UserTemplates
* refactor: use shell script to fetch frontends
* chore: add *-dist to .gitignore
* refactor: rename to FrontendTemplates
BREAKING CHANGE: This commit changes the `user_templates` filed
in the communication json between backend and the admin-frontend.
Keep user config.yml `user_template` filed.
2024-12-10 21:57:20 +08:00