5439 Commits

Author SHA1 Message Date
Sukhwinder Dhillon
2aa4a21e5e phpstan: Streamline vendor file location with local dev-env
- Remove superfluous dir and composer requires
2023-12-01 10:29:19 +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
9a9799e491 Changelog, Upgrading: alt. texts, title swap 2023-10-13 11:47:13 +02:00
Thomas Gelf
9c6a955f64 module.info: back to master 2023-10-13 11:46:58 +02:00
Thomas Gelf
a6f0a0830c WIP: doc, module.info: prepare v1.11.0
fixes #2085
v1.11.0
2023-10-13 11:33:16 +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
julian-smithies
70e1aef111 Provide explanation for all exit codes 2023-10-10 11:39:10 +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
7426e65067 Update PHPStan baseline 2023-09-21 14:57:30 +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
Thomas Gelf
ac7b899d5e doc/changelog: mention fix 2023-09-21 14:49:48 +02:00
raviks789
9e332b4022 Remove limit count for service set directly added to the host 2023-09-21 14:37:03 +02:00
Thomas Gelf
612165c4c3 doc/changelog: refresh 2023-09-21 13:01:10 +02:00
Thomas Gelf
53323ad861 de_DE: compile translation 2023-09-21 13:01:10 +02:00
Thomas Gelf
0c33c5d6bc IcingaNotificationForm: just a dot 2023-09-21 13:01:10 +02:00
Thomas Gelf
bfa72ee892 de_DE: use relative paths 2023-09-21 13:01:10 +02:00
Thomas Gelf
dbd1ed249a de_DE: refresh translation 2023-09-21 13:01:10 +02:00
Thomas Gelf
3199eb627b FormFieldSuggestion: fix wording 2023-09-21 13:01:10 +02:00
Johannes Meyer
89fa677941 phpstan: Remove obsolete pattern from baseline 2023-09-21 09:15:16 +02:00
raviks789
228cbc8376 Dashboard: Suppress covariance error of count() method 2023-09-21 09:00:55 +02:00
raviks789
32e674aca2 PHPStan: Add baseline 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
raviks789
69a3e9aa8e Workflow: Add PHPStan static analyzer 2023-09-21 09:00:55 +02:00
raviks789
132d49777a Workflow: Add PHP 8.2 version to the workflow 2023-09-21 09:00:55 +02:00
Johannes Meyer
079bf87a9a
Add php action workflow (#2309) 2023-08-31 10:32:34 +02:00
Johannes Meyer
48c4ae1d73 doc: Add note for GitHub tests 2023-08-31 10:24:54 +02:00
Johannes Meyer
2ca1fc99c9 test: Replace usages of @expectException 2023-08-31 09:48:48 +02:00
Johannes Meyer
8d0c8515da Drop travis integration 2023-08-30 17:31:38 +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