450 Commits

Author SHA1 Message Date
Thomas Gelf
84b6196e79 QuickBaseForm: allow for ipl elements in Html 2017-08-25 17:30:29 +02:00
Thomas Gelf
8edb7e50fb DirectorObjectForm: do not sort sets when removing
...entries

fixes #1099
2017-08-25 15:16:16 +02:00
Thomas Gelf
fbcf206b3a IcingaObjectFieldLoader: cleanup 2017-08-25 10:52:02 +02:00
Thomas Gelf
bd0ccc6ca4 FieldLoader: do not add NULL id to list of objects
fixes #1102
2017-08-25 09:28:47 +02:00
Thomas Gelf
e05c3a8556 IcingaHostForm: fix bug with no available tpl...
...and improve element ordering

fixes #1108
2017-08-24 22:42:01 +02:00
Thomas Gelf
6a60b3942c DirectorObjectForm: allow for string imports...
...and deal with empty choices
2017-08-23 23:52:59 +02:00
Thomas Gelf
b3ae6ea68b ExtensibleSet: make sure to stop on errors...
...that have been "manually" set
2017-08-22 17:43:25 +02:00
Thomas Gelf
ab69e1c55f DirectorObjectForm: improve error handling
Template resolving has been changed, adjust error handling accordingly
2017-08-22 10:13:37 +02:00
Thomas Gelf
10391cab8e ExtensibleSetElement: implement optgroups
fixes #1037
2017-08-21 22:54:38 +02:00
Thomas Gelf
8402f58610 DirectorObjectForm: work with string imports 2017-08-21 21:35:11 +02:00
Thomas Gelf
b55541097e QuickForm: helper for exception message text 2017-08-21 21:00:41 +02:00
Thomas Gelf
7b2e13f9c1 DirectorObjectForm, TemplateTree: more fixes...
...related to inheritance and fields
2017-08-21 15:15:06 +02:00
Thomas Gelf
45111ac622 DirectorObjectForm: fix issue with pre-set imports 2017-08-21 14:49:13 +02:00
Thomas Gelf
fa3042c39f Boolean: keep value when validating
Might fix weird issues related to booleans
2017-08-18 16:15:30 +02:00
Thomas Gelf
b8d3487350 ExtensibleSetElement: move "add" option out of...
...tab order
2017-08-18 10:49:42 +02:00
Thomas Gelf
f65275bda7 DirectorObjectForm: use new inheritance helpers 2017-08-16 13:56:04 +02:00
Thomas Gelf
38ebf2dd2d IcingaObjectFieldLoader: use new repository-based
...inheritance helper methods
2017-08-13 12:05:03 +02:00
Thomas Gelf
74a887f5af DirectorObjectForm: fix redirectionUrl for...
...objects without id

fixes #1043
2017-07-28 22:40:16 +02:00
Thomas Gelf
b2736e1776 ObjectForms: fix weird issues with 'add' forms 2017-07-28 18:46:11 +02:00
Thomas Gelf
098cd0a57a Sync: completely refactor table, form, controller 2017-07-25 17:53:59 +02:00
Thomas Gelf
fadbde5e9b HostForm: take over logic from base form, clean up 2017-07-25 10:18:07 +02:00
Thomas Gelf
c295218a5c HostController: code cleanup, little fixes, tabs 2017-07-24 10:52:36 +02:00
Thomas Gelf
e6a9b1197d QuickForm: allow options for submit button helpers 2017-07-19 18:29:16 +02:00
Thomas Gelf
953baf5b95 DataFilter: code cleanup 2017-07-14 13:21:42 +02:00
Thomas Gelf
8f8f9a508e QuickForm: split method, new helpers for buttons 2017-07-14 13:21:42 +02:00
Thomas Gelf
b9fd1f42d9 DirectorObjectForm: fallback, static auth 2017-07-14 13:21:42 +02:00
Thomas Gelf
4a0e8df2f2 Host,Service: add check_timeout property
fixes #546
2017-07-14 13:21:42 +02:00
Thomas Gelf
b11c6b9f34 Boolean: hardcode isValid for true/false
Not perfect, but should do the job unless we move to better forms

fixes #690
2017-07-14 13:21:42 +02:00
Thomas Gelf
2e0e601cee QuickBaseForm: less code 2017-07-14 13:21:42 +02:00
Thomas Gelf
e562d00a50 QuickForm: improve REST API support
refs #486
2017-07-14 13:21:42 +02:00
Thomas Gelf
15942f93f7 DirectorForm: new base class, should get logic...
...useful to all Director forms, even for those not dealing with a DbObject
2017-07-14 13:21:42 +02:00
Thomas Gelf
6aaae3c445 TimePeriods: do not enforce template 2017-07-14 13:21:42 +02:00
Thomas Gelf
ed6a77af5d ExtensibleSet: allow to hide elements, for choices 2017-07-14 13:21:42 +02:00
Thomas Gelf
ceebe08ecd TemplateChoice: work without form loader 2017-07-14 13:21:42 +02:00
Thomas Gelf
0b89c222eb IcingaTemplateChoice: take over code generating...
...the choice form element
2017-07-14 13:21:42 +02:00
Thomas Gelf
d7422fa55c DirectorObjectForm: adjust choice loading to fit
...new class names
2017-07-14 13:21:42 +02:00
Thomas Gelf
2f8ec92722 DirectorObjectForm: implement choices 2017-07-14 13:21:42 +02:00
Thomas Gelf
6f3c76c4f2 IconHelper: add new icons 2017-07-14 13:21:42 +02:00
Thomas Gelf
04e22f5a23 ExtensibleSet: completely refactored based on ipl 2017-07-14 13:21:42 +02:00
Thomas Gelf
4590fa1d73 QuickForm: guess what? We are ValidHtml! 2017-07-14 13:21:42 +02:00
Thomas Gelf
d84a3c68e0 QuickForm: no role and tabindex for fake submit 2017-07-14 13:21:42 +02:00
Thomas Gelf
02a3652c86 Restrictriction: add simple hostgroup restrictions
refs #832
2017-07-14 13:21:42 +02:00
Thomas Gelf
220d15c523 IcingaObjectFieldLoader: return early...
...and save CPU-cycles
2017-04-27 15:45:17 +02:00
Thomas Gelf
82e79c810f IcingaServiceSetForm: redirect to host services...
...when adding a set to a single host

fixes #804
2017-02-17 16:35:13 +01:00
Thomas Gelf
099eca0d0b IcingaCommandForm: allow to configure zones
fixes #802
2017-02-17 16:08:57 +01:00
Thomas Gelf
164b5bd93d Fields: fix inheriting fields from commands
refs #712
refs #731
2017-01-19 13:50:50 +01:00
Thomas Gelf
44866c5176 IcingaObjectFieldLoader: force values related...
...to filtered data fields to be removed. This also changes field order and
places fields without filter first
2017-01-18 11:20:59 +01:00
Thomas Gelf
3bbf06d6b7 DirectorObjectForm: simplify method call
FieldLoader already has the object
2017-01-18 11:04:23 +01:00
Thomas Gelf
b7a10d296c phpcs: mostly new PSR-2 SpacingAfter/Before checks 2017-01-13 20:54:52 +01:00
Thomas Gelf
9e771f2d5a Fix phpcs complaints 2017-01-13 19:47:54 +01:00