814 Commits
Author SHA1 Message Date
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
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 ea60a513b8 fix: home page 404 2024-12-30 21:25:22 +08:00
naiba 953fa153cc 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
quanljh cea4031da3 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
naiba 18020939da 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
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 003f1bbb2aa368aade6702e6019922b7f4871a39.
2024-12-26 23:38:40 +08:00
naiba 72e3406ac0 feat: upgrade frontend 2024-12-25 21:02:54 +08:00
naiba 87e01a532e 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
naiba 5128bfff61 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
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 0b54aa070d feat: block user manual & upgrade frontend 2024-12-23 19:50:41 +08:00
naiba 672063f4de 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
naiba 7540e80f20 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
仓鼠 3c6dc2c87e 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 7c8ac7ae5a 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 a550709c95 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 1395438dee 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 1a21abddcf 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 f10e048bec 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
naiba 4af7e83004 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
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 09ad9b30da feat: add online user count 2024-12-21 10:59:05 +08:00
naiba f212144310 feat: add online user count 2024-12-21 10:59:05 +08:00
naiba c9056eaa44 refactor: fallback agent ip to connecting ip 2024-12-19 23:21:31 +08:00
naiba 8b959b213f refactor: fallback agent ip to connecting ip 2024-12-19 23:21:31 +08:00
naiba bbf0f96b8d feat: update language handling and frontend template versions 2024-12-15 17:07:53 +08:00
naiba 180773a4f3 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
UUBulb a24f452b65 fix: custom_nameservers should be dns_servers (#581) 2024-12-13 22:25:20 +08:00
naiba d0b5549cdb feat: enhance template configuration and update README for translation status 2024-12-10 22:27:06 +08:00
naiba 06738d5d16 feat: enhance template configuration and update README for translation status 2024-12-10 22:27:06 +08:00
Moraxyc 67190459f8 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
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 29d0d2eb3c feat: 优化 GeoIP 更新逻辑 2024-12-07 11:06:42 +08:00
naiba 5b5e006b97 feat: 优化 GeoIP 更新逻辑 2024-12-07 11:06:42 +08:00