[PR #234] [MERGED] Introduce custom interface rules, more #minor #381

Closed
opened 2026-03-04 01:36:35 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/spr-networks/super/pull/234
Author: @lts-rad
Created: 11/15/2023
Status: Merged
Merged: 11/16/2023
Merged by: @lts-rad

Base: mainHead: dev


📝 Commits (10+)

📊 Changes

74 files changed (+3610 additions, -1487 deletions)

View changed files

RELEASE-NOTES.md (+16 -0)
📝 api/code/api.go (+30 -1)
📝 api/code/firewall.go (+222 -5)
📝 api/code/interfaces.go (+15 -2)
📝 api/code/plugins.go (+28 -0)
📝 api/code/uplink.go (+16 -11)
api_sample_plugin/README.md (+30 -0)
📝 api_sample_plugin/code/sample_plugin.go (+26 -0)
📝 api_sample_plugin/docker-compose.yml (+1 -0)
📝 base/scripts/nft_rules.sh (+103 -31)
📝 frontend/package.json (+2 -2)
📝 frontend/src/App.js (+19 -1)
📝 frontend/src/App.web.js (+19 -1)
📝 frontend/src/AppContext.js (+14 -1)
📝 frontend/src/__tests__/Pfw.js (+1 -1)
📝 frontend/src/api/Firewall.js (+10 -1)
📝 frontend/src/api/MockAPI.js (+1 -1)
📝 frontend/src/api/Plugin.js (+11 -10)
📝 frontend/src/components/Accordion.js (+30 -11)
📝 frontend/src/components/ClientSelect.js (+2 -2)

...and 54 more files

📄 Description

  • New API /firewall/custom_interface for joining new interfaces to the network, as if they were devices. Supports assigning device groups such as wan, lan, dns and custom groups.
  • New container networks view for an overview of the docker containers on custom (non-default) networks.
  • Firewall view has new Custom Interface Access rules for updating custom_interface rules
  • Introduce "Simple" view for UI to reduce cognitive overload for new users
  • Wireguard clients can now access LAN services again
  • Add base/configs/custom_compose_paths.json support to superd, enabling loading of custom compose files from the UI
  • Pretty Events in Event Log

Fixes

  • UI errors related to the gluestack migration (wifi uplink, PFW, misc)
  • Fix tag and group list normalization to remove empty entries
  • VPN Endpoint/Domain name add was broken

🔄 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/spr-networks/super/pull/234 **Author:** [@lts-rad](https://github.com/lts-rad) **Created:** 11/15/2023 **Status:** ✅ Merged **Merged:** 11/16/2023 **Merged by:** [@lts-rad](https://github.com/lts-rad) **Base:** `main` ← **Head:** `dev` --- ### 📝 Commits (10+) - [`ec87e4f`](https://github.com/spr-networks/super/commit/ec87e4f5428a7ceec512d4bcd9a47568318d2374) [ui] add ModalContext - [`a51094c`](https://github.com/spr-networks/super/commit/a51094cdc6160cfe34b1bd3f40586d29ca699610) [ui] use ModalContext - [`8daaf76`](https://github.com/spr-networks/super/commit/8daaf76213e1e0f087dd682e6d464fcd8fe99c6a) [ui] use ModalContext - [`808b781`](https://github.com/spr-networks/super/commit/808b781cbc849573bf2497c051640c493c0fbf7a) [ui] add and use EditDatabase - [`d834648`](https://github.com/spr-networks/super/commit/d834648f6eb09e62d66302fbd0042370ea162287) [ui] fix if null in selects - [`39cc5bb`](https://github.com/spr-networks/super/commit/39cc5bb733c6e3347845d57892bd3bf168105e22) [ui] add back edit events - [`9af488e`](https://github.com/spr-networks/super/commit/9af488e897d810bcb70fff9747d1bb11274ac08f) [ui] edit event views - [`d0e97d2`](https://github.com/spr-networks/super/commit/d0e97d2b85c00dbf87d760eaa6b8eaafee2ac5f9) [ui] edit event views - [`9768ec9`](https://github.com/spr-networks/super/commit/9768ec9e8c72dcf67d7df88f753358d65c393e5f) [ui] add component - [`d224be2`](https://github.com/spr-networks/super/commit/d224be22d477b96eea713bb16fb2f74680639976) [ui] add pagination component ### 📊 Changes **74 files changed** (+3610 additions, -1487 deletions) <details> <summary>View changed files</summary> ➕ `RELEASE-NOTES.md` (+16 -0) 📝 `api/code/api.go` (+30 -1) 📝 `api/code/firewall.go` (+222 -5) 📝 `api/code/interfaces.go` (+15 -2) 📝 `api/code/plugins.go` (+28 -0) 📝 `api/code/uplink.go` (+16 -11) ➕ `api_sample_plugin/README.md` (+30 -0) 📝 `api_sample_plugin/code/sample_plugin.go` (+26 -0) 📝 `api_sample_plugin/docker-compose.yml` (+1 -0) 📝 `base/scripts/nft_rules.sh` (+103 -31) 📝 `frontend/package.json` (+2 -2) 📝 `frontend/src/App.js` (+19 -1) 📝 `frontend/src/App.web.js` (+19 -1) 📝 `frontend/src/AppContext.js` (+14 -1) 📝 `frontend/src/__tests__/Pfw.js` (+1 -1) 📝 `frontend/src/api/Firewall.js` (+10 -1) 📝 `frontend/src/api/MockAPI.js` (+1 -1) 📝 `frontend/src/api/Plugin.js` (+11 -10) 📝 `frontend/src/components/Accordion.js` (+30 -11) 📝 `frontend/src/components/ClientSelect.js` (+2 -2) _...and 54 more files_ </details> ### 📄 Description * New API `/firewall/custom_interface` for joining new interfaces to the network, as if they were devices. Supports assigning device groups such as `wan`, `lan`, `dns` and custom groups. * New container networks view for an overview of the docker containers on custom (non-default) networks. * Firewall view has new `Custom Interface Access` rules for updating `custom_interface` rules * Introduce "Simple" view for UI to reduce cognitive overload for new users * Wireguard clients can now access LAN services again * Add `base/configs/custom_compose_paths.json` support to superd, enabling loading of custom compose files from the UI * Pretty Events in Event Log **Fixes** * UI errors related to the gluestack migration (wifi uplink, PFW, misc) * Fix tag and group list normalization to remove empty entries * VPN Endpoint/Domain name add was broken --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-04 01:36:35 +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/super#381
No description provided.