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
704f0988f3
Refactor: Update traffic usage display and calculations in user model and template
2025-04-08 20:25:13 +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
2cf4d01066
Better endopint
2025-02-07 19:16:20 +00:00
5a4458661c
Better endpoints
2025-02-07 18:26:19 +00:00
bf6851a57d
Hash admin password in the config file
2025-02-07 17:58:15 +00:00
90df8012f6
Added Settings router
2025-02-07 20:49:18 +03:30
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
49ecb41a73
Implement config router
2025-02-07 04:53:20 +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
49e59fa5e1
Redirect after successful login
2025-02-06 01:49:32 +00:00
492719eb3a
Fix /docs endpoint by setting root_path parameter in FastAPI app, by
...
doing so there's no need to have custom url_for fucntion
2025-02-05 21:25:04 +00:00
360e6ac4ba
Implement custom url_for to generating urls with ROOT_PATH prefix
2025-02-04 16:34:52 +00:00
468f4a4abc
Fix one __init__.py file
2025-02-04 16:33:46 +00:00
668f3504df
Nothing at all
2025-02-04 16:30:25 +00:00
a7d1159876
Separate basic endpoints
2025-02-04 16:29:51 +00:00
7e042149e7
Fix /users endpoint dependency
2025-02-04 16:28:30 +00:00
ce065dcbb0
Show /users endpoints even if there is no user yet
2025-02-03 19:56:13 +00:00
7b828fb9e4
Fix import issues
2025-02-03 19:33:06 +00:00
723378c00e
Implement login endpoints
2025-02-03 19:05:51 +00:00
7d4b1872e6
Remove user endpoints in web section
2025-02-03 00:51:56 +00:00
69fd804fdc
Rename some APIs' function
2025-02-02 23:55:22 +00:00