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
Thomas Gelf
b6d59b9aca
IcingaCommand: fix skip_key handling
...
refs #11554
refs #11918
2016-08-26 07:00:45 +00:00
Thomas Gelf
8c42e0f7d6
IcingaCloneObjectForm: get cloned id AFTER store
...
fixes #11856
2016-08-24 14:49:11 +00:00
Thomas Gelf
204972eb7e
ImportRowModifierForm: superfluous whitespace
2016-08-23 14:23:18 +00:00
Thomas Gelf
d311b15399
IcingaCommandArgumentForm: trim argument name
...
fixes #11548
2016-08-02 11:13:43 +00:00
Thomas Gelf
54643fe5cd
IcingaArguments: fix argment removal for forms
...
fixes #11536
2016-08-01 11:06:52 +00:00
Thomas Gelf
52e412002f
IcingaCommandArgumentForm: store command, not args
...
refs #11536
2016-08-01 10:45:47 +00:00
Lee Clemens
fe0da623a7
Fix it's and lot's contractions
...
"it's" means "it is", whereas "its" is possessive
2016-07-21 22:37:28 +02:00
Thomas Gelf
d90bb05ca2
ImportRowModifier: provide target_property...
...
...also adjust the related form
refs #11949
2016-07-20 13:41:16 +02:00
Thomas Gelf
050ed43035
SyncCheckForm: notify also on check
2016-06-28 10:59:26 +02:00
Thomas Gelf
79600c2626
IcingaHostForm: allow to set command_endpoint
...
fixes #11759
2016-06-28 03:21:39 +02:00
Thomas Gelf
c7c1bfe998
IcingaServiceForm: prepare support for...
...
...host-generated services
2016-06-26 16:38:34 +02:00
Thomas Gelf
c969d4c775
Importsource: add new preview and related forms
2016-06-26 15:51:05 +02:00
Thomas Gelf
d0f7906f8b
SyncCheck/RunForm: use custom buttons
...
This allows to render them together
2016-06-26 13:52:25 +02:00
Thomas Gelf
e71dcea9d6
SyncRun/CheckForm: add new forms
2016-06-25 23:01:30 +02:00
Thomas Gelf
b5fddd60fe
DirectorJobForm: allow to choose time period
2016-06-17 14:23:34 +02:00
Thomas Gelf
35d4a08632
DirectorObjectForm: add extra properties
...
fixes #11579
2016-06-17 09:38:48 +02:00
Thomas Gelf
057ea83aa5
IcingaCommandArgumentForm: fix redirect on store
...
fixes #11523
2016-06-16 22:42:56 +02:00
Thomas Gelf
61ff51c52b
DirectorJobForm: use enumJobTypes()
2016-06-16 14:42:02 +02:00
Thomas Gelf
cc9f5037f4
IcingaNotificationForm: enforce & render apply to
...
fixes #11895
2016-06-09 23:49:02 +02:00
Thomas Gelf
2f60385555
IcingaServiceForm: improve apply handling
2016-05-25 08:14:00 +02:00
Thomas Gelf
d435ca37f7
IcingaNotificationForm: fix timeperiod loading
...
fixes #11576
2016-05-23 13:00:32 +02:00
Thomas Gelf
a9e3cb767e
IcingaNotificationAssignmentForm: new form
2016-05-19 15:06:56 +02:00
Thomas Gelf
0769b720b8
Notifications: should be subject to apply rules
2016-05-19 15:06:05 +02:00
Thomas Gelf
5c2f638593
UserForm: don't ask for mail and pager on tpl
2016-05-13 14:07:24 +02:00
Thomas Gelf
31163b0708
KickstartForm: fix exception catching...
...
...element ordering and give more hints when storing config is not
possible
fixes #11653
2016-05-02 11:09:09 +02:00
Thomas Gelf
63274afba3
IcingaAssignServiceToHostForm: remove obsolete form
2016-05-02 10:49:07 +02:00
Thomas Gelf
2ab802dcdb
ApplyMigrationsForm: new form, just a button
2016-05-02 10:31:31 +02:00
Thomas Gelf
b806cb6c64
DirectorJobForm: new form, using job hooks
2016-04-22 14:28:36 +02:00
Thomas Gelf
c1c9c849ba
syncrule/property: improve usability
2016-04-22 11:12:29 +02:00
Thomas Gelf
91295c4435
DirectorDatafieldForm: provide a delete button
...
fixes #11641
2016-04-20 22:38:28 +02:00
Thomas Gelf
6f20b9a3de
forms: indentation
2016-04-12 21:06:15 +02:00
Thomas Gelf
e951256fdd
IcingaImportObjectForm: new form allowing to...
...
...import external objects
2016-04-12 21:00:48 +02:00
Thomas Gelf
97e2a73a48
SyncRuleForm: refine descriptions
2016-04-12 20:32:30 +02:00
Thomas Gelf
c216d896e9
IcingaCloneObjectForm: allow to translate new name
2016-04-12 20:11:25 +02:00
Thomas Gelf
73b833ed6b
KickstartForm: there is no dual on PostgreSQL
2016-04-11 12:02:26 +02:00
Thomas Gelf
936145fe46
Assignments: need Db for distinct vars enum
...
fixes #11545
2016-04-08 00:46:57 +02:00
Thomas Gelf
eb1fbcdca2
IcingaNotificationForm: do not show timeperiods...
...
...if no such is available
2016-04-03 21:36:41 +02:00
Thomas Gelf
3d64550802
SyncPropertyForm: choosing imports should not fail
...
...with no templates available
2016-04-01 09:47:15 +02:00
Thomas Gelf
f25b8a5070
AssignmentSubForm: prefix host properties
2016-03-30 19:24:28 +02:00
Thomas Gelf
755112eac5
IcingaServiceForm: do not provide object type
2016-03-29 19:33:45 +02:00
Thomas Gelf
77a78a5038
AssignmentSubForm: suppress underscore warnings
2016-03-26 16:22:52 +01:00
Thomas Gelf
360812b719
IcingaServiceForm: push forgotten assignments
2016-03-26 16:18:50 +01:00
Thomas Gelf
88633ba660
forms/Assign*: add new assignment subforms
2016-03-24 13:10:49 +01:00
Thomas Gelf
cdbcd77952
IcingaHostForm: simplify form
2016-03-23 00:40:40 +01:00
Thomas Gelf
478ee6131a
Datalists: completely refactor forms and tables
...
fixes #11401
2016-03-22 23:47:54 +01:00
Thomas Gelf
2f723ccde7
IcingaCommandForm: plugin/internal distinction
2016-03-22 21:22:09 +01:00
Thomas Gelf
1fb6027109
IcingaCommandArgumentForm: fix exception
2016-03-22 20:04:02 +01:00
Thomas Gelf
c02540dfaa
IcingaServiceForm: relax checks for existing ones
2016-03-22 03:24:43 +01:00
Thomas Gelf
9230fd4f15
Kickstart, IcingaCommandArgumentForm: code style
2016-03-22 02:27:17 +01:00
Thomas Gelf
5faf7c8612
IcingaHostForm: just a lame form field
2016-03-22 02:02:25 +01:00
Thomas Gelf
81ea3e6ad8
KickstartForm: rework form, handle db resources
2016-03-21 19:23:17 +01:00
Thomas Gelf
db26ab3036
ConfigForm: remove, got replaced with Kickstart
2016-03-21 19:22:31 +01:00
Thomas Gelf
c7cba66c83
IcingaTimePeriod: fix config errors at deploy time
2016-03-21 13:35:00 +01:00
Thomas Gelf
5d705ce47a
IcingaCommandArgumentForm: clean up, store with cmd
2016-03-21 10:06:25 +01:00
Thomas Gelf
5b9ba4e7e4
IcingaCloneObjectForm: fix redirection url
2016-03-20 11:38:19 +01:00
Thomas Gelf
42b668d4ae
IcingaZoneForm: improve descriptions
2016-03-18 15:46:14 +01:00
Thomas Gelf
cce1e96854
IcingaTimePeriodRangeForm: store period, not range
2016-03-18 13:44:10 +01:00
Thomas Gelf
de8539c50f
IcingaZoneForm: syntax
2016-03-18 13:25:53 +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
a7e1633b3f
timeperiod/ranges: add tables and form
2016-03-17 04:23:07 +01:00
Thomas Gelf
e24cbea712
IcingaHostForm: move down cluster/agent settings
2016-03-16 17:22:09 +01:00
Thomas Gelf
444e22d831
ConfigForm: use fieldset instead of HTML header
2016-03-16 17:20:11 +01:00
Thomas Gelf
b94c6bf481
show/activitylog: add restore action
2016-03-16 16:02:17 +01:00
Thomas Gelf
433cb887c0
IcingaNotificationForm: add related user(-groups)
2016-03-16 14:07:09 +01:00
Thomas Gelf
61f6bae374
IcingaUserForm: add display_name
...
fixes #11395
2016-03-16 12:31:23 +01:00
Thomas Gelf
358590024c
Revert "IcingaZoneForm: allow to set object_type for now"
...
This reverts commit 28862ccb12
.
2016-03-16 11:19:16 +01:00
Thomas Gelf
4010127bd4
SyncPropertyForm: clean up filter_expression
2016-03-15 16:38:03 +01:00
Thomas Gelf
28862ccb12
IcingaZoneForm: allow to set object_type for now
2016-03-15 16:07:04 +01:00
Thomas Gelf
6327066459
SyncPropertyForm: fix prefilling filters
2016-03-15 16:01:21 +01:00
Thomas Gelf
ca11bf12f8
ImportSourceForm: fix typo
2016-03-14 12:55:26 +01:00
Thomas Gelf
af6225a74e
ImportSourceForm: add more descriptions
2016-03-14 12:39:41 +01:00
Thomas Gelf
077d46d7dd
IcingaObjectFieldForm: improve usability
2016-03-13 23:50:28 +01:00
Thomas Gelf
07db0034dc
index/kickstart: offer schema creation
2016-03-13 23:48:22 +01:00
Thomas Gelf
7209f162b2
IcingaNotificationForm: add times to main group
2016-03-12 01:44:28 +01:00
Thomas Gelf
f971839f82
Notification: form and rendering improvements
2016-03-12 01:35:24 +01:00
Thomas Gelf
d3957c276c
application/forms: more object form abstraction
2016-03-10 20:44:12 +01:00
Thomas Gelf
e8a28a12da
DirectorObjectForm: replace state filter helpers
2016-03-10 19:32:29 +01:00
Thomas Gelf
3e0fbf5dac
IcingaUserForm: re-organize elements, structure
2016-03-10 19:28:31 +01:00
Thomas Gelf
be637551be
application/forms: unify and clean up group forms
2016-03-09 20:55:26 +01:00
Thomas Gelf
108a891731
IcingaCommandForm: describe command type
2016-03-09 19:38:15 +01:00
Thomas Gelf
7376d9068f
IcingaCommandForm: extend the description
...
fixes #11340
2016-03-09 18:33:03 +01:00
Thomas Gelf
a42be2a6e8
IcingaServiceForm: cleanup, no details without type
2016-03-07 18:39:19 +01:00
Thomas Gelf
c8a95f1de6
IcingaHostForm: no groups element with no groups
2016-03-07 18:38:07 +01:00
Thomas Gelf
da29da0065
forms/Icinga*: choose type first, then go on
2016-03-07 14:20:58 +01:00
Thomas Gelf
73eced1b11
KickstartForm: catch errors gracefully...
...
...and provide better documentation
2016-03-07 01:10:56 +01:00
Thomas Gelf
5e32d01a6f
IcingaHostForm: rename agent/zone header
2016-03-06 09:53:21 +01:00
Thomas Gelf
f1c708caba
IcingaServiceForm: re-structure and clean up
2016-03-06 09:53:02 +01:00
Thomas Gelf
8c7e49d913
IcingaAssignServiceToHostForm: no single object...
...
...assignments, they should be done directly on the service itself.
2016-03-06 09:49:31 +01:00
Thomas Gelf
00f8503033
IcingaHostForm: re-order elements
2016-03-06 09:47:16 +01:00
Thomas Gelf
70db23b8d1
FormSimpleNote: do not use "Note" from ZF
...
For compatibility reasons we'll not use 'note' anymore, it isn't part
of older Zend Framework versions
fixes #11297
2016-03-06 01:00:50 +01:00
Thomas Gelf
4ce452333a
ImportRowModifierForm: provide source columns
2016-03-06 00:37:45 +01:00
Thomas Gelf
0999a8401c
IcingaUserForm: use new elements for state/type
2016-03-05 16:23:41 +01:00
Thomas Gelf
41ff1fed62
IcingaNotificationForm: remove obsolete state/type
2016-03-05 16:22:34 +01:00
Thomas Gelf
a930690d21
IcingaUserForm: add groups support
2016-03-05 16:21:35 +01:00
Thomas Gelf
bcf8ca6b7d
IcingaHostForm: comments, add groups
2016-03-05 16:17:04 +01:00
Thomas Gelf
d990abf0df
IcingaObjectFieldForm: fix proposed fields for...
...
...commands with multiple arguments in their parameters
2016-03-05 15:49:49 +01:00
Thomas Gelf
67d9d8aa5f
Icinga*GroupForm: add default object type
2016-03-05 10:36:19 +01:00
Marianne Spiller
107856f7d6
ConfigForm: just fixing typo
...
Signed-off-by: Thomas Gelf <thomas@gelf.net>
2016-03-03 13:48:44 +01:00
Thomas Gelf
ea0f58f611
IcingaUserForm: state/filter prototype, dummy...
...
...and still subject to changes
2016-02-28 17:02:57 +01:00
Thomas Gelf
7b01082140
IcingaNotificationForm: still incomplete
2016-02-28 17:02:28 +01:00
Thomas Gelf
7f949e1b5a
SyncPropertyForm: allow to define a filter
2016-02-28 16:23:51 +01:00
Thomas Gelf
7c1c34ee05
IcingaHostForm: behave nice with inherited agent
2016-02-28 14:48:08 +01:00
Thomas Gelf
25e7a83374
IcingaObjectFieldForm: use default buttons
2016-02-28 10:51:15 +01:00
Thomas Gelf
4f65a44494
IcingaDeleteObjectForm: note, might be obsolete
2016-02-27 02:06:59 +01:00
Thomas Gelf
067c82c074
application: PSR2 fixes
2016-02-26 12:42:21 +01:00
Thomas Gelf
78877e9440
IcingaTimePeriodForm: allow to delete timeperiods
2016-02-25 18:37:10 +01:00
Thomas Gelf
4939b7d6c8
IcingaAssignServiceToHostForm: store escaped...
...
...Icinga strings in filter expressions for now
2016-02-24 23:58:40 +01:00
Thomas Gelf
3de4869813
ImportRowModifierForm: allow to delete modifiers
2016-02-19 02:00:42 +01:00
Thomas Gelf
e0b3003d06
ImportRowModifierForm: implement basic functionality
2016-02-18 23:33:44 +01:00
Thomas Gelf
81335598a6
KickstartForm: remove logic, use new helper
2016-02-18 20:47:06 +01:00
Thomas Gelf
215f42926f
SyncPropertyForm: non-Icinga objects should not fail
2016-02-17 22:23:52 +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
Thomas Gelf
a94fe761b6
ConfigForm: get rid of legacy api user configuration
2016-02-17 16:49:33 +01:00
Thomas Gelf
c6cd99f9db
Hooks: remove last traces of Web\Hook
2016-02-17 11:49:56 +01:00
Thomas Gelf
1838057220
ConfigForm: use migrations table for db check
2016-02-09 14:33:31 +01:00