Commit Graph

62 Commits

Author SHA1 Message Date
Thomas Gelf 0e10545175 ServiceSet: allow controlled/restricted access
fixes #1235
2017-10-12 16:54:31 +02:00
Thomas Gelf d1e116a5a1 ipl: rename to dipl
fixes #1217
2017-10-09 15:23:27 +02:00
Thomas Gelf 45eaf0e987 IcingaServiceForm: add NamePattern validator 2017-10-02 08:45:32 +02:00
Thomas Gelf d83cf594cc IcingaServiceForm: provide Choices also for...
...services on Hosts, form field has been forgotten.

fixes #1171
2017-09-12 10:00:47 +02:00
Thomas Gelf da2968a6d3 ServiceForm: add more helpful links to services...
...on hosts
2017-08-26 14:13:13 +02:00
Thomas Gelf 75fb983622 Forms: transform addHtmlHint into ipl-aware code 2017-08-25 18:12:39 +02:00
Thomas Gelf b2736e1776 ObjectForms: fix weird issues with 'add' forms 2017-07-28 18:46:11 +02:00
Thomas Gelf fadbde5e9b HostForm: take over logic from base form, clean up 2017-07-25 10:18:07 +02:00
Thomas Gelf 9e044c558e IcingaServiceForm: allow to use choices 2017-07-14 13:21:42 +02:00
Thomas Gelf 4860082d4b host/services: show applied service sets
fixes #735
2017-02-17 08:44:08 +01:00
Thomas Gelf 5af80479a5 ServiceForm: support all new kinds of overrides 2017-01-18 15:17:17 +01:00
Thomas Gelf b7a10d296c phpcs: mostly new PSR-2 SpacingAfter/Before checks 2017-01-13 20:54:52 +01:00
Thomas Gelf 457fee77a4 IcingaServiceForm: support services from sets...
...on hosts for variable overrides
2017-01-13 16:14:28 +01:00
Thomas Gelf 886ba0e168 IcingaService (on host): add applied services...
...and improve ServiceSet handling

fixes #13849
2017-01-02 10:51:54 +01:00
Thomas Gelf 7a2665646f IcingaServiceForm: restructure to allow more...
...variants with less code

refs #13849
2017-01-02 10:16:55 +01:00
Thomas Gelf 4c1ab4dae6 php: just some comments and cleanup 2016-12-13 18:25:14 +01: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 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 32790dbedc IcingaServiceForm: move hint to custom vars group 2016-10-20 01:35:36 +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 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 ffe16b472c IcingaServiceForm: no override check on new object 2016-09-09 13:25:57 +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 c7c1bfe998 IcingaServiceForm: prepare support for...
...host-generated services
2016-06-26 16:38:34 +02:00
Thomas Gelf 35d4a08632 DirectorObjectForm: add extra properties
fixes #11579
2016-06-17 09:38:48 +02:00
Thomas Gelf 2f60385555 IcingaServiceForm: improve apply handling 2016-05-25 08:14:00 +02:00
Thomas Gelf 755112eac5 IcingaServiceForm: do not provide object type 2016-03-29 19:33:45 +02:00
Thomas Gelf 360812b719 IcingaServiceForm: push forgotten assignments 2016-03-26 16:18:50 +01:00
Thomas Gelf c02540dfaa IcingaServiceForm: relax checks for existing ones 2016-03-22 03:24:43 +01:00
Thomas Gelf da175ff3cd IcingaServiceForm: show reduced form when host...
...object is passed to the form. Makes work with forms easier
2016-03-18 12:15:25 +01:00
Thomas Gelf d3957c276c application/forms: more object form abstraction 2016-03-10 20:44:12 +01:00
Thomas Gelf a42be2a6e8 IcingaServiceForm: cleanup, no details without type 2016-03-07 18:39:19 +01:00
Thomas Gelf da29da0065 forms/Icinga*: choose type first, then go on 2016-03-07 14:20:58 +01:00
Thomas Gelf f1c708caba IcingaServiceForm: re-structure and clean up 2016-03-06 09:53:02 +01:00
Thomas Gelf 8b39a223f8 forms: use object_type element 2016-02-17 21:58:28 +01:00
Thomas Gelf aa3614a37f Object forms: allow to disable objects 2016-02-17 20:10:22 +01:00