Commit Graph

816 Commits

Author SHA1 Message Date
6490308790 Implement previous feature in cli.py 2025-02-07 02:48:49 +00:00
18d5f0ef01 Implement previous feature in cli_api.py 2025-02-07 02:48:23 +00:00
d6eac53ed5 Impelement getting status of webpanel services in webpanel_shell.sh 2025-02-07 02:48:01 +00:00
5b1a4f2f61 Remove(commented) hysteria install/uninstall APIs 2025-02-06 17:57:12 +00:00
b331218652 Implement menu option to start/stop webpanel 2025-02-06 02:18:25 +00:00
a17f82e0c3 Fix error printing 2025-02-06 02:09:00 +00:00
bba53e59d4 Document that APIs need API key 2025-02-06 01:50:37 +00:00
49e59fa5e1 Redirect after successful login 2025-02-06 01:49:32 +00:00
14b4411cb7 Fix title 2025-02-05 23:04:05 +00:00
157028df47 Add favicon to html 2025-02-05 23:00:19 +00:00
9167f45c26 Disable Caddy admin panel and http-to-https redirects 2025-02-05 22:35:12 +00:00
16e832f46f Fix public routes path 2025-02-05 22:33:29 +00:00
cd69795c5e Change Caddyfile to block requests if they don't start with ROOT_PATH 2025-02-05 21:52:12 +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
82394d6b6c Implement get-webpanel-api-token command 2025-02-05 19:34:31 +00:00
287253da0a Add -y to install a program 2025-02-04 21:20:13 +00:00
f2a98d2113 Fix path bugs 2025-02-04 21:20:13 +00:00
99bc45e08d Changed the short flags 2025-02-04 23:26:36 +03:30
24087eb9a5 Clone web 2025-02-04 23:12:09 +03:30
f3b70ee38f Remove uvicorn from requirements.txt and add hypercorn 2025-02-04 17:40:54 +00:00
816dda0932 Implement webpanel command in cli.py 2025-02-04 17:39:45 +00:00
c15fdeb4b5 Implement webpanel functions in cli_api
THE INPUTS MUST BE VALIDATED
2025-02-04 17:38:42 +00:00
207cdb8b28 Implement webpanel bash script (shell) 2025-02-04 17:38:05 +00:00
26ea81e0dc Fix singbox_shell.sh path bug 2025-02-04 16:38:35 +00:00
cb82cc9fd4 Fix exception handling bug 2025-02-04 16:35:22 +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
f05620430c Add basic router & Using hypercorn instead of uvicorn & Fix accepting proxy headers from reverse proxy 2025-02-04 16:32:18 +00:00
78859facce Fix url generating in index.html (status api) 2025-02-04 16:31:52 +00:00
4e639993ce Add ROOT_PATH to the .env config loader 2025-02-04 16:30:49 +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
af6d01f446 Remove missed JS "debugger;" 2025-02-04 01:22:15 +00:00
5e1de6d5ea Add /robots.txt to public routes 2025-02-03 20:11:00 +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
c00f1c42fa Use after request middleware 2025-02-03 19:32:41 +00:00
df3892f175 Implement after request middleware 2025-02-03 19:31:39 +00:00
4b8debebd4 Add noindex, nofollow to the base HTML 2025-02-03 19:30:53 +00:00
2f7e1c218c Disallow robots to index the site (robots.txt) 2025-02-03 19:29:41 +00:00
d1caf5c389 Restructure 2025-02-03 19:28:59 +00:00
74feeab4c8 Update requirements.txt 2025-02-03 19:07:04 +00:00
2956b3813d Refactor app.py 2025-02-03 19:06:15 +00:00
723378c00e Implement login endpoints 2025-02-03 19:05:51 +00:00
d0a73a6fc6 Implement exception handler 2025-02-03 19:05:04 +00:00
9d42e56f47 Implement some dependencies available across endpoints 2025-02-03 19:03:54 +00:00
8dda44664e Implement pydantic .env loader 2025-02-03 19:03:00 +00:00
11e1a7c33a Implement authentication middleware 2025-02-03 19:02:31 +00:00
ede2ed23e6 Implement session storage/manager 2025-02-03 19:01:52 +00:00