Commit Graph

4849 Commits

Author SHA1 Message Date
Eric Lippmann 07ddc3a455 Merge branch 'feature/translation-plural-8092'
resolves #8092
2014-12-30 10:50:17 +01:00
Eric Lippmann 9c989306d9 monitoring: Count services having comments once in services/show.phtml 2014-12-30 10:48:30 +01:00
Eric Lippmann 2e4e04551d monitoring: Count services in downtime once in services/show.phtml 2014-12-30 10:47:10 +01:00
Eric Lippmann 128f6822f1 monitoring: Count acknowledged services once in services/show.phtml 2014-12-30 10:46:08 +01:00
Eric Lippmann df3d7d2034 monitoring: Count unhandled services once in services/show.phtml 2014-12-30 10:45:24 +01:00
Eric Lippmann a7a99b5856 monitoring: Count hosts once in services/show.phtml 2014-12-30 10:44:22 +01:00
Eric Lippmann 3d95e37b7f monitoring: Count services once in services/show.phtml 2014-12-30 10:43:39 +01:00
Eric Lippmann c28f4284e4 monitoring: Remove the command/* view scripts
They are no longer used.
2014-12-30 10:40:56 +01:00
Eric Lippmann 41ef926fd6 monitoring: Remove the CommandController
The controller is no longer used.
2014-12-30 10:39:33 +01:00
Eric Lippmann b7d6ee75f2 monitoring: Remove the MultiController
The controller is no longer used.
2014-12-30 10:38:43 +01:00
Eric Lippmann 8594ff6843 monitoring: Remove multi/* view scripts
They are no longer used.
2014-12-30 10:38:02 +01:00
Eric Lippmann 56102a1e39 monitoring: Count hosts having comments once in hosts/show.phtml 2014-12-30 10:35:18 +01:00
Eric Lippmann b82f4e5356 monitoring: Count hosts in downtime once in hosts/show.phtml 2014-12-30 10:33:32 +01:00
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