1099 Commits

Author SHA1 Message Date
Thomas Gelf
fb1a23fb01 ObjectsTableSetMembers: fix uuid in link 2023-10-12 19:56:25 +02:00
Thomas Gelf
7267953e13 TemplateUsageTable: pass auth to constructor 2023-10-12 08:45:12 +02:00
Thomas Gelf
a2abbd326b TemplateController: pass auth 2023-10-12 08:43:58 +02:00
Thomas Gelf
48db90c7df ObjectsTable: require Auth
fixes #2808
2023-10-11 12:24:36 +02:00
raviks789
76509bb7c8 IcingaServiceSetServiceTable: Change table alias for director branches 2023-09-22 13:44:09 +02:00
raviks789
ca855c6ee7 TemplateUsageTable: Fix indrect object count
fixes #2806
2023-09-22 13:16:33 +02:00
Thomas Gelf
7c2a3f254b ObjectSetTable: fix on pgsql 2023-09-21 16:02:07 +02:00
raviks789
63a3e6a1ec Fix editing of multi-selected services with same name
Since the object names function as keys for the multi-selected objects array, this becomes a problem when
multiple services as the same name. Hence for the services the array keys must be a combination of service name
and the host name to which the service is related.
2023-09-21 14:59:42 +02:00
raviks789
dcd36877ea Make TemplateUsageTables and other tables compatible with director branches
`TemplateUsageTable`, `ApplyRulesTable`, `ObjectsTableSetmembers` and `TemplatesTable` are
made compatible with `director branches`.
2023-09-21 14:57:30 +02:00
raviks789
3c7082cabc Modify IcingaObjectFilterHelper::filterByTemplate for director branches
Icinga objects must be filterable based on templates when a director branch is active.
2023-09-21 14:57:30 +02:00
raviks789
e6f7d82c09 Add a imports column to the objects
The host or service objects require retrieve the imports column. This
makes it possible to filter them based on templates when a director
branch is active.
2023-09-21 14:57:30 +02:00
Ravi Kumar Kempapura Srinivasa
939f805378 Add setmembers summyary line to TemplateUsageTable
`'setmembers' => $this->getSummaryLine('object', 'o.service_set_id IS NOT NULL AND o.host_id IS NOT NULL'),` is added to TemplateUsageTable
and `objects` is set to ` $this->getSummaryLine('object', 'o.service_set_id IS NULL')`. Subsequently, ObjectTableSetMembers
is added which is used in `setmembersAction` in `TemplateController`. `ObjectTableSetMembers` uses service set name or service name
as search columns.
2023-09-21 14:57:30 +02:00
raviks789
fcaa97e1b2 Remove dead class SingleObjectApiHandler 2023-09-21 09:00:55 +02:00
raviks789
98f6768dcb Declare properties that are dynamically used
Dynamic properties are deprecated since PHP 8.2.
2023-09-21 09:00:55 +02:00
Thomas Gelf
388f743290 TemplateUsageTable: show header
fixes #2780
2023-07-30 20:39:21 +02:00
Thomas Gelf
2a140a512b DataFilter: hide json-encoded special characters
...from our filter parser

fixes #2667
2023-07-30 19:46:38 +02:00
Thomas Gelf
7a29d7db87 DatafieldTable: search case insensitive
fixes #2359
2023-07-20 16:24:56 +02:00
raviks789
fb39b25602 Change the install script for Icinga for Windows
Remove the powershell module in Agents tab and change the install script for Icinga for windows.
2023-07-20 12:46:01 +02:00
EmTeedee
6b7bff80de ${var} deprecated in favor of {$var}
See: https://www.php.net/manual/en/migration82.deprecated.php#migration82.deprecated.core.dollar-brace-interpolation
2023-07-19 10:44:40 +02:00
Thomas Gelf
91b99d8e46 ObjectsTable: apply filters for non-branched views
fixes #2775
2023-07-18 11:11:41 +02:00
raviks789
b47478293f fetch $this->affectedHost->get('id') only if $this->affectedHost->get('id') is not null for service set 2023-06-29 17:12:14 +02:00
raviks789
df08e91bc9 Strikethrough deactivated services in applied service set 2023-06-29 15:26:54 +02:00
Thomas Gelf
e98803a8e5 ObjectSetTable: search for services in branches
fixes #2738
2023-04-24 11:10:36 +02:00
Thomas Gelf
7d5d5b38ba Web/Form: fix dark mode for clone forms
fixes #2670
2023-03-07 14:30:56 +01:00
Thomas Gelf
bec49d1230 library: cleanup, drop import/export methods 2023-03-07 14:29:34 +01:00
Thomas Gelf
40254714b8 Permissions: refactor, fix monitoring module checks
fixes #2712
2023-02-23 11:51:53 +01:00
Thomas Gelf
ce10b7e699 IcingaServiceSetServiceTable: link with uuid...
...to services in sets

