Commit Graph

810 Commits

Author SHA1 Message Date
Thomas Gelf b2c834e7a4 permissions: provide new ones and enforce them
fixes #13039
2016-11-03 16:06:35 +01:00
Thomas Gelf 7e4479a76a HostController: hide forgotten set link 2016-11-03 15:13:55 +01:00
Thomas Gelf f286b5ad08 Revert "ServiceSet: re-enable them"
This reverts commit c073278ee3.
2016-11-03 15:04:42 +01:00
Thomas Gelf 58245108c4 Dashboard: show a nice message if no dashboard...
...is available

fixes #13027
2016-11-03 14:27:15 +01:00
Thomas Gelf 8b2f43e4ff SettingsForm: hiding v1-masterless for now 2016-11-03 14:22:08 +01:00
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
Thomas Gelf 4a82bd5b90 IcingaConfig: count apply rules and show them 2016-11-03 13:35:44 +01:00
Thomas Gelf c073278ee3 ServiceSet: re-enable them 2016-11-03 12:54:15 +01:00
Thomas Gelf a540fd08aa cli/objects: provide new commands
fixes #12965
2016-11-03 12:32:51 +01:00
Thomas Gelf d006449564 inspect: enforce permissions
fixes #11763
fixes #11764
2016-11-03 11:49:04 +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 aec44c90d8 tables: use db, not connection, less code 2016-11-02 14:27:23 +01:00
Thomas Gelf ee0def7d2b Lots of files: make IDE users happy 2016-11-01 18:28:36 +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 f41d453448 DeployConfigForm: provide link-like form for...
...deployments

fixes #11854
2016-10-30 10:52:14 +00:00
Thomas Gelf a4ef711ef0 SyncProperty: simplify code and form
fixes #12700
2016-10-29 21:25:42 +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 66e5158ccc Dashboard: replace it with a modular one
fixes #12997
2016-10-27 17:58:31 +00:00
Thomas Gelf d59604bd93 ServiceSet: rework sets, allow for vars and...
...all other service properties when adding services to a set
2016-10-25 23:12:23 +00:00
Thomas Gelf 5de24c6ec4 IcingaServiceSetForm: restructure the form 2016-10-25 23:12:23 +00:00
Thomas Gelf 7f34e4bdf3 IcingaServiceSet: improve work with imports 2016-10-25 23:12:23 +00:00
Thomas Gelf 4929f6b228 Host: show a related service set list 2016-10-25 23:12:23 +00:00
Thomas Gelf dedaea0319 IcingaServiceSetForm: prepare custom fields 2016-10-25 23:12:23 +00:00
Thomas Gelf bed122d906 IcingaServiceSetForm: complete description 2016-10-25 23:12:23 +00:00
Thomas Gelf 696e63b4ec Servicesset: add controller, form and table 2016-10-25 23:12:23 +00:00
Markus Frosch 8a5c111990 IcingaServiceTable: Remove no longer used code from appliedOnes
refs #12033
2016-10-25 10:48:31 +02:00
Thomas Gelf 72ce3cfb33 FormDataFilter: disable 'is true / set' for now 2016-10-25 02:38:45 +00:00
Thomas Gelf ad7c5bc997 IcingaHost: fix tests 2016-10-25 00:30:12 +00:00
Markus Frosch b3eb5ea102 IcingaServiceTable: Update apply rule rendering
For new storage format, and change to table.

refs #12033
2016-10-24 14:43:52 +02:00
Thomas Gelf 0d86c24cd8 Huge change, getting rid of legacy assignment...
...code. All objects should work with the new code base right now
2016-10-24 03:41:37 +00:00
Thomas Gelf aeafec37d7 FormDataFilter: simplify HTML, Code and style 2016-10-23 04:23:38 +00:00
Thomas Gelf 24478ede12 DataFilter: json_en/decode when passing to form 2016-10-23 03:14:52 +00:00
Thomas Gelf 8519a287dc FormDataFilter: flip button order 2016-10-22 07:02:09 +00:00
Thomas Gelf 3fbf3e9115 IcingaServiceForm: use new assign_filter property 2016-10-22 07:02:09 +00:00
Thomas Gelf 8ade496fdc DataFilter: refactor the whole class(es) 2016-10-22 07:02:09 +00:00
Thomas Gelf 037c588d26 FormDataFilter: change icon for expression 2016-10-22 07:02:09 +00:00
Thomas Gelf 9349ba0f2a FormDataFilter: new implementation for assignments
First prototype
2016-10-22 07:02:09 +00:00
Thomas Gelf 1f660b514a IcingaServiceForm: allow empty name for apply rule 2016-10-22 06:09:10 +00:00
Thomas Gelf 7c31b37f27 IcingaServiceForm: remove duplicate code
Elements in this list are optional and may be used in various forms,
so keeping this in the base class is preferrable here
2016-10-22 06:09:00 +00:00
Thomas Gelf 5b4e7509f4 Just a couple of phpcs complaints fixed 2016-10-22 06:08:52 +00:00
Thomas Gelf 0791b900f3 QuickBaseForm: allow translation tools find 'None' 2016-10-22 06:08:44 +00:00
Corentin Ardeois 3e30d34098 Use `config` variable in apply for rules
* use `config` instead of `value` in apply for rules
* update documentation

refs #11976
2016-10-22 06:07:57 +00:00
Corentin Ardeois e7bd4343b5 Add support for Apply for rules in services
Apply for rules are defined through `apply_for` property
Only Array custom variables will be eligible in apply_for dropdown.

API Example:
```bash
 ./director-curl POST director/service?name=my_service '{"apply_for": "for (checked_tcp_port in host.vars.checked_tcp_ports)" }'
 ```

 Will render as:
 ```
  apply Service "my_service" for (checked_tcp_port in host.vars.checked_tcp_ports) {
      ...
  }
  ```
Feature: https://dev.icinga.org/issues/11976

Depends-On: https://github.com/Icinga/icingaweb2-module-director/pull/20
refs #11976
2016-10-22 06:00:54 +00:00
Thomas Gelf 9414068eee IcingaMultiEditForm: remove superfluous dot 2016-10-20 02:13:19 +00:00
Thomas Gelf 32790dbedc IcingaServiceForm: move hint to custom vars group 2016-10-20 01:35:36 +00:00