1118 Commits

Author SHA1 Message Date
Thomas Gelf
04e22f5a23 ExtensibleSet: completely refactored based on ipl 2017-07-14 13:21:42 +02:00
Thomas Gelf
311629bbd1 Web\Table\Objects*: a couple of new tables 2017-07-14 13:21:42 +02:00
Thomas Gelf
43eda94918 TemplateUsageTable: new generic implementation 2017-07-14 13:21:42 +02:00
Thomas Gelf
c4bf4cb57d ApplyRulesTable: new generic implementation 2017-07-14 13:21:42 +02:00
Thomas Gelf
9384d6cd43 ServiceApplyRulesTable: we are a QueryBasedTable 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
b5ce24fa42 TemplateTreeRenderer: introduce a new tree 2017-07-14 13:21:42 +02:00
Thomas Gelf
ac1574c94a RestApi: move also the RestApi to a trait 2017-07-14 13:21:42 +02:00
Thomas Gelf
dc6ec2a41d CoreApi: one more trait, for CoreApi functionality 2017-07-14 13:21:42 +02:00
Thomas Gelf
e88c13663f DirectorDb: new controller extension 2017-07-14 13:21:42 +02:00
Thomas Gelf
7502706284 QuickSearch: add a trait for tables too 2017-07-14 13:21:42 +02:00
Thomas Gelf
9d3b1d1096 ServiceTemplateUsageTable: new implementation 2017-07-14 13:21:42 +02:00
Thomas Gelf
bf5b7dbf32 QuickSearch: implement it as a trait 2017-07-14 13:21:42 +02:00
Thomas Gelf
fd99b6924e SingleObjectApiHandler: attempt to move REST API
...and it's related logic away from controllers
2017-07-14 13:21:42 +02:00
Thomas Gelf
8fd60b87c0 SimpleController: remove functionality...
...as it is implemented elsewhere
2017-07-14 13:21:42 +02:00
Thomas Gelf
4f2a53dc90 MultiSelect: add table extension trait 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
cb1804111f Controllers: whitespace fixes 2017-07-14 13:21:42 +02:00
Thomas Gelf
b753341e64 ServicesDashboard: add a bunch of new Dashlets...
...and related tables
2017-07-14 13:21:42 +02:00
Thomas Gelf
69406d631c ServicesOnHosts: add a new table 2017-07-14 13:21:42 +02:00
Thomas Gelf
d877949e60 Services/ObjectsController: rough integration...
...for multiselect on services
2017-07-14 13:21:42 +02:00
Thomas Gelf
200d00d092 SimpleController: new base controller based on ipl 2017-07-14 13:21:42 +02:00
Markus Frosch
fa61805df2 QuickTable: Fix enforced filters for non-FilterAnd filters
We need to use the result of andFilter() as the new Filter.

The filter gets replaced by FilterAnd($oldFilter, $enforcedFilter) here.
2017-06-02 14:59:26 +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
dc1d572229 HostController: override REST API handling
fixes #759
2017-02-08 12:38:14 +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
2416007b24 ActionController: fix indentation 2017-01-13 19:59:11 +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
a395923aed QuickTable: provide more hooks for special tables 2016-12-30 21:10:29 +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
251eb4f9a5 ObjectController: add explicit NotFoundError...
...handling for REST API requests

fixes #13641
2016-12-16 12:07:01 +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
Marc DeTrano
66ece6010d NewObjectsController: pass dummy object to...
...provideFilterEditorForTable()

fixes #13597
2016-12-14 23:59:57 +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