Commit Graph

2933 Commits

Author SHA1 Message Date
Thomas Gelf 8b98113e83 CoreApi: just comments 2017-03-13 22:08:43 +01:00
Thomas Gelf 242bff4011 KickstartHelper: handle renamed master
* fix zone cleanup
* delete obsolete endpoints
* re-structure code
* remove obsolete Db helper

fixes #842
2017-03-13 22:06:10 +01:00
Thomas Gelf 489d4ab1a3 KickstartForm: let parent handle exceptions 2017-03-13 22:05:05 +01:00
Thomas Gelf cb9fff90ef IcingaObject: add new static helper, expose...
...existing one

refs #842
2017-03-13 22:03:02 +01:00
Thomas Gelf a36ed2c23d KickstartForm: prepare for utf8mb4 2017-03-13 21:59:51 +01:00
Thomas Gelf 158ce18302 SyncUtilsTest: use nicer test name
refs #839
2017-03-09 11:03:59 +01:00
Thomas Gelf 1b57171583 SyncUtils: allow special varnames, add tests
fixes #839
2017-03-09 10:57:37 +01:00
Thomas Gelf 4963b5fe54 SyncUtils: fix PHP 5.3 compatibility 2017-03-09 10:56:14 +01:00
Thomas Gelf 20ee7f6728 PropertyModifierLConfCustomVar: add array support 2017-03-09 08:54:39 +01:00
Thomas Gelf ff4e953a11 PropertyModifierLConfCustomVar: trim left side 2017-03-09 08:52:19 +01:00
Thomas Gelf a7ff250ecd PropertyModifierLConfCustomVar: new modifier
fixes #837
2017-03-09 08:49:31 +01:00
Thomas Gelf e6e51dc2be SyncPropertyForm: fix error on list sync
fixes #836
2017-03-08 17:04:50 +01:00
Thomas Gelf 41868de7f1 DeploymentController: do not show config tab...
...when required permissions are missing
2017-03-06 21:41:47 +01:00
Thomas Gelf a48e0c6dda AssignRenderer: test and fix contains rendering
fixes #803
2017-03-06 11:10:24 +01:00
Thomas Gelf bff76dad8e HostApplyMatches: fix matching for "contains"
fixes  #803
2017-03-03 09:41:25 +01:00
Thomas Gelf 5842e40fb6 AssignRenderer: do not re-use json-encoded value
...as encoding in Icinga 2 differs

fixes #558
2017-03-03 09:24:15 +01:00
Thomas Gelf a99252ee5e HostApplyMatchesTest: new tests 2017-03-03 09:07:43 +01:00
Thomas Gelf abc18ffd95 ServicesetsCommand: allow to list/fetch sets...
...on CLI

fixes #828
2017-03-02 15:48:42 +01:00
Thomas Gelf 29b917dd18 IcingaHostGroupTable: sort by name
fixes #821
2017-02-27 19:36:05 +01:00
Thomas Gelf b248e8dcae IcingaHostGroupForm: assignment is not required
fixes #814
2017-02-27 19:35:12 +01:00
Thomas Gelf 8f8c8bf841 ServiceController: avoid loop detection error...
...for fake services generated with the `use_var_overrides` property

fixes #820
2017-02-27 19:06:48 +01:00
Tobias von der Krone fd53224a58 Return data list name
Return the data list name instead of the id for the function
getDatalistName().

refs #621
2017-02-17 23:32:15 +01:00
Thomas Gelf 592b8cb98e locale/de_DE: refresh German translation 2017-02-17 16:55:35 +01:00
Thomas Gelf 58f7b16f21 doc/changelog: mention multi-edit 2017-02-17 16:43:44 +01:00
Thomas Gelf 0de1987389 IcingaMultiEditForm: prepare elements before...
...adding fields

fixes #707
2017-02-17 16:41:41 +01:00
Thomas Gelf 82e79c810f IcingaServiceSetForm: redirect to host services...
...when adding a set to a single host

