Commit Graph

2563 Commits

Author SHA1 Message Date
Markus Frosch 802b923df6 IcingaConfig: Add v1-masterless config format
Do not render a passive checkable to the master zone then.

refs #12919
2016-11-03 13:41:44 +01:00
Markus Frosch 31a321e13e IcingaObject(legacy): Add flag to render only supported objects
refs #12919
2016-11-03 13:41:44 +01:00
Markus Frosch 2e2f4739c7 IcingaObject(legacy): Only render passive objects for checkables
Also simplify renderToLegacyConfig.

refs #12919
2016-11-03 13:41:44 +01:00
Thomas Gelf c32cc3ca92 Merge branch 'feature/cnt-apply-12968' 2016-11-03 13:36:30 +01:00
Thomas Gelf 4a82bd5b90 IcingaConfig: count apply rules and show them 2016-11-03 13:35:44 +01:00
Thomas Gelf 92bb24b414 schema: add cnt_apply column 2016-11-03 13:25:32 +01:00
Thomas Gelf c073278ee3 ServiceSet: re-enable them 2016-11-03 12:54:15 +01:00
Thomas Gelf ce9e4409ff Merge branch 'feature/object-list-12965' 2016-11-03 12:34:31 +01:00
Thomas Gelf a540fd08aa cli/objects: provide new commands
fixes #12965
2016-11-03 12:32:51 +01:00
Thomas Gelf 8a57ca9437 ObjectsCommand: initial import 2016-11-03 12:25:48 +01:00
Thomas Gelf f43481a13e Merge branch 'feature/inspect-permission-11764' 2016-11-03 11:50:01 +01:00
Thomas Gelf d006449564 inspect: enforce permissions
fixes #11763
fixes #11764
2016-11-03 11:49:04 +01:00
Thomas Gelf c1c5a161c9 director/inspect: just a new permission setting 2016-11-03 11:39:39 +01:00
Markus Frosch 59f858bf87 Add contrib example to run tests with docker 2016-11-03 10:20:01 +01:00
Markus Frosch 9305f55e92 BaseTestCase: Support more resource settings via ENV 2016-11-03 10:19:44 +01:00
Markus Frosch 10ee7901c8 Add composer support for testing 2016-11-03 10:19:25 +01:00
Thomas Gelf dfb97268ee doc/testing: new chapter 2016-11-03 04:11:56 +01:00
Thomas Gelf 7e2f8c9430 test/bootstrap: allow fallback to configdir 2016-11-03 03:06:06 +01:00
Thomas Gelf c57b943544 Merge branch 'feature/test-runner-12905' 2016-11-03 02:56:13 +01:00
Thomas Gelf a52e52b517 IcingaHostTest: temporarily skip broken test 2016-11-03 02:54:59 +01:00
Thomas Gelf b996a684be tests: refactor bootstrapping, initial Gitlab-CI..
...support. Currently expects three test-runners offering Debian Jessie,
Ubuntu 16.04 LTS (Xenial) and CentOS 7. Removed all dependencies on the
Icinga Web 2 test module, installing phpunit should suffice to run tests
in a normal environment.

This is a first attempt to make things easier, more to come.
2016-11-03 02:50:39 +01:00
Thomas Gelf 6c23a02252 Test: add test suite prototype and command
refs #12905
2016-11-02 19:30:11 +01:00
Thomas Gelf 468a2719a7 DirectorActivityLog: optionally log to file/syslog
fixes #12976
2016-11-02 18:40:43 +01:00
Thomas Gelf 984740db9a IcingaUer(Group)Form: allow to specify a zone
fixes #11754
2016-11-02 18:04:35 +01:00
Thomas Gelf 57e4c441bd deploymentlink: show even when there are only...
...unrelated changes

fixes #12032
2016-11-02 17:37:04 +01:00
Lee Clemens f38ded6223 IcingaUserForm: fix object_name description
fixes #13023
2016-11-02 14:34:20 +01:00
Thomas Gelf fcacf3433e doc/getting-started: mention global-zone
Already existed in how-it-works, but should be more prominent

fixes #11547
2016-11-02 14:31:55 +01:00
Thomas Gelf aec44c90d8 tables: use db, not connection, less code 2016-11-02 14:27:23 +01:00
Thomas Gelf cff76236d8 Icinga2Agent.psm1: a few upstream improvements 2016-11-02 13:51:41 +01:00
Lord Hepipud 160a630c5c Icinga2Agent.psm1: <nscp> and <windows-plugins>
fixes #12476
2016-11-02 13:40:56 +01:00
Thomas Gelf e410beb935 CoreApi: skip incomplete stages
fixes #13028
2016-11-02 11:06:15 +01:00
Thomas Gelf ee0def7d2b Lots of files: make IDE users happy 2016-11-01 18:28:36 +01:00
Markus Frosch 1a02543321 Sync: Use PrefetchCache 2016-10-31 17:21:21 +01:00
Markus Frosch 2b227a356b IcingaObjectGroups: Respect PrefetchCache 2016-10-31 17:21:21 +01:00
Markus Frosch 672a45b26e IcingaObject: loadAllByType should respect PrefetchCache 2016-10-31 17:21:21 +01:00
Markus Frosch 86d2f317ee IcingaObject: Do not invalidate templateResolver on every setImports()
Do not clear templateResolver, but refresh current object with its "new" parents.

refs #11803
2016-10-31 17:21:21 +01:00
Thomas Gelf 22802114ac IcingaService: do not disable services twice
fixes #13017
2016-10-31 12:36:45 +00:00
Markus Frosch 15f08170ec Merge branch 'feature/import-templates-11778' 2016-10-31 10:55:30 +01:00
Markus Frosch b04e5f401f Sync: Allow importing / syncing templates
Purging a used template will obviously fail.

refs #11778
2016-10-31 10:55:21 +01:00
Tobias von der Krone 48c4ee7c23 CommandForm: Make imports optional on commands
Specifying an import should be optional for Commands. You have to
specify the execution method, e.g. "Plugin Check Command", anyway so
that the correct base template will be imported by icinga director
automatically.

fixes #12979
2016-10-31 08:38:06 +00:00
Thomas Gelf 55e0ebd02d kickstart: add new route /kickstart allowing one...
...to re-run the kickstart wizard

fixes #13014
2016-10-31 08:34:26 +00:00
Thomas Gelf cbf1a30a26 Kickstart: import notification commands
fixes #12028
2016-10-30 12:35:12 +00:00
Thomas Gelf f41d453448 DeployConfigForm: provide link-like form for...
...deployments

fixes #11854
2016-10-30 10:52:14 +00:00
Thomas Gelf 0be42caeb6 css: improve inline-form style 2016-10-29 22:17:08 +00:00
Thomas Gelf 78903553e9 IcingaService: disable services belonging to a...
...single disabled host

fixes #12049
2016-10-29 22:06:52 +00:00
Thomas Gelf a4ef711ef0 SyncProperty: simplify code and form
fixes #12700
2016-10-29 21:25:42 +00:00
Thomas Gelf d2f359e3e3 UserGroup: do not provide assign_filter property
fixes #13007
2016-10-28 23:29:33 +00:00
Thomas Gelf 0c0694605c js: scroll to highlighted object 2016-10-27 23:41:12 +00:00
Thomas Gelf 6642d8cf74 config/diff: allow to flip shown configs, even...
...undeployed ones
2016-10-27 20:40:57 +00:00
Thomas Gelf 5fc9aabd3e ImportSource: fix syntax error 2016-10-27 19:47:02 +00:00