Commit Graph

718 Commits

Author SHA1 Message Date
8c43375519 Fix(upgrade): Improve scheduler setup 2025-05-16 11:54:45 +03:30
fe7fa3cd2d Add service verification to confirm successful installation 2025-05-16 11:42:22 +03:30
2e35c62c48 Fix scheduler service installation to ensure stable upgrade process 2025-05-16 11:36:47 +03:30
37aafa8c61 refactor: enhance upgrade script with backup, color UI, service checks, and error handling 2025-05-16 00:42:02 +03:30
cfd29c458d Add service status for scheduler
Add a default user
2025-05-15 23:50:09 +03:30
ec81500e85 typo 2025-05-15 23:40:41 +03:30
1e94e08ffb Improve uninstall script 2025-05-15 23:25:54 +03:30
61874a4acc hysteria-scheduler service setup
- Create installation script to automate setup and migration from cron
- Update both install.sh and upgrade.sh to use the shared functions
2025-05-15 23:10:08 +03:30
08f90a3246 Implement robust scheduler for traffic monitoring and backups
- Replace cron jobs with a systemd service for better reliability
- Add file locking mechanism to prevent conflicts on users.json
- Schedule traffic status updates every minute with proper error handling
- Maintain 6-hour backup schedule with independent lock management
- Add comprehensive logging for easier troubleshooting

This change resolves issues where system updates or other programs
would cause conflicts with the traffic monitoring process accessing
the users.json file simultaneously.
2025-05-15 21:18:23 +03:30
80c519a66f feat(telegram): Enhance add user to show Normal-SUB link and QR
Modifies the Telegram bot's 'Add User' functionality.
After adding a user, the bot now attempts to retrieve and display
the Normal-SUB subscription link and its QR code if available.
If Normal-SUB is not found, it falls back to showing the direct
Hysteria2 IPv4 URI and QR code. The direct URI is also provided as a
fallback if Normal-SUB is shown. 
Usernames are quoted in CLI calls
for robustness. Improved input validation for username, traffic,
and expiration days.
2025-05-14 00:34:23 +03:30
d852c21a9d Refactor QR code generation to use Python 2025-05-10 23:29:05 +03:30
dc49f5d74f feat: Merge traffic collection and user kicking 2025-05-10 14:06:55 +03:30
e581a92b60 Refactored cli_api.run_cmd 2025-05-09 01:22:03 +03:30
9d58ce49db Revert CLI Change 2025-05-09 01:04:05 +03:30
5b04b47e60 feat(frontend): Enhance user management UI and error handling in users.html
-   Added default values for "Traffic Limit" and "Expiration Days" in the "Add User" modal.
2025-05-09 00:12:42 +03:30
69e9605414 feat(api): Implement user existence checks in add user API endpoint 2025-05-09 00:11:10 +03:30
049e3f7601 refactor(cli): Improve script error propagation and handling 2025-05-09 00:07:17 +03:30
a5dac82255 Refactor: Implement kick users in Python 2025-05-08 20:25:49 +03:30
1b3f9ee351 Refactor: Implement Hysteria Restore in Python 2025-05-06 00:23:13 +03:30
24338dfe1f Refactor: Implement Change SNI in Python 2025-05-05 23:55:36 +03:30
ce4d23d18e Refactor: Implement TCP Brutal installation in Python 2025-05-05 23:31:14 +03:30
b8e6a5475b refactor: masquerade management in Python3 2025-05-03 21:49:26 +03:30
976f080523 Refactor: Implement server stats in Python 2025-05-03 00:20:36 +03:30
ae12afced1 Refactor: Implement IP address config manager in Python 2025-05-02 22:03:59 +03:30
1c08a4adbb Refactor: Implement Hysteria Bakcup in Python 2025-05-02 21:52:17 +03:30
1da884dba4 Refactor: Implement Telegram bot service manager in Python 2025-05-02 21:45:18 +03:30
9d0a13a226 Refactor: Implement WARP ACL configuration in Python
- remove WARP Plus/Key
2025-05-02 18:24:58 +03:30
07cb999259 Refactor: Implement warp status in Python 2025-05-02 17:35:43 +03:30
0e0d054d5d Refactor: Warp setup and uninstallation scripts to Python3 2025-05-02 17:21:26 +03:30
10526df4ea Update hysteria-server.service to use Blitz Panel config.json 2025-05-02 14:55:16 +03:30
beb8748f4b Refactor: Implement Hysteria2 uninstallation in Python 2025-05-02 14:37:47 +03:30
1e4f6439d3 Refactor: Implement Hysteria server update in Python 2025-05-02 14:14:43 +03:30
e597d819d3 refactor: migrate obfs manager script from Bash to Python 2025-05-02 13:50:36 +03:30
18d7f3459e fix: resolved permission issue by adjusting subprocess call to explicitly use Python 2025-05-02 13:41:34 +03:30
2008156e20 Fix: Remove misuse of asyncio.to_thread with async context manager in remove_user.py 2025-05-02 13:26:57 +03:30
8ba46b9878 Refactor: Implement user addition functionality in Python 2025-05-02 13:07:53 +03:30
5a253258e8 Refactor: Implement Hysteria server restart in Python 2025-05-02 12:35:44 +03:30
cf4726e5d9 Refactor: Implement user information retrieval in Python 2025-05-02 12:29:37 +03:30
19192bd02d Refactor: Implement port update functionality in Python 2025-05-02 12:08:19 +03:30
50bb7fe7ff Refactor: Implement user reset functionality in Python 2025-05-02 11:53:22 +03:30
7e71b1c33b Refactor: Implement user removal in Python 2025-05-02 11:40:57 +03:30
8d9fda0c09 Remove Tree Mode 2025-05-01 23:34:29 +03:30
f2f2401b52 fix(ui): Adjust JSONEditor code view background in dark mode 2025-05-01 23:33:38 +03:30
552862c251 Integrate custom CSS into base.html 2025-05-01 22:18:35 +03:30
ea581c0197 feat: Enhance UI/UX with improved CSS for light/dark modes 2025-05-01 21:49:27 +03:30
862128b325 fixed footer 2025-05-01 19:47:33 +03:30
72b372b978 feat: Add user count, ID column, and sorting to users table
- Display total user count in the card header.
- Add a new '#' column to the user table showing the row number.
- Sort the user list alphabetically by username (case-insensitive) using Jinja filter before rendering.
- Update JavaScript column index references (`td:eq(n)`) to reflect the added '#' column.
2025-04-28 19:38:31 +03:30
cdf122d687 🔧 Fix missing return statement in telegram_stop_api function 2025-04-28 10:49:29 +03:30
15780cf43a 🔒 Improve SSL certificate handling with auto-renewal detection 2025-04-27 23:05:30 +03:30
9793dc28e7 Remove warps ACL rules completely when wg-quick@wgcf service is inactive 2025-04-27 18:32:18 +03:30