fixes #804
2017-02-17 16:35:13 +01:00
Thomas Gelf 099eca0d0b IcingaCommandForm: allow to configure zones
fixes #802
2017-02-17 16:08:57 +01:00
Thomas Gelf 02f9f49c7b doc/changelog, module.info: prepare v1.3.1 2017-02-17 15:34:26 +01:00
Thomas Gelf cc6a5fe230 schema/mysql: correct varname collation
Thanks to @jschanz for tracking this down

fixes #762
2017-02-17 14:43:00 +01:00
Thomas Gelf 736244e9e9 IcingaServiceSetTable: remove misleading host...
...count
2017-02-17 10:13:34 +01:00
Thomas Gelf 4860082d4b host/services: show applied service sets
fixes #735
2017-02-17 08:44:08 +01:00
Thomas Gelf ac3ea09133 IcingaServiceSetServiceTable: support inherited...
...sets. They should be shown and link to the related parent. Variable overrides
should be possible, deleting the set should not.

fixes #740
2017-02-16 11:45:45 +01:00
Thomas Gelf 13918f7337 host/services: do not show tables based on...
...whether they have content or not. It's too late to take this decision in
the view, as different tables are to be handled differently - in the controlller.

fixes #793
2017-02-16 11:07:23 +01:00
Thomas Gelf 25395656ce CustomVariable: fix rendering for keys starting...
...with numbers

fixes #792
2017-02-15 12:50:27 +01:00
Thomas Gelf 2bc477daaa Migration: do not require a Director\Db 2017-02-14 09:13:42 +01:00
Thomas Gelf f2bbd2d5d7 test: add compatibility layer for phpunit 2017-02-08 16:42:00 +01:00
Thomas Gelf f4339e6b1a HostController: did I ever mention...
...that I hate Squiz.WhiteSpace.ControlStructureSpacing.SpacingAfterOpen?
2017-02-08 16:14:11 +01:00
Thomas Gelf dc1d572229 HostController: override REST API handling
fixes #759
2017-02-08 12:38:14 +01:00
Thomas Gelf bfde75a0a2 IcingaServiceSet: import DirectorOverrideTemplate
...when rendering services belonging to a set for a single host

fixes #776
2017-02-08 10:04:47 +01:00
Markus Frosch 4b62986d9c travis: Allow PHP nightly builds to fail in testing 2017-02-02 20:59:43 +01:00
Thomas Gelf a3249350c2 CoreApi: remove space for compliance 2017-02-02 12:34:00 +01:00
Thomas Gelf aa0c04d5e7 CoreApi: add a couple of helper methods 2017-01-31 10:03:58 +01:00
Thomas Gelf 1a6fbd5cd7 IcingaObjectFieldForm: gracefully handle missing...
...field, as it might have been removed before

refs #751
2017-01-26 09:03:51 +01:00
Thomas Gelf d323a77695 IcingaUserGroupForm: remove zone elements
Has been introduced with 984740, but never worked for groups as those tables
do not even have a zone_id property.

fixes #680
refs #227
2017-01-24 18:29:40 +01:00
Thomas Gelf 6396fbc1ee Migrations: table name should depend on module
refs #746
2017-01-24 16:41:43 +01:00
Thomas Gelf 0e2a056f49 Migrations: make it ready for use by other modules
fixes #746
2017-01-24 15:17:59 +01:00
Thomas Gelf e1b420d4c4 CoreApi: allow to stream raw events
fixes #744
2017-01-24 11:14:12 +01:00
Thomas Gelf ddd711e5e8 EndpointCommand: add rough status action 2017-01-24 11:09:37 +01:00
Thomas Gelf 8b483e7e84 configuration: no early translation 2017-01-24 11:07:37 +01:00
Thomas Gelf 66ee5fb325 IcingaZoneTable: use subquery count()
fixes #742
2017-01-24 10:58:53 +01:00