Commit Graph

96 Commits

Author SHA1 Message Date
9972f0f89b fix(cli): update install_hysteria2 to return output message 2025-12-14 20:41:38 +00:00
a597b7bf5f fix(password_generation): replace pwgen with secrets module for secure password generation 2025-12-12 09:16:26 +00:00
f9172252f7 feat(core): add status check for masquerade 2025-11-30 21:00:12 +00:00
0949afcb6c refactor(core): update masquerade to string mode
Modified `masquerade.py` to use `string` type instead of `proxy`.
2025-11-30 20:37:34 +00:00
76472dfde5 feat(normalsub): Implement flexible, path-based subscription URLs
Refactors the NormalSub feature to move away from a hardcoded `/sub/normal/` path and a restrictive single-word subpath. This change introduces support for multi-segment, slash-separated subpaths (e.g., `path/to/resource`), providing greater flexibility for creating descriptive and structured subscription URLs.
2025-11-29 20:22:22 +00:00
1e0c60c112 feat: Add web panel configuration management functions 2025-11-21 10:07:59 +00:00
3cb025d3b3 revert: Remove web panel configuration and CLI features 2025-11-10 19:09:56 +00:00
44d630f7a7 feat(cli): Add function to retrieve all web panel settings 2025-11-10 16:35:46 +00:00
4e435a623f feat: Expose web panel config management in CLI 2025-11-10 13:24:32 +00:00
8a10e6b789 fix(cli): Prevent unwanted creation_date in add_user command 2025-11-09 12:22:50 +00:00
570ff6fcf2 feat(cli): Add clean command for IP limiter 2025-11-07 07:25:26 +00:00
b898db944e feat: Add password editing to user modal 2025-11-05 20:14:44 +00:00
2cf7bb6cb3 Removed the input validation check 2025-10-29 19:58:57 +00:00
dce23100a1 feat(core): add note editing functionality
- Updated `edit_user.py` to accept a `--note` argument, allowing user notes to be modified or cleared.
- Extended the `edit-user` command in `cli.py` with a `--note` option.
- Modified the `edit_user` function in `cli_api.py` to pass the new note argument to the underlying script.
2025-10-28 16:34:41 +00:00
ea75084eeb feat(cli): add note option to add-user command 2025-10-28 16:08:49 +00:00
8cfed0f1b4 feat(nodes): Add insecure TLS option for external nodes 2025-10-23 11:07:50 +00:00
dd9f2a3e57 feat(nodes): Add optional obfs parameter for node management 2025-10-16 19:51:58 +00:00
db82da6e62 feat(nodes): Add optional port parameter for node management 2025-10-16 19:22:49 +00:00
3b58a0273f feat(nodes): Implement advanced node management and certificate generation 2025-10-13 12:39:16 +00:00
88659a4e7d feat(api): add endpoint to get telegram backup interval 2025-09-18 20:39:12 +00:00
6bc9358453 feat(api/telegram): add and refactor backup interval handling 2025-09-18 12:14:51 +00:00
9f82486785 feat(cli): add telegram bot backup interval management 2025-09-18 11:55:17 +00:00
949a12cea7 perf(core): implement efficient bulk user deletion
Revamps the entire user deletion process to resolve critical performance bottlenecks that caused the web panel and database to freeze when removing multiple users.

- **Backend:** Core scripts (`kickuser.py`, `remove_user.py`) and the database layer are re-engineered to handle multiple users in a single, efficient batch operation using MongoDB's `delete_many`.
- **API:** A new `POST /api/v1/users/bulk-delete` endpoint is introduced for batch removals. The existing single-user `DELETE` endpoint is fixed to align with the new bulk logic.
- **Frontend:** The Users page now intelligently calls the bulk API when multiple users are selected, drastically improving UI responsiveness and reducing server load.
2025-09-13 16:15:41 +00:00
80c21ccd07 feat: migrate user management from json to mongodb 2025-09-06 22:38:32 +03:30
d5d4935f69 feat(users): Integrate real-time online status and enhance UI 2025-09-05 13:16:41 +02:00
8341f23611 feat(cli): add bulk user creation command 2025-08-20 23:22:29 +03:30
491b384468 feat: add cli interface for extra subscription configs 2025-08-17 15:35:51 +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
85d2e8b81f feat(cli): Integrate unlimited IP option for user creation 2025-08-11 23:28:51 +03:30
c6a3ffeb61 fix(api): allow setting unlimited values in edit_user 2025-08-08 01:57:56 +03:30
05993d013d feat(api): Add external node management endpoints 2025-08-06 14:45:35 +03:30
c5f1b6d447 feat(core): Implement external node management
Introduces a dedicated system for managing a list of external nodes, each with a unique name and IP address. This feature is designed for multi-node deployments.
2025-08-04 13:49:45 +02:00
3a13108181 feat: Add WARP management tab to settings page
Integrates WARP (install, uninstall, configure, status) functionality
into the web panel's settings page. Users can now manage WARP
directly from the UI.
2025-06-02 13:29:48 +03:30
228e01f6e9 feat: Add --check flag to manage_obfs CLI command
Integrates the OBFS status check functionality into the main CLI.
Users can now use `cli.py manage_obfs --check` to see if OBFS is active.
2025-06-02 00:16:41 +03:30
c7ed9b3aef feat: add reset webpanel admin credentials 2025-05-23 13:01:22 +03:30
b5af06708d feat: add API endpoint to fetch IP Limiter configuration 2025-05-23 12:16:58 +03:30
eaef80b80e feat: Add function to cli_api to get current NormalSub subpath 2025-05-17 23:54:32 +03:30
edcc4e32e2 feat: Add CLI command to edit NormalSub subpath
- Added `edit_normalsub_subpath` function to `cli_api.py` to
  interact with the `normalsub.sh edit_subpath` command, including
  input validation for the new subpath.
- Updated the `normal-sub` command in `cli.py`:
  - Added 'edit_subpath' as a valid action.
  - Introduced a '--subpath' option for specifying the new path.
  - Modified the command logic to call the new API function when
    the 'edit_subpath' action is selected.
2025-05-17 23:24:43 +03:30
dc49f5d74f feat: Merge traffic collection and user kicking 2025-05-10 14:06:55 +03:30
e581a92b60 Refactored cli_api.run_cmd 2025-05-09 01:22:03 +03:30
9d58ce49db Revert CLI Change 2025-05-09 01:04:05 +03:30
049e3f7601 refactor(cli): Improve script error propagation and handling 2025-05-09 00:07:17 +03:30
1b3f9ee351 Refactor: Implement Hysteria Restore in Python 2025-05-06 00:23:13 +03:30
24338dfe1f Refactor: Implement Change SNI in Python 2025-05-05 23:55:36 +03:30
ce4d23d18e Refactor: Implement TCP Brutal installation in Python 2025-05-05 23:31:14 +03:30
b8e6a5475b refactor: masquerade management in Python3 2025-05-03 21:49:26 +03:30
976f080523 Refactor: Implement server stats in Python 2025-05-03 00:20:36 +03:30
ae12afced1 Refactor: Implement IP address config manager in Python 2025-05-02 22:03:59 +03:30
1c08a4adbb Refactor: Implement Hysteria Bakcup in Python 2025-05-02 21:52:17 +03:30