Feat: add optional cobrand logo support #1032

This commit is contained in:
Herbert Wolverson committed 2026-04-14 09:26:41 -05:00
1 parent 36af470352
commit cc8bfdc734
15 files changed
+687 -10

No files matched your search

+5
View File
@@ -47,6 +47,11 @@ Note: If you find that traffic is not being shaped when it should, please make s
After changing any part of `/etc/lqos.conf` it is highly recommended to always restart lqosd, using `sudo systemctl restart lqosd`. This re-parses any new values in lqos.conf, making those new values accessible to both the Rust and Python sides of the code.
Optional cobrand logo:
- `display_cobrand` is an optional top-level boolean in `/etc/lqos.conf`.
- If the key is omitted, LibreQoS treats it as `false`.
- The WebUI only shows the operator logo when `display_cobrand = true` and `cobrand.png` exists in the runtime static assets directory.
#### Netflow (optional)
To enable netflow, add the following `[flows]` section to the `/etc/lqos.conf` configuration file, setting the appropriate `netflow_ip`:
```
+6
View File
@@ -46,6 +46,12 @@ Topology note:
Queue-mode note:
- Current builds use `queue_mode` with `shape` and `observe` values. Older `monitor_only` wording is a compatibility alias rather than the primary operator-facing setting.
Cobrand logo note:
- `Configuration -> General` includes an optional cobrand image toggle and PNG upload.
- LibreQoS saves the uploaded file as `cobrand.png` in the runtime static assets directory.
- The top-level `display_cobrand` setting in `/etc/lqos.conf` is optional. If it is omitted, LibreQoS treats it as `false`.
- The sidebar renders the cobrand image at 48px tall to match the LibreQoS logo, with a maximum sidebar width of 176px.
## Operating Modes and Source of Truth
Read this first before production changes: