Commit Graph

778 Commits

Author SHA1 Message Date
b9b5744607 fix: add responsive design 2025-08-29 21:48:31 +03:30
6fb74362be feat(auth/ui): Redesign login page and remove next_url from login flow 2025-08-29 21:40:54 +03:30
d0ee0864f4 feat(settings): add Hysteria Settings tab with geo update support 2025-08-29 12:28:48 +03:30
e6f775d2ed fix(webpanel): relax conflict check in user viewmodel 2025-08-28 00:53:43 +03:30
8e9ff9c4d2 remove deprecated user.sh script for old auth method 2025-08-27 22:55:11 +03:30
18d3a1029b perf(api): optimize bulk user URI fetching in webpanel
Refactored the web panel's user link generation to resolve a major performance bottleneck. Previously, fetching links for N users would trigger N separate script executions, causing significant delays from process startup overhead.

- Introduced a new bulk API endpoint (`/api/v1/users/uri/bulk`) that accepts a list of usernames and calls the backend script only once.
- Updated the frontend JavaScript in `users.html` to use this new endpoint, replacing N parallel API calls with a single one.
- Cleaned up the `wrapper_uri.py` script for better readability and maintainability.
2025-08-27 17:22:04 +03:30
c494250f9f feat(frontend): add bulk user link export feature to users page 2025-08-27 16:43:33 +03:30
ecb08dbd44 perf(core): optimize bulk user URI generation in wrapper_uri.py 2025-08-27 16:41:34 +03:30
bd0124446d fix(bot): handle escaped underscores in usernames 2025-08-27 16:36:46 +03:30
eef7342bc3 feat(webpanel): add distinct colors for user statuses 2025-08-26 00:24:27 +03:30
28062074bf refactor(core): centralize on-hold user logic in traffic.py 2025-08-26 00:14:25 +03:30
9b12a28bbb fix(webpanel): Improve user data and status handling
- Correctly handle malformed user data.
- Accurately display status for on-hold users.
2025-08-25 23:12:17 +03:30
9a43895953 feat(core): implement on-hold user activation 2025-08-25 23:08:23 +03:30
af3ad880c6 Set user creation_date to None by default 2025-08-25 22:59:04 +03:30
868fd5a42c Update changelog & Clone Main 2025-08-24 23:20:30 +03:30
e58b3dc000 Reduce cache time and Remove chown 2025-08-24 21:10:19 +03:30
f86d44ba1c Remove chmod 2025-08-24 20:36:20 +03:30
3b3bb51833 Fix ExecStart Path 2025-08-24 20:35:25 +03:30
dbff546523 feat(auth): Implement Go HTTP auth server for max performance 2025-08-24 20:34:33 +03:30
3ca2e6649e feat(auth): Migrate from command to high-performance HTTP 2025-08-24 19:56:07 +03:30
80b7af2d61 refactor(upgrade): Adapt upgrade script for aiohttp auth server 2025-08-23 23:08:29 +03:30
eac9cfde75 add auth service status 2025-08-22 23:11:26 +03:30
4d4e68b66f perf(auth): Make aiohttp auth server read-only
Refactored the aiohttp authentication server to be a purely read-only service. Removed all file write operations from the authentication logic to eliminate disk I/O and reduce CPU overhead during connection attempts.

The responsibility for persistently blocking users by writing to `users.json` is now fully delegated to the external scheduler service, allowing the auth server to function as a faster, more efficient gatekeeper.
2025-08-22 23:10:36 +03:30
51e7a9bab7 refactor(install): Integrate aiohttp auth server into installation 2025-08-22 22:28:11 +03:30
0306347189 feat: Migrate command auth to high-performance aiohttp server 2025-08-22 22:08:10 +03:30
495ed3a334 feat(frontend): implement bulk user creation UI 2025-08-21 00:14:52 +03:30
af2b599dd6 feat(api): add bulk user creation endpoint 2025-08-20 23:59:15 +03:30
5a762ad918 fix(core): allow underscores in usernames 2025-08-20 23:45:01 +03:30
8341f23611 feat(cli): add bulk user creation command 2025-08-20 23:22:29 +03:30
c1a60cbf32 feat(core): add bulk user creation script 2025-08-20 23:20:41 +03:30
8f684de732 Feat: Add online user filter to users page 2025-08-20 00:53:19 +03:30
738619b1e4 feat(ui): Redesign dashboard to display detailed server stats 2025-08-19 23:40:07 +03:30
b3595c691b feat(api): Integrate uptime and reboot traffic stats into server API 2025-08-19 23:39:01 +03:30
6fa872b6c3 feat: optimize system monitor with async I/O and traffic since reboot
- Replace synchronous file operations with async aiofiles
- Implement concurrent data gathering using asyncio.gather()
- Move API calls to thread pool executor
- Add LRU cache for config file reads
- Optimize parsing functions for single-pass processing
- Reduce measurement intervals for faster response times
- Add system uptime and boot time display
- Track total network traffic since last reboot from /proc/net/dev
- Separate system traffic (since reboot) from user traffic (all-time)
- Add human-readable uptime formatting
- Enhance output with clear traffic categorization
2025-08-19 23:36:44 +03:30
cdab63a72a fix: count actual device connections instead of unique users 2025-08-18 16:06:45 +03:30
40ce17deea Hotfix(sub): Display correct user data on blocked page 2025-08-18 15:56:26 +03:30
b9f979d1ae Feat: Add blocked user check to subscription endpoint 2025-08-17 16:16:30 +03:30
8b2f22849b feat(subscription): add external configs to normal subscription links 2025-08-17 15:42:16 +03:30
7587d5a4a8 feat: add extra configs management UI to settings page 2025-08-17 15:40:23 +03:30
68dde4f863 feat: add webpanel API for extra subscription configs 2025-08-17 15:39:20 +03:30
491b384468 feat: add cli interface for extra subscription configs 2025-08-17 15:35:51 +03:30
d1385ac8c4 feat: add script to manage extra subscription links
Introduces a new script `extra_config.py` to manage additional proxy configurations (vmess, vless, ss, trojan) for subscription links.
2025-08-17 15:33:28 +03:30
f1505602be Update README.md 2025-08-14 23:40:04 +03:30
5968903d0d Changes the add_user function's unlimited_user parameter to default to False. 2025-08-13 23:35:02 +03:30
be5fe69f0b feat(web): Conditionally display IP limit UI based on service status 2025-08-13 23:06:43 +03:30
6c6576ae87 feat(web): Add unlimited IP controls to users page 2025-08-12 23:41:15 +03:30
644c43b504 refactor(api): Align user schemas with CLI output and new features 2025-08-12 23:37:11 +03:30
75033231f2 feat: Integrate unlimited IP functionality into web panel 2025-08-12 23:36:22 +03:30
ceb1429535 fix: correct type hints for optional parameters in config_ip_limiter 2025-08-11 23:40:32 +03:30
ba6d0db590 feat(cli): Add IP limit exemption to edit-user command 2025-08-11 23:32:39 +03:30