Commit Graph

5999 Commits

Author SHA1 Message Date
nicolargo 82c2ade01f Implementation for WebUI ok 2024-11-11 15:03:19 +01:00
nicolargo 34520ca45b First version but only for the TUI standalone mode 2024-11-10 20:00:40 +01:00
nicolargo e1cd3ded23 Add Memory profiling 2024-11-10 17:06:02 +01:00
nicolargo ff9339b74f Refactor code in order to prepare the feature request #1524 2024-11-10 14:57:05 +01:00
nicolargo 7a57263b81 Reduce complexity of __init__ for processes.py 2024-11-10 14:09:25 +01:00
nicolargo 42b87acb55 Update profiling 2024-11-10 13:59:42 +01:00
nicolargo f980608724 Updae theme 2024-11-09 15:32:53 +01:00
Nicolas Hennion a3341b196e
Merge pull request #3006 from ariel-anieli/bump-ruff
Bump ruff target to Python 3.9
2024-11-09 14:40:58 +01:00
Ariel Otilibili 5791a19017 `make lint` in `glances/plugins/containers/__init__.py`
Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2024-11-09 13:21:36 +01:00
Ariel Otilibili ffb2af1b66 `make lint` in `glances/plugins/containers/engines/__init__.py`
Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2024-11-09 13:21:36 +01:00
Ariel Otilibili 170dda4eac `make lint` in `glances/plugins/containers/engines/docker.py`
Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2024-11-09 13:21:36 +01:00
Ariel Otilibili aaf660c1c1 `make lint` in `glances/plugins/containers/engines/podman.py`
Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2024-11-09 13:21:36 +01:00
Ariel Otilibili e763c9b4f1 `make lint` in `glances/plugins/sensors/__init__.py`
Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2024-11-09 13:21:36 +01:00
Ariel Otilibili 4ad93e629d `make lint` in `glances/plugins/vms/__init__.py`
Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2024-11-09 13:21:36 +01:00
Ariel Otilibili 776a2356b2 `make lint` in `glances/plugins/vms/engines/__init__.py`
Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2024-11-09 13:21:36 +01:00
Ariel Otilibili 0e83631b97 `make lint` in `glances/plugins/vms/engines/multipass.py`
Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2024-11-09 13:21:36 +01:00
Ariel Otilibili 7d1b9a3bf3 `make lint` in `glances/globals.py`
Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2024-11-09 13:21:36 +01:00
Ariel Otilibili 6ea8244906 `make lint` in `glances/cpu_percent.py`
Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2024-11-09 13:21:36 +01:00
Ariel Otilibili f92150a4f6 Bumped ruff target to Python 3.9
* sequel of b537f454c1
* prelude to subsequent changes due to ruff [Link]

Link: https://docs.astral.sh/ruff/rules/non-pep585-annotation/
Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2024-11-09 13:19:47 +01:00
nicolargo 037c0d2cf9 Avoid error when stop / restart web server in the Glances Central Browser 2024-11-09 10:17:17 +01:00
nicolargo 530f4e37b0 Update unit-test for Glances Central Browser 2024-11-09 09:38:51 +01:00
nicolargo c60b4bf2eb Add unit-test for new entry point in the API (plugin/item/key) 2024-11-09 09:13:37 +01:00
Nicolas Hennion 76d8cbe251
Merge pull request #3005 from ariel-anieli/python-bump
Bumped minimal Python version to 3.9
2024-11-09 08:45:25 +01:00
nicolargo af156665a4 Remove log message used during debug 2024-11-08 19:33:17 +01:00
nicolargo 773ebd9920 Remove log message used during debug 2024-11-08 19:32:37 +01:00
nicolargo 64e8cf4221 Issue when display sensors with space in browser #2983 2024-11-08 19:31:35 +01:00
nicolargo cd70a8091f Correct issue when key name contains space - Related to #2983 2024-11-08 19:19:56 +01:00
nicolargo 15d993a2cc Remove the test in glances.conf file 2024-11-08 18:22:08 +01:00
nicolargo efd79b0bd8 Correct an issue on the Webbrowser, the column list is now shared between static and dynamic Glances servers list 2024-11-08 18:21:40 +01:00
nicolargo a9e3820947 Update doc and WebUI 2024-11-08 15:26:44 +01:00
Ariel Otilibili 27116443b7 `make format`
Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2024-11-08 15:19:40 +01:00
Ariel Otilibili b537f454c1 Bumped minimal Python version to 3.9
* Python 3.8 is now end of life [Link]
* changed occurrences found with `git grep -P '[^\d\.]3\.8[^\d]'`
* so doing, removed unused branch in `glances/outputs/glances_restful_api.py`
* branch introduced by f6545580db
* ruff also needs a bump; i.e, `s/py38/py39/`
* not done yet, since it needs to clear out warnings.

Link: https://devguide.python.org/versions/
Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2024-11-08 15:19:40 +01:00
nicolargo 114435e033 Thresholds not displayed in the WebUI for the DiskIO plugin #1498 2024-11-08 15:14:41 +01:00
nicolargo eebab00720 Update docs 2024-11-08 12:37:36 +01:00
nicolargo e2b53594ec Update glances.conf 2024-11-08 12:36:54 +01:00
nicolargo 0eaa3727a1 Merge branch 'issue1121' into develop 2024-11-08 12:36:02 +01:00
nicolargo 0f641cb9eb Merge branch 'develop' into issue1121 2024-11-08 12:35:41 +01:00
nicolargo 2495677d7b Update doc 2024-11-08 12:28:58 +01:00
nicolargo dc5c182ee8 The Web browser client should detect clients on the same LAN (thanks to zeroconf, like it is already done in --browser XMLRPC client/server mode) 2024-11-08 11:59:18 +01:00
nicolargo 7ac7171a3f Improve theme and refactor getDecoration for stats 2024-11-08 09:17:51 +01:00
nicolargo d0629ea128 Change the default path for graph export to /tmp/glances 2024-11-06 15:42:40 +01:00
Nicolas Hennion 6bfccdf87f
Merge pull request #3000 from shidetian/patch-1
add comparable NVML_LIB check for Windows
2024-11-06 14:52:21 +01:00
Nicolas Hennion 08c31b810f
Merge pull request #2998 from ariel-anieli/ip-model
Refactored `glances.plugins.ip.PluginModel.update`
2024-11-06 14:49:53 +01:00
nicolargo ce3f740a2f Change theme 2024-11-06 14:44:28 +01:00
nicolargo e6e6b16aad Update SCSS for browser mode 2024-11-04 08:06:43 +01:00
nicolargo 0d908034ab Display the list and click on a server is OK 2024-11-03 16:30:35 +01:00
Detian Shi bcd7b3d9c6
remove unused variable 2024-11-02 17:06:17 -07:00
Detian Shi 30a31eda81
add comparable NVML_LIB check for Windows 2024-11-02 16:48:42 -07:00
nicolargo e1dd979b86 Refactor server list code in order to put all the methodin the servers_list.py file 2024-11-02 16:23:31 +01:00
nicolargo 799dcab034 Add WebUI Central Browser 2024-11-02 09:00:31 +01:00