3292 Commits

Author SHA1 Message Date
Eric Lippmann
9e0d6657b7 Merge branch 'bugfix/rebuild-form-builder-5525' into bugfix/commands-6593
Conflicts:
	application/forms/Preference/GeneralForm.php
2014-09-15 09:27:07 +02:00
Eric Lippmann
a18287d183 monitoring/commands: Rename PropagateHostDowntime' to PropagateHostDowntimeCommand'
refs #6593
2014-09-13 20:34:51 +02:00
Eric Lippmann
6bfab25009 monitoring/commands: Remove the `CommandForm' view helper
All command forms will be renderered using their real classes.

refs #6593
2014-09-13 20:33:45 +02:00
Eric Lippmann
33e0fbb7d9 monitoring/commands: Fix code compliance
refs #6593
2014-09-12 16:53:48 +02:00
Eric Lippmann
9b5c1f06d0 monitoring/commands: Let detail snippets use the new command forms
refs #6593
2014-09-12 16:52:45 +02:00
Eric Lippmann
17e04e9937 monitoring: Point service's detail to the new `ServiceController' in the services list view
refs #6593
2014-09-12 16:51:18 +02:00
Eric Lippmann
5d07b04f82 monitoring/commands: Introduce `ServiceController'
refs #6593
2014-09-12 16:50:42 +02:00
Eric Lippmann
5f13db73ce monitoring/commands: Use the toggle instance features command form in the process controller
refs #6593
2014-09-12 16:46:07 +02:00
Eric Lippmann
3a9774e6e5 monitoring/commands: Support toggling instance features
refs #6593
2014-09-12 16:43:18 +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
beecf16ad0 lib: Add `InvalidPropertyException' 2014-09-12 10:18:48 +02:00
Eric Lippmann
c0e3447339 monitoring: Adapt host and service classes to match their base class' interface 2014-09-12 10:17:46 +02:00
Eric Lippmann
aca5a2e466 monitoring: Fetch Icinga object properties lazily 2014-09-12 10:16:31 +02:00
Eric Lippmann
b6ac31d10f monitoring/commands: Let transports use the Icinga command file command renderer
refs #6593
2014-09-11 17:39:59 +02:00
Eric Lippmann
1df8076234 monitoring/commands: Add command renderer for the Icinga command file
refs #6593
2014-09-11 17:39:13 +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
3845301dfb monitoring/commands: Add object command classes
refs #6593
2014-09-11 17:18:07 +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
c40ac6f9dc monitoring/commands: Add `DisableNotificationsExpireCommand'
refs #6593
2014-09-11 17:11:32 +02:00
Eric Lippmann
1247fdcad4 monitoring/commands: Move toggle instance feature commands into a single command
refs #6593
2014-09-11 17:10:20 +02:00
Eric Lippmann
5757a6f34b monitoring: Fix typo in the `Downtime' data view 2014-09-10 09:29:01 +02:00
Eric Lippmann
171b366744 monitoring/commands: Let `AddCommentCommand' be the command object for adding both host and service commands
refs #6593
2014-09-09 16:41:41 +02:00
Eric Lippmann
28a66c8541 monitoring/commands: Introduce `ObjectCommand' for commands that involve a Icinga object
refs #6593
2014-09-09 16:40:09 +02:00
Eric Lippmann
d9fbbca447 monitoring/commands: Move AddCommentCommand' to WithCommentCommand'
`AddCommentCommand' will be the command for adding both host and service comments.

refs #6593
2014-09-09 16:39:22 +02:00
Eric Lippmann
a841b0956d monitoring/commands: Do not require command objects to return the command string
There will be command renderer instead.

refs #6593
2014-09-09 16:35:06 +02:00
Johannes Meyer
83772c6684 Merge branch 'master' into bugfix/rebuild-form-builder-5525 2014-09-09 16:03:22 +02:00
Alexander Fuhr
7d45384289 Fixes translations module missing header language line
fixes #7154
2014-09-09 15:52:26 +02:00
Matthias Jentsch
71f55e388f Only display custom menu renders on XHR requests and not in regular HTML
The main navigation should be rendered without a working backend.

fixes #7143
2014-09-09 15:33:42 +02:00
Matthias Jentsch
b7c207a9cb Do not drop preselection in the navigation on reload 2014-09-09 15:32:07 +02:00
Johannes Meyer
e7c021845d Simplify subform usage
refs #5525
2014-09-09 15:00:33 +02:00
Matthias Jentsch
157818c8e7 Fix navigation reload
Activate the correct menu item with JavaScript after relaod and don't
 render it on server-side on XHR requests.
2014-09-09 13:57:48 +02:00
Johannes Meyer
ceeb3a9ff8 Fix createElements() not returning self where applicable
refs #5525
2014-09-09 13:24:39 +02:00
Johannes Meyer
6bde740d21 Fix Icinga\Form\ConfigForm show config feature not available for modules
refs #5525
2014-09-09 13:22:51 +02:00
Johannes Meyer
0693e7cf2d Fix ResourceForm tests
refs #5525
2014-09-09 13:06:30 +02:00
Johannes Meyer
9d8f810e10 Icinga\Web\Request::getParam() should be mocked as well by default 2014-09-09 13:01:09 +02:00
Johannes Meyer
40947acd16 Fix, rename and move ReorderFormTest
refs #5525
2014-09-09 12:02:51 +02:00
Johannes Meyer
7dbc83e21f Drop obsolete BaseBackendFormTest
refs #5525
2014-09-09 11:58:07 +02:00
Johannes Meyer
e4fccdd150 Fix DbBackendFormTest
refs #5525
2014-09-09 10:39:49 +02:00
Johannes Meyer
31978e1236 Fix LdapBackendFormTest
refs #5525
2014-09-09 10:36:42 +02:00
Johannes Meyer
cee3c32fa5 Fix dashboard tests utilizing BaseTestCase::setupIcingaMock() 2014-09-09 10:21:37 +02:00
Johannes Meyer
a5c027b77c Fix UrlTest utilizing BaseTestCase::setupIcingaMock() 2014-09-09 10:21:09 +02:00
Johannes Meyer
d6377ca00c Return bootstrap mock when calling BaseTestCase::setupIcingaMock() 2014-09-09 10:19:51 +02:00
Johannes Meyer
c947ba3b18 Use the new view script to show INI configuration in case of failures 2014-09-09 09:46:57 +02:00