Commit Graph

319 Commits

Author SHA1 Message Date
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 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 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
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 3fbf3e9115 IcingaServiceForm: use new assign_filter property 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
Thomas Gelf 927d59a3b3 Datafield: provide better explainations 2016-10-17 17:48:04 +00:00
Thomas Gelf baf0d40ea6 IcingaCommandArgumentForm: fix typo 2016-10-17 09:33:07 +00:00
Thomas Gelf a8c37695a9 IcingaMultiEditForm: translate '' to null 2016-10-14 20:13:35 +00:00
Thomas Gelf 23ef9a707c MultiEdit: make it independent of an object type 2016-10-14 18:32:34 +00:00
Thomas Gelf 6a54e00402 MultiEdit: code cleanup, add custom var support
fixes #12465
fixes #12906
fixes #11614
2016-10-14 17:17:07 +00:00
Thomas Gelf 69237b8ae9 MultiEditForm: first shot, provides imports
refs #12465
2016-10-14 13:46:06 +00:00
Thomas Gelf 6f46e6b496 YesNo: new boolean-like form fields
fixes #12927
2016-10-14 13:39:43 +00:00
Markus Frosch f527e31b14 Merge branch 'bugfix/endpoint-remove-import-12920'
fixes #12920
2016-10-13 16:54:34 +02:00
Markus Frosch 255a02cf36 IcingaEndpointForm: Render imports input only when set
We don't need Endpoint templates in GUI.

refs #12920
2016-10-13 16:39:55 +02:00
Thomas Gelf 71b3459540 DirectorDatafieldForm: allow to wipe all related...
...custom variables when removing a field

fixes #12916
2016-10-13 14:02:51 +00:00
Markus Frosch 1a2cede13f ServiceController|IcingaServiceForm: Catching NestingError for the form to load
fixes #11803
2016-10-13 12:25:30 +02:00
Thomas Gelf c044de89de SyncPropertyForm: allow to sync m:n relations 2016-10-12 08:59:42 +00:00
Thomas Gelf acbce05c08 SyncRuleForm: hardcode order, add new types
refs #11361
2016-10-12 08:52:48 +00:00
Thomas Gelf 0ac7c0f448 IcingaServiceForm: fix setting submit label 2016-10-11 14:36:07 +00:00
Thomas Gelf 960fb4a3d0 IcingaServiceForm: allow to delete Services...
...created in an automated way while still allowing one to override
vars.
2016-10-11 14:33:44 +00:00
Thomas Gelf f71bfb1204 SyncPropertyForm: show sorted source columns 2016-10-06 16:16:06 +00:00
Marc DeTrano 348cb1aa63 IcingaCommandArgument: allow expressions in set_if
fixes #12153
2016-09-23 15:18:58 +00:00
Thomas Gelf ffe16b472c IcingaServiceForm: no override check on new object 2016-09-09 13:25:57 +00:00
Thomas Gelf 82bd6be8bf IcingaHostGroupForm: keep internal method protected 2016-09-09 10:01:02 +00:00
Thomas Gelf 217fb38517 IcingaObject: implement supportsAssignRules 2016-09-09 09:06:31 +00:00
Markus Frosch a90595a004 IcingaHostGroup: Add apply statements 2016-09-09 08:32:42 +00:00
Thomas Gelf b2b189c425 IcingaServiceForm: support use_var_overrides...
...even for single host-assigned services
2016-09-08 18:43:25 +00:00
Thomas Gelf cc722578b6 IcingaServiceForm: fix null modification 2016-09-08 16:19:57 +00:00
Thomas Gelf f8ed937ffa IcingaServiceForm: adjust overrides for host-...
...generated services
2016-09-08 13:10:42 +00:00
Thomas Gelf 8dd7fcd13b IcingaHost, IcingaServiceForm: fix parse error...
...on PHP < 5.5
2016-09-08 11:32:41 +00:00
Thomas Gelf 6cc1a90b0a IcingaServiceForm: handle overrides
fixes #12546
2016-09-08 11:25:48 +00:00
Thomas Gelf 061705f52d ConfigController: add settings tab and form 2016-09-05 19:16:35 +00:00
Lee Clemens 960fe14355 SyncRuleForm: fix typo of policy 2016-09-05 14:47:29 +00:00
Thomas Gelf 029907f01f TimePeriodRange: ranges should be more generic...
...as they will not only be used in timeperiods
2016-08-31 16:23:23 +00:00