Thomas Gelf
5dab1d3bb8
IcingaHostForm: logic belongs here
...
refs #1451
2018-03-28 18:38:36 +02:00
Thomas Gelf
8c7897ee46
DirectorObjectForm: do not allow to store...
...
...IcingaHost objects you wouldn't be allowed to see afterwards
fixes #1451
2018-03-28 18:32:52 +02:00
Da Rold Valentina
08e38f2c75
Hook for custom field in Director form
2018-03-28 15:46:21 +02:00
Thomas Gelf
a515e02953
FilterByNameRestriction: test and unify behavior
...
fixes #1392
2018-02-20 13:45:19 +01:00
Markus Frosch
6c52a26281
DirectorObjectForm: Add flapping settings
...
refs #330
2018-01-15 10:10:33 +01:00
Broskavka
c825d0b441
Update NamePattern.php
2017-12-14 00:25:49 +01:00
Thomas Gelf
619717903b
DirectorObjectForm: commit missing method
...
refs #1331
2017-12-13 09:46:53 +01:00
Thomas Gelf
062efd9919
NamePattern: fix msg
...
refs #1331
2017-12-12 15:55:15 +01:00
Thomas Gelf
550959d858
NamePattern: allow to combine multiple patterns
...
fixes #1331
2017-12-12 15:49:22 +01:00
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
5388520551
FieldLoader: fix 'show based on filter' for...
...
...CustomVariables of type Array
fixes #983
2017-10-07 17:14:54 +02:00
Thomas Gelf
5c53f9a3ba
ExtensibleSet: fix "remove" button handling
...
fixes #1100
2017-10-04 06:56:11 +02:00
Thomas Gelf
45eaf0e987
IcingaServiceForm: add NamePattern validator
2017-10-02 08:45:32 +02:00
Marc DeTrano
6bea1eff41
Implement Icinga Dependency Configuration.
2017-09-28 11:01:27 +02:00
Thomas Gelf
e40c1b83de
QuickSubForm: just an IDE hint
2017-09-27 08:38:04 +02:00
Thomas Gelf
748c3668e2
ExtensibleSet: drop-down-like button for drop-...
...
...down-like elements
2017-09-27 08:34:13 +02:00
Thomas Gelf
aee72c558c
DirectorObjectForm: add inherited groups to main...
...
...display group
2017-09-17 13:50:13 +02:00
Thomas Gelf
b9d06f3015
IcingaHostForm: show (and link) applied groups
2017-09-13 16:40:04 +02:00
Thomas Gelf
b87c3bb0f6
TranslationDummy: remove unrelated code from form
2017-09-13 11:01:45 +02:00
Thomas Gelf
9be31df544
DirectorObjectForm: do not catch onSuccess failure
...
...base clase already does
2017-09-13 10:50:34 +02:00
Thomas Gelf
bc8af635e8
DirectorObjectForm: show inherited integers
...
fixes #812
2017-09-12 15:29:39 +02:00
Thomas Gelf
c27fd86f4c
QueryColumnsFromSql: use correct DB
...
fixes #1173
2017-09-12 00:26:19 +02:00
Thomas Gelf
e76665741e
ImportSourceSql: cache query column list
...
fixes #1071
2017-09-11 15:30:00 +02:00
Thomas Gelf
313dba50cb
QuickForm: get unique error helpers from DOF
2017-09-11 15:27:37 +02:00
Thomas Gelf
e752d7f7ae
Changelog: prepare for v1.4.0
2017-09-11 15:17:29 +02:00
Thomas Gelf
04a72fbc5a
ExtensibleSetElement: no autocomplete for...
...
...existing options - might be confusing
2017-09-04 12:27:48 +02:00
Thomas Gelf
71057ef47a
DirectorObjectForm: do not set imports from...
...
...choices when there are no such.
fixes #1111
2017-09-03 10:41:57 +02:00
Thomas Gelf
fd400977f2
IcingaObject: do not resolve imports when...
...
...resolving related objects
2017-08-26 16:17:07 +02:00
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
Thomas Gelf
f874a79bb4
IcingaObjectFieldLoader: no mandatory field on cmd
...
fixes #12644
2017-01-13 16:05:34 +01:00
Thomas Gelf
9b6eda4e97
IcingaObjectFieldLoader: cleanup, improve handling
2017-01-13 15:24:50 +01:00
Thomas Gelf
7a3a845570
Forms: try to give dev UI more hints on fluent...
...
...code
2017-01-13 13:15:01 +01:00
Thomas Gelf
9fc3957f11
QuickForm: fix broken submit button
2017-01-02 10:49:14 +01:00
Thomas Gelf
87f88bf0c7
DirectorObjectForm: allow to hook custom code...
...
...after fields have been added
2017-01-02 10:17:49 +01:00
Thomas Gelf
c9929f7b17
QuickForm: postpone default submit button creation
...
This gives more possibilities to override them at a late stage
2017-01-02 10:14:30 +01:00
Thomas Gelf
990e3fc04b
DirectorObjectFrom: set every property we get
...
fixes #13659
fixes #13673
2016-12-19 14:32:52 +01:00
Thomas Gelf
3d8ccf2448
DirectorObjectForm: skip empty related sets...
...
...provides as objects
fixes #13605
2016-12-15 11:44:52 +01:00
Thomas Gelf
65181ca67e
ExtensibleSet: be strict on values...
...
...and provide a meaningful Exception in case something fails
refs #13605
2016-12-15 11:43:56 +01:00
Thomas Gelf
15b031272e
IcingaObjectFieldLoader: pass db to resolved...
...
...flat object
refs #13583
2016-12-14 22:44:56 +01:00
Thomas Gelf
e85c13ae13
DirectorObjectForm: some more steps to simplify...
...
...this old monster
fixes #13583
2016-12-14 21:07:07 +01:00
Thomas Gelf
a30f34a026
DirectorObjectForm: be careful when continuing...
...
...after an exception
2016-12-14 20:59:26 +01:00
Thomas Gelf
cbb3c7aa88
DirectorObjectForm: remove unused parameter for...
...
...object() helper method
2016-12-14 20:48:59 +01:00
Thomas Gelf
145e1fc6a9
DirectorObjectForm: add has_agent to early props
2016-12-14 20:27:52 +01:00
Thomas Gelf
7e7e2601d3
ObjectFields: prefix filters, respect inheritance
...
refs #13253
2016-12-14 17:33:13 +01:00
Thomas Gelf
5847913987
Fields: add a possibility to show fields based...
...
...on filter rules
2016-12-14 16:36:33 +01:00
Thomas Gelf
4c1ab4dae6
php: just some comments and cleanup
2016-12-13 18:25:14 +01:00
Thomas Gelf
2cfa78af14
FieldLoader: do not fail missing fields
...
One might have toggled template or command, sent values for missing fields
might therefore be perfectly legal and should be silently ignored
refs #13241
2016-12-13 16:57:32 +01:00
Thomas Gelf
e60fdb31b8
DirectorObjectForm: move check_command to main
...
fixes #13551
2016-12-13 16:57:05 +01:00
Thomas Gelf
e207bb2bc9
DirectorObjectForm: resolve ids
2016-12-13 16:34:31 +01:00
Thomas Gelf
bb25de6126
FieldLoader: fix field handling issues
...
fixes #13241
fixes #13259
2016-12-13 16:34:31 +01:00