242 Commits

Author SHA1 Message Date
Eric Lippmann
338d067aba Add license header
fixes #7788
2015-02-03 15:51:04 +01:00
Johannes Meyer
9df2430cbe Remove redundant help message when scheduling host/service checks 2015-02-02 16:31:57 +01:00
Eric Lippmann
127ce7abfe monitoring/security: Fix that toggling instance features is always disabled
In HTML5 the presence of a boolean attribute on an element represents the true value,
and the absence of the attribute represents the false value.

In Zend we have to set null for the absence of the attribute and the empty string for the
presence of the attribute.
2015-01-30 10:47:02 +01:00
Eric Lippmann
1681f746c1 monitoring/security: Disable toggling object features if user lacks the permission monitoring/command/feature/object 2015-01-30 10:46:24 +01:00
Eric Lippmann
bdc637ff67 monitoring/security: Guard toggling object features
Toggling object features will only be possible if the user has the permission monitoring/command/feature/object.
2015-01-30 10:31:49 +01:00
Eric Lippmann
35b33647cf monitoring/security: Guard the link for disabling notifications on an instance-wide basis
The link in the monitoring health view will only be shown if the user has the permission monitoring/command/feature/instance.
2015-01-30 10:26:43 +01:00
Eric Lippmann
3716be4a48 monitoring/security: Disable toggling instance features if user lacks the permission monitoring/command/feature/instance 2015-01-30 10:01:03 +01:00
Eric Lippmann
7dbb8c6841 monitoring/security: Require monitoring/command/feature/instance permission for toggling instance features 2015-01-30 09:58:10 +01:00
Johannes Meyer
7082ebaf7b Replace t() and mt() with translate() in the monitoring module's forms
refs #7551
2015-01-19 13:47:01 +01:00
Johannes Meyer
23bbf63b73 Revert "Replace t() and mt() with translate() in the monitoring module's forms"
This reverts commit 970006838cb2791091dfb2632b1c7eea9d4a243f.
2015-01-19 13:44:16 +01:00
Johannes Meyer
970006838c Replace t() and mt() with translate() in the monitoring module's forms
refs #7551
2015-01-19 10:49:02 +01:00
Eric Lippmann
fa226f261e monitoring: Remove css class 'control-group' from date and time elements in the schedule downtime command form
This CSS class does no longer exist.
2014-12-19 10:45:23 +01:00
Eric Lippmann
b0ab6c3a76 monitoring: Remove css class 'control-group' from the expire time element
This CSS class does no longer exist.
2014-12-19 10:43:14 +01:00
Johannes Meyer
ddc121d1cc Add ProcessCheckResultCommandForm
refs #6854
2014-12-11 15:52:23 +01:00
Bernd Erk
066ea782aa Fixes Check now button 2014-11-19 13:49:30 +01:00
Alexander Fuhr
7a7157ebef Move command note to the `getHelp()' and add the help as an icon 2014-11-18 16:10:17 +01:00
Johannes Meyer
ddf2ef5cc9 Remove $request parameter from Form::onSuccess and Form::onRequest
fixes #7552
2014-11-14 14:59:29 +01:00
Johannes Meyer
3166c518e1 Rename Icinga\Module\Monitoring\Form to Icinga\Module\Moni...\Forms
refs #7553
2014-11-14 11:17:22 +01:00
Johannes Meyer
ea56e4f108 Fix addElements call in CheckNowCommandForm 2014-11-14 10:41:30 +01:00
Johannes Meyer
1c4a5ce86f Leave it up to Icinga\Web\Form to instantiate our own form elements 2014-11-14 10:15:27 +01:00
Alexander Fuhr
dedb348af9 Add clickable icon for command check now 2 2014-11-13 15:55:25 +01:00
Thomas Gelf
f24b0e2a4e MonitoringBackend: a few more places, doesn't hurt 2014-11-12 00:20:37 +01:00
Alexander Fuhr
285d10ef22 Replace Zend Note Element through Icingas Note Element
fixes #7318
fixes #7309
fixes #7307
2014-09-26 16:32:07 +02:00
Eric Lippmann
9601942116 monitoring/commands: Default 'schedule downtime for all services on the hosts' to false
refs #6593
2014-09-23 17:39:32 -07:00
Eric Lippmann
b10737017d monitoring/commands: Default 'reschedule all service checks on the hosts' to false
refs #6593
2014-09-23 17:36:15 -07:00
Eric Lippmann
72a9a53201 monitoring/commands: Use translate plurar in the object command forms
refs #6593
2014-09-19 14:25:49 +02:00
Eric Lippmann
71ffd0ed74 monitoring/commands: Add schedule host check command form
refs #6593
2014-09-16 18:48:36 +02:00
Eric Lippmann
4d8b6dddf1 monitoring/commands: Add schedule host downtime command form
refs #6593
2014-09-16 18:48:07 +02:00
Eric Lippmann
33e0fbb7d9 monitoring/commands: Fix code compliance
refs #6593
2014-09-12 16:53:48 +02:00
Eric Lippmann
4d784c6097 monitoring/commands: Re-add the changed identifier to object features
refs #6593
2014-09-12 16:42:00 +02:00
Eric Lippmann
442f956945 monitoring/commands: Fix object command forms code compliance
refs #6593
2014-09-12 15:03:03 +02:00
Eric Lippmann
e5e806a3a1 monitoring/commands: Fix instance command forms code compliance
refs #6593
2014-09-12 15:02:31 +02:00
Eric Lippmann
16bc0e5d5a monitoring/commands: Add icon to the check now command form
refs #6593
2014-09-12 13:29:23 +02:00
Eric Lippmann
1d54c7f836 monitoring/commands: Support 'DISABLE_NOTIFICATIONS_EXPIRE_TIME'
refs #6593
2014-09-12 10:42:48 +02:00
Eric Lippmann
3f216f26ff monitoring/commands: Remove superseded command forms and command objects
refs #6593
2014-09-12 10:20:38 +02:00
Eric Lippmann
b4faa0142b monitoring/commands: Add object command forms
refs #6593
2014-09-11 17:20:20 +02:00
Eric Lippmann
746e75e5ed monitroing/commands: Remove method `CommandForm::inline()'
Inline forms will set themselves as inline.

