3670 Commits

Author SHA1 Message Date
Alexander Klimov
413634280e Exec: prefer "user => ..." rather than "command => 'sudo -u ..."
refs #6842
2014-09-10 17:49:17 +02:00
Alexander Klimov
de4380e233 Module icinga2': add user icinga'
refs #6842
2014-09-10 17:19:43 +02:00
Matthias Jentsch
9376ceed33 Add missing use-statement for Exceptions in MenuRenderer
fixes #7157
2014-09-10 17:12:19 +02:00
Matthias Jentsch
2e0bef5696 Add missing event unbind 2014-09-10 17:10:08 +02:00
Matthias Jentsch
095f110efc Merge branch 'bugfix/move-events-into-separate-classes-7140'
fixes #7140
2014-09-10 17:05:06 +02:00
Matthias Jentsch
0ec97eb934 Only apply navigation link-click handlers to menu 2014-09-10 17:02:39 +02:00
Matthias Jentsch
e216ba6721 Merge stash 2014-09-10 17:02:39 +02:00
Matthias Jentsch
7aadad913e Do not follow empty menu links 2014-09-10 17:02:39 +02:00
Matthias Jentsch
cb9c9c78d8 Move navigation events into behavior 2014-09-10 17:02:39 +02:00
Matthias Jentsch
c0908e32ba Remove unused behavior base-class 2014-09-10 17:02:39 +02:00
Matthias Jentsch
f58da73e2d Move javascript behaviors into separate classes 2014-09-10 17:02:39 +02:00
Matthias Jentsch
5d2e849491 Apply behaviors correctly on startup 2014-09-10 17:02:39 +02:00
Matthias Jentsch
d99d50b3c4 Add stub for javascript behaviors 2014-09-10 17:02:38 +02:00
Alexander Klimov
a82bafc07b Make `icinga2::config' responsible for parent directory creation
refs #6842
2014-09-10 16:58:06 +02:00
Thomas Gelf
ea63dad087 viewHelpers: use the view
refs #7177
2014-09-10 16:56:26 +02:00
Thomas Gelf
631b3d9f6e viewHelpers: There is no $this, not before 5.4
refs #7177
2014-09-10 16:54:57 +02:00
Thomas Gelf
c2fe0232ca helpers/attributes: escape value
refs #7177
2014-09-10 16:07:00 +02:00
Alexander Klimov
4a2259a0df Module `icinga2': notify Service[...] rather than requiring (the whole) Class[...]
refs #6842
2014-09-10 15:36:42 +02:00
Alexander Klimov
a5b3601d44 Make icinga2::feature' responsible for icinga2::config'
refs #6842
2014-09-10 15:14:14 +02:00
Alexander Klimov
4008b86e33 icinga2::feature: replace exec' with file'
refs #6842
2014-09-10 14:59:44 +02:00
Alexander Klimov
e124a4254d icinga2::config: hardcode '/etc/icinga2' once less
refs #6842
2014-09-10 14:38:18 +02:00
Matthias Jentsch
27960fc628 Catch exceptions in MenuItemRenderers
fixes #7157
2014-09-10 14:38:11 +02:00
Alexander Klimov
a99dbab4d4 icinga2::feature: don't require Package[icinga2]
refs #6842
2014-09-10 14:10:30 +02:00
Alexander Klimov
203dddbb24 Module icinga2_mysql': require Icinga2::Config[...]' rather than `File[...]'
refs #6842
2014-09-10 13:57:37 +02:00
Alexander Klimov
2576a3bc32 Module icinga2_mysql': require icinga2::config'
refs #6842
2014-09-10 12:48:22 +02:00
Alexander Klimov
65a65ae2b3 Profile icingaweb2_dev': require module apache'
refs #6842
2014-09-10 11:48:14 +02:00
Alexander Klimov
d61e883422 icingaweb2::config::general: require module `apache'
refs #6842
2014-09-10 11:45:57 +02:00
Alexander Klimov
5e3f60d42b Module apache': add user apache'
refs #6842
2014-09-10 11:38:10 +02:00
Alexander Klimov
a33042bcc9 Profile icingaweb2_dev': add path' for Exec
refs #6842
2014-09-10 11:27:28 +02:00
Alexander Klimov
260ec95771 Rename icingaweb2::config' to icingaweb2::config::general'
refs #6842
2014-09-10 11:24:15 +02:00
Alexander Klimov
930416b0dc pgsql::database::populate: Exec: add '/bin' to `path'
refs #6842
2014-09-10 11:14:55 +02:00
Alexander Klimov
406f3ba6f7 mysql::database::populate: Exec: add '/bin' to `path'
refs #6842
2014-09-10 11:05:13 +02:00
Alexander Klimov
9bb68c42a0 pgsql::database::populate: require module `grep'
refs #6842
2014-09-10 10:23:32 +02:00
Alexander Klimov
645a2ec380 mysql::database::populate: require module `grep'
refs #6842
2014-09-10 10:20:22 +02:00
Marius Hein
9c2cf0bd0f StateHistoryQuery: Make whereToSql robust
This fixes bugs is a array for expression comes in or types
does not exist.

fixes #7133
2014-09-10 10:07:03 +02:00
Alexander Klimov
01807c26a7 Add module `grep'
refs #6842
2014-09-10 10:04:27 +02:00
Eric Lippmann
5757a6f34b monitoring: Fix typo in the `Downtime' data view 2014-09-10 09:29:01 +02:00
Alexander Klimov
924a511386 Profile `icingaweb2_dev': add config files to 'modules/monitoring'
backends.ini
config.ini
instances.ini

refs #6842
2014-09-09 18:00:26 +02:00
Alexander Klimov
07c4591499 Profile `icingaweb2_dev': add config file 'config.ini'
refs #6842
2014-09-09 17:46:00 +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
Matthias Jentsch
da7e599363 Only remove active elements in navigation on reload 2014-09-09 16:32:15 +02:00
Alexander Klimov
0fbe072747 Profile `icingaweb2_dev': add config file 'authentication.ini'
refs #6842
2014-09-09 16:27:26 +02:00
Alexander Klimov
858e7c2f9e Profile `icingaweb2_dev': add config file 'resources.ini'
refs #6842
2014-09-09 16:18:09 +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