2899 Commits

Author SHA1 Message Date
Thomas Gelf
16dbf8e503 Merge branch 'feature/icinga-legacy-config-13049' 2016-11-30 08:12:44 +01:00
Markus Frosch
4a838ca277 IcingaHostGroup(Legacy): Load zones prefetched
refs #13049
2016-11-30 08:12:27 +01:00
Markus Frosch
c2734fd4d4 IcingaHostGroup(Legacy): Render assigned groups to all zones
So we still can support hosts with direct groups.

refs #13049
2016-11-30 08:12:27 +01:00
Markus Frosch
aaeca533fc IcingaConfig/IcingaObject(Legacy): Render dummy notification settings
So we avoid warnings about nothing configured.

refs #13049
2016-11-30 08:12:27 +01:00
Markus Frosch
03e177bea4 Merge branch 'travis' 2016-11-29 11:03:19 +01:00
Markus Frosch
f50230adf7 composer: Lower dependencies for PHP 5.3/4 2016-11-29 10:21:15 +01:00
Markus Frosch
9fb94e82c0 Add travis.yml 2016-11-29 10:20:35 +01:00
Markus Frosch
64284ee96a Add schema migration for ServiceSet foreign keys
This will clean up dangling service_set for non-existing host and service for service_set

refs #13309
2016-11-28 16:46:47 +01:00
Markus Frosch
84f39a60ac IcingaServiceSetTest: Add test case
refs #13309
2016-11-28 15:32:41 +01:00
Markus Frosch
3a8cad2486 IcingaServiceSet: Check if object_name is unique for templates
refs #13309
2016-11-28 15:32:41 +01:00
Markus Frosch
ab169e4b78 DbObject: Add and use DuplicateKeyException 2016-11-28 15:32:41 +01:00
Markus Frosch
d7ddb3e63c Add IcingaObjectTestCase for testing IcingaObjects 2016-11-28 15:32:41 +01:00
Thomas Gelf
4bf26b421d services: provide deploy buttons
fixes #13315
2016-11-25 20:55:48 +01:00
Thomas Gelf
72bb29694d multi-edit: show deployment link 2016-11-25 20:51:02 +01:00
Thomas Gelf
42f98e9bbf CubeLinks: fit modified Cube API 2016-11-25 20:50:31 +01:00
Christian Stein
ac3e541317 Agent: support PowerShell 2.x, fix 32bit issues
PowerShell Agent Kickstart for Windows: Fixed install dir detection on 32bit
Windows and added support for PowerShell 2.x
2016-11-25 16:50:53 +01:00
Thomas Gelf
7895023498 testing: document and enable tests on CentOS 6
refs #13271
2016-11-21 23:10:37 +01:00
Thomas Gelf
db61528748 CustomVariable: fix issues with PHP bug #43200
fixes #13271
2016-11-21 22:44:31 +01:00
Thomas Gelf
065205dc7a ServiceController: ignore command lookup errors
They can happen when an invalid command has been chosen
2016-11-18 19:54:47 +01:00
Thomas Gelf
14fce02448 DatalistTable: do not show the owner...
...as it has no meaning as of today
2016-11-18 16:00:52 +01:00
Thomas Gelf
fd713e6efb Data: allow to search for fields and data lists
fixes #13247
2016-11-18 15:41:33 +01:00
Thomas Gelf
46aac60c7d DatafieldTable: provide usage summary
fixes #13249
2016-11-18 15:40:06 +01:00
Thomas Gelf
ea141b7e0a Merge branch 'feature/autocomplete' 2016-11-17 20:38:06 +01:00
Thomas Gelf
040a658477 suggestions: first test implementation to play with 2016-11-17 20:36:59 +01:00
Thomas Gelf
8b2aa8c2f9 js,css: introduce autosuggestion support 2016-11-17 20:34:41 +01:00
Thomas Gelf
0e7ce35380 doc/upgrading: add pgcrypto note 2016-11-16 16:50:18 +01:00
Thomas Gelf
f09d7e34b4 css: style eventual future file elements 2016-11-16 16:19:45 +01:00
Thomas Gelf
8449bd2f84 Merge branch 'feature/lists-linking-to-details-12973' 2016-11-16 16:19:35 +01:00
Thomas Gelf
5b1b733852 css: highlight disabled objects
fixes #11877
2016-11-16 16:18:22 +01:00
Thomas Gelf
14908d11a4 ServiceController: disable overview for now 2016-11-16 16:17:18 +01:00
Thomas Gelf
a3ecddcd9b Revert "IcingaServiceTable: strip down the service table"
Will be added later on

