From d0796b26c94da1132390446cf7a59c18ff36bb25 Mon Sep 17 00:00:00 2001 From: Ali Golzar <57574919+aliglzr@users.noreply.github.com> Date: Sun, 31 Aug 2025 00:31:57 +0330 Subject: [PATCH 1/2] fix(ui): hide Created/Updated columns and fix issues in small displays (#3400) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Hide the “Created” and “Updated” columns in the clients - Ensures the “All-time Traffic” column no longer overlaps with adjacent columns. - Improves layout readability and prevents UI cluttering after the v2.6.7 update. Closes #3399 --- web/html/inbounds.html | 6 ++--- web/html/modals/inbound_info_modal.html | 32 +++++++++++++++++++++++++ 2 files changed, 34 insertions(+), 4 deletions(-) diff --git a/web/html/inbounds.html b/web/html/inbounds.html index b0d9828f..1621807e 100644 --- a/web/html/inbounds.html +++ b/web/html/inbounds.html @@ -731,12 +731,12 @@ }, { title: '{{ i18n "pages.inbounds.traffic" }}', align: 'center', - width: 60, + width: 90, scopedSlots: { customRender: 'traffic' }, }, { title: '{{ i18n "pages.inbounds.allTimeTraffic" }}', align: 'center', - width: 60, + width: 70, scopedSlots: { customRender: 'allTimeInbound' }, }, { title: '{{ i18n "pages.inbounds.expireDate" }}', @@ -776,8 +776,6 @@ { title: '{{ i18n "pages.inbounds.traffic" }}', width: 80, align: 'center', scopedSlots: { customRender: 'traffic' } }, { title: '{{ i18n "pages.inbounds.allTimeTraffic" }}', width: 80, align: 'center', scopedSlots: { customRender: 'allTime' } }, { title: '{{ i18n "pages.inbounds.expireDate" }}', width: 80, align: 'center', scopedSlots: { customRender: 'expiryTime' } }, - { title: '{{ i18n "pages.inbounds.createdAt" }}', width: 90, align: 'center', scopedSlots: { customRender: 'createdAt' } }, - { title: '{{ i18n "pages.inbounds.updatedAt" }}', width: 90, align: 'center', scopedSlots: { customRender: 'updatedAt' } }, ]; const innerMobileColumns = [ diff --git a/web/html/modals/inbound_info_modal.html b/web/html/modals/inbound_info_modal.html index 3807be34..fe7d7a82 100644 --- a/web/html/modals/inbound_info_modal.html +++ b/web/html/modals/inbound_info_modal.html @@ -185,6 +185,38 @@ ↑ [[ SizeFormatter.sizeFormat(infoModal.clientStats.up) ]] / [[ SizeFormatter.sizeFormat(infoModal.clientStats.down) ]] ↓ + + {{ i18n "pages.inbounds.createdAt" }} + + + + + + + {{ i18n "pages.inbounds.updatedAt" }} + + + + + {{ i18n "comment" }} From 664269d513f4c122c9f5a713d3293777872d3353 Mon Sep 17 00:00:00 2001 From: Darkcyankitty Date: Sun, 31 Aug 2025 13:26:46 +0000 Subject: [PATCH 2/2] x-ui.service hardneing (#3397) --- x-ui.service | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/x-ui.service b/x-ui.service index 29d2a63a..3b375c3e 100644 --- a/x-ui.service +++ b/x-ui.service @@ -10,6 +10,13 @@ WorkingDirectory=/usr/local/x-ui/ ExecStart=/usr/local/x-ui/x-ui Restart=on-failure RestartSec=5s +ProtectHome=tmpfs +ProtectKernelModules=true +ProtectControlGroups=true +ProtectKernelLogs=true +ProtectHostname=true +ProtectClock=true +MemoryDenyWriteExecute=true [Install] -WantedBy=multi-user.target \ No newline at end of file +WantedBy=multi-user.target