Commit Graph

253 Commits

Author SHA1 Message Date
105371cb07 refactor: Externalize all template 2025-09-24 19:38:47 +00:00
9b1d2cabb9 refactor: Externalize all template JavaScript to asset files 2025-09-24 18:45:35 +00:00
01c9feefad feat(ui): improve update notification system with Markdown and better visibility
Enhances the update notification experience by improving logic,
readability, and UI styling.

- Reduced "skip this version" reminder period from 7 days to 2 hours for more frequent notifications.
- Integrated showdown.js to render changelog content in Markdown for better formatting.
- Converted changelog text from Markdown to HTML before displaying in the notification bar.
- Enhanced visibility and styling of the update notification bar.
2025-09-20 13:24:00 +00:00
51f375d1e8 feat(ui): enhance user list responsiveness on mobile and tablet
Improves usability of the user list for smaller screens with responsive
detail views and filter controls.

- Added collapsible detail rows to show key user info (Status, Traffic, Expiry, etc.) via toggle button.
- Adjusted table column visibility using Bootstrap (`d-none`, `d-md-table-cell`).
- Updated JS event handlers and column indices for responsive layout support.
- Replaced filter button group with a hamburger dropdown on mobile/tablet.
- Used Bootstrap responsive display classes to toggle between dropdown and full button set.
- Optimized card header space for smaller devices.
2025-09-20 12:58:38 +00:00
6eccaa58c1 feat: Add 'Day Usage' column to user table 2025-09-20 12:33:45 +00:00
eb55cfe248 style(ui): improve network metrics readability
- Increased font size for easier readability.
- Applied bold font weight for better emphasis.
2025-09-18 21:27:40 +00:00
6b429a6e49 feat(frontend): display server IP addresses on dashboard 2025-09-18 21:22:41 +00:00
fd969af7ff feat(api): include server IPs in status endpoint 2025-09-18 21:21:10 +00:00
667da26274 feat(frontend): display current telegram backup interval in UI 2025-09-18 20:41:10 +00:00
88659a4e7d feat(api): add endpoint to get telegram backup interval 2025-09-18 20:39:12 +00:00
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
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
b9576cc3f0 feat: add MongoDB installation && Migration 2025-09-07 23:05:55 +03:30
5e43ed9aa6 Fixed the validation in the restore API endpoint 2025-09-07 00:01:13 +03:30
d5d4935f69 feat(users): Integrate real-time online status and enhance UI 2025-09-05 13:16:41 +02:00
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
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
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
495ed3a334 feat(frontend): implement bulk user creation UI 2025-08-21 00:14:52 +03:30
af2b599dd6 feat(api): add bulk user creation endpoint 2025-08-20 23:59:15 +03:30
8f684de732 Feat: Add online user filter to users page 2025-08-20 00:53:19 +03:30
738619b1e4 feat(ui): Redesign dashboard to display detailed server stats 2025-08-19 23:40:07 +03:30
b3595c691b feat(api): Integrate uptime and reboot traffic stats into server API 2025-08-19 23:39:01 +03:30
7587d5a4a8 feat: add extra configs management UI to settings page 2025-08-17 15:40:23 +03:30
68dde4f863 feat: add webpanel API for extra subscription configs 2025-08-17 15:39:20 +03:30
be5fe69f0b feat(web): Conditionally display IP limit UI based on service status 2025-08-13 23:06:43 +03:30
6c6576ae87 feat(web): Add unlimited IP controls to users page 2025-08-12 23:41:15 +03:30
644c43b504 refactor(api): Align user schemas with CLI output and new features 2025-08-12 23:37:11 +03:30
75033231f2 feat: Integrate unlimited IP functionality into web panel 2025-08-12 23:36:22 +03:30
68bd4f2b0a feat(frontend): make external nodes table responsive 2025-08-10 00:14:25 +03:30
6fa89e19f0 fix(ui): correctly populate edit modal for unlimited users 2025-08-08 01:34:03 +03:30
5bcbf0abb3 fix(viewmodel): prevent crash for users with no expiration date 2025-08-08 01:31:49 +03:30
133684f4fe fix: Resolve IP/domain validation 2025-08-06 15:16:27 +03:30
05993d013d feat(api): Add external node management endpoints 2025-08-06 14:45:35 +03:30
1bb5408f06 Merge pull request #218 from SeyedHashtag/original
 UI: Sticky Headers & Sides!
2025-07-09 19:20:01 +03:30
c72036b942 sidebar position is now fixed when scrolling long lists 2025-07-08 19:24:11 +03:30
237aff39c4 feat: Add sticky card-header with bokeh effect for improved UI 2025-07-08 18:07:59 +03:30
66bbf6db56 feat: add Enter key functionality to submit login form 2025-07-08 12:48:00 +03:30