[PR #347] [MERGED] [Feature] import/export database in the panel #4714

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

📋 Pull Request Information

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

Base: main ← Head: main


📝 Commits (10+)

📊 Changes

15 files changed (+281 additions, -26 deletions)

View changed files

📝 .gitignore (+1 -0)
📝 README.md (+2 -2)
📝 database/db.go (+12 -0)
📝 main.go (+1 -2)
📝 web/assets/css/custom.css (+1 -1)
📝 web/assets/js/axios-init.js (+8 -4)
📝 web/controller/server.go (+24 -2)
📝 web/html/common/text_modal.html (+2 -1)
📝 web/html/xui/index.html (+93 -11)
📝 web/html/xui/settings.html (+1 -1)
📝 web/service/inbound.go (+10 -1)
📝 web/service/server.go (+105 -1)
📝 web/translation/translate.en_US.toml (+7 -0)
📝 web/translation/translate.fa_IR.toml (+7 -0)
📝 web/translation/translate.zh_Hans.toml (+7 -0)

📄 Description

  • added feature to import/export database in the panel in backup modal
  • added api route to upload db 'server/importDB'
  • updated translation

🔄 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/347 **Author:** [@hamid-gh98](https://github.com/hamid-gh98) **Created:** 5/5/2023 **Status:** ✅ Merged **Merged:** 5/6/2023 **Merged by:** [@MHSanaei](https://github.com/MHSanaei) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (10+) - [`55c1fe2`](https://github.com/MHSanaei/3x-ui/commit/55c1fe26fba88210f0b24fcdeaf3cff6f779e741) add import db api route - [`85c715a`](https://github.com/MHSanaei/3x-ui/commit/85c715a2f610aad306e1ef9c3856f2264b01124e) update axios-init and db.go - [`c8baf5c`](https://github.com/MHSanaei/3x-ui/commit/c8baf5ceee27385f753a3d09d95e02efb3bc45cf) add modal and button for import/export db - [`bed3cd4`](https://github.com/MHSanaei/3x-ui/commit/bed3cd445d70df3081df20cba7acd563e012f172) update translation - [`c8023b7`](https://github.com/MHSanaei/3x-ui/commit/c8023b7c8d4e211f5a1ae61430dac54e1f5d84dd) update README.md - [`733a011`](https://github.com/MHSanaei/3x-ui/commit/733a011b28a74f7435a84abd821c17703a3e6808) update .gitignore - [`0a5811a`](https://github.com/MHSanaei/3x-ui/commit/0a5811adf8077aa008d4ff795092d8ca547999e1) update style - [`26f160f`](https://github.com/MHSanaei/3x-ui/commit/26f160fb89f1356f9ec69e2bdfad32d5b543325a) add MigrateDB func for a single source of truth - [`d405141`](https://github.com/MHSanaei/3x-ui/commit/d405141ad07ed37484c7c9321cd201d303b3f4fa) Merge branch 'MHSanaei:main' into main - [`6602c55`](https://github.com/MHSanaei/3x-ui/commit/6602c55f3c8ab21e5690ef4bc60e402cad8486cd) Update main.go ### 📊 Changes **15 files changed** (+281 additions, -26 deletions) <details> <summary>View changed files</summary> 📝 `.gitignore` (+1 -0) 📝 `README.md` (+2 -2) 📝 `database/db.go` (+12 -0) 📝 `main.go` (+1 -2) 📝 `web/assets/css/custom.css` (+1 -1) 📝 `web/assets/js/axios-init.js` (+8 -4) 📝 `web/controller/server.go` (+24 -2) 📝 `web/html/common/text_modal.html` (+2 -1) 📝 `web/html/xui/index.html` (+93 -11) 📝 `web/html/xui/settings.html` (+1 -1) 📝 `web/service/inbound.go` (+10 -1) 📝 `web/service/server.go` (+105 -1) 📝 `web/translation/translate.en_US.toml` (+7 -0) 📝 `web/translation/translate.fa_IR.toml` (+7 -0) 📝 `web/translation/translate.zh_Hans.toml` (+7 -0) </details> ### 📄 Description - added feature to import/export database in the panel in backup modal - added api route to upload db 'server/importDB' - updated translation --- <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:12 +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#4714
No description provided.