Commit Graph
951 Commits
Author SHA1 Message Date
nicolargo 3e8e4c4ee8 Glances v5 - Fix findings of the 2026-09-13 code review
High
- config: an unreadable or unparsable glances.conf stops Glances (exit 2)
  instead of being skipped (v4 parity)
- ip: public API address policy enforced on the connection itself
  (redirects, re-resolution), shared address space rejected, credentials
  dropped on cross-origin redirects

Medium
- network: per-direction capacity is the full link speed (no /2)
- quicklook: GPU means read the gpu collection envelope
- mcp: top_processes_report accepts the collection envelope
- webserver/routes: password hashing off the event loop
- actions: no relaunch while a run is in flight, dedicated pool,
  optional [alerts] action_timeout
- alerts: vanished items resolve through hysteresis and are forgotten
- processlist: NI on 3 columns, integers never truncated
- tui: full-quicklook width leaves room for LOAD, percpu keeps its labels
  when the cascade hides quicklook, control characters painted as spaces
- fs: show/hide also match the device name
- webui: memswap/load without stats render dashes, quicklook bars keep a
  width without the CPU header, percpu twin of the quicklook rule

Low
- non-ASCII Basic auth username returns 401
- DNS rebinding warning follows --bind
- CSV export realigns reordered columns instead of rotating
- a failed cycle no longer doubles the next rate
- sensors <label>_<type> alias restored
- programs view NI formatting, Windows dpc in TUI and WebUI
- network rates 1000-1023 K/M/G fit their column
- webui footer shows resolutions as resolved, header cascade runs
  before text is cropped
- webpack dev server port parsed as a number
2026-09-13 13:09:54 +02:00
nicolargo b6af741e6c WebUI v5 - Top bar is completed 2026-09-13 10:05:55 +02:00
nicolargo 01c3b9c01c WebUi left side bar ok 2026-09-12 20:46:08 +02:00
nicolargo adb96320ef Merge branch 'develop' into develop-v5 2026-09-12 17:24:52 +02:00
nicolargo 98e25644c5 WebUI resize 2026-09-12 10:56:43 +02:00
datrixlab ac741d299c Read web_x_ssl_verify as a boolean, not as a CA bundle path
GlancesWebList takes web_x_ssl_verify through config.get_value(), which
returns the raw string, and hands it to requests.head(verify=...).
Requests reads a string verify as the path to a CA bundle, so the value
from the configuration file is looked up as a file name:

    verify='false'            -> OSError: Could not find a suitable TLS CA
    verify='true'             -> OSError: ... invalid path: true
    verify=False / verify=True -> the request is actually made

ThreadScanner._web_scan catches everything and sets status='Error', so the
URL sits permanently red in the curses view and the WebUI, with only a
debug-level log line to explain it. Setting the key to true, which is what
a user does to turn verification back on explicitly, breaks the scan the
same way as false.

Read it with config.get_bool_value(), the helper the network and diskio
plugins already use for their switches, and keep a non-boolean value as a
string: a path to a CA bundle is a valid value for requests' verify, and
that is the one form that worked before.

