Commit Graph

389 Commits

Author SHA1 Message Date
uubulb
a839056d69 update user api error handling 2024-12-21 19:07:19 +08:00
uubulb
4f4c482103 update waf 2024-12-21 18:34:46 +08:00
uubulb
d4ea530bfc Merge remote-tracking branch 'upstream/master' into user 2024-12-20 02:15:49 +08:00
uubulb
84c3d4dc3d cleanup 2024-12-20 02:11:23 +08:00
uubulb
08f566271b simplify some logics 2024-12-20 01:40:10 +08:00
naiba
8b959b213f refactor: fallback agent ip to connecting ip 2024-12-19 23:21:31 +08:00
uubulb
a5dbc5693d feat: user-specific connection secret 2024-12-18 17:26:24 +08:00
uubulb
4754d283c9 update 2024-12-18 15:29:46 +08:00
naiba
d835aeb486 feat: upgrade frontend
Some checks failed
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-17 22:20:02 +08:00
naiba
c952ed0e38 feat: upgrade frontend 2024-12-17 22:05:41 +08:00
naiba
a9c2abe71e feat: upgrade frontend
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
2024-12-16 23:44:51 +08:00
naiba
65d7e4cb98 feat: upgrade frontend 2024-12-16 21:29:23 +08:00
naiba
c1fdd00cf0 feat: upgrade frontend 2024-12-16 21:10:10 +08:00
naiba
1acb4d0330 feat: upgrade frontend
Some checks failed
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
CodeQL / Analyze (go) (push) Has been cancelled
CodeQL / Analyze (javascript) (push) Has been cancelled
2024-12-16 00:05:55 +08:00
naiba
eab319e9c1 feat: upgrade frontend 2024-12-15 20:29:51 +08:00
naiba
180773a4f3 feat: update language handling and frontend template versions 2024-12-15 17:07:53 +08:00
naiba
8381068459 feat: upgrade frontend
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
2024-12-15 11:00:49 +08:00
naiba
090c2dfadf feat: upgrade frontend
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
2024-12-14 11:00:48 +08:00
naiba
6baa51e5bb chore: update dependency
Some checks failed
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
2024-12-14 00:07:37 +08:00
UUBulb
864cfbb375
fix: add nil check for ReportSystemState (#583) 2024-12-13 22:27:30 +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
UUBulb
2bc3d38b83
chore: use cmp (#568) 2024-12-08 20:21:35 +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
64dde0215a
UserTemplate GitHub -> Repository (#564) 2024-12-06 23:38:20 +08:00
naiba
9b0697491d feat: multi user template 2024-12-06 23:19:28 +08:00
UUBulb
040c8df02e
fix service api (#556)
* fix service api

* update ServiceResponseItem

* fix: ddns lock
2024-12-05 21:00:02 +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
UUBulb
085fd4ac97
fix: allocate memory for geoip struct of new server instance (#530) 2024-12-02 20:52:10 +08:00
UUBulb
7f33f8239e
fix(i18n): replace hyphen with underscore (#524)
* fix(i18n): repleace hyphen with underscore

* chore: upgrade user frontend

---------

Co-authored-by: naiba <hi@nai.ba>
2024-12-01 23:19:06 +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
UUBulb
867f840265
optimize sorting, fix a bug (#15) 2024-11-23 01:13:39 +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
9905390ba6
add force update server api (#13) 2024-11-20 21:36:21 +08:00
uubulb
49f05c1fc6 fix ReSortServer 2024-11-03 21:12:28 +08:00
uubulb
ca997cc994 add zh_TW locale, rename ssl to tls 2024-11-01 14:32:55 +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
a474b8484b
ddns: replace tencentcloud implemention (#462) 2024-10-29 21:39:45 +08:00
naiba
1e3c6b4a66 fix: migration 2024-10-28 14:42:36 +08:00
UUBulb
ff0ff9a9ee
add "network page" api (#460)
* add network api

* a minor change

* only show service name if unauthorized

* update

* 除了 load/初始化 避免在 singleton 进行查询等操作

---------

Co-authored-by: naiba <hi@nai.ba>
2024-10-27 14:43:37 +08:00
UUBulb
b4edb4cc95
add setting api (#461) 2024-10-27 13:10:07 +08:00
UUBulb
68d7e16773
add cron, nat api & refactor alert rule (#459)
* add cron api & refactor alert rule

* add nat api

* fix swagger

* remove unnecessary steps
2024-10-26 23:57:47 +08:00