Commit Graph

4784 Commits

Author SHA1 Message Date
Eric Lippmann 3745d3ebef monitoring: Count acknowledged hosts once in hosts/show.phtml 2014-12-30 10:31:23 +01:00
Eric Lippmann 507aefa9dd monitoring: Count unhandled hosts once in hosts/show.phtml 2014-12-30 10:30:31 +01:00
Eric Lippmann c87733debc monitoring: Count hosts once in hosts/show.phtml 2014-12-30 10:26:19 +01:00
Eric Lippmann 973a56c984 Merge branch 'master' into feature/translation-plural-8092 2014-12-30 10:22:44 +01:00
Eric Lippmann 59c39e94db Merge branch 'bugfix/hostgroup-link-7259'
fixes #7259
2014-12-30 10:20:44 +01:00
Eric Lippmann 50bbf77d0c Fix module domain detection in Form::getTranslationDomain()
The usage of preg_replace had two errors:
1) The regular expression was wrong
2) $matches[0] always contains the full matched string, not the first parenthesized subpattern

The correct version of preg_replace would've been:

if (preg_match('/^Icinga\\\\Module\\\\([A-Za-z]+)\\\\/', get_called_class(), $matches) === 1) {
    return strtolower($matches[1]);
}

But since there's no benefit of using a regular expression here except less speed, I replaced it
with using explode.

refs #7551
2014-12-30 10:08:33 +01:00
Eric Lippmann d6e331018b monitoring: Use Form::translate() in the backend configuration form
refs #7551
2014-12-30 10:02:31 +01:00
Eric Lippmann e05e04bb74 monitoring: Uppercasse the first word of comments in the backend configuration form 2014-12-30 09:47:45 +01:00
Eric Lippmann e72361c2cb monitoring: Fix missing return argument in the backend configuration form 2014-12-30 09:47:19 +01:00
Eric Lippmann 24b2369adb monitoring: Fix PHPDoc of BackendConfigForm::setResourceConfig() 2014-12-30 09:45:24 +01:00
Eric Lippmann 27110ce594 monitoring: use @type instead of @var in the backend configuration form 2014-12-30 09:44:33 +01:00
Eric Lippmann 6a67b7fee3 monitoring: add description to @see tags in the backend configuration form 2014-12-30 09:43:35 +01:00
Eric Lippmann 2a1f12354e monitoring: Use '@return $this' when documenting fluent interfaces in the backend configuration form 2014-12-30 09:41:22 +01:00
Eric Lippmann d595541d42 monitoring: optimize imports in the backend configuration form 2014-12-30 09:40:09 +01:00
Eric Lippmann c1aff80f7b monitoring: Fix "Show resource configuration" link 2014-12-30 09:39:11 +01:00
Eric Lippmann 58cfb67983 Load setup module when necessary when bootstrapping the CLI
fixes #8146
2014-12-30 09:27:37 +01:00
Eric Lippmann fc05f4d53e setup: Fix the mode of created directories 2014-12-29 17:55:34 +01:00
Eric Lippmann 3bd24c48ff monitoring: Do not provide export when viewing a monitored object
This is simply not possible at the moment.
2014-12-29 17:54:39 +01:00
Eric Lippmann e376bd6285 monitoring: Fix that exporting a object's history throws an exception
fixes #6586
2014-12-29 17:54:09 +01:00
Eric Lippmann fd044017fb Revert "Highlight hovered state rows even if there is no href"
This reverts commit 73f9328f12.

Highlighting table rows which do not contain a link does not make sense.

refs #8024
2014-12-29 17:31:00 +01:00
Eric Lippmann 9d9dd8ac99 Merge branch 'feature/rhel-packages-6401'
resolves #6401
2014-12-29 16:50:20 +01:00
Eric Lippmann 2d0153464d Add spec file for RHEL (CentOS and Fedora) packages
refs #6401
fixes #6894
2014-12-29 16:48:18 +01:00
Eric Lippmann 57121bf0ea dompdf: Rename LICENSE.LGPL to LICENSE 2014-12-29 16:31:21 +01:00
Eric Lippmann 0b8ab18243 Parsedown: Rename LICENSE.txt to LICENSE 2014-12-29 16:30:44 +01:00
Matthias Jentsch a1950aabba Fix some obsolete or wrong docstrings 2014-12-29 16:27:28 +01:00
Matthias Jentsch 3d07049fbf Re-render menu item after setting class to active
Force the browser to re-render the menu item, to update the link layout immediately
by recreting the content html.

