Commit Graph

7371 Commits

Author SHA1 Message Date
nicolargo
dabe2d61e3 Move now plugin in the header in the TUI 2026-07-25 11:17:15 +02:00
nicolargo
53a262fe7e Change CPU ctx-switch events computation 2026-07-25 10:50:31 +02:00
nicolargo
73462411cc Merge branch 'develop-v5' of github.com:nicolargo/glances into develop-v5 2026-07-25 10:25:29 +02:00
nicolargo
8330c483dc Correct events for ports plugin 2026-07-25 10:25:02 +02:00
nicolargo
76de23b640 Merge branch 'develop' into develop-v5 2026-07-25 09:16:26 +02:00
nicolargo
a5f54c1ba3 Merge branch 'Matcinis-fix-get-ip-address-first-match' into develop 2026-07-25 09:14:21 +02:00
Martin Ďurana
3f3210d0fb Fix get_ip_address() returning the last interface instead of the first
The outer loop over network interfaces had no break, so ip_address was
overwritten by every subsequent up/non-loopback interface with a
matching address family. On hosts with Docker, this meant the bridge
IP (e.g. 172.18.0.1) was returned instead of the actual LAN address,
because virtual interfaces can sort after the real one in dict order.

Add a break once a match is found so the function returns the first
qualifying interface, plus regression tests covering the Docker case,
loopback/down-interface skipping, and the no-match case.

Fixes #3617

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015NJfi2d6yvmmDzvPmm4eof
2026-07-24 17:33:06 +02:00
github-actions[bot]
6ff5b3ae95 chore(v5): weekly merge from develop (2026-07-20) 2026-07-20 07:09:07 +00:00
nicolargo
de38569163 Improve CPU consumption 2026-07-19 16:15:34 +02:00
nicolargo
4876ecc3c3 Improve first refresh 2026-07-19 15:15:28 +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
fe6383e91a Add link to @yottajunaid launcher 2026-07-18 09:43:43 +02:00
nicolargo
a243053181 Merge branch 'develop' into develop-v5 2026-07-18 09:32:58 +02:00
Nicolas Hennion
872b551f2e Merge pull request #3614 from gabrielchangamire-arch/refactor/programlist-msg-curse-header
refactor(programlist): reduce cyclomatic complexity of _msg_curse_header
2026-07-18 09:32:29 +02:00
nicolargo
f42e5d6853 Merge branch 'develop' into develop-v5 2026-07-18 09:29:34 +02:00
nicolargo
11d66bc6e8 Lint the code 2026-07-18 09:29:06 +02:00
Nicolas Hennion
a0bf70bddc Merge pull request #3609 from yogendrarau/fix/csv-network-desync-3606
Fix CSV export column desync when list-plugin items change at runtime…
2026-07-18 09:24:46 +02:00
Gabriel Changamire
81301ab573 refactor(programlist): use truthiness check for nb_log_core (pylint C1805) 2026-07-16 23:48:04 -07:00
Gabriel Changamire
7f4911181e refactor(programlist): reduce cyclomatic complexity of _msg_curse_header
Replace the long chain of per-column if blocks with a table-driven
approach: _header_columns returns the ordered column spec and
_msg_curse_header iterates it. The Irix-mode CPU label logic moves to
a dedicated _cpu_header_msg helper.

Cyclomatic complexity: 27 (D) -> 7 (B) per radon, with helpers at A.
No behaviour change: output verified identical to the previous
implementation across 840 combinations of sort key, Irix mode, core
count, standalone/cursor flags and disabled stats.

