[PR #451] [MERGED] refactor: config management #6738

Closed
opened 2026-03-01 17:14:02 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/0xJacky/nginx-ui/pull/451
Author: @0xJacky
Created: 7/25/2024
Status: Merged
Merged: 7/26/2024
Merged by: @0xJacky

Base: devHead: refactor/config


📝 Commits (6)

  • 53ae1a1 refactor: config management
  • 5dd2c8f feat: better breadcrumbs for config list and editor; add filename filter for configurations list.
  • ace8d7a feat: rename folder or file in configurations list
  • e75dce9 chore: update translations
  • 1c1da92 feat: deploy config to remote nodes #359
  • c9370a0 feat: update notification template for config sync

📊 Changes

64 files changed (+3373 additions, -1189 deletions)

View changed files

📝 api/config/add.go (+90 -49)
api/config/base_path.go (+13 -0)
📝 api/config/get.go (+30 -10)
📝 api/config/list.go (+6 -0)
api/config/mkdir.go (+37 -0)
📝 api/config/modify.go (+99 -8)
api/config/rename.go (+97 -0)
📝 api/config/router.go (+12 -1)
📝 api/user/otp.go (+7 -0)
📝 api/user/router.go (+7 -1)
📝 app/src/api/config.ts (+27 -1)
📝 app/src/api/otp.ts (+3 -0)
📝 app/src/components/Breadcrumb/Breadcrumb.vue (+15 -9)
app/src/components/Breadcrumb/types.d.ts (+9 -0)
app/src/components/Notification/cert.ts (+18 -0)
app/src/components/Notification/config.ts (+37 -0)
📝 app/src/components/Notification/detailRender.ts (+15 -19)
📝 app/src/components/OTP/useOTPModal.ts (+58 -55)
📝 app/src/components/StdDesign/StdDataDisplay/StdCurd.vue (+2 -2)
📝 app/src/components/StdDesign/StdDataDisplay/StdPagination.vue (+1 -0)

...and 44 more files

📄 Description

  • Added the capability to create new configuration files online.
  • Introduced a feature to rename configuration files.
  • Better breadcrumbs for configurations list and editor.
  • Add filename filter for configurations list.
  • Added the capability to create a new folder in configurations list.
  • Added the capability to rename folder or file in configurations list
  • Implemented deployment of configuration files to remote nodes. #359

🔄 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/0xJacky/nginx-ui/pull/451 **Author:** [@0xJacky](https://github.com/0xJacky) **Created:** 7/25/2024 **Status:** ✅ Merged **Merged:** 7/26/2024 **Merged by:** [@0xJacky](https://github.com/0xJacky) **Base:** `dev` ← **Head:** `refactor/config` --- ### 📝 Commits (6) - [`53ae1a1`](https://github.com/0xJacky/nginx-ui/commit/53ae1a1ef984b96d3e6fad8b9a2fbfa8dcdaf358) refactor: config management - [`5dd2c8f`](https://github.com/0xJacky/nginx-ui/commit/5dd2c8f93196a469bda2f5ad95ba10dc11d49f95) feat: better breadcrumbs for config list and editor; add filename filter for configurations list. - [`ace8d7a`](https://github.com/0xJacky/nginx-ui/commit/ace8d7a0fefc5a2548e22abf13dcef630bd008ab) feat: rename folder or file in configurations list - [`e75dce9`](https://github.com/0xJacky/nginx-ui/commit/e75dce92adb88c514c460fe45f49e752ea3935d1) chore: update translations - [`1c1da92`](https://github.com/0xJacky/nginx-ui/commit/1c1da923639b3dca80a3d3d85f9332e16c99ddfb) feat: deploy config to remote nodes #359 - [`c9370a0`](https://github.com/0xJacky/nginx-ui/commit/c9370a056200dada8cd5f5e64d7d1cebe7bc7663) feat: update notification template for config sync ### 📊 Changes **64 files changed** (+3373 additions, -1189 deletions) <details> <summary>View changed files</summary> 📝 `api/config/add.go` (+90 -49) ➕ `api/config/base_path.go` (+13 -0) 📝 `api/config/get.go` (+30 -10) 📝 `api/config/list.go` (+6 -0) ➕ `api/config/mkdir.go` (+37 -0) 📝 `api/config/modify.go` (+99 -8) ➕ `api/config/rename.go` (+97 -0) 📝 `api/config/router.go` (+12 -1) 📝 `api/user/otp.go` (+7 -0) 📝 `api/user/router.go` (+7 -1) 📝 `app/src/api/config.ts` (+27 -1) 📝 `app/src/api/otp.ts` (+3 -0) 📝 `app/src/components/Breadcrumb/Breadcrumb.vue` (+15 -9) ➕ `app/src/components/Breadcrumb/types.d.ts` (+9 -0) ➕ `app/src/components/Notification/cert.ts` (+18 -0) ➕ `app/src/components/Notification/config.ts` (+37 -0) 📝 `app/src/components/Notification/detailRender.ts` (+15 -19) 📝 `app/src/components/OTP/useOTPModal.ts` (+58 -55) 📝 `app/src/components/StdDesign/StdDataDisplay/StdCurd.vue` (+2 -2) 📝 `app/src/components/StdDesign/StdDataDisplay/StdPagination.vue` (+1 -0) _...and 44 more files_ </details> ### 📄 Description - [x] Added the capability to create new configuration files online. - [x] Introduced a feature to rename configuration files. - [x] Better breadcrumbs for configurations list and editor. - [x] Add filename filter for configurations list. - [x] Added the capability to create a new folder in configurations list. - [x] Added the capability to rename folder or file in configurations list - [x] Implemented deployment of configuration files to remote nodes. #359 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-01 17:14:02 +03: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
starred/nginx-ui#6738
No description provided.