[PR #665] [MERGED] 🚀 Some improvements for x-ui.sh and ip job #4787

Closed
opened 2026-10-31 20:42:41 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/MHSanaei/3x-ui/pull/665
Author: @hamid-gh98
Created: 6/27/2023
Status: ✅ Merged
Merged: 7/1/2023
Merged by: @MHSanaei

Base: main ← Head: main


📝 Commits (10+)

📊 Changes

17 files changed (+385 additions, -251 deletions)

View changed files

➕ DockerEntrypoint.sh (+7 -0)
📝 DockerInit.sh (+18 -12)
📝 Dockerfile (+35 -8)
📝 README.md (+2 -1)
📝 config/config.go (+8 -0)
📝 database/db.go (+3 -1)
📝 install.sh (+4 -4)
📝 web/controller/inbound.go (+2 -1)
📝 web/html/xui/inbound_client_table.html (+3 -1)
📝 web/html/xui/inbounds.html (+3 -1)
📝 web/job/check_client_ip_job.go (+69 -96)
➕ web/job/clear_logs_job.go (+25 -0)
📝 web/service/inbound.go (+4 -8)
📝 web/service/server.go (+1 -3)
📝 web/web.go (+3 -0)
📝 x-ui.sh (+160 -115)
📝 xray/process.go (+38 -0)

📄 Description

  • updated warp script url to new one (moved script from gist to repo)
  • updated ui: changed infinity emoji to svg
  • added fail2ban for docker
  • added env for 3x-ui log folder (XUI_LOG_FOLDER)
  • fixed x-ui.sh (grep jail files not found)
  • updated x-ui.sh
  • added cronjob for clear logs

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/MHSanaei/3x-ui/pull/665 **Author:** [@hamid-gh98](https://github.com/hamid-gh98) **Created:** 6/27/2023 **Status:** ✅ Merged **Merged:** 7/1/2023 **Merged by:** [@MHSanaei](https://github.com/MHSanaei) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (10+) - [`243aa8a`](https://github.com/MHSanaei/3x-ui/commit/243aa8a5ae83bbb65850a7e9de6d76ec7a1d76d1) Update URL of install warp script - [`5b45b53`](https://github.com/MHSanaei/3x-ui/commit/5b45b53696595d842c6f3131a554ddd9ce4f554a) add env for log folder XUI_LOG_FOLDER - [`295f705`](https://github.com/MHSanaei/3x-ui/commit/295f7056843086d3643bfd93d908c7c3b0373743) Update x-ui.sh to use release variable for install packages - [`2185903`](https://github.com/MHSanaei/3x-ui/commit/218590394e537de72530ee36a13541c490113380) Update x-ui.sh to apply single source of truth for jail file - [`5114a13`](https://github.com/MHSanaei/3x-ui/commit/5114a13bb71daab15ded713cc971bfe3e6be2a06) Update x-ui.sh to use the log env variable - [`4627b44`](https://github.com/MHSanaei/3x-ui/commit/4627b44e6f5e234b1a31d14c4980aea387b8ffbd) Fix x-ui.sh when using grep for iplimit jail - [`62762c5`](https://github.com/MHSanaei/3x-ui/commit/62762c54ce54d7e28824227d0bbd0c184b0c7755) Remove Sudo from x-ui.sh - [`ac8b218`](https://github.com/MHSanaei/3x-ui/commit/ac8b218545a7ef6aa9cd4e10bb58e7b562e026f2) add fail2ban and configure it for docker - [`8ef89ea`](https://github.com/MHSanaei/3x-ui/commit/8ef89eaa995a8085ae6916539b8c183fbf89d4c9) move paths to xray process - [`92d0ee8`](https://github.com/MHSanaei/3x-ui/commit/92d0ee8c01d77a227465262e1bc4a70776ac612b) Merge branch 'main' of https://github.com/hamid-gh98/3x-ui into main ### 📊 Changes **17 files changed** (+385 additions, -251 deletions) <details> <summary>View changed files</summary> ➕ `DockerEntrypoint.sh` (+7 -0) 📝 `DockerInit.sh` (+18 -12) 📝 `Dockerfile` (+35 -8) 📝 `README.md` (+2 -1) 📝 `config/config.go` (+8 -0) 📝 `database/db.go` (+3 -1) 📝 `install.sh` (+4 -4) 📝 `web/controller/inbound.go` (+2 -1) 📝 `web/html/xui/inbound_client_table.html` (+3 -1) 📝 `web/html/xui/inbounds.html` (+3 -1) 📝 `web/job/check_client_ip_job.go` (+69 -96) ➕ `web/job/clear_logs_job.go` (+25 -0) 📝 `web/service/inbound.go` (+4 -8) 📝 `web/service/server.go` (+1 -3) 📝 `web/web.go` (+3 -0) 📝 `x-ui.sh` (+160 -115) 📝 `xray/process.go` (+38 -0) </details> ### 📄 Description - updated warp script url to new one (moved script from gist to repo) - updated ui: changed infinity emoji to svg - added fail2ban for docker - added env for 3x-ui log folder (`XUI_LOG_FOLDER`) - fixed x-ui.sh (grep jail files not found) - updated x-ui.sh - added cronjob for clear logs --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-31 20:42:41 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MHSanaei/3x-ui#4787
No description provided.