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
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
dcd36877ea
Make TemplateUsageTable
s 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
Thomas Gelf
388f743290
TemplateUsageTable: show header
...
fixes #2780
2023-07-30 20:39:21 +02:00
Thomas Gelf
7a29d7db87
DatafieldTable: search case insensitive
...
fixes #2359
2023-07-20 16:24:56 +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
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
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
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
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
b2afca2496
Sync: support branches
2022-08-31 14:45:28 +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
0796635132
DbHelpers, Connection: improve escapeBinary logic
...
hex-style for MySQL too, support array values
2022-07-01 08:39:12 +02:00
moreamazingnick
83cc12944d
DirectorActivityLog: fix empty activity log exception
...
fixes #2505 : empty activity log causes exception
fixes #2506
2022-03-28 14:52:46 +02:00
Thomas Gelf
ecf7bce482
ActivityLogTable: use more space, hover texts
2022-02-09 15:43:09 +01:00
Thomas Gelf
8bcc20e004
ActivityLogTable: support remarks
...
fixes #2471
2022-02-08 08:58:34 +01:00
Johannes Meyer
420dfcbdbf
Avoid passing non-string args to ctype_*()
functions
2022-01-14 11:31:55 +01:00
Thomas Gelf
36babe65f7
IcingaServiceSetServiceTable: use host uuid for...
...
...Set Member related to host
2021-12-23 13:46:37 +01:00
Thomas Gelf
212596a41e
ObjectSetTable: drop name from link
2021-12-23 10:07:07 +01:00
Thomas Gelf
27e5e72f41
ObjectsTable: do not apply restrictions to objects
...
...created in the current config branch
2021-12-17 17:16:50 +01:00
Thomas Gelf
f77d5b8d0c
HostController: show services for hosts created...
...
...in a branch
2021-12-17 13:57:18 +01:00
Thomas Gelf
e3cae7c20a
ObjectsTable: remove outdated/duplicate method
2021-12-17 13:56:37 +01:00
Thomas Gelf
376344257c
DbObjectStore: inject into DbObject for related...
...
...objects in a branch
2021-12-17 12:51:24 +01:00
Thomas Gelf
b07ee0dd8e
TemplatesTable: use uuid for history link
2021-12-14 10:42:48 +01:00
Thomas Gelf
68cf42490f
Importsource: some more branch-related hints
2021-12-14 08:36:08 +01:00
Thomas Gelf
eeaf3a84e3
ActivityLogTable: no text search for action
...
fixes #2057
2021-12-13 14:47:30 +01:00
Thomas Gelf
27abbb59a0
ObjectsTableService: replace HostServiceTable
...
This removes duplicate logic and shows services created in config
branches
2021-12-13 14:11:35 +01:00
Thomas Gelf
100bc4b777
library: php8-related cleanup
2021-12-06 23:03:06 +01:00
Thomas Gelf
257537d022
DbUtil: helper for pgsql binary resource handling
2021-12-06 22:11:31 +01:00