nicolargo
d97c5cd5b9
Format and lint the code
2026-01-03 09:21:43 +01:00
nicolargo
420305a24a
Merge branch 'issue3385' into develop
2026-01-03 09:18:45 +01:00
nicolargo
603f1ee8a4
Option to revert to using arrows to switch sorting? #3385
2026-01-03 09:18:25 +01:00
nicolargo
62e0b784bd
Format/Lint code
2026-01-03 09:03:32 +01:00
nicolargo
1e25b4b130
Merge branch 'drake7707-develop' into develop
2026-01-03 09:00:39 +01:00
nicolargo
8b76cd458e
Reduced cyclomatic complexity - Each function now does one thing
...
Better readability - Descriptive function names explain intent
Easier testing - Helper functions can be tested independently
Consistent style - f-strings used throughout
Removed code smells - No more pass statements in conditionals, no assert for validation
2026-01-03 09:00:05 +01:00
nicolargo
5cbbe91e1f
Regenerate the WebUI and lint the code
2026-01-03 08:52:19 +01:00
Drakarah
862ac41b58
Merge branch 'develop' of https://github.com/nicolargo/glances into develop
2026-01-03 07:33:53 +00:00
Drakarah
c8b2a90f3b
Format the smart data in the web ui the same way as curses output
2026-01-03 07:33:09 +00:00
nicolargo
6e844f3c8b
Update doc
2026-01-02 18:10:00 +01:00
nicolargo
91279b9144
Lint and format the code
2026-01-02 18:07:28 +01:00
nicolargo
7160cd8ae4
Merge branch 'issue3341-NATS' into develop
2026-01-02 18:00:30 +01:00
nicolargo
4bd36a34a1
Refactor NATS export to use async base class
...
Replace custom event loop threading implementation with GlancesExportAsyncio
base class. This simplifies the code by delegating async lifecycle management
to the parent class and using standardized _async_init(), _async_exit(), and
_async_export() methods instead of manual thread and event loop handling.
2026-01-02 17:28:52 +01:00
nicolargo
6cedd16753
Add test for NATS in the Makefile
2026-01-02 17:02:49 +01:00
nicolargo
12083f33fc
Remove debug message
2026-01-02 09:42:03 +01:00
nicolargo
b7c6cce373
First version ok. Log message should be removed. Code should be tested.
2025-12-30 19:04:07 +01:00
nicolargo
ba932e72bd
Read only container (with docker-compose) #3382
2025-12-30 10:40:36 +01:00
nicolargo
5d9593b393
Lint the code
2025-12-26 18:47:01 +01:00
nicolargo
5886321156
Lint code
2025-12-26 18:27:13 +01:00
nicolargo
f72b3e226e
Merge branch 'issue3387' into develop
2025-12-26 18:22:31 +01:00
nicolargo
b9a89006a2
Sort by time do not work anymore #3387
2025-12-26 18:22:20 +01:00
nicolargo
1353b22445
Revert "Switch Docker Alpine based images to hardened"
...
This reverts commit f3b3b42e29 .
2025-12-23 14:33:55 +01:00
nicolargo
f058360b52
Merge branch 'issue3280' into develop
2025-12-23 14:15:16 +01:00
nicolargo
f3b3b42e29
Switch Docker Alpine based images to hardened
2025-12-23 14:14:58 +01:00
nicolargo
be199ef044
Merge branch 'issue3359_Improve_DockerFile' into develop
2025-12-22 10:58:30 +01:00
nicolargo
15d252a40b
Some imporovement regarding Dockerfile - #3359
2025-12-22 10:58:09 +01:00
Drakarah
0b141ff92d
update doc
2025-12-22 09:42:32 +00:00
Drakarah
60f304c313
auto unit on curses output
2025-12-22 09:38:14 +00:00
Drakarah
29d7a15dab
Add a hide_attributes to well hide attributes
2025-12-22 09:17:20 +00:00
Drakarah
f837614a69
Use proper labels instead of attribute keys (if possible)
2025-12-22 07:43:52 +00:00
Drakarah
3247b0dc33
Change proposed by @webdjoe ( https://github.com/nicolargo/glances/pull/3355?notification_referrer_id=NT_kwDOAFGpVLMyMDY1Mjk5NjMyMTo1MzUxNzY0#issuecomment-3679451101 )
2025-12-22 07:30:12 +00:00
Drakarah
507079491a
Merge branch 'develop' of https://github.com/nicolargo/glances into develop
2025-12-22 07:27:41 +00:00
nicolargo
d5ce8a7461
Lint code for Python 3.10
2025-12-21 14:40:39 +01:00
nicolargo
f587b281c0
Catch error on ADM GPU plugin and Python 3.9
2025-12-20 15:33:17 +01:00
nicolargo
e74dcc0060
Add comment for Git action tests
2025-12-20 15:19:58 +01:00
nicolargo
59d54b8e2b
Correct issue with test on Python 3.9
2025-12-20 10:36:00 +01:00
nicolargo
184e490660
Bump to Python 3.10 as minimal version
2025-12-20 10:22:03 +01:00
nicolargo
cd1f9348c2
Change load method name
2025-12-20 10:08:26 +01:00
nicolargo
68b5215e94
Lint quicklook
2025-12-20 10:01:01 +01:00
nicolargo
928e577d8c
Update webUI
2025-12-20 09:53:29 +01:00
nicolargo
1b6d63fd2f
Update deps
2025-12-20 09:44:49 +01:00
nicolargo
fafdef615d
Lint the code and correct issue with List (replaced by list)
2025-12-20 09:40:09 +01:00
nicolargo
8ab188bc04
Lint code
2025-12-20 09:33:01 +01:00
Nicolas Hennion
cd9360f637
Merge pull request #3379 from okulev/cpu_freq_nomax
...
Fix quicklook in case psutil.cpu_freq().max=0.0
2025-12-20 09:22:22 +01:00
Nicolas Hennion
be5a92c7e6
Merge pull request #3381 from ruben-arts/patch-1
...
Update license specification to SPDX format
2025-12-20 09:20:22 +01:00
Nicolas Hennion
9907e7242f
Merge pull request #3383 from kelvinvelasquez-SDE/fix/security-bandit
...
fix(security): resolve B701 (Jinja2) and B113 (timeout) vulnerabilities
2025-12-20 09:19:09 +01:00
Kelvin Velasquez
9b5cc01b06
fix(security): resolve B701 and B113 bandit issues ( #3353 )
...
Detailed changes:
- Enable autoescape=True for Jinja2 environment to prevent XSS (B701).
- Add timeout=15s to requests.get in nginx amp (B113).
- Add timeout=15s to post in restful export (B113).
2025-12-19 13:23:51 -06:00
Ruben Arts
89753198b3
Remove LGPL-3.0 license from pyproject.toml
...
License classifiers have been superseded by license expressions (see https://peps.python.org/pep-0639/ ).
2025-12-19 10:17:28 +01:00
Ruben Arts
8408a35100
Update license specification to SPDX format
...
Using the format specified in: https://spdx.org/licenses/
2025-12-19 10:04:07 +01:00
Ognyan Kulev
bd246fe966
Fix quicklook in case psutil.cpu_freq().max=0.0
2025-12-16 20:57:46 +02:00