3195 Commits

Author SHA1 Message Date
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
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
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
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
Alexander Klimov
1e511a0e3a Rename icingaweb2::config::monitoring' to icingaweb2::config::module'
refs #6842
2014-09-09 14:48:55 +02:00
Alexander Klimov
7e4feb748d Profile `icingaweb2_dev': softcode '/etc/icingaweb' as $cfgpath
refs #6842
2014-09-09 14:45:04 +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
Alexander Klimov
6aa2dcdd72 Profile icingaweb2_dev': outsource Icinga Web 2 config file provision into (new) define's
icingaweb2::config
icingaweb2::config::monitoring

refs #6842
2014-09-09 13:40:16 +02:00
Alexander Klimov
77719be042 Profile `icingaweb2_dev': deduplicate DB creation/population
refs #6842
2014-09-09 13:19:12 +02:00
Alexander Klimov
be7bae8cd6 pgsql::database::populate: populate the DB only if it's empty
refs #6842
2014-09-09 12:32:21 +02:00
Alexander Klimov
4484a3117b mysql::database::populate: populate the DB only if it's empty
refs #6842
2014-09-09 12:30:35 +02:00
Matthias Jentsch
56b779af4d Clean up mousemove handler and remove unused tooltip code 2014-09-08 16:46:47 +02:00
Matthias Jentsch
28f5ef2284 Fix elementsOverlap function for SVG elements
Access SVG getBBox function to acquire the bounding box for SVG elements
2014-09-08 16:37:20 +02:00
Matthias Jentsch
a352131d65 Move charts.less into widgets.less
Don't use a separate less file for only two styles
2014-09-08 16:25:11 +02:00
Matthias Jentsch
40611659ed Fix disappearing tooltips on SVG reload
Use a unified linebreak in the chart controller, so the tooltip handling will recognize the titles as identical
2014-09-08 16:23:14 +02:00
Matthias Jentsch
0fd561928a Remove cached version of dompdf log.htm from source control 2014-09-08 16:22:15 +02:00