Eric Lippmann
257186fb92
monitoring: Use hostgroup alias for displaying the host group's name in the hostgroups overview
...
refs #8266
2015-01-23 11:22:35 +01:00
Eric Lippmann
42071118af
monitoring: Select hostgroup_alias in the hostgroups overview
...
refs #8266
2015-01-23 11:22:20 +01:00
Eric Lippmann
30eed015ba
monitoring: Support selecting host group and service group alias in the GroupsummaryQuery
...
refs #8266
2015-01-23 11:21:29 +01:00
Eric Lippmann
74a0c1e274
monitoring: Support selecting host group and service group alias in the HoststatusQuery
...
refs #8266
2015-01-23 11:21:10 +01:00
Eric Lippmann
e15c085f19
monitoring: Support selecting host group and service group alias in the StatusQuery
...
refs #8266
2015-01-23 11:20:35 +01:00
Eric Lippmann
b54564eb5c
monitoring: Escape the host group's name in the hostgroups overview
2015-01-23 11:20:00 +01:00
Eric Lippmann
5ac1eaa513
monitoring: Fix indents in the GroupsummaryQuery
2015-01-23 11:11:34 +01:00
Eric Lippmann
3cb2dd0e8b
monitoring/security: Hide 'Acknowledge' link if user lacks the respective permission
2015-01-23 11:01:47 +01:00
Eric Lippmann
08e8d5d742
monitoring/security: Hide 'Process check result' link if user lacks the respective permission
2015-01-23 10:48:21 +01:00
Eric Lippmann
2535d802b1
monitoring: Add missing td closing tag
2015-01-23 10:45:10 +01:00
Eric Lippmann
27c1500295
monitoring: Do not translate brackets
2015-01-23 10:41:42 +01:00
Eric Lippmann
a166234e6d
monitoring/security: Hide 'Reschedule check' link if user lacks the respective permission
2015-01-23 10:40:48 +01:00
Eric Lippmann
af2698b075
monitoring: Do not generate 'Schedule downtime' and 'Add comment' links if user lacks the respective permissions
2015-01-23 10:15:55 +01:00
Eric Lippmann
d07e1329e8
monitoring: Use nl2br instead of str_replace for downtime comment and comment text
2015-01-23 09:45:43 +01:00
Eric Lippmann
f47dae1092
monitoring/security: Hide 'Schedule downtime' link if user lacks the respective permission
2015-01-23 09:43:16 +01:00
Eric Lippmann
67be1b329b
monitoring/security: Hide 'Add comment' link if user lacks the respective permission
2015-01-23 09:41:06 +01:00
Eric Lippmann
cd8822ceff
lib: Add View::hasPermission()
2015-01-23 09:36:45 +01:00
Eric Lippmann
6da3cb8403
lib: Reorder auth related functions in the ActionController
2015-01-23 09:36:05 +01:00
Eric Lippmann
bd65f4d50a
monitoring/security: Hide delete comment action in the comments overview if user lacks the respective permission
2015-01-23 09:18:29 +01:00
Eric Lippmann
ac5ac10feb
monitoring/security: Hide delete downtime action in the downtimes overview if user lacks the respective permission
2015-01-23 09:16:30 +01:00
Eric Lippmann
5967d5fe04
monitoring/security: Hide delete downtime action if user lacks the respective permission
2015-01-22 17:35:34 +01:00
Eric Lippmann
a19c155d9f
monitoring/security: Hide delete comment action if user lacks the respective permission
2015-01-22 17:33:20 +01:00
Eric Lippmann
4226f06d5d
monitoring: Remove unused variable in the MonitoredObjectController
2015-01-22 17:28:33 +01:00
Eric Lippmann
f46a587266
monitoring/security: Hide 'Remove Problem Acknowledgement' action if user lacks the respective permission
2015-01-22 17:25:30 +01:00
Eric Lippmann
a09ba15859
monitoring/security: Hide 'Check Now' action if user lacks the respective permission
2015-01-22 17:13:35 +01:00
Eric Lippmann
44de790cc9
Security: Temporary grant all permissions
2015-01-22 17:12:49 +01:00
Eric Lippmann
ef0a7c0e77
Revert "Security: Temporary grant all permissions"
...
This reverts commit 9b7e75a616
.
Patching function hasPermission is not enough. A fix will follow.
2015-01-22 17:11:53 +01:00
Eric Lippmann
9a59f3529c
monitoring: Group permissions by topic where it makes sense, i.e. downtime and comment
2015-01-22 16:56:00 +01:00
Eric Lippmann
251030e1d8
monitoring: Rename remove-downtime to delete-downtime
2015-01-22 16:03:22 +01:00
Eric Lippmann
ba7818db5f
monitoring: Restrict delete downtime and delete comment to HTTP POST
2015-01-22 15:49:40 +01:00
Eric Lippmann
0f13c0428c
Controller: Introduce method assertHttpMethod()
...
We have actions where only certain HTTP methods, e.g. POST are allowed but they are not restricted yet.
Controller::assertHttpMethod() takes a number of allowed HTTP methods and responds with HTTP 405 in case
the current request's method is not one of the given methods.
2015-01-22 15:47:16 +01:00
Eric Lippmann
3d7b375ab4
Security: Require permissions for executing common service commands
2015-01-22 15:23:02 +01:00
Eric Lippmann
44718e5012
Security: Require permissions for executing common host commands
2015-01-22 15:22:20 +01:00
Eric Lippmann
9b7e75a616
Security: Temporary grant all permissions
...
We'll introduce permissions and restrictions in the next hours. Because our web setup
does not configure permissions yet, all permissions are granted for all users from now on.
2015-01-22 15:20:38 +01:00
Eric Lippmann
f16aac5154
Security: Sort permissions only if not empty
2015-01-22 15:20:19 +01:00
Johannes Meyer
6845480b5f
Fix that strtoupper can't handle non ascii chars
...
Fixed by not using strtoupper or by using it prior
to the translation of the corresponding string.
fixes #8163
2015-01-22 14:37:07 +01:00
Johannes Meyer
78a6937c22
Drop Zend_View_Helper_MonitoringState
...
It's not required anymore... finally.
2015-01-22 14:37:07 +01:00
Eric Lippmann
f4f50fde3c
monitoring: Remove _RenderServicePerfdata view helper
...
This helper is not used anywhere.
2015-01-22 14:12:02 +01:00
Eric Lippmann
fecdab9463
monitoring: Provide permission for processing host and service check results
2015-01-22 13:50:55 +01:00
Eric Lippmann
bc3a475e90
Never autofocus the search element by default
...
Automatically focusing the search element on the initial page load and on every auto-refresh of the menu is disruptive
for both mobile devices and screen readers.
fixes #7697
2015-01-22 13:48:52 +01:00
Eric Lippmann
32c64f7e3d
layout: Do not duplicate code from layout/menu.phtml in navigation.phtml
2015-01-22 13:47:45 +01:00
Eric Lippmann
9c47b2d949
monitoring: Fix permission description for 'monitoring/command/schedule'
2015-01-22 13:46:32 +01:00
Johannes Meyer
13c2a3a967
Merge branch 'feature/more-intuitive-module-installation-8191'
...
resolves #8191
2015-01-22 13:34:51 +01:00
Johannes Meyer
afd58d52bf
Merge branch 'master' into feature/more-intuitive-module-installation-8191
2015-01-22 13:33:45 +01:00
Johannes Meyer
3040116c12
Combine duplicate requirements
...
refs #8191
2015-01-22 12:47:18 +01:00
Eric Lippmann
db9e2fe4ca
doc/vagrant: Fix version requirement
2015-01-22 11:06:05 +01:00
Eric Lippmann
21c0091cdc
Merge branch 'bugfix/prefer-display_name-over-name1-name2-7843'
...
fixes #7843
2015-01-22 11:05:35 +01:00
Eric Lippmann
95657f248d
Merge branch 'master' into bugfix/prefer-display_name-over-name1-name2-7843
2015-01-22 10:58:50 +01:00
Eric Lippmann
8bd56f4387
monitoring: Use the Link helper in the eventhistory overview
2015-01-22 10:58:16 +01:00
Eric Lippmann
4589621f58
monitoring: Use host and service display_name for displaying host and service names for an object's history
...
refs #7843
2015-01-22 10:57:44 +01:00