Commit Graph

592 Commits

Author SHA1 Message Date
c2ac71a973 Check for pinSHA256 before adding it to the URI 2025-02-07 12:50:47 +03:30
c46e3dd271 Implement validation|notification JS in /config endpoint 2025-02-07 06:42:30 +00:00
1b05461ff4 Show dialog box in config endpoint before saving the configuration 2025-02-07 05:29:42 +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
2540f5321c Implement fucntions to get/set hysteria config file 2025-02-07 05:17:55 +00:00
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
2393a9bc1a Refactor ip-address command(May break functionality) 2025-02-07 03:01:51 +00:00
27ed29cdb8 Add some type hint in cli_api.py 2025-02-07 02:50:10 +00:00
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
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
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