system-info: fetch vcs settings from vcsserver. Fixes #4276
- redone the system info page. Errors/Warnings now show next to the data, and also show up in API call. - implemented fetching of git/hg/svn version from running vcsserver - implemented fetching of vcsserver version from itself - added more warnings/errors detection on RAM/Inodes etc - few cleanups
This commit is contained in:
parent
edcc18406a
commit
c68c339c0b
13 changed files with 756 additions and 356 deletions
|
|
@ -45,9 +45,9 @@ class TestGetServerInfo(object):
|
|||
expected['uptime'] = resp['result']['uptime']
|
||||
expected['load'] = resp['result']['load']
|
||||
expected['cpu'] = resp['result']['cpu']
|
||||
expected['disk'] = resp['result']['disk']
|
||||
expected['disk_inodes'] = resp['result']['disk_inodes']
|
||||
expected['server_ip'] = '127.0.0.1:80'
|
||||
expected['storage'] = resp['result']['storage']
|
||||
expected['storage_inodes'] = resp['result']['storage_inodes']
|
||||
expected['server'] = resp['result']['server']
|
||||
|
||||
assert_ok(id_, expected, given=response.body)
|
||||
|
||||
|
|
@ -60,8 +60,8 @@ class TestGetServerInfo(object):
|
|||
expected['uptime'] = resp['result']['uptime']
|
||||
expected['load'] = resp['result']['load']
|
||||
expected['cpu'] = resp['result']['cpu']
|
||||
expected['disk'] = resp['result']['disk']
|
||||
expected['disk_inodes'] = resp['result']['disk_inodes']
|
||||
expected['server_ip'] = '127.0.0.1:80'
|
||||
expected['storage'] = resp['result']['storage']
|
||||
expected['storage_inodes'] = resp['result']['storage_inodes']
|
||||
expected['server'] = resp['result']['server']
|
||||
|
||||
assert_ok(id_, expected, given=response.body)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue