- Set the outer tab as active.
Previously, the inner tab was activated in the setTitleTab method, but the outer tab does not know about the state of inner tabs.
So whenever sendMultipartUpdate() -> getActiveTab() was called, the retured value was always null.
The margin applied by `.title` only work with `<html> text <html>`... structure, here we have <html> followed by <html>, so the margin must be applied explicitely.
Applied the double, so it always looks same in all view modes
The basefilter may contain relations, that are not know to `CustomvarFlat`, which can leads to errors.
For example: RedundancygroupController:completeActions's base filter is not known to `CustomvarFlat`.
The `ObjectSuggestions` instance with `DependencyNode` as the model can
only retrieve custom variables for `Host, Service, Hostgroup and
Servicegroup`. Other relations are not defined and lead to an error.
A node is responsible if:
* it's a host which is reachable but has a problem
* it's a service which is reachable but has a problem
* it's a redundancy group which is reachable but has failed
Required for an upcoming change. Though, I wanted to change this already
a long time ago.
There's absolutely no need to have several open connections to the same
database. Which was the case before, since the connection was
established for each user (class) of the `Database` trait.
But with PDO, queries are by default all serially processed. Only for
MySQL it is possible to change this, by [disabling query
buffering](https://www.php.net/manual/en/mysqlinfo.concepts.buffering.php).
But Icinga DB Web is incompatible anyway, with disabled query buffering,
and so changing this to a singleton is fine in my opinion.
I've deliberately kept the `Database` trait, to not update all usages of
it. In case only the connection is required, the trait still has its
use.
`ScheduleDowntimeCommand` is basically what
`ScheduleServiceDowntimeCommand` previously was. Though, with the
addition of `get|setForAllServices()` which was only part of
`ScheduleHostDowntimeCommand`.
`ScheduleDowntimeCommand::get|setChildOption()` is completely new and
replaces `ScheduleHostDowntimeCommand::get|setTriggered()`.
`ScheduleHostDowntimeCommand`, `PropagateHostDowntimeCommand` and
`ScheduleServiceDowntimeCommand` are now deprecated.
fixes#1090
RedundancygroupController: Add class property for group summary
RedundancygroupController: Apply missing restrictions in `fetchNodes()` method
rg: Use $this->httpNotFound instead
rg: remove superfluous searchbar param