Johannes Meyer
a1fc75f745
fix-multiple-test-runs
2024-01-15 11:03:33 +01:00
Christian Schramm
aa31b37fd1
Fix db type error, when hostgroup is accidentially interpreted as integer
...
fixes #2821
2023-10-19 15:46:52 +02:00
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
Thomas Gelf
6178265a12
HostgroupRestriction: pass fitting table alias
...
fixes #2164
fixes #2809
2023-10-11 11:37:21 +02:00
Thomas Gelf
d02e430008
Sync: conditional membership sync
...
fixes #2812
2023-10-11 10:01:14 +02:00
Thomas Gelf
dcf03dc0d5
IcingaArguments: accept DSL
...
fixes #2811
2023-10-10 13:54:49 +02:00
Thomas Gelf
742013673e
PropertyModifierJsonDecode: explicitly fail for...
...
...non-string inputs
fixes #2810
2023-10-10 11:11:23 +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
Thomas Gelf
4d050834db
IcingaConfig: render host templates to all...
...
...non-global zones, instead of the default global zone
refs #2410
2023-09-21 15:22:31 +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 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
3199eb627b
FormFieldSuggestion: fix wording
2023-09-21 13:01:10 +02:00
raviks789
228cbc8376
Dashboard
: Suppress covariance error of count()
method
2023-09-21 09:00:55 +02:00
raviks789
9cc04eb5c6
StartupLogRenderer
: Use correct syntax to write to array $lines
2023-09-21 09:00:55 +02:00
raviks789
fcaa97e1b2
Remove dead class SingleObjectApiHandler
2023-09-21 09:00:55 +02:00
raviks789
dec1951774
CustomVariableCache
: Remove redundant destructor
...
Property `$db` is not declared for it to be unset
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
raviks789
00523d9b35
IcingaTemplateResolver
: Remove unused dynamic property $table
2023-09-21 09:00:55 +02:00
Johannes Meyer
629297116b
BaseTestCase: Use phpunit's new TestCase
2023-08-30 17:28:06 +02:00
Johannes Meyer
37c8056689
Fix phpcs errors
2023-08-30 17:28:06 +02:00
Johannes Meyer
aaf59945d9
Add php action workflow
2023-08-30 17:28:06 +02:00
Thomas Gelf
fc7bfe7db9
Datalist: fix snapshot diff
...
fixes #2791
2023-08-25 17:15:08 +02:00
Thomas Gelf
b19c01daef
Sync: ignore null for policy = ignore
...
fixes #2657
2023-08-23 15:48:13 +02:00
Thomas Gelf
e94ad714fb
Sync: drop obsolete/useless method
2023-08-22 10:32:44 +02:00
Thomas Gelf
8896e54d69
IcingaArguments: be unmodified when loaded from db
...
fixes #2660
2023-08-21 12:44:59 +02:00
Thomas Gelf
907d93ebe9
FormFieldSuggestion: propose macros from set_if
...
fixes #514
2023-08-20 13:11:19 +02:00
Thomas Gelf
7aa7f51929
IcingaObjectFieldForm: move back getFilterFields()
2023-08-20 13:11:12 +02:00
Thomas Gelf
d97bbc0526
FormFieldSuggestion: refactor, dedicated class
2023-08-20 13:11:02 +02:00
Thomas Gelf
479d964841
BasketSnapshotFieldResolver: provide fixOptional...
...
...DatalistReference()
2023-07-30 20:54:39 +02:00
Thomas Gelf
02d6ebb0af
DirectorDatafield: prefer list uuid...
...
...on basket restore
2023-07-30 20:52:56 +02:00
Thomas Gelf
14604b64d6
GroupMembershipResolver: namespace is useless
2023-07-30 20:45:14 +02:00
Thomas Gelf
5371b57630
BasketSnapshotFieldResolver: return types
2023-07-30 20:42:59 +02:00
Thomas Gelf
388f743290
TemplateUsageTable: show header
...
fixes #2780
2023-07-30 20:39:21 +02:00
Thomas Gelf
8e4ebb79d7
AssignRenderer: show JSON parsing error source
...
refs #2667
2023-07-30 20:26:32 +02:00
Thomas Gelf
26a4a10536
DbObject: compare id/ints only when not null
2023-07-30 20:05:24 +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
d429c9e5cc
IcingaObjectGroup: re-enable group membership...
...
...resolver
refs #2048
2023-07-30 17:31:23 +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
de1311928c
IcingaConfig: render IfW fallback template
...
fixes #2776
2023-07-19 07:00:46 +02:00
Thomas Gelf
91b99d8e46
ObjectsTable: apply filters for non-branched views
...
fixes #2775
2023-07-18 11:11:41 +02:00