4701 Commits

Author SHA1 Message Date
Eric Lippmann
8bf66425d1 Merge branch 'master' into bugfix/commands-6593 2014-09-15 09:27:56 +02:00
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
Alexander Fuhr
f48094f01a Merge branch 'master' into feature/translation-plurals-6982 2014-09-15 08:34:19 +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
Michael Friedrich
e50221fde8 spec: Use application name in install path
refs #6401
2014-09-13 00:16:45 +02:00
Alexander Klimov
f5a232f3a7 Update 'resources.ini'
refs #6842
2014-09-12 19:08:01 +02:00
Alexander Klimov
1f547aa1ec Profile icingaweb2_dev': add user apache' to group `icingacmd'
refs #6842
2014-09-12 19:03:17 +02:00
Alexander Klimov
ec9c174139 icingaweb2::config::general: hardcode '/etc/icingaweb' once less
refs #6842
2014-09-12 18:59:20 +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
Matthias Jentsch
7f0a2d540b Tell navigation behavior about changes in active menus
fixes #7181
2014-09-12 15:01:25 +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
Alexander Klimov
17db985a37 Profile `icinga2_dev': include monitoring_plugins and monitoring_test_config
refs #6842
2014-09-12 13:23:44 +02:00
Matthias Jentsch
1932a912f8 Fix month-naming for different week arrangements
fixes #7179
2014-09-12 11:51:51 +02:00
Matthias Jentsch
6c3c466f92 Start history grid weeks at monday
Add configuration option for week-start and set the default to Monday.
2014-09-12 11:51:51 +02:00
Matthias Jentsch
e42b7b3026 Display current weeks at the beginning of the history grid
fixes #7179
2014-09-12 11:51:51 +02:00
Alexander Klimov
24c3a30dba Add module/class `git_cmmi'
refs #6842
2014-09-12 11:51:10 +02:00
Alexander Klimov
4a5accea0b Add module/class `cmmi_dir'
refs #6842
2014-09-12 11:42:09 +02:00
Alexander Klimov
fa8584059a Add module/class `git'
refs #6842
2014-09-12 10:55:12 +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
Thomas Gelf
8ceef96d28 Web\Hook: remove unused methods 2014-09-12 09:53:38 +02:00
Thomas Gelf
93777ac15e Web/Response: use & to encode XHR redirection URLs 2014-09-12 09:28:11 +02:00
Matthias Jentsch
ad53f7ad3d Use EventEmitter class as a way to delegate events from behaviors to the dom 2014-09-12 09:09:21 +02:00
Thomas Gelf
3a5415f7c8 test/Web/Hook: refactor without mocks
Mocks made no sense here. Also introduced a "new" way of naming test
functions. Output now looks as follows:

s\Icinga\Web\Hook
 [x] Knows which hooks are registered
 [x] Correctly handles multiple instances
 [x] Returns null for invalid hooks
 [x] Returns null for failing hook
 [x] Checks whether created instances inherit base classes
 [x] Throws errors for instances not inheriting base classes
 [x] Creates identical instances only once
 [x] Returns an empty array with no registered hook
2014-09-12 09:07:27 +02:00
Thomas Gelf
0e926ba05e Revert "Revert "Web\Hook: register('grapher')
This reverts commit 65564cda65413bf9ee266d673f48463d07ab7895.

The test was wrong, not the code.
2014-09-12 09:02:23 +02:00
Alexander Klimov
c29eb0d123 cpan: require Class[perl]
refs #6842
2014-09-11 19:12:02 +02:00
Alexander Klimov
eea9ee8a67 perl: create link '/usr/local/bin/perl' to perl binary
refs #6842
2014-09-11 18:26:54 +02:00
Alexander Klimov
bb716e8a49 cmmi: require Class[gcc]
refs #6842
2014-09-11 18:26:34 +02:00
Alexander Klimov
0a2fbf4aee Add module/class `gcc'
refs #6842
2014-09-11 18:26:34 +02:00
Alexander Klimov
6db2e4e1d1 cmmi: require Class[tar]
refs #6842
2014-09-11 18:26:33 +02:00
Alexander Klimov
8c00c6d464 Add module/class `tar'
refs #6842
2014-09-11 18:26:32 +02:00
Alexander Klimov
22d155b1da Add module/class `perl'
refs #6842
2014-09-11 18:26:32 +02:00
Alexander Fuhr
583fd46f15 Experimental Plural Translation Implementation
Personal BACKUP
2014-09-11 18:04:10 +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