4470 Commits

Author SHA1 Message Date
Markus Frosch
1713dee1c1 IcingaServiceSet: Delete host sets when deleting a set
This allows service sets to be deleted, including their children sets that
are assigned to hosts.

The UI forbids deleting those sets, but we can use it like this for CLI
and purging during sync.
2019-03-26 12:39:06 +01:00
Markus Frosch
eee3372430
Merge pull request #1809 from Icinga/feature/command-flat
IcingaCommand: Allow command to be rendered as string
2019-03-26 12:37:13 +01:00
Markus Frosch
2be27ddf3d IcingaObjectInspection: Show flat commands run by the core 2019-03-26 12:15:30 +01:00
Markus Frosch
a6e32d763f ObjectPreview: Avoid linking a flat command attribute inside a command 2019-03-26 12:02:55 +01:00
Markus Frosch
e64ace7ccf IcingaCommandForm: Add warning for command as plain string 2019-03-26 12:02:55 +01:00
Markus Frosch
6a79436af3 IcingaCommand: Allow command to be rendered as string
Icinga 2 allows this from the beginning.
2019-03-26 12:02:35 +01:00
Thomas Gelf
2aea3ad966 ImportSource: use sprintf() for InvalidArgumentEx
fixes #1810
2019-03-25 08:33:41 +01:00
Markus Frosch
70dfc9dae9
Merge pull request #1806 from Icinga/bugfix/render-empty-strings
ConfigHelper: Ensure empty vars are not written as void to config
2019-03-21 13:54:24 +01:00
Markus Frosch
f60cb9a515 ConfigHelper: Ensure empty strings are written out quoted
In renderStringWithVariables()
2019-03-21 13:18:22 +01:00
Markus Frosch
b3bd671d90 ObjectController: Fix phpcs lint 2019-03-19 15:43:20 +01:00
Markus Frosch
de8654fc74 ObjectController: Fix back link for clone action with services 2019-03-19 15:29:08 +01:00
Markus Frosch
295543a354
Merge pull request #1796 from Icinga/feature/clone-service-to-host
Allow IcingaService to be cloned to a different host
2019-03-19 15:26:44 +01:00
Markus Frosch
977f6ddad4 Allow IcingaService to be cloned to a different host
Similar to the implementation for Service Set.
2019-03-19 14:58:37 +01:00
CharlesWP
4866a5af36 Add documentation for configuration baskets. 2019-03-12 11:17:32 +01:00
Markus Frosch
43e11879f7 ShowConfigFile: Fix object type being changed in output
fixes #1799
2019-03-08 14:44:44 +01:00
Markus Frosch
b8e00e9b8c legacy: Ignore hosts that are disabled or blacklisted properly 2019-03-06 14:58:56 +01:00
Thomas Gelf
a56dacb9c5 doc/installation: refer latest version 2019-03-01 11:24:14 +01:00
Thomas Gelf
f9321ec7b3 schema: allow for virtual config files > 16MB
fixes #1787
2019-02-26 16:30:49 +01:00
Thomas Gelf
85943f69a0 doc/changelog: begin work on v1.7.0 2019-02-26 16:27:44 +01:00
Thomas Gelf
f56634d603 doc/changelog: add new section for v1.6.2 2019-02-26 16:04:44 +01:00
Thomas Gelf
429be2dd76 IcingaServiceSet: fix rendering of Sets attached..
...to single Hosts

fixes #1789
2019-02-26 15:03:41 +01:00
Thomas Gelf
89d4af564e IcingaCommandArgument: align toPlainObject method 2019-02-15 01:36:33 +01:00
Thomas Gelf
8046510b1f ServiceapplyrulesController and related changes
fixes #1755
2019-02-15 01:29:43 +01:00
Thomas Gelf
85ed54f932 IcingaServiceSet: skip Service on single host...
...when blacklisted

fixes #1616
2019-02-15 00:48:05 +01:00
Thomas Gelf
7da91d747f IcingaService: blacklisting on Host Templates...
...is now supported