This reverts commit cf6f9d42e2a8cfa847f35094a47f72d233491ef8.
2016-11-16 16:16:49 +01:00
Thomas Gelf
2372b40a96 IcingaHostTemplateTable: do not show inheritance
...for now
2016-11-16 16:02:58 +01:00
Thomas Gelf
b39e7efce7 ObjectForm: allow to preset imports 2016-11-16 16:02:28 +01:00
Thomas Gelf
5407c4fe7c ObjectsController: template table for templates...
...but load the other one first to trick the autoloader
2016-11-16 13:36:07 +01:00
Thomas Gelf
5b58aad56b IcingaHostServiceTable: directly link to the form
...at least for now
2016-11-16 13:36:07 +01:00
Thomas Gelf
cf6f9d42e2 IcingaServiceTable: strip down the service table 2016-11-16 13:36:07 +01:00
Thomas Gelf
484e14c445 ServiceController: prepare for an overview site...
...not much content here... yet
2016-11-16 13:36:07 +01:00
Thomas Gelf
b23a2437e6 IcingaHostTable: no more imports, show address...
...and related actions for templates
2016-11-16 13:36:07 +01:00
Thomas Gelf
698d523c88 js: put focus on first form element 2016-11-16 13:20:31 +01:00
Thomas Gelf
2725ef54e6 IcingaCommandForm: allow to import any command
fixes #12978
2016-11-15 18:23:39 +01:00
Thomas Gelf
d5131f7fac Arguments: always render += instead of =
This allows to extend existing arguments

fixes #12941
2016-11-15 17:57:02 +01:00
Markus Frosch
4e5dfb097e IcingaService(Legacy): Fix duplicated rendering of apply
refs #13049
2016-11-15 10:52:03 +01:00
Markus Frosch
b40cfd5f05 IcingaHostGroup(Legacy): Fix member rendering with correct attribute
refs #13049
2016-11-14 15:36:55 +01:00
Markus Frosch
5ee911ef7c IcingaObject(Legacy): Fix event_handler rendering
refs #13049
2016-11-14 15:32:14 +01:00
Markus Frosch
d4c3be0bf5 IcingaHostGroup|IcingaService(Set): Fix legacy config file extension
refs #13049
2016-11-14 15:28:52 +01:00
Thomas Gelf
fee8e7847d IcingaHostTest: fix erroneous test
Code behaves correct now, the test wasn't up to date. However, it wasn't
failing as the object has been changed at runtime while the (at that time
already filled) internal lookup cache wasn't cleared. Woulnd't have had any
effect on real-world environments. However, it's fixed right now.
2016-11-14 13:39:20 +01:00
Thomas Gelf
913d934762 IcingaObject: introduce getSingleResolvedProperty()
Motivation: getResolvedProperty() has the effect that objects will fully
resolve all inherited properties, vars and fields. This is overkill in
situations where only a few resolves properties are needed and has quite
an influence on overall rendering performance.

Over time we might completely fade out that part of our resolving logic
as it predates current cache implementations. Meanwhile, we keep two
methods for two (internal) purposes.
2016-11-14 13:25:26 +01:00
Thomas Gelf
a6928a8bc1 CustomVariable: render expressions in Arrays...
...and introduce a new abstract method
2016-11-14 10:17:52 +01:00
Thomas Gelf
d32f22d493 Config: do not count twice for benchmark 2016-11-14 10:17:52 +01:00
Markus Frosch
cc34de9b4d ServicesetController: Add hosts view to serviceSets
So you can see and access hosts the serviceset is added to.

refs #12891
2016-11-11 15:33:11 +01:00