Commit Graph

1966 Commits (07b62056eeba45676073f7928d19d1d9473cf38c)

Author SHA1 Message Date
nicolargo 07b62056ee Refactor the huge Curses script (first phase, should be continued) 2015-10-10 19:18:51 +02:00
nicolargo 6767a0966e After 2.5.1... 2015-10-10 11:34:03 +02:00
nicolargo 6036eeaa68 Patch 2.5.1 2015-10-10 11:25:51 +02:00
Nicolargo 8696aba064 Correct issue starting Curses interface on Windows OS 2015-10-08 16:49:47 +02:00
Nicolas Hennion 9348409aaa Merge pull request #692 from notFloran/webui-fix-alert
[WebUI] when alert is ongoing hide level
2015-10-07 13:24:47 +02:00
Alessio Sergi bd50b5745c requirements.txt: psutil 3.2.2 2015-10-07 13:15:15 +02:00
Alessio Sergi 25b6b5c797 Fix unlock of password protected servers in browser mode
Close #694.
2015-10-07 13:06:42 +02:00
Floran Brutel 32d90dfb6c WebUI : when alert is ongoing hide level 2015-10-05 22:41:30 +02:00
nicolargo 4d11fca993 On the road of Glances 2.6 2015-10-05 21:30:42 +02:00
nicolargo a67abdfa85 Merge branch 'master' into develop 2015-10-05 21:19:44 +02:00
nicolargo ca52a195f5 Change version to 2.5 2015-10-05 21:19:07 +02:00
nicolargo 0f1dbd4788 Update README file for the 2.5 release 2015-10-03 16:28:55 +02:00
Alessio Sergi d76295e3ba README: fix typos and misspelling
- use shields.io badges
- update Windows instruction
2015-09-28 21:21:21 +02:00
Nicolargo 4eb8b232a5 Change the main README file 2015-09-28 17:52:08 +02:00
nicolargo c3dfb2c999 Update version on the Sonar configuration file 2015-09-27 22:59:04 +02:00
Alessio Sergi e5263a8ad0 unitest-restful: handle text type correctly across Python 2/3
In short, this is unicode in Python 2 and str in Python 3.
2015-09-24 11:29:39 +02:00
Nicolargo 2bc0d42736 Correct an issue with test_003_plugins in Unitest for the Restful API (str instead od unicode) 2015-09-24 10:15:08 +02:00
Nicolas Hennion 0127aa734f Merge pull request #686 from notFloran/webui-fix-bytes
[WebUI] Fix auto unit helper
2015-09-23 21:23:18 +02:00
Floran Brutel 6410dbe648 Fix auto unit helper in the webui when value < 1024 2015-09-23 21:06:25 +02:00
Alessio Sergi 59db8f898e Fix 'test for membership should be 'not in'' 2015-09-23 13:13:37 +02:00
Alessio Sergi 108f93c464 Remove unused imports 2015-09-23 12:53:20 +02:00
Alessio Sergi 2b5e653503 glances_bottle: use 'with' context manager to open files
...otherwise the file handle is left open due to the use of return
before the handle closure.
2015-09-22 20:49:49 +02:00
Alessio Sergi 183328dbd0 unitest-restful: general cleaning 2015-09-22 12:29:29 +02:00
Alessio Sergi 075ba72d79 unitest-restful: unbreak non-Linux platforms
OK FreeBSD, OS X and Windows.
2015-09-22 12:12:12 +02:00
Alessio Sergi 3db98fb9a1 unitest-restful: Python 3 compat 2015-09-22 12:00:00 +02:00
Alessio Sergi f2cf282ce5 unitest-xmlrpc: general cleaning 2015-09-21 19:41:28 +02:00
Alessio Sergi 8ad7af6916 unitest-xmlrpc: unbreak non-Linux platforms
OK FreeBSD, OS X and Windows.
2015-09-21 19:09:09 +02:00
Alessio Sergi c513fe6fb5 unitest-xmlrpc: Python 3 compat 2015-09-21 18:49:49 +02:00
Alessio Sergi 46d4b633b9 unitest: cosmetic changes 2015-09-21 16:51:20 +02:00
Alessio Sergi 837193ef7b unitest: unbreak non-Linux platforms
OK FreeBSD, OS X and Windows.
2015-09-21 15:39:39 +02:00
Alessio Sergi 168969bdf4 Revert "Infrequently crashing due to assert (issue #623)"
This reverts commit 79dc79f9f1.

