Commit Graph

653 Commits

Author SHA1 Message Date
c6b02dfbfa feat: implement smart version checking with user-friendly notifications 2025-09-18 19:44:45 +00:00
146dc1adab feat(frontend): add telegram backup interval UI to settings page 2025-09-18 12:40:09 +00:00
6bc9358453 feat(api/telegram): add and refactor backup interval handling 2025-09-18 12:14:51 +00:00
b583894d9a feat(telegram): implement automatic scheduled backups 2025-09-18 11:40:31 +00:00
a8314eefa4 Feat: Refactor subscription page templates 2025-09-17 11:14:37 +00:00
c943596912 refactor(scripts): migrate IP limit state from JSON to MongoDB 2025-09-15 18:05:49 +00:00
74c6bcf774 Enhance user interface by adding emoji to command buttons for better visibility 2025-09-15 00:46:36 +03:30
330f975035 Update URL 2025-09-13 23:39:29 +03:30
949a12cea7 perf(core): implement efficient bulk user deletion
Revamps the entire user deletion process to resolve critical performance bottlenecks that caused the web panel and database to freeze when removing multiple users.

- **Backend:** Core scripts (`kickuser.py`, `remove_user.py`) and the database layer are re-engineered to handle multiple users in a single, efficient batch operation using MongoDB's `delete_many`.
- **API:** A new `POST /api/v1/users/bulk-delete` endpoint is introduced for batch removals. The existing single-user `DELETE` endpoint is fixed to align with the new bulk logic.
- **Frontend:** The Users page now intelligently calls the bulk API when multiple users are selected, drastically improving UI responsiveness and reducing server load.
2025-09-13 16:15:41 +00:00
6ef5f6d65e fix(api): align user data with response model in user detail endpoint 2025-09-13 14:45:24 +00:00
0211251a9f feat(ui): improve sidebar logo visibility 2025-09-12 21:06:46 +00:00
f00c145f01 Remove duplicate traffic_status check 2025-09-12 09:40:41 +00:00
6e35017b6f refactor(core): Migrate server_info traffic stats to use database
Updated `server_info.py` to fetch user traffic data directly from the MongoDB database instead of reading from the deprecated `users.json` file.
2025-09-12 08:58:53 +00:00
cab42fb249 ci: remove auth binary compilation from core install script 2025-09-11 23:24:50 +03:30
b99198b41d chore: Improve script import mechanism and remove boilerplate 2025-09-10 15:51:17 +03:30
441cd2caaa Adapt to New list-users API Format 2025-09-08 23:39:26 +03:30
101b9e0ff4 Delete core/scripts/db/install.sh 2025-09-08 00:12:05 +03:30
09fc8540b6 feat(core): implement full database cleanup in uninstaller 2025-09-08 00:05:48 +03:30
ed37def474 Modified the Go authentication server 2025-09-07 23:39:58 +03:30
8d657860aa feat(upgrade): implement seamless json to mongodb migration 2025-09-07 23:34:03 +03:30
b9576cc3f0 feat: add MongoDB installation && Migration 2025-09-07 23:05:55 +03:30
45e3e101d5 fix pinSHA256 2025-09-07 01:13:05 +03:30
e260d9a8c4 feat: migrate normalsub from json to mongodb 2025-09-07 00:52:37 +03:30
7ce683285d refactor(user): adapt show_user_uri script to use mongodb 2025-09-07 00:33:01 +03:30
9da68fa79c fix(core): correct mongorestore path in restore script 2025-09-07 00:03:19 +03:30
5e43ed9aa6 Fixed the validation in the restore API endpoint 2025-09-07 00:01:13 +03:30
80c21ccd07 feat: migrate user management from json to mongodb 2025-09-06 22:38:32 +03:30
d5d4935f69 feat(users): Integrate real-time online status and enhance UI 2025-09-05 13:16:41 +02:00
c9235b2b36 fix(bot): ensure QR code is displayed after user creation 2025-09-01 23:05:27 +03:30
2b923a25b0 fix(core): handle on-hold users and null dates in edit_user 2025-08-31 21:07:25 +03:30
b9b5744607 fix: add responsive design 2025-08-29 21:48:31 +03:30
6fb74362be feat(auth/ui): Redesign login page and remove next_url from login flow 2025-08-29 21:40:54 +03:30
d0ee0864f4 feat(settings): add Hysteria Settings tab with geo update support 2025-08-29 12:28:48 +03:30
e6f775d2ed fix(webpanel): relax conflict check in user viewmodel 2025-08-28 00:53:43 +03:30
8e9ff9c4d2 remove deprecated user.sh script for old auth method 2025-08-27 22:55:11 +03:30
18d3a1029b perf(api): optimize bulk user URI fetching in webpanel
Refactored the web panel's user link generation to resolve a major performance bottleneck. Previously, fetching links for N users would trigger N separate script executions, causing significant delays from process startup overhead.

- Introduced a new bulk API endpoint (`/api/v1/users/uri/bulk`) that accepts a list of usernames and calls the backend script only once.
- Updated the frontend JavaScript in `users.html` to use this new endpoint, replacing N parallel API calls with a single one.
- Cleaned up the `wrapper_uri.py` script for better readability and maintainability.
2025-08-27 17:22:04 +03:30
c494250f9f feat(frontend): add bulk user link export feature to users page 2025-08-27 16:43:33 +03:30
ecb08dbd44 perf(core): optimize bulk user URI generation in wrapper_uri.py 2025-08-27 16:41:34 +03:30
bd0124446d fix(bot): handle escaped underscores in usernames 2025-08-27 16:36:46 +03:30
eef7342bc3 feat(webpanel): add distinct colors for user statuses 2025-08-26 00:24:27 +03:30
28062074bf refactor(core): centralize on-hold user logic in traffic.py 2025-08-26 00:14:25 +03:30
9b12a28bbb fix(webpanel): Improve user data and status handling
- Correctly handle malformed user data.
- Accurately display status for on-hold users.
2025-08-25 23:12:17 +03:30
9a43895953 feat(core): implement on-hold user activation 2025-08-25 23:08:23 +03:30
af3ad880c6 Set user creation_date to None by default 2025-08-25 22:59:04 +03:30
868fd5a42c Update changelog & Clone Main 2025-08-24 23:20:30 +03:30
e58b3dc000 Reduce cache time and Remove chown 2025-08-24 21:10:19 +03:30
f86d44ba1c Remove chmod 2025-08-24 20:36:20 +03:30
3b3bb51833 Fix ExecStart Path 2025-08-24 20:35:25 +03:30
dbff546523 feat(auth): Implement Go HTTP auth server for max performance 2025-08-24 20:34:33 +03:30
3ca2e6649e feat(auth): Migrate from command to high-performance HTTP 2025-08-24 19:56:07 +03:30