[PR #3701] [MERGED] feat: more subscription information fields #5509

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

📋 Pull Request Information

Original PR: https://github.com/MHSanaei/3x-ui/pull/3701
Author: @sh1shd
Created: 1/25/2026
Status: ✅ Merged
Merged: 1/26/2026
Merged by: @MHSanaei

Base: main ← Head: feat/sub-more-info


📝 Commits (3)

  • efc7a69 feat: more subscription information fields
  • fd32606 fix: incorrect translation
  • ca02648 feat: implement field for Happ custom routing rules

📊 Changes

19 files changed (+286 additions, -28 deletions)

View changed files

📝 sub/sub.go (+27 -1)
📝 sub/subController.go (+49 -19)
📝 web/assets/js/model/setting.js (+5 -0)
📝 web/entity/entity.go (+5 -0)
📝 web/html/settings/panel/subscription/general.html (+44 -7)
📝 web/service/setting.go (+25 -0)
📝 web/translation/translate.ar_EG.toml (+10 -0)
📝 web/translation/translate.en_US.toml (+10 -0)
📝 web/translation/translate.es_ES.toml (+10 -0)
📝 web/translation/translate.fa_IR.toml (+10 -0)
📝 web/translation/translate.id_ID.toml (+10 -0)
📝 web/translation/translate.ja_JP.toml (+10 -0)
📝 web/translation/translate.pt_BR.toml (+10 -0)
📝 web/translation/translate.ru_RU.toml (+11 -1)
📝 web/translation/translate.tr_TR.toml (+10 -0)
📝 web/translation/translate.uk_UA.toml (+10 -0)
📝 web/translation/translate.vi_VN.toml (+10 -0)
📝 web/translation/translate.zh_CN.toml (+10 -0)
📝 web/translation/translate.zh_TW.toml (+10 -0)

📄 Description

What is the pull request?

This pull request adds the ability to set the following parameters for the subscription server:

  • server support link
  • link to the server's website
  • an announcement from the server
  • routing rules configuration (only for Happ)

Which part of the application is affected by the change?

  • Frontend
  • Backend

Type of Changes

  • Bug fix
  • New feature
  • Refactoring
  • Other

Screenshots

Settings:
image
Preview (using Happ as Xray client):
image


🔄 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/3701 **Author:** [@sh1shd](https://github.com/sh1shd) **Created:** 1/25/2026 **Status:** ✅ Merged **Merged:** 1/26/2026 **Merged by:** [@MHSanaei](https://github.com/MHSanaei) **Base:** `main` ← **Head:** `feat/sub-more-info` --- ### 📝 Commits (3) - [`efc7a69`](https://github.com/MHSanaei/3x-ui/commit/efc7a69473068819e735f5aeb2371aabcaa0451c) feat: more subscription information fields - [`fd32606`](https://github.com/MHSanaei/3x-ui/commit/fd3260659f0e624735e1a2227b78cb5eb8ee5ac1) fix: incorrect translation - [`ca02648`](https://github.com/MHSanaei/3x-ui/commit/ca026483dfab8de8aa1d9e3851c2017f16a43460) feat: implement field for Happ custom routing rules ### 📊 Changes **19 files changed** (+286 additions, -28 deletions) <details> <summary>View changed files</summary> 📝 `sub/sub.go` (+27 -1) 📝 `sub/subController.go` (+49 -19) 📝 `web/assets/js/model/setting.js` (+5 -0) 📝 `web/entity/entity.go` (+5 -0) 📝 `web/html/settings/panel/subscription/general.html` (+44 -7) 📝 `web/service/setting.go` (+25 -0) 📝 `web/translation/translate.ar_EG.toml` (+10 -0) 📝 `web/translation/translate.en_US.toml` (+10 -0) 📝 `web/translation/translate.es_ES.toml` (+10 -0) 📝 `web/translation/translate.fa_IR.toml` (+10 -0) 📝 `web/translation/translate.id_ID.toml` (+10 -0) 📝 `web/translation/translate.ja_JP.toml` (+10 -0) 📝 `web/translation/translate.pt_BR.toml` (+10 -0) 📝 `web/translation/translate.ru_RU.toml` (+11 -1) 📝 `web/translation/translate.tr_TR.toml` (+10 -0) 📝 `web/translation/translate.uk_UA.toml` (+10 -0) 📝 `web/translation/translate.vi_VN.toml` (+10 -0) 📝 `web/translation/translate.zh_CN.toml` (+10 -0) 📝 `web/translation/translate.zh_TW.toml` (+10 -0) </details> ### 📄 Description ## What is the pull request? This pull request adds the ability to set the following parameters for the subscription server: - server support link - link to the server's website - an announcement from the server - routing rules configuration (only for Happ) ## Which part of the application is affected by the change? - [X] Frontend - [X] Backend ## Type of Changes - [ ] Bug fix - [X] New feature - [ ] Refactoring - [ ] Other ## Screenshots **Settings:** <img width="1405" height="730" alt="image" src="https://github.com/user-attachments/assets/48b2f7ad-4a3f-49fd-9ee4-a774f1cff16f" /> **Preview (using Happ as Xray client):** <img width="1280" height="549" alt="image" src="https://github.com/user-attachments/assets/bab965b1-a905-4015-aebf-d14f3c6ba959" /> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-31 20:47:27 +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#5509
No description provided.