[PR #545] [MERGED] 🔀 New Feature + Fix URLs + Some Improvements 🛠️🌐 #4760

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

📋 Pull Request Information

Original PR: https://github.com/MHSanaei/3x-ui/pull/545
Author: @hamid-gh98
Created: 5/31/2023
Status: ✅ Merged
Merged: 5/31/2023
Merged by: @MHSanaei

Base: main ← Head: main


📝 Commits (10+)

  • a2d8c98 create and move middlewares to seperate folder
  • 8170b65 add an option for webDomain
  • ea7fe09 use the middlewares
  • c9461f1 Update translations
  • fe963d9 some improvements
  • 6c26e40 fix qrModal.client is null
  • 1c9fc94 add buildURL func
  • b203067 fix urls + use the new buildURL func
  • ef7b979 move manual list to new tab
  • 6ae80fc add /id command to tgbot to get user id

📊 Changes

23 files changed (+274 additions, -206 deletions)

View changed files

📝 README.md (+38 -27)
📝 sub/sub.go (+5 -14)
📝 web/assets/js/model/models.js (+2 -1)
📝 web/assets/js/util/common.js (+18 -0)
📝 web/controller/inbound.go (+2 -0)
📝 web/controller/setting.go (+31 -66)
📝 web/entity/entity.go (+1 -0)
📝 web/global/hashStorage.go (+0 -2)
📝 web/html/common/qrcode_modal.html (+13 -17)
📝 web/html/xui/inbound_info_modal.html (+2 -6)
📝 web/html/xui/inbound_modal.html (+1 -1)
📝 web/html/xui/inbounds.html (+1 -1)
📝 web/html/xui/settings.html (+36 -23)
➕ web/middleware/domainValidator.go (+21 -0)
➕ web/middleware/redirect.go (+34 -0)
📝 web/service/inbound.go (+1 -0)
📝 web/service/setting.go (+6 -1)
📝 web/service/tgbot.go (+31 -16)
📝 web/translation/translate.en_US.toml (+5 -2)
📝 web/translation/translate.fa_IR.toml (+5 -2)

...and 3 more files

📄 Description

Hi,

  • Separated middlewares into another folder
  • Added web domain option
  • FIX some URLs and added the buildURL function
  • Moved the manual list to another tab
  • FIX qrModal.client is null
  • Added the command /id to the tgbot to retrieve the user ID
  • Some improvements
  • Updated translations
  • Updated README

🔄 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/545 **Author:** [@hamid-gh98](https://github.com/hamid-gh98) **Created:** 5/31/2023 **Status:** ✅ Merged **Merged:** 5/31/2023 **Merged by:** [@MHSanaei](https://github.com/MHSanaei) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (10+) - [`a2d8c98`](https://github.com/MHSanaei/3x-ui/commit/a2d8c98b0df39216787d2c77af6e499857510e9e) create and move middlewares to seperate folder - [`8170b65`](https://github.com/MHSanaei/3x-ui/commit/8170b65db4d38002f81825ea876dd3e4c9292931) add an option for webDomain - [`ea7fe09`](https://github.com/MHSanaei/3x-ui/commit/ea7fe09c27da8c12e38f581fd7a4b336b4e55ad7) use the middlewares - [`c9461f1`](https://github.com/MHSanaei/3x-ui/commit/c9461f1647f5c36f74f292208f7af105976e5c2b) Update translations - [`fe963d9`](https://github.com/MHSanaei/3x-ui/commit/fe963d91ef6c4ddb9e56709f993e8cc09f9786c4) some improvements - [`6c26e40`](https://github.com/MHSanaei/3x-ui/commit/6c26e40aea8f63b2f422c4f9fbf92c7ff1c0383c) fix qrModal.client is null - [`1c9fc94`](https://github.com/MHSanaei/3x-ui/commit/1c9fc9422e304c8710b56e9719960e429e7a1878) add buildURL func - [`b203067`](https://github.com/MHSanaei/3x-ui/commit/b203067dfd416bd45d34cc2dbaad85ab51fcb085) fix urls + use the new buildURL func - [`ef7b979`](https://github.com/MHSanaei/3x-ui/commit/ef7b979d53ba502a5354dd0cfb457e6c1febe125) move manual list to new tab - [`6ae80fc`](https://github.com/MHSanaei/3x-ui/commit/6ae80fc992924bb00dcea9a1a032f1bca3af4b30) add /id command to tgbot to get user id ### 📊 Changes **23 files changed** (+274 additions, -206 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+38 -27) 📝 `sub/sub.go` (+5 -14) 📝 `web/assets/js/model/models.js` (+2 -1) 📝 `web/assets/js/util/common.js` (+18 -0) 📝 `web/controller/inbound.go` (+2 -0) 📝 `web/controller/setting.go` (+31 -66) 📝 `web/entity/entity.go` (+1 -0) 📝 `web/global/hashStorage.go` (+0 -2) 📝 `web/html/common/qrcode_modal.html` (+13 -17) 📝 `web/html/xui/inbound_info_modal.html` (+2 -6) 📝 `web/html/xui/inbound_modal.html` (+1 -1) 📝 `web/html/xui/inbounds.html` (+1 -1) 📝 `web/html/xui/settings.html` (+36 -23) ➕ `web/middleware/domainValidator.go` (+21 -0) ➕ `web/middleware/redirect.go` (+34 -0) 📝 `web/service/inbound.go` (+1 -0) 📝 `web/service/setting.go` (+6 -1) 📝 `web/service/tgbot.go` (+31 -16) 📝 `web/translation/translate.en_US.toml` (+5 -2) 📝 `web/translation/translate.fa_IR.toml` (+5 -2) _...and 3 more files_ </details> ### 📄 Description Hi, - Separated middlewares into another folder - Added web domain option - FIX some URLs and added the `buildURL` function - Moved the manual list to another tab - FIX `qrModal.client` is null - Added the command `/id` to the tgbot to retrieve the user ID - Some improvements - Updated translations - Updated README --- <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:30 +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#4760
No description provided.