Commit Graph

712 Commits

Author SHA1 Message Date
49ecb41a73 Implement config router 2025-02-07 04:53:20 +00:00
f6691c89ed Small refactor 2025-02-07 04:45:17 +00:00
480dc54e81 Fix scripts place in index.html 2025-02-07 03:54:27 +00:00
c40da42b15 Implement ip APIs 2025-02-07 03:21:22 +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
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
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
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
6054135dab Little refactoring 2025-02-03 01:10:51 +00:00
40a80f7bf3 Change JS in frontend to use API 2025-02-03 00:52:17 +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
a304e8881c Implement user endpoints in web section 2025-02-02 23:52:47 +00:00
af5bde1128 Fix API bug 2025-02-02 23:52:04 +00:00