Eric Lippmann
3cbafe16f6
monitoring/security: Move applyRestriction() to the module's base controller
2015-01-27 14:22:37 +01:00
Johannes Meyer
23c36898da
Rename css class "info" to "info-box" and add it as generic box
...
refs #8274
2015-01-27 14:05:41 +01:00
Eric Lippmann
f37cd0cb95
monitoring/security: Apply hosts restriction in the hosts overview
2015-01-27 13:51:15 +01:00
Eric Lippmann
c8084dde92
monitoring/security: Apply services restriction in the services overview
2015-01-27 13:49:51 +01:00
Eric Lippmann
f8aa9eb05c
monitoring/security: Replace 'monitoring/filter' restrictions with filter for the hosts and the services view
2015-01-27 13:48:33 +01:00
Eric Lippmann
405e18a46f
monitoring: Fix PHPDoc for MonitoringBackend::from()
2015-01-27 13:37:28 +01:00
Eric Lippmann
08795e7cf4
monitoring/security: Expect restriction name in ListController::applyRestriction()
...
Before, the restriction was hard coded to 'monitoring/filter'.
This restriction will be removed because we can not use the very same filter for all views.
2015-01-27 13:33:52 +01:00
Johannes Meyer
afd4a9a134
There will be '.. users create' instead of '.. setup config webserver --with..'
...
refs #8274
2015-01-27 10:54:33 +01:00
Johannes Meyer
50fc85d7ff
Rename authentication type "autologin" to "external"
...
refs #8274
2015-01-27 09:49:36 +01:00
Johannes Meyer
0fa133abfb
setup: Display a note in case autologin is chosen while not being logged in
...
In case the user chooses to use autologin as authentication while not being
externally authenticated a note is displayed indicating that it is necessary
to set up the webserver's authentication to be able to login once the wizard
is complete.
refs #8274
2015-01-26 16:58:40 +01:00
Johannes Meyer
45408e45af
Relax database permission checks in the setup wizard
...
The wizard considered all permissions being exclusively associated to their
most important context, which is, in the most common case, incorrect.
Permissions assigned on database level do not need to be assigned on
table level as well.
refs #8267
2015-01-26 15:51:47 +01:00
Johannes Meyer
7006bbf8b2
Suggest "icingaweb2" as group instead of the webserver's user
...
..and note that it is necessary to create this group.
2015-01-26 14:13:10 +01:00
Eric Lippmann
555ab77c3d
Fix "Undefined property: stdClass::$service_display_name" in the alert summary
...
fixes #8284
2015-01-26 13:42:05 +01:00
Johannes Meyer
0b73dbdd6d
Fix exception "Undefined index: type" in the WebWizard's page logic
...
refs #8275
2015-01-26 10:32:33 +01:00
Johannes Meyer
fb97e74453
Use the correct element identifier for the preference storage type selection
...
Used to be `type' but has changed to `store'
to get a more clear INI structure.
fixes #8275
2015-01-26 07:39:31 +01:00
Johannes Meyer
359336243c
Save "none" instead of "null" when choosing to not to store preferences
...
refs #8234
2015-01-23 16:25:24 +01:00
Johannes Meyer
2a543bb5ae
Rename the preference setting `type' to `store'
...
refs #8234
2015-01-23 16:25:23 +01:00
Eric Lippmann
5fe5e22395
doc: Support any link having a fragment except http(s) links for linking between headings
2015-01-23 16:00:15 +01:00
Eric Lippmann
53a4f10253
monitoring: Sort host groups and service groups by their alias
...
refs #7843
2015-01-23 15:47:18 +01:00
Eric Lippmann
910065436b
monitoring: Support hostgroup_alias and servicegroup_alias filter
2015-01-23 15:47:18 +01:00
Eric Lippmann
a1fbb3d937
monitoring: Fix host and service groups overviews when using PostgreSQL
...
fixes #8268
2015-01-23 15:47:18 +01:00
Johannes Meyer
a07bff490f
Fix that the monitoring module's config directory is not being created
...
Forgot to re-add this when reverting a temporary change while adjusting
the module installation as part of #8191 .
2015-01-23 15:31:45 +01:00
Eric Lippmann
7500dd9c68
Revert "GroupSummary/Postgres: Fix group by in initial join query"
...
This reverts commit f47bc46654
.
Conflicts:
modules/monitoring/library/Monitoring/Backend/Ido/Query/GroupsummaryQuery.php
No need to reintroduce group columns.
2015-01-23 15:27:52 +01:00
Johannes Meyer
14a4aaeb77
Revert "Fix that when chosing to not to store preferences an invalid config is created"
...
This reverts commit 6284da451e
.
2015-01-23 15:23:43 +01:00
Johannes Meyer
6284da451e
Fix that when chosing to not to store preferences an invalid config is created
...
fixes #8234
2015-01-23 14:42:09 +01:00
Eric Lippmann
c78d4aa0bd
monitoring/security: Provide permissions for the feature commands
2015-01-23 13:29:47 +01:00
Eric Lippmann
86ac09d7b1
monitoring: Use the service group alias for displaying service group names in the servicegroups overview
...
refs #8266
2015-01-23 11:24:39 +01:00
Eric Lippmann
7e05de1255
monitoring: Select the service group alias in the servicegroups ovweview
...
refs #8266
2015-01-23 11:23:59 +01:00
Eric Lippmann
9fe720e715
monitoring: Escape the service group name in the servicegroups overview
2015-01-23 11:23:42 +01:00
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
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
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
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
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
9c47b2d949
monitoring: Fix permission description for 'monitoring/command/schedule'
2015-01-22 13:46:32 +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
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
Johannes Meyer
c4c248cbb7
Make the ModulePage's design more appealing
...
refs #8191
2015-01-22 10:57:41 +01:00
Eric Lippmann
1aa91f0228
monitoring: Select host and service display_name for an object's history
...
refs #7843
2015-01-22 10:57:15 +01:00
Eric Lippmann
d1715c8ec6
monitoring: Escape event message in an object's event history
2015-01-22 10:45:14 +01:00
Eric Lippmann
a1f4d124b4
monitoring: Prefer <br> over <br /> in components/header.phtml
2015-01-22 10:36:44 +01:00
Eric Lippmann
9e5d7f43ff
monitoring: Show host_name in the detail area too if it's different from the display_name
...
refs #7843
2015-01-22 10:36:02 +01:00
Eric Lippmann
3d306c0a06
monitoring: Use display_name for displaying the host name in the detail area
...
refs #7843
2015-01-22 10:35:06 +01:00
Eric Lippmann
4539462bc7
monitoring: Select host_display_name in the host and service object
...
refs #7843
2015-01-22 10:34:35 +01:00
Eric Lippmann
e61edaaffb
monitoring: Show service_description in the detail area too if it's different from the display_name
...
refs #7843
2015-01-22 10:30:55 +01:00
Eric Lippmann
ed7dc1beb6
monitoring: Use display_name when displaying the service name in the detail area
...
refs #7843
2015-01-22 10:29:57 +01:00
Eric Lippmann
98acc9166a
monitoring: Fix coding style in components/header.phtml
2015-01-22 10:24:44 +01:00
Eric Lippmann
d064b0ac79
monitoring: Rename $showService to $isService in the header view script
...
Most views use $isService to set whether we are about to show a service.
2015-01-21 17:29:31 +01:00
Johannes Meyer
1ee873adfc
Remove the "old" ModulePage view script
...
refs #8191
2015-01-21 17:00:30 +01:00
Johannes Meyer
71fd1036de
Pre-select the monitoring module in the setup wizard
...
It's TEH module!!1
refs #8191
2015-01-21 16:57:08 +01:00
Johannes Meyer
913143f3a8
Update the SummaryPage's description
...
A summary page isn't an indicator anymore for a complete wizard as
there are multiple summary pages now.
refs #8191
2015-01-21 16:52:38 +01:00
Eric Lippmann
6be0224d9d
monitoring: Add sort by 'Host' and 'Service' in the comments overview
...
refs #7843
2015-01-21 16:15:38 +01:00
Eric Lippmann
3055531e2d
monitoring: Support sorting by host and service display name in the Comment data view
...
refs #7843
2015-01-21 16:15:09 +01:00
Eric Lippmann
cf391b056c
monitoring: Use display_name for displaying the host and service names in the comments overview
...
refs #7843
2015-01-21 16:12:37 +01:00
Eric Lippmann
e933b9174c
monitoring: Select the host and service display_name columns in the comments overview
...
refs #7843
2015-01-21 16:10:02 +01:00
Eric Lippmann
94be58e121
monitoring: Support host and service display_name columns in the Comment data view
...
refs #7843
2015-01-21 16:09:36 +01:00
Eric Lippmann
a91a2eba68
monitoring: Support host and service display_name columns in the CommentQuery
...
refs #7843
2015-01-21 16:09:13 +01:00
Eric Lippmann
9b7e67919f
monitoring: Use host and service icons in the notifications overview
2015-01-21 15:59:20 +01:00
Eric Lippmann
439052ad97
monitoring: Use the link helper in the downtimes overview
2015-01-21 15:56:58 +01:00
Eric Lippmann
423e4c55a8
monitoring: Use the ellipsis view helper in the notifications overview
2015-01-21 15:52:24 +01:00
Eric Lippmann
cbbd811adb
monitoring: Do not strip_tags in the notifications overview
2015-01-21 15:51:14 +01:00
Eric Lippmann
b6f87df90e
monitoring: Select the host and service display_name column when viewing notifications for a contact
...
refs #7843
2015-01-21 15:50:32 +01:00
Eric Lippmann
0ceec816c6
monitoring: Use notifications default ordering when showing a contact
2015-01-21 15:49:36 +01:00
Eric Lippmann
ece6bfe6bb
monitoring: Use display_name for displaying the host and service name in the notifications overview
...
refs #7843
2015-01-21 15:48:45 +01:00
Eric Lippmann
846f391080
monitoring: Select the host and service display_name columns in the notifications overview
...
refs #7843
2015-01-21 15:48:04 +01:00
Eric Lippmann
ad879b1ee6
monitoring: Select the host and service display_name columns in the Notification data view
...
refs #7843
2015-01-21 15:47:36 +01:00
Eric Lippmann
d8b1e63231
monitoring: Support host and service display_name in the NotificationQuery
...
refs #7843
2015-01-21 15:47:10 +01:00
Eric Lippmann
b05316340c
monitoring: Add Link view helper
...
Most of the monitoring overviews link to detail information, e.g. the full information of the involved monitored
object. Instead of reintroducing link generation and translation in those views, this helper contains most
frequently used jump links.
2015-01-21 15:46:41 +01:00
Johannes Meyer
96390d34bf
Enable modules as part of the main installation routine
...
refs #8191
2015-01-21 15:03:34 +01:00
Johannes Meyer
817e4e937c
Run module wizards as part of the main application's wizard
...
A user now chooses right after the start which modules to install and
configures them as part of the main routine.
refs #8191
2015-01-21 14:00:57 +01:00
Johannes Meyer
08e600a376
Re-introduce the ModulePage
...
Now with pretty checkboxes :)
refs #8191
2015-01-21 13:57:59 +01:00