Commit Graph

31 Commits

Author SHA1 Message Date
Herbert Wolverson
d4f479dab8 More config work in progress. 2024-04-30 09:32:46 -05:00
Herbert Wolverson
1ad80a278c Basic network json viewer, shaped devices viewer. All read-only still, but progress. 2024-04-26 12:56:06 -05:00
Herbert Wolverson
3e9fb1e518 Add NIC drop-down lists to config editor 2024-04-25 12:53:16 -05:00
Herbert Wolverson
7ad6001646 Config system can now display the whole lqos.conf file. 2024-04-25 12:31:17 -05:00
Herbert Wolverson
f3c6b344b7 WIP - Current status on config page 2024-04-25 09:02:04 -05:00
Herbert Wolverson
062e1e7eb8 Minimal read-only view of most of the configuration - a good start. 2024-04-24 15:43:43 -05:00
Herbert Wolverson
920399c4e5 Add favicon with explicit link rel element to call it. 2023-03-28 21:05:13 +00:00
Herbert Wolverson
1daf727374 Consistent naming: 'tree' not 'funnel'. 2023-03-22 15:34:02 +00:00
Herbert Wolverson
b56e44b1d2 At the expense of a nice margin/gutter. Sigh. 2023-03-20 16:12:56 +00:00
Herbert Wolverson
d14526e0a5 ISSUE #183 - Remove the redundant "dashboard" link from all pages,
since the logo already links to the dashboard.
2023-03-20 16:07:08 +00:00
Herbert Wolverson
6575517040 Squish JSON into MsgPack for most common queries, resulting in a big reduction in bandwidth usage. 2023-03-08 21:08:38 +00:00
Herbert Wolverson
9fa1318350 Lots of polish. Funnel chart on the front page, rename menu item to tree, move login to the right section, breadcrumbs in the tree. 2023-03-07 15:41:15 +00:00
Dave Taht
6671eb7c64 Updated copyrights to 2022-2023
Someday I hope something other than my amazing sed skills will be
of use in refactoring this project.
2023-02-25 15:46:32 -08:00
Dave Taht
a58ce5cd0b Finished conversion to lqusers from webusers
Note that you will need to regenerate the webusers.toml file
after this.

Part of my motivation for this is that this file is not strictly
for governing web permissions in the future.
2023-02-09 15:26:27 +00:00
Herbert Wolverson
d688522c13 Hide UI elements for features that aren't ready yet. 2023-02-03 15:51:59 +00:00
Interduo
f6927c3c27 bugfix: set propper path 2023-01-24 15:31:00 +01:00
Interduo
f5b3163c81 Update config.html 2023-01-23 14:13:38 +01:00
Dave Taht
3d6e214616 Add defer option to all html
If this actually breaks anything, we can revert.
2023-01-17 17:00:30 -08:00
Herbert Wolverson
c2ae327c48 Rename "use_kernel_bridge" in "/etc/lqos" to "use_xdp_bridge"
The previous wording was confusing, making people think that the
configuration entry was referring to the Linux bridge - while it
meant "use the XDP bridge that happens to run in kernel space".

The new wording should be more obvious.
2023-01-13 18:18:46 +00:00
Herbert Wolverson
44171d15ea Support redaction mode. 2023-01-12 16:13:10 +00:00
Herbert Wolverson
8fade0b1b1 Add a CSS file and move a lot of inline styles out of the body. 2023-01-12 14:57:23 +00:00
Herbert Wolverson
0715f76022 Remove redundant reload link 2023-01-11 18:22:56 +00:00
Herbert Wolverson
7b0715756f Real-time reloading of lqosd tunables and queue check frequency
Extends the bus to include a "reload lqosd" command that reloads
the tunables and queue frequency in real-time, without requiring
a bridge restart.
2023-01-11 18:16:30 +00:00
Herbert Wolverson
393a489bca Allow logged-in users to update ispConfig.py via web UI
1) lqos_config understands writing to a new ispConfig.py file, copying the
   previous one and amending to avoid changing any not-covered data.
2) The web UI can adjust the config, upload a new one and it is saved.

Signed-off-by: Herbert Wolverson <herberticus@gmail.com>
2023-01-10 16:12:09 +00:00
Herbert Wolverson
165dae030b Adds an authentication system.
* The new Rust utility "webusers" manages /opt/libreqos/webusers.toml.
* You can add/update/remove/list users from that tool.
* The "allow anonymous" option in webusers.toml permits access for
  unauthenticated users, but won't let them change anything. This is
  for payne demonstrations.
* All web APIs and pages should now be secured, requiring a login.
* The login requires cookies.

Signed-off-by: Herbert Wolverson <herberticus@gmail.com>
2023-01-10 14:12:51 +00:00
Herbert Wolverson
56f421daed TC Queue Check Frequency and Display
* The frequency with which TC queues are polled for statistics is
  now controled by `queue_check_period_ms` in `/etc/lqos`.
* Example file updated.
* Configuration display updated.

This is designed to act as a compromise: for detailed analysis, it
can be updated to a low number. For regular running, it can be updated
to 1000 or more.

Signed-off-by: Herbert Wolverson <herberticus@gmail.com>
2023-01-10 14:12:50 +00:00
Herbert Wolverson
fbd3c22566 Missing td tags 2023-01-10 14:12:50 +00:00
Herbert Wolverson
2d9937518a Read-only configuration of non-integration portions is working locally, sending upstream for testing. 2023-01-10 14:12:50 +00:00
Herbert Wolverson
8afdc2e0d1 WIP - Basic interface and Bifrost config displayable. 2023-01-10 14:12:50 +00:00
Herbert Wolverson
64ae074fbe Oops - missed an active navlink tag
Signed-off-by: Herbert Wolverson <herberticus@gmail.com>
2023-01-10 14:12:50 +00:00
Herbert Wolverson
97ff2ad288 Work in progress: visual prototype for most of the configuration
system.

Signed-off-by: Herbert Wolverson <herberticus@gmail.com>
2023-01-10 14:12:50 +00:00