Commit Graph

93 Commits

Author SHA1 Message Date
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
a88dd50b2c Fix: typo 2025-10-08 22:29:33 +02: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
ecb08dbd44 perf(core): optimize bulk user URI generation in wrapper_uri.py 2025-08-27 16:41:34 +03:30
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
5968903d0d Changes the add_user function's unlimited_user parameter to default to False. 2025-08-13 23:35:02 +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
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
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
9d0a13a226 Refactor: Implement WARP ACL configuration in Python
- remove WARP Plus/Key
2025-05-02 18:24:58 +03:30
d5397a9f14 feat(CLI): Add decoy site management
- Added corresponding wrapper functions (setup_webpanel_decoy,
  stop_webpanel_decoy) in cli_api.py.
- Updated start_webpanel in cli_api.py to accept decoy_path.
- Exposed new commands (setup-webpanel-decoy, stop-webpanel-decoy)
  in cli.py.
- Updated the webpanel start command in cli.py to accept a
  --decoy-path option.
2025-04-25 21:15:06 +03:30
325c130fd0 feat: add show-user-uri-json command 2025-04-19 13:12:33 +03:30
35d917b887 feat : Optimize user edit workflow and eliminate service restart delay 2025-04-14 12:53:15 +03:30
94c485bdba Add no-gui flag and improve traffic status output control
- Added --no-gui flag to traffic-status command
- Modified traffic.py to accept no_gui parameter
- Updated cli_api.traffic_status() to control output display
- Ensured silent operation when called from remove-user command
- Improved function return values for programmatic use
- Added proper parameter handling throughout the call chain
2025-04-14 11:29:09 +03:30
7297eb9be2 feat: enhance kick functionality with specific user kick and integration 2025-04-14 00:08:14 +03:30
3c025ed5f7 feat: Add Hysteria IP limiter script 2025-03-23 12:42:45 +03:30
72a96999df feat: Add version checking and display
Integrated version checking into `cli_api.py` and `cli.py`
2025-03-11 01:01:08 +03:30
896ba3421f feat: Restore backup CLI 2025-02-22 00:24:22 +03:30
e9abe54872 Nothing at all 2025-02-07 23:10:27 +00:00
908d97f6b3 Fix some bugs related to webpanel 2025-02-07 22:48:00 +00:00
767b43d992 Create separate caddy service for hysteria project 2025-02-07 22:27:54 +00:00
118d08d598 Fix cli webpanel command bug & Fix webpanel service name in cli 2025-02-07 21:39:28 +00:00
15d8f00417 Implement get-services-status in cli.py & Refactor
get-webpanel-services-status to use cli_api.get_services_status()
2025-02-07 18:52:08 +00:00
f6691c89ed Small refactor 2025-02-07 04:45:17 +00:00
2393a9bc1a Refactor ip-address command(May break functionality) 2025-02-07 03:01:51 +00:00
6490308790 Implement previous feature in cli.py 2025-02-07 02:48:49 +00:00
a17f82e0c3 Fix error printing 2025-02-06 02:09:00 +00:00
82394d6b6c Implement get-webpanel-api-token command 2025-02-05 19:34:31 +00:00
99bc45e08d Changed the short flags 2025-02-04 23:26:36 +03:30
816dda0932 Implement webpanel command in cli.py 2025-02-04 17:39:45 +00:00
3ea8792293 Adopt cli.py with previous commit 2025-01-26 13:02:48 +00:00
772096922d Refactor cli_api.py and cli.py 2025-01-26 12:50:14 +00:00
403ec33648 Adopt cli.py with previous commit 2025-01-26 12:46:23 +00:00
84c9d0adae Adopt previous commit changes in cli.py 2025-01-26 11:43:59 +00:00
101dc5a934 Format cli.py 2025-01-26 11:18:52 +00:00
298697582c Add click.echo to CLI commands for improved user feedback 2025-01-26 00:52:51 +03:30
0858e27a8c Fix cli printing data 2025-01-25 07:26:19 +00:00
562b869980 Make cli.py more modular 2025-01-24 07:51:24 +00:00
ca46163c08 Added masquerade cli 2025-01-17 23:57:24 +03:30
b56c7edb88 Added --country option 2025-01-10 13:05:48 +03:30