Commit Graph

1795 Commits (7d28fe802037bf377f94868a7be0991dd352f4d5)

Author SHA1 Message Date
Alessio Sergi 0f083d215a Do not return values from setters
A setter method always takes a parameter and does not return a value.

Rename 'set_stats_snmp' method to 'get_stats_snmp'.
2015-02-26 12:57:55 +01:00
Nicolargo d98d6c3b55 Merge branch 'develop' of https://github.com/nicolargo/glances into develop 2015-02-26 10:53:12 +01:00
Nicolargo 3c9fba3dcf Avoid crashing if LC_ALL is not defined by user (issue #517) 2015-02-26 10:52:50 +01:00
Alessio Sergi 76cdd091eb Fix crash in browser mode with Python 3
The crash occurs while trying to unlock a password protected Glances
server (TypeError: Unicode-objects must be encoded before hashing).
2015-02-24 00:45:07 +01:00
Alessio Sergi ccb1751be0 Do not use Python's built-in function names as variable names
Don't redefine built-ins. Unless it's wanted.
2015-02-23 19:39:19 +01:00
Alessio Sergi 2f7c672054 Simplify checks for non-empty sets 2015-02-22 23:55:38 +01:00
Alessio Sergi 1b3bff2587 Use 'not' to test for empty sets
Empty sets evaluate to False.
2015-02-22 21:12:12 +01:00
Alessio Sergi ec44cfe1cf Misc fixes
- Remove unused import
- Fix double import
- Remove unnecessary pass statement
- Fix bad indentation
- Fix pointless statement
2015-02-22 17:17:04 +01:00
Alessio Sergi 62f34e4a11 glances_ip: fix IP with Python 3 2015-02-22 16:36:16 +01:00
Alessio Sergi e2912943c5 Do not use mutable objects as default argument values
Use None as a default value.
See https://stackoverflow.com/questions/101268/hidden-features-of-python#113198
for more information.
2015-02-22 15:43:07 +01:00
Alessio Sergi c7580a47ed requirements.txt: psutil 2.2.1 2015-02-22 12:51:15 +01:00
Alessio Sergi 2a7828a1f5 glances_logging: more Python 2.6 compatibility
Minor cosmetic tweaks.
2015-02-22 12:40:00 +01:00
Alessio Sergi 6b3c47b826 Fix logging support for Python 2.6
Use logutils when running on Python 2.6.

Close #512.
2015-02-22 12:12:12 +01:00
nicolargo 7a95094068 Add percent in the quicklook 2015-02-22 10:48:50 +01:00
nicolargo 02e8203a05 Improve IP plugin display 2015-02-22 10:04:26 +01:00
nicolargo fc869b7a21 Correct an issue on the latest commit, cause unitary tests failed 2015-02-20 22:59:00 +01:00
nicolargo 0a99b139b6 Add a disable HDD temperature option on the command line (issue #515) 2015-02-20 22:45:20 +01:00
Nicolas Hennion 87a90a8297 Merge pull request #514 from nclsHart/fix-align-sidebar
Fix plugin contents alignment in web UI sidebar
2015-02-17 10:12:58 +01:00
nclsHart 583e24a50f align plugin content in web ui sidebar 2015-02-17 01:02:20 +01:00
nclsHart 7533f860ed Merge branch 'develop' into feature/issue480
Conflicts:
	glances/plugins/glances_help.py
2015-02-17 00:26:50 +01:00
Nicolargo 183cbce7aa Enhance Quicklook display 2015-02-16 18:12:16 +01:00
nicolargo a5b6eb9dab Add a new IP information plugin (issue #509) 2015-02-15 22:17:55 +01:00
nicolargo d34cde590e Improve PEP8 (S1066) 2015-02-13 22:49:30 +01:00
nicolargo f069d81071 Improve PEP8 (S1721) 2015-02-13 22:44:55 +01:00
nicolargo 6b13120503 Remove dev log 2015-02-08 18:07:47 +01:00
nicolargo 0003e0e50a Allow logical mounts points in the FS plugin (issue #448) 2015-02-08 18:00:35 +01:00
nicolargo e6c646c1e2 Extended stats for top process are disabled message is now in DEBUG level 2015-02-07 17:55:37 +01:00
nicolargo 8fc5bbf9fe Remove forgotten log message 2015-02-07 17:52:28 +01:00
nicolargo 672ff0d977 Grab FAN speed in the Glances sensors plugin (issue #501) 2015-02-07 17:46:28 +01:00
nicolargo d390e03a5c Correct duplicated --nable-history in the doc (issue #511) 2015-02-07 14:38:12 +01:00
nicolargo 79373b2763 Correct monitor list, all processes are take into account (issue #507) 2015-02-06 22:52:58 +01:00
nicolargo 47785422ff Update doc for the Quicklook plugin 2015-02-03 18:01:52 +01:00
nicolargo 6fae969549 Manage disable_quicklook command 2015-02-03 17:58:39 +01:00
nicolargo a6a8ccbc03 Update look and feel for the Quicklook plugin 2015-02-03 17:33:22 +01:00
Nicolargo 596d93aa63 Add limits to the quicklook plugin 2015-02-03 17:07:16 +01:00
Nicolargo c66a7a8fd2 Add common class to access to the CPU 2015-02-03 16:40:07 +01:00
Nicolargo ac2c1ba9e0 First try for the quicklook plugin 2015-02-01 22:13:01 +01:00
Nicolargo d7bdb64f15 Merge from Sylvain and Nicolas 2015-01-31 17:04:42 +01:00
Nicolargo 78589dcbbb Merge branch 'feature/ANGULARJS' of https://github.com/sylvainmouquet/glances into sylvainmouquet-feature/ANGULARJS 2015-01-31 16:54:56 +01:00
Nicolargo 6583a875e8 Merge from develop branch 2015-01-31 16:52:58 +01:00
Sylvain MOUQUET a5b5648a5e remove help controller 2015-01-31 16:22:08 +01:00
Sylvain MOUQUET 7cda934504 add help window 2015-01-31 16:10:10 +01:00
Sylvain MOUQUET e43e6640ac add shortcuts 2015-01-31 14:44:43 +01:00
Nicolargo 67e21a606e On the road of the version 2.4 2015-01-31 14:02:45 +01:00
Nicolargo 358bb45b4a Merge form master 2015-01-31 13:50:06 +01:00
Nicolargo c7fad235f3 Update docs file for the 2.3 version 2015-01-31 13:45:48 +01:00
Nicolargo 7b41105c1a Update doc 2015-01-30 22:18:21 +01:00
Nicolargo 928026c8c1 Merge branch 'develop' of github.com:nicolargo/glances into develop 2015-01-30 19:27:18 +01:00
Nicolargo 2d49f729f2 Correct example in the help option 2015-01-30 19:27:07 +01:00
Nicolargo 965922cc87 Try/catch for containers CPU and MEM stats 2015-01-27 13:57:08 +01:00