969 Commits

Author SHA1 Message Date
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
dcf03dc0d5 IcingaArguments: accept DSL
fixes #2811
2023-10-10 13:54:49 +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
00523d9b35 IcingaTemplateResolver: Remove unused dynamic property $table 2023-09-21 09:00:55 +02:00
Thomas Gelf
fc7bfe7db9 Datalist: fix snapshot diff
fixes #2791
2023-08-25 17:15:08 +02:00
Thomas Gelf
8896e54d69 IcingaArguments: be unmodified when loaded from db
fixes #2660
2023-08-21 12:44:59 +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
d429c9e5cc IcingaObjectGroup: re-enable group membership...
...resolver

refs #2048
2023-07-30 17:31:23 +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
722499ea76 ImportRowModifier: filters, CIDR support
fixes #2756
fixes #2757
2023-05-25 15:44:56 +02:00
Thomas Gelf
fb10bac7e9 Sync: fix loading existing templates
fixes #2217
fixes #2745
2023-05-11 15:07:28 +02:00
Thomas Gelf
48af679cf0 IcingaObjectGroup: membership calculation...
...is now being triggered only when assign_filter exists / has been
changed

fixes #2048
2023-04-21 16:03:58 +02:00
Thomas Gelf
b55df21c21 DirectorDatafield: cleanup, types 2023-03-08 17:03:10 +01:00
Thomas Gelf
915f57db99 DirectorDatafield: ignore uuid and originalId...
...on diff
2023-03-08 14:16:14 +01:00
Thomas Gelf
b7e887b251 schema: add UUIDs for datalist and datafield
fixes #2696
2023-03-07 19:31:55 +01:00
Thomas Gelf
bec49d1230 library: cleanup, drop import/export methods 2023-03-07 14:29:34 +01:00
Thomas Gelf
c07758b5d9 IcingaServiceSet: virtual services property...
...should be handled. We can now store a set with it's services
2023-03-07 14:03:09 +01:00
Thomas Gelf
628f24d3d3 SyncRule: alternative setter for properties 2023-03-07 11:49:13 +01:00
Thomas Gelf
5029a30a62 SyncRule: drop obsolete originalId 2023-03-07 11:47:40 +01:00
Thomas Gelf
3893455388 SyncRule: we have a boolean property 2023-03-07 11:45:52 +01:00
Thomas Gelf
637a304f47 IcingaTemplateChoice: fix hasBeenModified...
...this used to be true, once properties have been set
2023-03-07 11:43:41 +01:00
Thomas Gelf
d6bec9bfe1 IcingaObject: cast interval properties to int
They might be strings when shipped from DB or older Baskets
2023-03-07 11:18:24 +01:00
Thomas Gelf
2ade848f4d DbObject: provide boolean properties...
...as IcingaObject did, move convertion logic to DbDataFormatter
2023-03-07 11:16:22 +01:00
Thomas Gelf
881eba7298 IcingaNotification: deal with missing vars 2022-12-28 11:04:13 +01:00
Thomas Gelf
400bf8c0b0 DirectorJob: check for null
Fixes issue with merged PR on PHP 8.1

refs #2680
2022-12-08 13:43:25 +01:00
Christian Maile
4619f8af9b fix wrong type casting 2022-12-08 06:34:19 +01:00
Thomas Gelf
ef010f961b IcingaDependencies: allow unknown service...
...with a given specific host

fixes #2669
2022-12-05 12:58:57 +01:00
Thomas Gelf
616d329be3 IcingaNotification: implement users_var
fixes #462
2022-12-01 12:03:45 +01:00
Thomas Gelf
79db37f093 IcingaDependency: improve (cheated) type hint 2022-11-17 11:47:15 +01:00
Thomas Gelf
ef29ffd2af DirectorDeploymentLog: allow missing config 2022-11-16 11:18:22 +01:00
Thomas Gelf
51380a9e0b IcingaServiceSet: respect indivicual template zone
fixes #1589
fixes #2356
2022-11-15 17:28:33 +01:00
Thomas Gelf
b04f6b7e98 IcingaNotification: improve error message
One more improved exception

refs #2142
2022-11-03 00:23:50 +01:00
Thomas Gelf
63d76abf81 IcingaObject: improve error message
Complain about missing object_type, if assign-related properties cannot be
set because of that reason

refs #2142
2022-11-03 00:20:30 +01:00
Thomas Gelf
e42912d3e8 BranchedObject: set id first
This has an impact on related objects, like timeperiod ranges

fixes #2525
2022-10-26 11:04:58 +02:00
Thomas Gelf
2196426ff5 IcingaObject: fix default value for preserve 2022-10-07 10:25:23 +02:00
Thomas Gelf
6f0c7aa2a3 IcingaObject: allow to replace with plain object 2022-10-07 10:12:00 +02:00
Ravi Kumar Kempapura Srinivasa
2d5d0db77c DirectorJob: fix restoring from snapshot
fixes #2528
2022-09-30 11:40:02 +02:00
Thomas Gelf
54c838666c Job, Import, Sync: fix restore w/o ID 2022-09-30 11:32:16 +02:00
Thomas Gelf
0cb6e40681 IcingaService: improve error message 2022-09-21 11:50:26 +02:00
Daniel Patrick
04c4bd2559 IcingaCommand: Remove obsolete CLR check 2022-09-21 08:52:51 +02:00
Thomas Gelf
05de5b171b BranchMerger: log change author
fixes #2606
2022-09-21 08:50:45 +02:00
Thomas Gelf
b19dd5f62d IcingaServiceSet: use query builder to retrieve...
...services, this is required for branches
2022-09-20 12:55:55 +02:00
Thomas Gelf
8b1513830c IcingaServiceSet: do not delete Services w/o id 2022-09-20 07:20:29 +02:00
Thomas Gelf
8bfbe2a80f IcingaServiceSet: friendlier error message 2022-09-15 11:44:43 +02:00
Thomas Gelf
9434cf5089 IcingaServiceSet: type hint for IDE 2022-09-15 11:44:24 +02:00
Thomas Gelf
0cf8c76617 IcingaObject: more details in the error message 2022-09-13 10:20:24 +02:00
Thomas Gelf
1c30412abd DirectorActivityLog, others: constants, cleanup 2022-08-20 20:41:07 +02:00
Thomas Gelf
05d7e137c2 IcingaArguments: clarify reason for missing DSL...
...in External Commands imported via Icinga 2 API

fixes #2557
2022-07-18 10:08:51 +02:00
Thomas Gelf
f24f8eb287 IcingaObject: more details in comment 2022-07-12 11:28:54 +02:00