Thomas Gelf
dc110e87ed
Notifications: add usage overview and table
2017-07-14 15:21:08 +02:00
Thomas Gelf
3d666d1157
DatafieldTable: fix search columns
2017-07-14 13:45:31 +02:00
Thomas Gelf
b89c337d3b
CustomvarTable: do not break
2017-07-14 13:43:28 +02:00
Thomas Gelf
e200221529
data/vars: add a new table
...
Also cleaned up some obsolete code
fixes #1016
2017-07-14 13:21:42 +02:00
Thomas Gelf
acddf07849
DataTabs: remove them from the controller
2017-07-14 13:21:42 +02:00
Thomas Gelf
953baf5b95
DataFilter: code cleanup
2017-07-14 13:21:42 +02:00
Thomas Gelf
95e7b2bf0a
ObjectController: permissions are plural
2017-07-14 13:21:42 +02:00
Thomas Gelf
fe822c3e31
ObjectsController: it's apply, not apply_rule
2017-07-14 13:21:42 +02:00
Thomas Gelf
e0667a1d9b
ApplyRulesTable: fix restriction name
2017-07-14 13:21:42 +02:00
Thomas Gelf
ee582b7106
ObjectsController: fix 'add' link for apply rules
2017-07-14 13:21:42 +02:00
Thomas Gelf
5457a0865f
ObjectTabs: relax notification apply permissions
...
refs #1015
2017-07-14 13:21:42 +02:00
Thomas Gelf
1c4d6598c0
Notifications: allow access to apply rules with...
...
...director/notifications permission
fixes #1015
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
a23e77ef90
ApplyRulesTable: gray out disabled rows like in...
...
...objects tables
2017-07-14 13:21:42 +02:00
Bernd Arnold
7e2b8ce97b
Object: fix typos
...
throught -> through
Since every sentence ends with a dot here, I've also added a dot for the last
sentence.
fixes #990
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
3eb3d82f44
Apply/TemplatesTable: allow to restrict by name
...
refs #898
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
e27bb05fb1
Inspect: completely refactored
...
* new tree renderer
* more tables with details
* styling
* allow to show status
fixes #1003
fixes #1005
2017-07-14 13:21:42 +02:00
Thomas Gelf
be18c37968
TemplateTreeRenderer: use translation
2017-07-14 13:21:42 +02:00
Thomas Gelf
2e0e601cee
QuickBaseForm: less code
2017-07-14 13:21:42 +02:00
Thomas Gelf
46d24e7600
GroupMemberTable, SelfServiceController: cs
2017-07-14 13:21:42 +02:00
Thomas Gelf
0c7e3eee41
Data: controller, table, form - ipl adjustments
2017-07-14 13:21:42 +02:00
Thomas Gelf
1e531bef1b
Group members: hosts only for now
2017-07-14 13:21:42 +02:00
Thomas Gelf
2691081349
HosttemplateController: introduce usage view
...
fixes #884
2017-07-14 13:21:42 +02:00
Thomas Gelf
58accea801
GroupMemberTable: show group members
...
fixes #994
2017-07-14 13:21:42 +02:00
Thomas Gelf
29abb6c6e7
ObjectController: fix issue with Apply tabs
2017-07-14 13:21:42 +02:00
Thomas Gelf
475c84de1e
RestApi: allow to override permission check
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
120a7532a1
ObjectController: fix history and fields
2017-07-14 13:21:42 +02:00
Thomas Gelf
efe6cfbbaa
QuickTable: every QuickTable is ValidHtml
2017-07-14 13:21:42 +02:00
Thomas Gelf
1a7a83e28b
TemplatesTable: link hosts to "edit" as long as...
...
...usage is missing
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
456c8557a4
ObjectsTableHost: remove obsolete comment
2017-07-14 13:21:42 +02:00
Thomas Gelf
f2abd3541e
ObjectController: phpcs, formattinObjectController: phpcs, formattingg
2017-07-14 13:21:42 +02:00
Thomas Gelf
f8ffc13642
Tables: use 'disabled' property
2017-07-14 13:21:42 +02:00
Thomas Gelf
cea78db5af
ServiceSetTables: implement ValidHtml
2017-07-14 13:21:42 +02:00
Thomas Gelf
0cf6676c3c
Host/Service/ObjectController: use more ipl
2017-07-14 13:21:42 +02:00
Thomas Gelf
20310a0c9e
Choices: add dedicated action bar, add to...
...
...ObjectTabs, refine choice(s)Controller
2017-07-14 13:21:42 +02:00
Thomas Gelf
6c943e4d06
ObjectsController: remove obsolete "global" types
2017-07-14 13:21:42 +02:00
Thomas Gelf
f9271da888
ApplyRulesTable: remove action links for now...
...
...and allow to filter by inheritance
2017-07-14 13:21:42 +02:00
Thomas Gelf
652c805387
TemplatesTable: allow to filter by inheritance
2017-07-14 13:21:42 +02:00
Thomas Gelf
74dfbcaa67
ActionController: treat different viewRenderers
2017-07-14 13:21:42 +02:00
Thomas Gelf
8f1ae6fc94
RestApi: remove useless code
...
This is handled in the controller
2017-07-14 13:21:42 +02:00
Thomas Gelf
1739b950a8
ObjectController: hendly duplicate key errors
...
fixes #977
2017-07-14 13:21:42 +02:00
Thomas Gelf
afcd928dfa
ObjectsTableService: fix multiselect by using id
...
Not nice, but works
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
9845cddcb4
QureyBasedTable: move to ipl
2017-07-14 13:21:42 +02:00
Thomas Gelf
f3a11213f7
cs fixes
2017-07-14 13:21:42 +02:00
Thomas Gelf
edc887969e
tables: remove obsolete code and files
2017-07-14 13:21:42 +02:00
Thomas Gelf
6597cd2027
ObjectController: adjust to fit new base controller
2017-07-14 13:21:42 +02:00
Thomas Gelf
90e0d1a50b
ObjectsController: refactored, use new tables
2017-07-14 13:21:42 +02:00
Thomas Gelf
2f8ec92722
DirectorObjectForm: implement choices
2017-07-14 13:21:42 +02:00
Thomas Gelf
60ab0b58a6
NewObjectsController: obsolete
2017-07-14 13:21:42 +02:00
Thomas Gelf
117eeee67e
ActionController: use traits, less code
2017-07-14 13:21:42 +02:00
Thomas Gelf
708cd237d0
TemplatesTable: new generic base table
2017-07-14 13:21:42 +02:00
Thomas Gelf
cc2cb11cf3
ObjectsTable: new generic table
2017-07-14 13:21:42 +02:00
Thomas Gelf
0815c881cc
ObjectSetTable: new generic table for sets
2017-07-14 13:21:42 +02:00
Thomas Gelf
69ccc3be74
QueryBasedTable: add forgotten table base class
2017-07-14 13:21:42 +02:00
Thomas Gelf
df1832aaa9
ChoicesTable: new generic implementation
2017-07-14 13:21:42 +02:00
Thomas Gelf
171e15e95a
ObjectsTableService: new variant for legacy table
2017-07-14 13:21:42 +02:00
Thomas Gelf
0b8d67a3ff
ObjectRestrictions: new controller extension
2017-07-14 13:21:42 +02:00
Thomas Gelf
14eb6df712
ObjectTabs: a new set of tabs
2017-07-14 13:21:42 +02:00
Thomas Gelf
11b054d296
ObjectsTableHost: new table
2017-07-14 13:21:42 +02:00
Thomas Gelf
a74785755c
DirectorBaseActionBar: attempt to provide some...
...
...helpers needed in multiple ActionBars
2017-07-14 13:21:42 +02:00
Thomas Gelf
96495722f9
ActionBar: add Objects and Template implementation
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
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
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
ec0ea2ee6d
NotificationsController: use new base class...
...
...with less tabs, less and simpler code
fixes #13565
fixes #13157
2016-12-14 15:04:38 +01:00
Thomas Gelf
068735021b
ActionController: fix REST API issue
2016-12-14 15:04:00 +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
Thomas Gelf
c1e80afff4
Boolean: fix multiedit-related issues
...
fixes #13131
2016-12-13 16:04:09 +01:00
Thomas Gelf
7c6a10013f
AssignFilter: add 'contains' operator
...
fixes #13133
2016-12-13 14:49:36 +01:00
Thomas Gelf
d2adc1b4ec
IcingaObjectFieldLoader: attach fields to form...
...
...before adding them to a display group. Many thanks to Marc DeTrano for
troubleshooting this tricky issue.
fixes #13279
2016-12-13 12:46:45 +01:00
Thomas Gelf
72bb29694d
multi-edit: show deployment link
2016-11-25 20:51:02 +01:00
Thomas Gelf
b39e7efce7
ObjectForm: allow to preset imports
2016-11-16 16:02:28 +01:00
Thomas Gelf
5407c4fe7c
ObjectsController: template table for templates...
...
...but load the other one first to trick the autoloader
2016-11-16 13:36:07 +01:00
Thomas Gelf
698d523c88
js: put focus on first form element
2016-11-16 13:20:31 +01:00
Markus Frosch
ae70de9755
IcingaServiceSetTable: Fix counter to show distinct counted values
...
refs #12891
2016-11-11 15:18:21 +01:00
Markus Frosch
b08f3df882
IcingaServiceSet*: Improve Table and view
...
Add filter and pagination, and some nice display features.
refs #12891
2016-11-11 10:44:22 +01:00
Markus Frosch
b051b2da17
ObjectsController: Unify feature detection and setAction
...
Groups, Assign and Sets will be checked on the base Object for a group.
refs #12891
2016-11-11 10:44:22 +01:00
Thomas Gelf
63bf607a1d
IcingaObjectFieldLoader: allow exotic var names
...
fixes #12094
fixes #12962
2016-11-08 02:00:38 +01:00
Thomas Gelf
588926a9f9
config/activities: allow to filter them
...
fixes #12239
2016-11-07 22:04:51 +01:00
Thomas Gelf
76ff4ebfd2
Sets: enable them
2016-11-04 09:37:12 +01:00
Thomas Gelf
b2c834e7a4
permissions: provide new ones and enforce them
...
fixes #13039
2016-11-03 16:06:35 +01:00
Thomas Gelf
f286b5ad08
Revert "ServiceSet: re-enable them"
...
This reverts commit c073278ee3
.
2016-11-03 15:04:42 +01:00
Markus Frosch
e368b32ec6
ActionController: Add load helper for IcingaConfig
2016-11-03 13:41:44 +01:00
Thomas Gelf
c073278ee3
ServiceSet: re-enable them
2016-11-03 12:54:15 +01:00
Thomas Gelf
ee0def7d2b
Lots of files: make IDE users happy
2016-11-01 18:28:36 +01:00