Commit Graph

79 Commits

Author SHA1 Message Date
133684f4fe fix: Resolve IP/domain validation 2025-08-06 15:16:27 +03:30
05993d013d feat(api): Add external node management endpoints 2025-08-06 14:45:35 +03:30
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
97ade9e4eb feat: Add OBFS status API endpoint 2025-06-02 00:19:25 +03:30
b2cb712c08 feat: Adapt WARP API to handle JSON status output 2025-05-25 12:49:33 +03:30
b5af06708d feat: add API endpoint to fetch IP Limiter configuration 2025-05-23 12:16:58 +03:30
3cb8022c7c feat: Add API endpoint to get current NormalSub subpath
- Created `GetSubPathResponse` Pydantic schema for the API response.
- Added a new GET endpoint `/api/v1/config/normalsub/subpath` to fetch
  the current NormalSub subpath using `cli_api.get_normalsub_subpath()`.
- Returns the subpath or null if not found/set.
2025-05-17 23:55:01 +03:30
d86087cf74 feat: Add API endpoint to edit NormalSub subpath
This commit introduces a new PUT endpoint `/api/v1/config/normalsub/edit_subpath`
to allow modification of the NormalSub service's subpath.

- Added `EditSubPathInputBody` Pydantic model for request validation.
- Implemented the API endpoint in `normalsub.py` router, calling the
  corresponding `cli_api.edit_normalsub_subpath` function.
- Includes error handling for validation and general exceptions.
2025-05-17 23:27:17 +03:30
69e9605414 feat(api): Implement user existence checks in add user API endpoint 2025-05-09 00:11:10 +03:30
9d0a13a226 Refactor: Implement WARP ACL configuration in Python
- remove WARP Plus/Key
2025-05-02 18:24:58 +03:30
cdf122d687 🔧 Fix missing return statement in telegram_stop_api function 2025-04-28 10:49:29 +03:30
c1d8c422af Add decoy status API 2025-04-26 13:31:19 +03:30
fa7090a88b feat(api): Add endpoints for webpanel decoy management using background tasks
- Add POST `/api/v1/config/hysteria/webpanel/decoy/setup` endpoint to configure the decoy site.
- Add POST `/api/v1/config/hysteria/webpanel/decoy/stop` endpoint to remove the decoy site configuration.
- Implement `BackgroundTasks` for both endpoints to prevent Caddy service restarts from interrupting the API response.
- Add `SetupDecoyRequest` Pydantic schema for the setup endpoint payload.
2025-04-25 21:58:04 +03:30
32c21126ed add UserUriResponse schem 2025-04-19 18:43:06 +03:30
fb221d350e Changes log:
feat: add user URI API endpoint
feat: integrate show_user_uri_api in users page
refactor: remove URI generation from viewmodel
2025-04-19 18:18:01 +03:30
35d917b887 feat : Optimize user edit workflow and eliminate service restart delay 2025-04-14 12:53:15 +03:30
49b9580b60 Improve user reset API 2025-04-14 12:22:42 +03:30
3384095d9e Improve user removal API with proper 404 error handling
- Added user existence check before attempting removal
- Return 404 status code when user is not found
- Leveraged existing get_user functionality for consistency
- Separated HTTPException handling to preserve status codes
- Enhanced error handling to provide clearer feedback to API consumers
2025-04-14 12:11:53 +03:30
8cd9866309 Fix Status 2025-04-12 13:15:39 +03:30
3eea66a6f5 fix: Allow null values for upload and download bytes in user info 2025-04-12 11:38:07 +03:30
580fe5e487 Update User Info Response
Added more details UserInfoResponse class
2025-04-12 00:08:52 +03:30
10dc20ad8e Remove SingBox Service Status 2025-04-11 21:57:40 +03:30
40a5d681b8 Fix: Correct Version Check Response for Up-to-Date Panel 2025-03-24 00:43:26 +03:30
f0fb7811c6 Added API and IPLimit service 2025-03-23 14:17:45 +03:30
5f28aa9d90 Added domain validation
Modify Pydantic Models
2025-03-19 23:01:19 +03:30
1f8bc93aa9 Added API endpoints for getting version info and checking for updates 2025-03-11 01:03:23 +03:30
3439503f8d Created Pydantic schemas for version API responses 2025-03-11 01:02:26 +03:30
39316a2f79 Fix Restore API 2025-02-22 12:25:08 +03:30
d2527564d8 Fix method of /restore API 2025-02-22 11:33:13 +03:30
c399551a50 Implement /restore API 2025-02-22 10:04:12 +03:30
1cad73e87c Update Backup API 2025-02-22 00:21:38 +03:30
181fe5ec0d Chg: API function names 2025-02-09 10:48:16 +00:00
eba4cf1d0e Add: previous commit APIs 2025-02-09 10:30:29 +00:00
4fb27a466c Hotfix: Restart hysteria-server.service after updating config
file through API
2025-02-09 09:46:29 +00:00
04ac918a54 Implement api/v1/config/ip/get endpoint API 2025-02-08 16:36:35 +00:00
304dd51ef0 Refactor ip APIs 2025-02-08 01:07:03 +00:00
3915f61cfb Rename endpoints function name 2025-02-08 01:03:30 +00:00
a8be39e2e7 Implement services status API 2025-02-07 21:59:52 +00:00
71654b16f3 Fix type warning 2025-02-07 05:19:13 +00:00
7e0c50c87b Implement APIs to get/set hysteria config file 2025-02-07 05:18:51 +00:00
c40da42b15 Implement ip APIs 2025-02-07 03:21:22 +00:00
5b1a4f2f61 Remove(commented) hysteria install/uninstall APIs 2025-02-06 17:57:12 +00:00
668f3504df Nothing at all 2025-02-04 16:30:25 +00:00
69fd804fdc Rename some APIs' function 2025-02-02 23:55:22 +00:00
af5bde1128 Fix API bug 2025-02-02 23:52:04 +00:00
f28b8a66d7 Fix one endpoint 2025-02-02 18:41:39 +00:00
03c9320ff5 Take care of __init__.py files 2025-01-30 20:38:22 +00:00
6bd507cd9e Refactor warp endpoints 2025-01-30 20:38:22 +00:00
36add8ce1b Refactor telegram endpoins 2025-01-30 20:38:22 +00:00
fa21cf5661 Refactor singbox endpoints 2025-01-30 20:38:22 +00:00