refs #2710
2023-02-23 11:51:34 +01:00
Thomas Gelf
c643959d06 PreferredBranchSupport: for directorbranches
fixes #2688
fixes #2689
2022-12-16 14:16:02 +01:00
Thomas Gelf
616d329be3 IcingaNotification: implement users_var
fixes #462
2022-12-01 12:03:45 +01:00
Thomas Gelf
ab952f89b0 ObjectSetTable: improve formatting
fixes #2648
2022-11-03 00:58:38 +01:00
raviks789
26e76c611e Reset Limit count and offset for $table in HostController::servicesAction
The limit in ObjectsTable::prepareQuery() limits the number of services shown in HostController::servicesAction.
But this limit is required for pagination in ServicesController. Hence, reset the limit when this query is used
in HostController::servicesAction().
2022-10-04 15:33:29 +02:00
Thomas Gelf
ebb08aceae ObjectSetTable: fix for PgSQL when not in branch 2022-09-21 11:00:07 +02:00
Thomas Gelf
47488d138e ObjectSetTable: fix a PostgreSQL issue 2022-09-20 15:27:16 +02:00
Thomas Gelf
59d62d0ff9 ObjectSetTable: branch support 2022-09-20 12:53:00 +02:00
Thomas Gelf
a684929cf5 ObjectController: allow Service Sets in Branches 2022-09-20 12:48:26 +02:00
Thomas Gelf
6f173b8392 ObjectsController: pass branch to table 2022-09-20 12:22:05 +02:00
Thomas Gelf
131d4e27ba TableWithBranchSupport: provide setter 2022-09-20 12:20:44 +02:00
Thomas Gelf
4d2f285c01 IcingaServiceSetServiceTable: branch classes 2022-09-20 12:19:31 +02:00
Thomas Gelf
4d8e3f6db7 ServiceSetQueryBuilder: new query builder 2022-09-20 12:19:21 +02:00
Thomas Gelf
39f53b6cee ObjectController: branch hint on create 2022-09-20 12:06:52 +02:00
Thomas Gelf
1fbb4d93b6 BranchedObjectHint: allow no object (create) 2022-09-20 12:03:46 +02:00
Thomas Gelf
b35b6b84cc TableWithBranchSupport: do not branchify relations 2022-09-20 12:03:00 +02:00
Thomas Gelf
28c149efed IcingaServiceSetServiceTable: refactor link logic 2022-08-31 14:45:28 +02:00
Thomas Gelf
d433631174 TableWithBranchSupport: new trait 2022-08-31 14:45:28 +02:00
Thomas Gelf
956708475e BranchSupport: new helper class 2022-08-31 14:45:28 +02:00
Thomas Gelf
b2afca2496 Sync: support branches 2022-08-31 14:45:28 +02:00
Thomas Gelf
1c30412abd DirectorActivityLog, others: constants, cleanup 2022-08-20 20:41:07 +02:00
Thomas Gelf
37954e0aa6 BranchActivityTable: show object name 2022-07-22 14:32:39 +02:00
Thomas Gelf
431d0cfe75 ObjectCommand: add --resolve-services 2022-07-20 16:42:26 +02:00
Thomas Gelf
13c09855fa ObjectController: refactor initalization 2022-07-20 09:59:42 +02:00