fixes #1707
2019-02-15 00:08:23 +01:00
Thomas Gelf
32b71c922c IcingaCloneObjectForm: fix cloning to another Set
fixes #1758
2019-02-14 23:11:45 +01:00
Thomas Gelf
62c020171a IcingaCommand: import/export with fields
fixes #1747
2019-02-14 22:55:24 +01:00
Thomas Gelf
738e4eeaf1 IcingaTimePeriod: support Basket (ExportInterface)
fixes #1735
2019-02-14 22:42:21 +01:00
Thomas Gelf
e961f0eb2a BasketUpload: ignore Datafields, they get special
...treatment
2019-02-14 21:57:10 +01:00
Thomas Gelf
640da36c62 IcingaDependency: allow for basket snapshots
fixes #1739
2019-02-14 21:54:11 +01:00
Thomas Gelf
dc48a7e6a0 KickstartForm: do not fail on missing element 2019-02-14 15:34:51 +01:00
Thomas Gelf
56293f167f SelfServiceController: ship optional Service User
fixes #1297
2019-02-14 15:34:22 +01:00
Thomas Gelf
f06b5df3ae schema/postgres: fix wrong uniqueness
fixes #1762
2019-02-14 15:20:49 +01:00
Thomas Gelf
b52316a8b5 pgsql/migrations: ignore missing index
fixes #1736
2019-02-14 15:18:25 +01:00
Thomas Gelf
bd16756913 TemplateTree: new loop detection
fixes #1631
2019-02-13 21:43:37 +01:00
Thomas Gelf
aaf7ee8efd doc/changelog: changes related to v1.6.1 2019-02-13 12:01:34 +01:00
Thomas Gelf
15ae2da996 SimpleViewRenderer: fix indentation 2019-02-13 11:56:39 +01:00
Thomas Gelf
f83f293c57 Merge branch 'feature/monitoring-service-ro' 2019-02-13 11:43:09 +01:00
Thomas Gelf
d35ec0fee6 Tables, Redirector: add highlight for RO users
...and refactor some parts of the code

fixes #1785
2019-02-13 11:41:26 +01:00
Thomas Gelf
44e9ec2867 ProvidedHook/Monitoring: check permissions
fixes #1784
2019-02-13 10:22:40 +01:00
Thomas Gelf
57c256cf91 configuration: introduce a new permission 2019-02-11 09:57:28 +01:00
Thomas Gelf
af2e86d8b8 host/findservice: new route to readonly view 2019-02-10 11:15:05 +01:00
Thomas Gelf
9237d34aa4 SimpleViewRenderer: deal with early errors
fixes #1742
2019-02-12 11:45:52 +01:00
Thomas Gelf
90b31fc6ca BasketSnapshot: fix upload issue
fixes #1782
2019-02-12 11:28:28 +01:00
Thomas Gelf
0139506494 AssignRenderer: fix and test NOT on root level
fixes #1777
2019-02-08 12:08:06 +01:00
Markus Frosch
6d2028706e
Merge pull request #1773 from Icinga/fix/serviceset-service-delete-redirect
IcingaService: Fix getOnDeleteUrl() for service sets
2019-02-06 13:55:53 +01:00
Markus Frosch
d2c00c5d39 IcingaService: Fix getOnDeleteUrl() for service sets
So that it redirects back to services of this serviceset.
2019-02-06 13:25:18 +01:00
Thomas Gelf
b9c5f94589 IcingaConfigHelper: add missing reserved keywords
fixes #1765
2019-01-23 10:28:29 +01:00
Thomas Gelf
6d46a62085 BasketSnapshot.php: cast objects to an array...
...when uploading a basket
2019-01-22 16:59:20 +01:00
Thomas Gelf
92c05f49a3 ActivityLogTable: filter by host if given
In future we'll have better filtering possibilities, for now this scans all
rows with a matching service name in the table

fixes #1613
2019-01-11 12:24:29 +01:00