Thomas Gelf
7b1c17799d
DirectorObjectForm: get rid of object_type magic
2016-02-17 21:50:06 +01:00
Thomas Gelf
6d1b44f56e
DirectorObjectForm: new helper method for disabled
2016-02-17 20:00:18 +01:00
Thomas Gelf
f0607c33be
DirectorObjectForm: fix refs to missing field
...
The related field has not been pushed to master yet.
2016-02-08 11:30:12 +01:00
Thomas Gelf
31b0e7a180
DirectorObjectForm: fix object type case on redirect
2016-02-04 16:59:38 +01:00
Thomas Gelf
ac6464c5e4
DirectorObjectForm: prepare object type access
...
Introduces addObjectTypeElement(), this will allow for context- and
permission-dependent forms. We will then finally get rid of the "Add
object / template" distinction.
2016-02-04 16:52:34 +01:00
Thomas Gelf
7a6bae9430
DirectorObjectForm: improve getSentOrObjectValue()
2016-02-04 16:51:53 +01:00
Thomas Gelf
5b893dc47e
QuickForm: remember success message for API requests
2016-02-03 00:51:04 +01:00
Thomas Gelf
7f45883cba
DirectorObjectForm: allow templates in global zones
2015-12-23 15:13:21 +01:00
Thomas Gelf
b2cb3183c8
DirectorObjectForm: TODO for "has been modified"
2015-12-17 10:48:00 +01:00
Thomas Gelf
023e15d057
DirectorObjectForm: intervals for check execution
2015-12-10 12:54:34 +01:00
Thomas Gelf
59028ebeb4
DirectorObjectForm: add better status codes
2015-12-10 12:51:11 +01:00
Thomas Gelf
16c4bd4da8
QuickForm: add API helpers
2015-12-10 12:50:10 +01:00
Thomas Gelf
5144b8bfed
DirectorObjectForm: add getSentOrObjectValue helper
2015-12-03 00:38:59 +01:00
Thomas Gelf
3fade17bf4
IcingaHostForm: allow to select non-global zones
2015-12-02 21:31:38 +01:00
Thomas Gelf
107b872b63
DirectorObjectForm: disable additional vars
...
We need something better here
2015-12-02 03:33:52 +01:00
Thomas Gelf
a2d1594eaf
DirectorObjectForm: re-arrange fields and commands
2015-12-02 03:07:28 +01:00
Thomas Gelf
e5ebcc4bcc
DirectorObjectForm: failing field elements...
...
...should still make part of the fields group
2015-11-19 09:24:45 +01:00
Thomas Gelf
66f76ef8c5
DirectorObjectForm: hardcode ignored arguments
...
These would otherwise cause issues in redirections after deleting
object fields or arguments
2015-11-17 18:26:43 +01:00
Thomas Gelf
dff0e1a263
DirectorObjectForm: more logic separation
2015-11-15 15:17:29 +01:00
Thomas Gelf
9ea092c035
DirectorObjectForm: do not require inherited props
...
What worked fine for fields should now work for default properties
too.
2015-11-14 19:47:10 +01:00
Thomas Gelf
49f28b27ef
DirectorObjectForm: fix redirect for related objects
...
CommandArguments and similar are also IcingaObjects, but have no
object_name
2015-11-14 17:51:25 +01:00
Thomas Gelf
4853eba4da
DirectorObjectForm: make use of field format details
2015-11-14 14:47:01 +01:00
Thomas Gelf
d943195732
DirectorObjectForm: separate deletion logic
2015-11-14 14:45:48 +01:00
Thomas Gelf
de3c824fb2
QuickForm: allow public access to getSentValue
2015-11-06 09:40:49 +01:00
Thomas Gelf
b7cd26b597
DirectorObjectForm: new helper method hasObject()
2015-11-02 09:24:58 +01:00
Thomas Gelf
d25e28c137
Forms: no dtdd wrapper for fieldsets
2015-10-29 17:21:52 +01:00
Thomas Gelf
071cf627d2
DirectorObjectForm: implement generic deletion
2015-10-15 23:56:25 +02:00
Thomas Gelf
4d72e315f2
DirectorObjectForm: add vars to fields group for now
2015-10-15 23:55:56 +02:00
Thomas Gelf
0a5addabd1
DirectorObjectForm: group exection options, style
2015-10-15 23:52:31 +02:00
Thomas Gelf
dc41842118
DirectorObjectForm: add store/delete button helper
2015-10-15 23:51:29 +02:00
Thomas Gelf
988eb4bf77
DirectorObjectForm: redirect to newly created objects
2015-10-15 23:47:05 +02:00
Thomas Gelf
51ee2a1fa5
QuickForm: add buttons to group
...
TODO: create list of buttons, get rid of hardcoded delete
2015-10-15 23:44:37 +02:00
Thomas Gelf
e7687d226a
DirectorObjectForm: provide delete button
2015-10-15 20:16:07 +02:00
Thomas Gelf
48a0389c80
QuickForm: remove most decorators from submit
2015-10-15 20:11:40 +02:00
Thomas Gelf
4693be3aa2
DirectorObjectForm: add fields to display group
2015-10-15 20:05:18 +02:00
Thomas Gelf
b7d4b3f1a2
QuickForm: set decorators for form errors
2015-10-15 17:53:29 +02:00
Thomas Gelf
7693192e66
QuickForm: catch Exceptions from success handlers
2015-10-15 17:52:56 +02:00
Thomas Gelf
0544be3aec
QuickForm: allow params for successUrl
2015-10-15 17:52:02 +02:00
Thomas Gelf
a39c8c3280
QuickForm: add getSuccessUrl()
2015-10-13 17:48:16 +02:00
Thomas Gelf
5a244e209a
QuickForm: fix ampersand for form actions
2015-10-13 17:29:20 +02:00
Thomas Gelf
be98cf5133
QuickForm: return sent value only when sent
2015-10-13 17:28:26 +02:00
Thomas Gelf
386a7ee90d
DirectorObjectForm: gracefully handle missing...
...
...data type implementations. Happens when fields have been configured
with data types provided by modules that have been disabled later on.
2015-09-29 18:47:49 +02:00
Thomas Gelf
bda3ab311d
DirectorObjectForm: extended hint for imports
2015-09-14 16:52:18 +02:00
Thomas Gelf
6ff5dd323a
DirectorObjectForm: work even with no templates
2015-08-28 17:20:12 +02:00
Thomas Gelf
3d38a6fec9
DirectorObjectForm: do not show structured vars
2015-08-28 17:01:57 +02:00
Thomas Gelf
be99769fc6
DirectorObjectForm: fields not required if inherited
2015-08-03 13:51:55 +02:00
Thomas Gelf
73ed4d398f
DirectorObjectForm: never inherit object_name
2015-08-03 13:42:52 +02:00
Thomas Gelf
c26f2ed087
DirectorObjectForm: handle object_type only if such
2015-08-03 13:39:12 +02:00
Thomas Gelf
b6018c2d31
DirectorObjectForm: fix non-Icinga defaults
2015-08-03 13:13:28 +02:00
Thomas Gelf
2bab21c2d8
DirectorObjectForm: prefill object with defaults
2015-08-03 12:54:40 +02:00