fixes #7897
2014-12-29 16:21:10 +01:00
Matthias Jentsch 4cf8da4bb9 Do not focus logout menu item after a recurring login
Implement new MenuItemRenderer made for pages that are not part
of the regular site navigation and should trigger a complete site reload
instead of handling it via XHR.
2014-12-29 16:20:05 +01:00
Eric Lippmann ff17c3729c setup: Use 'icingaweb2' as default authentication backend name 2014-12-29 16:06:34 +01:00
Eric Lippmann f0fe6246ac Use '/var/log/icingaweb2/icingaweb2.log' as default path when logging to file 2014-12-29 16:02:40 +01:00
Eric Lippmann 5bc2144b18 Use 'icingaweb2' as default application prefix for logging to syslog 2014-12-29 16:01:07 +01:00
Eric Lippmann 960cead434 Merge branch 'master' into feature/packages-4075 2014-12-29 15:59:27 +01:00
Eric Lippmann cfb52eeadb Do not use a default regular expression for stripping off parts of a username when configuring an auto-login backend
There's no safe default for this.
2014-12-29 15:56:32 +01:00
Eric Lippmann e1bedc9afe Use Icinga 2's default Livestatus socket path as default when configuring a livestatus resource 2014-12-29 15:55:57 +01:00
Eric Lippmann 94a4b4425f puppet: Use icingaweb2 instead of icingaweb in paths and database setup 2014-12-29 15:42:24 +01:00
Eric Lippmann 2bd9d27e05 Do not validate the mode of the setup.token
Relying on the mode of the configuration directory must be sufficient.
2014-12-29 14:33:37 +01:00
Eric Lippmann daaf242145 Fix the default configuration path in our web wizard 2014-12-29 14:33:07 +01:00
Eric Lippmann 19387b24ab Do not use a new function for getting the configuration directory in our web wizard 2014-12-29 14:32:20 +01:00
Eric Lippmann 839523a73f Web: Load setup module if necessary 2014-12-29 14:31:34 +01:00
Eric Lippmann 74ce666cd8 Use the requiresSetup variable instead of configMissing in login.phtml 2014-12-29 14:31:07 +01:00
Eric Lippmann 250e05f2e8 Optimize imports in AuthenticationController.php 2014-12-29 14:30:47 +01:00
Eric Lippmann 9d8fab51b1 Use the setup related utility functions in AuthenticationController.php 2014-12-29 14:30:06 +01:00
Eric Lippmann 611d01788f Add setup related utility functions to ApplicationBootstrap.php 2014-12-29 14:29:31 +01:00
Eric Lippmann 7d36a59c67 Use '@return $this' instead of '@return self' for document fluent interfaces in ApplicationBootstrap.php 2014-12-29 14:01:19 +01:00
Eric Lippmann 4ea52161a9 Merge branch 'master' into feature/packages-4075 2014-12-29 12:31:38 +01:00
root a48adb5e4b doc: Fix typo in installation.md
Signed-off-by: Eric Lippmann <eric.lippmann@netways.de>
2014-12-29 12:28:14 +01:00
Eric Lippmann bf92f9fa85 monitoring: Fix the link to services in downtime when multiple services are selected 2014-12-29 12:25:41 +01:00
Eric Lippmann 26bc56e9df monitoring: Fix the link to hosts in downtime when multiple hosts are selected 2014-12-29 12:19:37 +01:00
Eric Lippmann f1f808b7a3 Do not use array_map for generating the unhandled objects filter in HostsController.php 2014-12-29 12:17:17 +01:00
Eric Lippmann 2db2865433 Do not use an extra loop for generating the unhandled objects filter in ServicesController.php 2014-12-29 12:11:49 +01:00
Eric Lippmann 4441c1d4de Allow to grant every permission 2014-12-29 11:53:55 +01:00