Commit Graph

6707 Commits

Author SHA1 Message Date
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
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
Nicolas Hennion 7b22761c75
Merge pull request #3377 from okulev/amdgpu_gtt
Include GTT to mem% for integrated AMD GPUs
2025-12-15 09:05:57 +01:00
Ognyan Kulev 2a508d7641 Use glob.glob also for device list 2025-12-14 23:57:41 +02:00
Ognyan Kulev 41db9c86f9 Include GTT to mem% for integrated AMD GPUs 2025-12-14 22:39:02 +02:00
nicolargo eb21408b72 Lint the code 2025-12-14 17:27:53 +01:00
Nicolas Hennion 4f48d33709
Merge pull request #3376 from okulev/amdgpu_ids
Get amdgpu name from `amdgpu.ids`
2025-12-14 17:24:33 +01:00
Ognyan Kulev 2800e81cb0 Add pci id files to tests-data 2025-12-14 14:19:18 +02:00
Ognyan Kulev bc629d12b2 Remove 'AMD' prefix and 'Graphics' suffix. 2025-12-14 12:44:30 +02:00
Ognyan Kulev ec11dff2cd Get amdgpu name from amdgpu.ids 2025-12-13 21:33:22 +02:00
nicolargo 71b0d4b606 Dependencies update 2025-12-06 17:55:24 +01:00
nicolargo f84baaa8df Update requirements 2025-11-29 09:50:26 +01:00
nicolargo f2641c80e2 Glances won't start when using snmp discovery with parameter -c #3354 2025-11-23 10:06:08 +01:00
nicolargo b9c451ce7a Merge branch 'issue3342-precommit_hooks' into develop 2025-11-22 19:08:00 +01:00
nicolargo ca2d729211 Add bandit in Makefile 2025-11-22 19:07:45 +01:00
nicolargo 50818213b1 What a sexy pre-commit config file ! 2025-11-22 18:48:13 +01:00
nicolargo 868aa0f4b1 Merge branch 'issue3352-fetch_client_server' into develop 2025-11-22 16:38:21 +01:00
nicolargo f7ab7efdd4 Fetch option is not compliant with client/server mode #3352 2025-11-22 16:37:03 +01:00
nicolargo 9797fc795e Correct lint issue 2025-11-21 18:36:50 +01:00
nicolargo fc2e2c71af Merge branch 'issue3350-jupiter-notebook' into develop 2025-11-21 18:32:36 +01:00