Branch Vincent
44ae3e5f0b
Migrate to pyproject.toml
2024-10-20 12:13:54 -07:00
nicolargo
73fd34e588
Remove token from Github action
2024-10-20 18:56:50 +02:00
nicolargo
e02d95083b
On the road of Glances 4.3.0
2024-10-20 18:29:49 +02:00
nicolargo
a8608f17d6
version 4.2.0
2024-10-20 18:02:15 +02:00
nicolargo
7d44a2f554
Solve merge conflict
2024-10-20 17:38:57 +02:00
nicolargo
d67d4e3d0e
Glances 4.2.0
2024-10-20 17:37:34 +02:00
nicolargo
e1f7ec252f
Unit test with epoch fail on Github because of the timezone, remove it from test_021
2024-10-20 14:04:10 +02:00
nicolargo
c2cb7cc788
Correct some minor issue in SNMP mode
2024-10-19 19:31:13 +02:00
nicolargo
ddb7cfabc7
Do not display Unknown information in the cloud plugin #2485
2024-10-19 18:35:35 +02:00
nicolargo
ea11ee9243
Incomplete pipx install to allow webui + containers #2955
2024-10-19 17:27:54 +02:00
nicolargo
9cf60be628
Remove unused lib in globals.py
2024-10-19 15:31:01 +02:00
nicolargo
5f3350e62f
Merge branch 'issue2979' into develop
2024-10-19 15:27:43 +02:00
nicolargo
315678b5bd
Use defusedxml lib #2979
2024-10-19 15:27:13 +02:00
nicolargo
d39d7c7dfa
In TUI, when processes are filtered, column are not aligned #2980
2024-10-19 14:57:53 +02:00
nicolargo
cac964df3c
Merge branch 'issue2942' into develop
2024-10-19 10:17:21 +02:00
nicolargo
06ab6144b4
Can't kill process. Standalone, Ubuntu 24.04 #2942
2024-10-19 10:16:50 +02:00
nicolargo
a1c0be479f
Erreur Internal Server Error à partir de la V4.1.0 et suivante #2943
2024-10-19 09:59:15 +02:00
nicolargo
dc8707ad33
Update docs
2024-10-19 09:52:04 +02:00
nicolargo
eed2ec954a
Lint and format
2024-10-19 09:36:56 +02:00
nicolargo
4afe46a2cb
Make feature #1289 compatible with multiple keys
2024-10-13 17:45:45 +02:00
nicolargo
119add783e
Add additional test for pretty-date
2024-10-13 16:38:49 +02:00
nicolargo
13606da667
Update WebUI
2024-10-13 16:30:58 +02:00
nicolargo
db9785e37f
Add unitary tests for pretty-date
2024-10-13 16:28:28 +02:00
nicolargo
7f2454154f
Filter Docker containers - #2962
2024-10-13 15:42:13 +02:00
Nicolas Hennion
8b8c61cc7c
Merge pull request #2975 from nicolargo/revert-2961-pretty-date
...
Revert "Refactored `glances.globals.pretty_date()`"
2024-10-13 14:55:17 +02:00
Nicolas Hennion
25b87a08ae
Revert "Refactored `glances.globals.pretty_date()`"
2024-10-13 14:54:27 +02:00
Nicolas Hennion
0cdf2d62e7
Merge pull request #2974 from casse-boubou/Add-'Availability'-topic-to-MQTT-connection
...
Add retain to availability topic
2024-10-13 14:48:00 +02:00
Github GPG acces
252f593bcc
reformatted for pass ruff test
2024-10-13 11:06:03 +02:00
Github GPG acces
4eb5f540c1
Add retain to availability topic
...
Added the forgotten topic retain, but important for this kind of data
2024-10-13 10:45:23 +02:00
nicolargo
77e9eb3306
Merge branch 'develop' of github.com:nicolargo/glances into develop
2024-10-12 09:59:41 +02:00
nicolargo
a1b07690e4
Refactor WebUI responsive
2024-10-12 09:59:30 +02:00
Nicolas Hennion
e57eeb8089
Merge pull request #2961 from ariel-anieli/pretty-date
...
Refactored `glances.globals.pretty_date()`
2024-10-09 10:01:21 +02:00
Ariel Otilibili
f6279baacd
Refactored `glances.globals.pretty_date()`
...
* part of #2801
* instead of many, a single return point is used
* refactoring possible because `OrderedDict` preserve insertion order [1]
* though `dict` preverse order since 3.6, used `OrderedDict` for safety [2]
* introduced as helpers:
1. `get_diff_time`
2. `get_msg_for_true_cond`
3. `get_conds_for_sec_diff_msg`
4. `get_conds_for_day_diff_msg`.
[1] https://docs.python.org/3/library/collections.html#collections.OrderedDict
[2] https://peps.python.org/pep-0520/
Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2024-10-08 20:26:20 +02:00
nicolargo
adfb642539
Improve docs for Web API
2024-10-06 17:49:45 +02:00
Nicolas Hennion
702b747d9d
Merge pull request #2960 from casse-boubou/Add-'Availability'-topic-to-MQTT-connection
...
Add 'Availability' topic to MQTT connection
2024-10-06 17:19:31 +02:00
Nicolas Hennion
b2a2a96292
Merge pull request #2959 from ariel-anieli/plugins-port-alerts
...
Reduced `get_web_alert` & `get_ports_alert`
2024-10-06 17:17:38 +02:00
nicolargo
65abadfe00
Remove default conf (column def) from the config file
2024-10-06 17:16:16 +02:00
Github GPG acces
2af34b3069
Add 'Availability' topic to MQTT connection
...
Addition of the 'availability' topic: Online or Offline when using the --export MQTT option in the case where other devices on the same broker are looking for our Glances instance
2024-10-06 15:12:45 +02:00
Ariel Otilibili
f8fe7e2d64
Reduced `get_web_alert` & `get_ports_alert`
...
* sequel of cbd166bf0baef31650f67cda4f357c8f4de38064; part of #2801
* `get_web_alert` & `get_ports_alert` rely on `get_p_alert`
* each needs an helper: if `get_web_alert`, the helper is `get_conds_if_url`
* if `get_ports_alert`, it is `get_conds_if_port`
* `get_p_alert` uses the helper with `get_default_ret_value`.
Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2024-10-06 12:01:51 +02:00
nicolargo
10cc1dbe82
Merge branch 'issue1289' into develop
2024-10-06 11:20:25 +02:00
nicolargo
56d7801afb
Feature request: make the central client UI configurable (example: GPU status) #1289
2024-10-06 11:20:12 +02:00
Nicolas Hennion
6e485a2bad
Merge pull request #2957 from ariel-anieli/plugin-port-msg
...
Fixed typos, refactored `glances.plugins.ports.PluginModel.msg_curse()`
2024-10-05 13:06:35 +02:00
nicolargo
f27c39c74a
Update docs
2024-10-05 13:03:40 +02:00
nicolargo
612615bc79
Merge branch 'issue2914' into develop
2024-10-05 13:01:55 +02:00
nicolargo
3a860dd4c2
Merge branch 'develop' into issue2914
2024-10-05 13:01:38 +02:00
nicolargo
e2d3179c43
Help also done
2024-10-05 13:00:46 +02:00
Ariel Otilibili
cbd166bf0b
Refactored `glances.plugins.ports.PluginModel.msg_curse()`
...
Part of #2801 .
Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2024-10-04 21:43:25 +02:00
Ariel Otilibili
3ede32a359
Fixed typos
...
```
$ git grep 'emptu' | awk -F: '{print $1}' | xargs -I {} sed -ie 's/emptu/empty/' {}; echo $?
0
```
Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2024-10-04 20:20:12 +02:00
Nicolas Hennion
7ab8a39846
Merge pull request #2954 from ariel-anieli/makefile
...
Refactored `webui*` rules
2024-10-02 15:05:54 +02:00
nicolargo
3f97874c63
Almost ok
2024-09-29 18:52:42 +02:00