[PR #5013] [CLOSED] feat: Register/ZarinPal/RBAC #5755

Closed
opened 2026-11-02 04:03:50 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/MHSanaei/3x-ui/pull/5013
Author: @IntelligentQuantum
Created: 6/6/2026
Status: ❌ Closed

Base: main ← Head: Q-UI


📝 Commits (10+)

  • bc03f94 feat(web): Add user self-registration
  • 4e4cd15 feat: RBAC
  • b7f30e7 fix: billing/user stats and sidebar balance
  • dc8f9f7 feat: income reports UI and backend report service
  • 131c046 Update README.md
  • 60eaf89 feat: build.sh and ignore build/ and vendor
  • 6cda79a Merge branch 'Q-UI' of github.com:IntelligentQuantum/3x-ui into Q-UI
  • 65b10ee fix: Allow overriding LDFLAGS; default static musl
  • 61ee6d7 Update install.sh
  • 825a557 Merge branch 'main' into Q-UI

📊 Changes

63 files changed (+5467 additions, -147 deletions)

View changed files

📝 .env.example (+24 -1)
📝 .gitignore (+4 -0)
📝 Dockerfile (+5 -1)
📝 README.md (+1 -1)
➕ build.sh (+164 -0)
📝 database/db.go (+27 -1)
📝 database/model/model.go (+83 -6)
➕ frontend/register.html (+14 -0)
📝 frontend/src/api/queries/useAllSettings.ts (+6 -0)
➕ frontend/src/entries/register.tsx (+31 -0)
📝 frontend/src/hooks/useClients.ts (+8 -0)
➕ frontend/src/hooks/useCurrency.ts (+42 -0)
➕ frontend/src/hooks/useMe.ts (+60 -0)
📝 frontend/src/hooks/usePageTitle.ts (+4 -0)
📝 frontend/src/layouts/AppSidebar.css (+40 -0)
📝 frontend/src/layouts/AppSidebar.tsx (+58 -12)
📝 frontend/src/layouts/PanelLayout.tsx (+27 -1)
📝 frontend/src/models/setting.ts (+7 -0)
➕ frontend/src/pages/billing/BillingPage.tsx (+240 -0)
📝 frontend/src/pages/clients/ClientFormModal.tsx (+30 -0)

...and 43 more files

📄 Description

Summary

Why

Type of change

  • Bug fix
  • New feature
  • Refactoring (no behavior change)
  • Documentation
  • Tests only
  • Build / CI / tooling
  • Other

Areas affected

  • Frontend (UI / panel pages)
  • Backend (API endpoints, login, settings)
  • Xray config generation
  • Subscription (share links / Clash / JSON)
  • Statistics / traffic counters
  • Database / migrations
  • Install / upgrade script
  • Docker image
  • Multi-node (sub-nodes)
  • Telegram bot

How was this tested?

Screenshots / recordings

Breaking changes

Checklist

  • I tested the change locally and confirmed the described behavior.
  • I added or updated tests for the new behavior (when applicable).
  • go build ./... and the test suite pass locally.
  • For frontend changes: npm run lint, npm run typecheck, and npm run build pass.
  • I updated the Wiki / README / API docs if user-facing behavior changed.
  • My commits follow the project's existing message style.
  • I have no unrelated changes mixed into this PR.

🔄 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/5013 **Author:** [@IntelligentQuantum](https://github.com/IntelligentQuantum) **Created:** 6/6/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `Q-UI` --- ### 📝 Commits (10+) - [`bc03f94`](https://github.com/MHSanaei/3x-ui/commit/bc03f9460a6746fa4179b28319903df7b0046741) feat(web): Add user self-registration - [`4e4cd15`](https://github.com/MHSanaei/3x-ui/commit/4e4cd154dead926a6b37549bb93de5c6851f9ed3) feat: RBAC - [`b7f30e7`](https://github.com/MHSanaei/3x-ui/commit/b7f30e75b797703f6dd4f6af92358097a1ef6d0f) fix: billing/user stats and sidebar balance - [`dc8f9f7`](https://github.com/MHSanaei/3x-ui/commit/dc8f9f7c23d609d51c5c3973cdb7e46e5751a048) feat: income reports UI and backend report service - [`131c046`](https://github.com/MHSanaei/3x-ui/commit/131c046dade3aac26abf9d32484753d5313b8ee6) Update README.md - [`60eaf89`](https://github.com/MHSanaei/3x-ui/commit/60eaf89d6501fba99f2f2288389de1b4cc7a7089) feat: build.sh and ignore build/ and vendor - [`6cda79a`](https://github.com/MHSanaei/3x-ui/commit/6cda79ae3bf3a99c07cf915d5561e8d8810cbc0e) Merge branch 'Q-UI' of github.com:IntelligentQuantum/3x-ui into Q-UI - [`65b10ee`](https://github.com/MHSanaei/3x-ui/commit/65b10ee5aa4fc182779f4fa62965c94d080326b8) fix: Allow overriding LDFLAGS; default static musl - [`61ee6d7`](https://github.com/MHSanaei/3x-ui/commit/61ee6d715b4dbf35eb8519d82f5c2322af521a09) Update install.sh - [`825a557`](https://github.com/MHSanaei/3x-ui/commit/825a557867ef9f576af0f8ce646a7540206ba40b) Merge branch 'main' into Q-UI ### 📊 Changes **63 files changed** (+5467 additions, -147 deletions) <details> <summary>View changed files</summary> 📝 `.env.example` (+24 -1) 📝 `.gitignore` (+4 -0) 📝 `Dockerfile` (+5 -1) 📝 `README.md` (+1 -1) ➕ `build.sh` (+164 -0) 📝 `database/db.go` (+27 -1) 📝 `database/model/model.go` (+83 -6) ➕ `frontend/register.html` (+14 -0) 📝 `frontend/src/api/queries/useAllSettings.ts` (+6 -0) ➕ `frontend/src/entries/register.tsx` (+31 -0) 📝 `frontend/src/hooks/useClients.ts` (+8 -0) ➕ `frontend/src/hooks/useCurrency.ts` (+42 -0) ➕ `frontend/src/hooks/useMe.ts` (+60 -0) 📝 `frontend/src/hooks/usePageTitle.ts` (+4 -0) 📝 `frontend/src/layouts/AppSidebar.css` (+40 -0) 📝 `frontend/src/layouts/AppSidebar.tsx` (+58 -12) 📝 `frontend/src/layouts/PanelLayout.tsx` (+27 -1) 📝 `frontend/src/models/setting.ts` (+7 -0) ➕ `frontend/src/pages/billing/BillingPage.tsx` (+240 -0) 📝 `frontend/src/pages/clients/ClientFormModal.tsx` (+30 -0) _...and 43 more files_ </details> ### 📄 Description ## Summary <!-- What does this PR do? One or two sentences. --> ## Why <!-- What problem does this solve, or what use case does it enable? Link related issues here: "Closes #123", "Refs #456". --> ## Type of change - [ ] Bug fix - [ ] New feature - [ ] Refactoring (no behavior change) - [ ] Documentation - [ ] Tests only - [ ] Build / CI / tooling - [ ] Other ## Areas affected - [ ] Frontend (UI / panel pages) - [ ] Backend (API endpoints, login, settings) - [ ] Xray config generation - [ ] Subscription (share links / Clash / JSON) - [ ] Statistics / traffic counters - [ ] Database / migrations - [ ] Install / upgrade script - [ ] Docker image - [ ] Multi-node (sub-nodes) - [ ] Telegram bot ## How was this tested? <!-- Concrete steps the reviewer can repeat. For UI changes: which page, which actions, which browser. For backend: which endpoint, which payload, which response. Mention any new unit/integration tests added. --> ## Screenshots / recordings <!-- Required for UI changes. Drag images or GIFs here. Remove if N/A. --> ## Breaking changes <!-- Does this change require existing users to update their config, run a migration, or change their API calls? If yes, describe the migration path. Write "None" if there are no breaking changes. --> ## Checklist - [ ] I tested the change locally and confirmed the described behavior. - [ ] I added or updated tests for the new behavior (when applicable). - [ ] `go build ./...` and the test suite pass locally. - [ ] For frontend changes: `npm run lint`, `npm run typecheck`, and `npm run build` pass. - [ ] I updated the Wiki / README / API docs if user-facing behavior changed. - [ ] My commits follow the project's existing message style. - [ ] I have no unrelated changes mixed into this PR. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-02 04:03:50 +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#5755
No description provided.