See PR #683.
2015-09-21 02:12:12 +02:00
kevinlondon 2b1b80c032 Changed percentage bars to use an explicit assertion error if valid is outside of the expected range. 2015-09-21 00:59:20 +02:00
Alessio Sergi b75d921ff0 Use Python 2.6 compatible string.format calls (take 2) 2015-09-20 19:49:49 +02:00
Alessio Sergi 40c4b7ac23 exports: Python 3 compat 2015-09-20 19:21:26 +02:00
nicolargo 8c2758a8ae Correct an issue while exiting Docker sub process on Python 3.4. Correct it for both Python 2 and 3 thnaks to http://stackoverflow.com/questions/27102881/python-threading-self-stop-event-object-is-not-callable 2015-09-20 08:29:54 +02:00
nicolargo 7d4e713016 Correct an issue with Python 3.4 and monitored list issue 2015-09-20 07:55:14 +02:00
nicolargo cc2c680226 Add Potsdb lib dep 2015-09-20 07:44:27 +02:00
nicolargo a912ca8e2b Update documentation 2015-09-19 15:14:21 +02:00
Nicolargo c1ff999c09 Glances 2.5 RC1 2015-09-18 15:31:18 +02:00
Nicolargo d8ea5eed4f Change decoration for process filter sum 2015-09-18 14:13:32 +02:00
Nicolargo 40a814f894 When a process filter is set, display sum of CPU, MEM... #681 2015-09-18 11:12:52 +02:00
Nicolas Hennion 39ece09226 Merge pull request #680 from TomasTomecek/docker-containers-can-be-none2
tback: docker.containers() can return None
2015-09-16 11:02:38 +02:00
Tomas Tomecek 84af87f647 tback: docker.containers() can return None
```
Traceback (most recent call last):
  File "/usr/bin/glances", line 9, in <module>
    load_entry_point('Glances==2.3', 'console_scripts', 'glances')()
  File "/usr/lib/python2.7/site-packages/glances/__init__.py", line 119, in main
    args=core.get_args())
  File "/usr/lib/python2.7/site-packages/glances/core/glances_standalone.py", line 62, in __init__
    self.stats.update()
  File "/usr/lib/python2.7/site-packages/glances/core/glances_stats.py", line 156, in update
    self._plugins[p].update()
  File "/usr/lib/python2.7/site-packages/glances/plugins/glances_plugin.py", line 633, in wrapper
    ret = fct(*args, **kw)
  File "/usr/lib/python2.7/site-packages/glances/plugins/glances_docker.py", line 154, in update
    for c in self.stats['containers']:
TypeError: 'NoneType' object is not iterable
```
2015-09-16 09:23:39 +02:00
Nicolas Hennion 792026f41e Merge pull request #678 from nclsHart/webui-monitor-long-message
[Web UI] Truncate long message in monitor plugin
2015-09-13 21:42:25 +02:00
Nicolas Hart f23a286e51 truncate long message in webui monitor plugin 2015-09-13 20:46:06 +02:00
nicolargo 2507941951 Improve the QuickLookplugin by adding hardware CPU info (issue #673) 2015-09-13 14:43:37 +02:00
Nicolas Hennion e068f41908 Merge pull request #677 from notFloran/fix-webui-raid
[WebUI] Hide RAID plugin if no data
2015-09-13 13:53:09 +02:00
Floran Brutel 70507faff2 Hide raid plugin if no data 2015-09-13 12:46:10 +02:00
Nicolas Hennion 1006adcce6 Merge pull request #674 from notFloran/fix-percpu-when-no-iowait
Fix percpu when stats are missing
2015-09-13 11:44:34 +02:00
Nicolas Hennion 6d511d4588 Merge pull request #676 from notFloran/webui-raid
[WIP][WebUI] RAID Plugin
2015-09-13 11:41:49 +02:00