refs #6593
2014-09-11 17:19:00 +02:00
Eric Lippmann
92571599df monitoring/commands: Move toggle instance feature command forms into a single form
refs #6593
2014-09-11 17:16:13 +02:00
Eric Lippmann
22771e6f6f monitoring/commands: Rename DisableNotificationsCommandForm' to DisableNotificationsExpireCommandForm'
The associated command also has 'Expired' in its name.

refs #6593
2014-09-11 17:13:57 +02:00
Eric Lippmann
0e7ca591ec Merge branch 'master' into bugfix/commands-6593
Conflicts:
	application/forms/Preference/GeneralForm.php
	application/views/helpers/FormDateTime.php
	modules/monitoring/application/forms/Command/CommandForm.php
2014-09-08 10:16:05 +02:00
Thomas Gelf
dccc57b7a2 CommandForm: fix broken function 2014-09-04 18:39:02 +02:00
Marius Hein
6fcf5ec88a DateTime: Remove global and user formattings
refs #6077
2014-09-04 16:02:10 +02:00
Eric Lippmann
1358a5d49f monitoring/commands: Add command form for scheduling a service downtime
refs #6593
2014-09-04 15:42:46 +02:00
Eric Lippmann
6f8fc3eb6d modules/command: Add command description to `DisableNotificationsCommandForm'
refs #6593
2014-09-04 15:30:54 +02:00
Marius Hein
f8b3ffb3c8 AbstractObject: Rename to MonitoredObject
refs #6932
2014-09-04 14:00:48 +02:00
Eric Lippmann
ed645b1eeb monitoring/commands: Fix `CommandForm::getTransport()'s PHPDoc
refs #6593
2014-09-04 13:29:12 +02:00
Eric Lippmann
cb23ef3c4e monitoring/commands: Add `DisableNotificationsCommandForm'
`DisableNotificationsCommandForm' is the form for disabling host and service notifications w/ an optional expire date and time on an Icinga instance.

refs #6593
2014-09-04 13:06:47 +02:00
Eric Lippmann
3d0a74bfdb monitoring/commands: Add `ToggleNotificationsCommandForm'
`ToggleNotificationsCommandForm' is the form for enabling/disabling host and service notifications on an Icinga instance.

refs #6593
2014-09-04 13:04:54 +02:00
Eric Lippmann
bc1d00f146 monitoring/commands: Fix `ToggleFeatureCommandForm::createElements()'
`Icinga\Web\Form::createElements()' no longer requires to return an array of elements
because elements should be created directly.

refs #6593
2014-09-04 13:02:38 +02:00
Eric Lippmann
8d109132b0 monitoring/commands: Add common `ScheduleDowntimeCommandForm'
`ScheduleDowntimeCommandForm' should be the base class for forms scheduling downtimes.

refs #6593
2014-09-04 13:01:42 +02:00