The key was undocumented, which is probably how this survived; document it
next to the other web_x_ options in conf/glances.conf and docs/aoa/ports.rst.
2026-09-12 11:31:29 +07:00
nicolargo e3b28bfa67 WebUI top menu ok 2026-09-11 19:40:37 +02:00
nicolargo 7f4079480d Report some features from Glances v4 2026-09-11 08:10:09 +02:00
nicolargo 0bb7ca954d v4 vs v5 feature inventory 2026-09-10 21:03:36 +02:00
nicolargo 7cf524982d Report patch from develop 2026-09-10 20:37:29 +02:00
nicolargo e761611481 Correct conflict 2026-09-10 19:26:29 +02:00
nicolargo 5ba16bb2a7 G9-4 done - WebUU with cpu, load, memeswap, gpu and network 2026-09-10 18:46:28 +02:00
nicolargo 4986c901d4 First version of the WebUI with Mem and Network 2026-09-06 21:25:14 +02:00
nicolargo dd53508e9c Serve the WebUI from the v5 FastAPI app, add /api/5/args (#1527) 2026-09-05 18:20:06 +02:00
nicolargo ef2a09cca4 Filter the REST/MCP payload through the plugin, add AMP result_float (#3211, #3423, #1527) 2026-09-05 16:32:23 +02:00
nicolargo 84da2bfa0b Merge branch 'GHSA-56xw-p9qm-r437' into develop 2026-09-05 15:17:22 +02:00
nicolargo c3c76e5e9d Merge branch 'develop' into develop-v5 2026-09-05 11:10:39 +02:00
nicolargo 304bc49707 Update deps, WebUI and docs 2026-09-05 11:09:35 +02:00
nicolargo 2dbfb7bff1 Report patch for GHSA-56xw-p9qm-r437 2026-09-05 10:21:00 +02:00
nicolargo dfa991ffcb Argument Injection in On-Alert Action Commands via Unescaped Quote Characters in secure.py's Command Tokenizer - GHSA-56xw-p9qm-r437 2026-09-05 10:02:01 +02:00
nicolargo bfb77d9dce Add top process on alert 2026-08-30 21:14:52 +02:00
nicolargo 639c3d11f1 Change priority of plugin in TUI header 2026-08-29 16:29:40 +02:00
nicolargo 99645c711e Rework Alert max size 2026-08-29 10:40:07 +02:00
nicolargo dd0461417a First batch for export (CSV + JSON + InfluxDB 1,2 and 3) 2026-08-23 17:58:55 +02:00
nicolargo 87b01aee7d Implement alert plugin and TUI 2026-08-18 13:20:25 +02:00
nicolargo 0dfa2a635a Merge branch 'develop' into develop-v5 2026-08-06 14:36:55 +02:00
nicolargo 55e6838743 Make right sidebar height dynamic 2026-08-06 10:50:01 +02:00
Martin Rys 5db06438bb chore: Fix recommending deprecated docker-compose 2026-08-05 22:26:14 +02:00
Martin Rys e56ef5e531 chore: Fix macOS/Mac OS X usage 2026-08-05 22:24:25 +02:00
nicolargo f40067c531 G6c phase - Cloud, IRQ and MPP plugin 2026-08-05 11:35:01 +02:00
nicolargo 4913c5332a Implement limits in the Rest API 2026-08-04 10:55:13 +02:00
nicolargo b3911a46b5 Migration of AMP plugin 2026-08-03 15:18:37 +02:00
nicolargo f3b318dc99 Merge from develop 2026-08-02 09:47:00 +02:00
nicolargo 9167e21e2b Integrate new alert design in the plan 2026-08-01 17:54:02 +02:00
nicolargo 80167a3586 Align with Glances v4.5.6 2026-08-01 17:01:11 +02:00
nicolargo 6144d7a1ca Take into account latest security issues from Glances v4 2026-08-01 16:24:49 +02:00
nicolargo ce2f850628 version 4.5.6 2026-08-01 10:57:56 +02:00
nicolargo 613f09ca7f Correct issue on TU and upgrade lib dep 2026-08-01 10:53:33 +02:00
nicolargo dabe2d61e3 Move now plugin in the header in the TUI 2026-07-25 11:17:15 +02:00
nicolargo 4ff5386496 Connection and Folder plugins migration 2026-07-19 14:50:58 +02:00
nicolargo 29d3217e60 Correct issues in TUI 2026-07-18 18:26:20 +02:00
nicolargo a991427785 Implement containers and vms plugins 2026-07-14 22:46:46 +02:00
nicolargo d80553029e Add raid/smart/wifi/ip plugins 2026-07-13 19:22:21 +02:00
nicolargo 2521617163 Add global mean option 2026-07-13 10:34:39 +02:00
nicolargo 714c1c56a6 Migrate sensors plugin 2026-07-11 17:53:20 +02:00
nicolargo 57969218b7 Add GPU/NPU plugins 2026-07-05 11:47:16 +02:00
nicolargo a6c1c419ea Implement phase v2: Add qucklook plugin and responsive design for TUI 2026-06-20 19:49:28 +02:00
nicolargo 7a65950b99 Update Glances v5 architecture with latest Cyber Adv 2026-06-20 09:34:17 +02:00
nicolargo 9ee229d069 Merge branch 'develop' into develop-v5 2026-06-14 09:34:57 +02:00
nicolargo 988cad6847 version 4.5.5 2026-06-13 15:35:04 +02:00