Commit Graph

330 Commits

Author SHA1 Message Date
quanljh
cea4031da3
fix: return 404 when page not found (#927) 2024-12-30 20:43:37 +08:00
naiba
18020939da feat: 绑定 oauth2
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-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
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-25 21:02:54 +08:00
naiba
5128bfff61 feat: show online user id
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-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
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-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
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
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
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 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
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-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
naiba
5b5e006b97 feat: 优化 GeoIP 更新逻辑 2024-12-07 11:06:42 +08:00
naiba
251bc10af9 feat: v1.1 2024-12-07 01:18:34 +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
Moraxyc
3fb49693d9
feat: add listen_host (#550) 2024-12-05 17:01:21 +08:00
naiba
be51c5a1e6 feat: refactor grpc keepalive 2024-12-05 00:11:34 +08:00
naiba
68e3bb00e4 Revert "feat: grpc keepalive"
This reverts commit b484fe53f0.
2024-12-04 22:46:02 +08:00
naiba
b484fe53f0 feat: grpc keepalive 2024-12-04 21:08:28 +08:00
UUBulb
872002d938
update ws & settings api (#547) 2024-12-04 20:00:18 +08:00
UUBulb
b128a0a5ed
fix server deletion api, add issue templates (#526)
* add issue templates

* fix: server deletion api
2024-12-01 23:45:26 +08:00
naiba
6846c897ef fix: service item display logic 2024-12-01 21:57:13 +08:00
naiba
cb06a303b7 fix: checkorigin when debug enabled & update fronted dist 2024-12-01 00:00:01 +08:00
naiba
166f25508c fix: dashboard waf page 2024-11-30 21:33:18 +08:00
naiba
f62934440d feat: 支持修改用户名 2024-11-30 15:05:46 +08:00
naiba
a0878876b2 fix: windows path issue 2024-11-30 00:02:45 +08:00
naiba
d62d0aa11c fix: home page 500 2024-11-29 22:49:17 +08:00
naiba
970c0d0430 feat: embed dist 2024-11-29 21:31:39 +08:00
naiba
ab4d896efc Revert "Fix code scanning alert no. 23: Uncontrolled data used in path expression (#486)"
This reverts commit c2b3d19a51.
2024-11-28 20:38:02 +08:00
naiba
c2b3d19a51
Fix code scanning alert no. 23: Uncontrolled data used in path expression (#486)
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2024-11-28 20:26:51 +08:00
naiba
3cce7ebf01 rename repo 2024-11-28 19:38:54 +08:00
UUBulb
e90941f52b
send country code in ws, update profile api (#22)
* send country code in ws

* make ddns_profiles optional field

* update profile api
2024-11-26 21:30:56 +08:00
UUBulb
07989705d2
fix: only close user/agentIo connect channel once (#21) 2024-11-26 09:18:13 +08:00
naiba
45f11483ec fix: update release workflow repository and enhance user deletion logic 2024-11-25 22:24:33 +08:00
naiba
0552b69b36 refactor: replace pflag with standard flag package in main.go 2024-11-25 22:03:11 +08:00
UUBulb
a590d3a56e
update setting api (#17) 2024-11-23 16:36:16 +08:00
UUBulb
885330e948
update profile api (#16)
* update profile api

* rename

* fix realip assertion

* add waf api
2024-11-23 16:22:22 +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