Related to #3460
2026-07-15 16:51:09 -07:00
nicolargo
a991427785 Implement containers and vms plugins 2026-07-14 22:46:46 +02:00
nicolargo
2d6a5767a2 Merge branch 'develop' into develop-v5 2026-07-14 10:01:35 +02:00
nicolargo
a3b3a1396b Merge branch 'issue3611' into develop 2026-07-14 09:59:37 +02:00
nicolargo
3c016eb215 VideoCore (v3d) memory shows ~93% on Raspberry Pi 5 with gpu_mem=4M — misleading denominator from drm-total-memory #3611 2026-07-14 09:59:20 +02:00
nicolargo
5f6b84db65 Correct TUI init display in Alerts plugin 2026-07-14 09:37:28 +02:00
nicolargo
b29c86d11a Merge branch 'develop-v5' of github.com:nicolargo/glances into develop-v5 2026-07-13 19:22:47 +02:00
nicolargo
d80553029e Add raid/smart/wifi/ip plugins 2026-07-13 19:22:21 +02:00
nicolargo
a1ab5f1114 Add unit to Sensors TUI 2026-07-13 10:46:17 +02:00
nicolargo
2521617163 Add global mean option 2026-07-13 10:34:39 +02:00
nicolargo
e163a45428 Merge branch 'develop' into develop-v5 2026-07-13 10:13:44 +02:00
github-actions[bot]
435c968e45 chore(v5): weekly merge from develop (2026-07-13) 2026-07-13 07:11:34 +00:00
nicolargo
0e55888a32 Update deps and WebUI 2026-07-11 19:01:35 +02:00
nicolargo
cd0f069d97 Add alias for UI refresh 2026-07-11 17:58:24 +02:00
nicolargo
5fc117b31a Merge branch 'develop-v5' of github.com:nicolargo/glances into develop-v5 2026-07-11 17:53:44 +02:00
nicolargo
714c1c56a6 Migrate sensors plugin 2026-07-11 17:53:20 +02:00
yogendrarau
af6a48695f Wrap long test lines (#3606)
Signed-off-by: yogendrarau <yogendra.rautela7@gmail.com>
2026-07-09 17:10:03 -04:00
yogendrarau
3500044454 Align CSV blocks by header field names to handle variable interface field counts (#3606)
Signed-off-by: yogendrarau <yogendra.rautela7@gmail.com>
2026-07-09 17:04:36 -04:00
yogendrarau
0dd4b1b94b Fix CSV export column desync when list-plugin items change at runtime (#3606)
Signed-off-by: yogendrarau <yogendra.rautela7@gmail.com>
2026-07-09 12:48:56 -04:00
github-actions[bot]
1a858a38eb chore(v5): weekly merge from develop (2026-07-06) 2026-07-06 07:38:07 +00:00
nicolargo
e2d4d096a3 Simplify default CLAUDE.md file for agentic agents 2026-07-05 11:48:18 +02:00
nicolargo
57969218b7 Add GPU/NPU plugins 2026-07-05 11:47:16 +02:00
nicolargo
e37d3d389e Improve alert ongoing message with the alert duration 2026-07-05 10:19:11 +02:00
nicolargo
9580c38a9b Remove Quicklook plugin from alert list 2026-07-05 10:15:46 +02:00
nicolargo
2882fbb809 Merge branch 'GHSA-qcpp-8x79-hhp3' into develop 2026-07-05 09:47:09 +02:00
nicolargo
9c280eae54 Command injection bypass of action-template sanitizer via cross-field shell-operator reconstruction 2026-07-05 09:46:55 +02:00
nicolargo
5c260ace31 Merge branch 'develop' of github.com:nicolargo/glances into develop 2026-07-04 17:26:50 +02:00
nicolargo
890858944a REST API CORS Credentials Guard Uses Exact-Match Instead of Membership Test — Bypassed by Any Multi-Origin Allowlist Containing the Wildcard 2026-07-04 17:26:38 +02:00
Nicolas Hennion
d02c730c9c Merge pull request #3579 from lphuc2250gma/maint/20260606064548
chore: improve glances maintenance path
2026-07-04 17:01:24 +02:00
nicolargo
a14fb302a7 Add MCP server in Docker run example 2026-07-04 16:24:58 +02:00
nicolargo
b8cce8f5ca Remove MCP server in Docker run example 2026-07-04 16:19:46 +02:00