Thomas Gelf
1df9ef13d9
ObjectsTable: show 100 lines instead of 25
2017-07-20 08:28:38 +02:00
Thomas Gelf
5e98ea7b9b
TemplatesTable: clean up links
2017-07-20 08:25:30 +02:00
Thomas Gelf
db31f337f1
Table: override inherited assemble method
...
This is an ugly workaround for now, need to find a better solution
2017-07-19 19:07:42 +02:00
Thomas Gelf
37b3a8da82
Activity/DeploymentLogTable: completely refactored
2017-07-19 18:45:12 +02:00
Thomas Gelf
e6a9b1197d
QuickForm: allow options for submit button helpers
2017-07-19 18:29:16 +02:00
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
Thomas Gelf
f41d453448
DeployConfigForm: provide link-like form for...
...
...deployments
fixes #11854
2016-10-30 10:52:14 +00:00
Thomas Gelf
78b01091eb
DirectorObjectForm: deal with subform values
2016-10-27 19:39:40 +00:00
Thomas Gelf
27634fe722
QuickBaseForm: allow for multiple module-related...
...
...prefix paths
2016-10-27 18:17:21 +00:00
Thomas Gelf
2b094067a5
QuickBaseForm: add missing use statement
2016-10-27 17:33:35 +00:00
Thomas Gelf
c91084f0db
ObjectsController: hide sets for now...
...
...didn't want to push that early :p
2016-10-27 16:33:47 +00:00
Thomas Gelf
bab23c8f9b
Form: split constructor to make tests easier
2016-10-27 16:31:04 +00:00
Thomas Gelf
d59604bd93
ServiceSet: rework sets, allow for vars and...
...
...all other service properties when adding services to a set
2016-10-25 23:12:23 +00:00
Thomas Gelf
1724a78da5
DirectorObjectForm: do not set null values
2016-10-25 23:12:23 +00:00
Thomas Gelf
c41009992e
IcingaObjectFieldLoader: allow to combine objects
2016-10-25 23:12:23 +00:00
Thomas Gelf
f87e80989d
DirectorObjectForm: persist the field loader
2016-10-25 23:12:23 +00:00
Thomas Gelf
0db659cc4e
IcingaObjectFieldLoader: check for fields support
2016-10-25 23:12:23 +00:00
Thomas Gelf
00f21f838b
DirectorObjectForm: simplify inhertance code
2016-10-25 23:12:23 +00:00
Thomas Gelf
696e63b4ec
Servicesset: add controller, form and table
2016-10-25 23:12:23 +00:00
Thomas Gelf
0d86c24cd8
Huge change, getting rid of legacy assignment...
...
...code. All objects should work with the new code base right now
2016-10-24 03:41:37 +00:00
Thomas Gelf
aeafec37d7
FormDataFilter: simplify HTML, Code and style
2016-10-23 04:23:38 +00:00
Thomas Gelf
24478ede12
DataFilter: json_en/decode when passing to form
2016-10-23 03:14:52 +00:00
Thomas Gelf
8f2b9fea07
DataFilter: automagic fix for not(multiple)
2016-10-22 07:02:09 +00:00
Thomas Gelf
a819e7c92c
DataFilter: attribs are no longer needed
2016-10-22 07:02:09 +00:00
Thomas Gelf
8ade496fdc
DataFilter: refactor the whole class(es)
2016-10-22 07:02:09 +00:00
Thomas Gelf
037c588d26
FormDataFilter: change icon for expression
2016-10-22 07:02:09 +00:00
Thomas Gelf
9349ba0f2a
FormDataFilter: new implementation for assignments
...
First prototype
2016-10-22 07:02:09 +00:00
Thomas Gelf
7c31b37f27
IcingaServiceForm: remove duplicate code
...
Elements in this list are optional and may be used in various forms,
so keeping this in the base class is preferrable here
2016-10-22 06:09:00 +00:00
Thomas Gelf
0791b900f3
QuickBaseForm: allow translation tools find 'None'
2016-10-22 06:08:44 +00:00
Corentin Ardeois
e7bd4343b5
Add support for Apply for rules in services
...
Apply for rules are defined through `apply_for` property
Only Array custom variables will be eligible in apply_for dropdown.
API Example:
```bash
./director-curl POST director/service?name=my_service '{"apply_for": "for (checked_tcp_port in host.vars.checked_tcp_ports)" }'
```
Will render as:
```
apply Service "my_service" for (checked_tcp_port in host.vars.checked_tcp_ports) {
...
}
```
Feature: https://dev.icinga.org/issues/11976
Depends-On: https://github.com/Icinga/icingaweb2-module-director/pull/20
refs #11976
2016-10-22 06:00:54 +00:00
Thomas Gelf
b62b602f7d
DirectorObjectForm: move imports below name
2016-10-20 02:22:34 +00:00
Thomas Gelf
d5234f723d
HostController: no loop check for 'fake' services
...
Inherited services do not exist in the db. As many services would
carry their template's name, the fallback to a name-based loop check
would trigger an erraneous error. So we trigger no preliminary loop
check for those now.
fixes #12938
2016-10-20 01:09:34 +00:00
Thomas Gelf
8c2d5ec7f9
Data: flip field/list order, as fields are...
...
...more important
2016-10-17 17:24:27 +00:00
Thomas Gelf
edbda2c592
IcingaObjectFieldLoader: silently ignore setValues
...
...when called for an object without custom var support
2016-10-17 16:57:25 +00:00
Thomas Gelf
b40f4a7ab7
QuickTable: fix 'return value in write contex'...
...
...for older PHP versions
2016-10-14 19:35:52 +00:00
Thomas Gelf
23ef9a707c
MultiEdit: make it independent of an object type
2016-10-14 18:32:34 +00:00
Thomas Gelf
6a54e00402
MultiEdit: code cleanup, add custom var support
...
fixes #12465
fixes #12906
fixes #11614
2016-10-14 17:17:07 +00:00
Thomas Gelf
69237b8ae9
MultiEditForm: first shot, provides imports
...
refs #12465
2016-10-14 13:46:06 +00:00
Thomas Gelf
732ebae339
ActionController: provide a singleTab helper
2016-10-14 13:46:06 +00:00
Thomas Gelf
41c4448685
QuickTable: provide multiselect feature
...
refs #11614
2016-10-14 13:46:06 +00:00
Thomas Gelf
6f46e6b496
YesNo: new boolean-like form fields
...
fixes #12927
2016-10-14 13:39:43 +00:00
Thomas Gelf
98708e6496
Forms: better error handling
...
fixes #12926
2016-10-14 13:35:30 +00:00
Thomas Gelf
2df7144240
TemplateResolver: no more false alarms...
...
...when multiple paths lead to the same template
refs #11803
2016-10-14 11:26:41 +00:00
Thomas Gelf
041fd52174
FieldLoader, TemplateResolver: more cleanup
...
A few fixes related to modified imports for unstored objects
refs #12922
2016-10-14 09:59:08 +00:00
Thomas Gelf
e04acbc55f
IcingaObjectFieldLoader: do not fail on emtpy...
...
...parents
2016-10-14 08:33:58 +00:00
Thomas Gelf
913c2687b6
IcingaObjectFieldLoader: first implementation
...
Should already replace all former functionality
refs #12904
2016-10-13 21:25:03 +00:00
Markus Frosch
f527e31b14
Merge branch 'bugfix/endpoint-remove-import-12920'
...
fixes #12920
2016-10-13 16:54:34 +02:00
Markus Frosch
cc61831258
DirectorObjectForm: Allow form to select if imports are required
...
refs #12920
2016-10-13 16:37:49 +02:00
Thomas Gelf
71b3459540
DirectorDatafieldForm: allow to wipe all related...
...
...custom variables when removing a field
fixes #12916
2016-10-13 14:02:51 +00:00
Thomas Gelf
0e45429196
ObjectForm: do not allow to choose type...
...
...when one is already given
2016-10-13 11:55:53 +00:00
Thomas Gelf
e99568fffc
DirectorObjectForm: add unique error message...
...
...without adding an error in case we detect a loop. Also improve
resolve cache invalidation and clean up old imports-related code
refs #11803
2016-10-12 15:23:54 +00:00
Thomas Gelf
7993724dcb
IcingaTemplateResolver: detect and throw nesting..
...
...errors
fixes #11803
2016-10-12 14:16:19 +00:00
Thomas Gelf
70b8a9ea02
DirectorObjectForm: improve Exception error message
2016-10-05 18:03:07 +00:00
Thomas Gelf
04cae6f8f8
DirectorObjectForm: fix forgotten variable
2016-09-09 21:38:49 +00:00
Thomas Gelf
f52cd5ea77
DirectorDatafield: simplify usage
2016-09-09 21:32:26 +00:00
Thomas Gelf
217fb38517
IcingaObject: implement supportsAssignRules
2016-09-09 09:06:31 +00:00
Thomas Gelf
1144b5d55f
DirectorObjectForm: fix legacy range field
2016-09-05 18:52:22 +00:00
Thomas Gelf
336257680c
Settings: remove settings logic from DB...
...
...and keep helper method for easy instantiation
2016-08-27 13:20:03 +00:00
Thomas Gelf
77c915c897
DirectorObjectForm: normalize command field values...
...
...with special data types even when filled at services level
fixes #12400
fixes #11692
fixes #11477
2016-08-26 13:48:44 +00:00
Thomas Gelf
5355558519
DirectorObjectForm: place failed command fields...
...
...into the correct display group
2016-08-26 13:34:57 +00:00
Thomas Gelf
84b035ec24
objects/tree: enable autorefresh...
...
...and some coding style fixes
fixes #12451
2016-08-23 15:11:42 +00:00
Thomas Gelf
89d8536a92
IconHelper: start to separate concerns in forms
...
One new small helper class for this purpose
2016-08-05 12:49:11 +00:00
Thomas Gelf
14b5e74bb2
DirectorObjectForm: skip timeperiod range params...
...
...on redirect after removal. TimeperiodRange::getOnDeleteUrl would
be a better place for this, but I do not like that solution either :p
fixes #12316
2016-08-04 18:29:18 +00:00
Thomas Gelf
c2f3609cc6
DirectorObjectForm: provide event command for...
...
...hosts and services
fixes #12117
fixes #12126
2016-07-20 17:53:19 +02:00
Markus Frosch
f863a9b223
WIP: Add templates tab for all objects
...
Exceptions are global types, and those who can't import.
2016-07-07 09:05:33 +02:00
Markus Frosch
c73be6b976
QuickTable: Ignore _dev parameter for the filter
2016-07-07 08:57:45 +02:00
Thomas Gelf
5e2de81767
DirectorObjectForm: prefer sent over inherited
2016-06-27 23:04:02 +02:00
Thomas Gelf
4c70a61060
ListController: get rid of global import history
2016-06-26 15:48:39 +02:00
Thomas Gelf
3b4b85374d
QuickForm: fully respect false submit label
2016-06-26 14:02:21 +02:00
Thomas Gelf
97e52b231d
ImportsourceController: fix redirect after delete
2016-06-25 23:39:28 +02:00
Thomas Gelf
7438b07c91
DirectorObjectForm: remove superfluous outdated...
...
...imported objects refresh
2016-06-17 20:42:12 +02:00
Thomas Gelf
35d4a08632
DirectorObjectForm: add extra properties
...
fixes #11579
2016-06-17 09:38:48 +02:00
Thomas Gelf
271dc6add5
DirectorObjectForm: addd brackets to be on the...
...
...safe side for all PHP versions
2016-06-16 17:00:09 +02:00
Thomas Gelf
144b20afc8
DirectorObjectForm: getSentOrObjectValue should...
...
...not fail on missing elements
2016-06-16 14:17:40 +02:00
Thomas Gelf
6254a0de3a
ActionController: remove render() call
2016-06-16 14:14:38 +02:00
Thomas Gelf
12764c8482
Web/Controller: replace this->render()
2016-06-13 20:06:58 +02:00
Thomas Gelf
04a9a12d84
ExtensibleSet: fix phpcs complaint
2016-06-12 11:14:12 +02:00
Thomas Gelf
78c984068a
ObjectController: remove last traces of isDisabled
2016-06-12 11:05:16 +02:00
Thomas Gelf
cc9f5037f4
IcingaNotificationForm: enforce & render apply to
...
fixes #11895
2016-06-09 23:49:02 +02:00
Thomas Gelf
baf6d8f62f
DirectorObjectForm: hardcode boolean handling
2016-05-25 15:25:21 +02:00
Thomas Gelf
d1af897114
ObjectController: allow for graceful tabs
2016-05-25 08:12:42 +02:00
Thomas Gelf
d01194a7b4
QuickForm: optimize runtime order
2016-05-24 20:25:16 +02:00
Thomas Gelf
0ce8a29b52
Boolean: form sends '' for null value
2016-05-24 19:59:02 +02:00
Thomas Gelf
d435ca37f7
IcingaNotificationForm: fix timeperiod loading
...
fixes #11576
2016-05-23 13:00:32 +02:00
Thomas Gelf
dca6cc8a01
ExtensibleSet: respect strings when filtering
2016-05-20 10:46:01 +02:00
Thomas Gelf
eb52918711
ExtensibleSet: do not array-filter when null
2016-05-20 10:40:58 +02:00
Thomas Gelf
5952de5841
DirectorObjectForm: make use of element filters
2016-05-20 08:37:46 +02:00
Thomas Gelf
0a475e3bcb
DirectorObjectForm: remove imports exception...
...
...this is already handled by the object itself
2016-05-20 08:37:02 +02:00
Thomas Gelf
df2a5899f6
ExtensibleSet: remove empty strings at filter time
2016-05-20 08:13:13 +02:00
Thomas Gelf
88c28db54f
ObjectController: fix typo avoiding rendering...
...
...of disabled objects
2016-05-19 22:11:09 +02:00
Thomas Gelf
7622200f2e
Element/Boolean: ignore PHPCS violation as of ZF1
2016-05-19 20:54:18 +02:00
Thomas Gelf
5f1a21e1f0
ActivityLogTable: override render to get rid of...
...
...initial tbody. Ugly.
2016-05-19 15:23:49 +02:00
Thomas Gelf
8a6f7c0e38
ExtensibleSet: remove empty components
...
fixes #11360
2016-05-19 15:02:30 +02:00
Thomas Gelf
41731241c5
DataTypeBoolean: provide a new data type
...
fixes #11594
2016-05-19 14:59:25 +02:00
Thomas Gelf
da5ee55abf
ViewHelperRaw: add new form decorator showing...
...
...raw, unfiltered values
2016-05-19 14:53:41 +02:00
Thomas Gelf
728c0745ae
DirectorObjectForm: provide setSentValue helper
2016-05-13 14:13:48 +02:00
Thomas Gelf
576d62da26
IcingaObject: use resolved zone for apply/tpl
2016-05-10 20:23:45 +02:00
Thomas Gelf
24b201db13
Object/CommandController: unify titles
2016-05-03 09:09:01 +02:00
Thomas Gelf
3d03baff38
Object/HostController: delegate preview rendering
2016-05-03 09:07:28 +02:00
Thomas Gelf
32009ce458
DirectorObjectForm: require imports for all...
...
...non-template objects
2016-04-03 21:32:49 +02:00
Thomas Gelf
e4b609c647
DirectorObjectForm: allow missing elements...
...
...when defining display groups, but only specific ones. I still want
to see exceptions for all the others
2016-03-30 19:51:29 +02:00
Thomas Gelf
d6be2e777c
DirectorObjectForm: add max_check_attempts
2016-03-30 19:19:00 +02:00
Thomas Gelf
078e46df60
ServiceController: beforeHandlingAddRequest hook
2016-03-29 19:32:50 +02:00
Thomas Gelf
c1185106fa
ObjectController: failsafe api access
2016-03-29 19:27:54 +02:00
Thomas Gelf
f25b47e1bc
DirectorObjectForm: fix exception on no data
2016-03-29 18:50:52 +02:00
Thomas Gelf
f2dc9c59e5
DirectorObjectForm: provide check_period element
2016-03-27 23:58:44 +02:00
Thomas Gelf
fd1bc38609
DirectorObjectForm: blacklist ids not names...
...
...when fetching allowed templates
2016-03-27 12:55:05 +02:00
Thomas Gelf
dc43a40b41
ObjectController: use setViewScript, not render
2016-03-26 16:45:06 +01:00
Thomas Gelf
aee65a706a
QuickSubForm: one more forgotten file
2016-03-26 16:21:23 +01:00
Thomas Gelf
ec97306e66
DirectorObjectForm: handle data from/for assigns
2016-03-24 11:42:58 +01:00
Thomas Gelf
e1acf37ac4
QuickTable: more access, give varname more sense
2016-03-24 10:50:06 +01:00
Thomas Gelf
d7b765bd04
QuickTable: fix counting bugy
2016-03-24 02:55:23 +01:00
Thomas Gelf
b09593ff75
DirectorObjectForm: move valueIsEmpty to QuickBase
2016-03-24 02:27:10 +01:00
Thomas Gelf
5fc16f393d
QuickBaseForm: take over parts of QuickForm
2016-03-24 01:59:50 +01:00
Thomas Gelf
324e15e2b5
QuickForm: add helper for shorter display group...
...
...definitions
2016-03-22 23:43:47 +01:00
Thomas Gelf
ca6a9677bc
ServiceController: prefix "add service" with host
2016-03-22 19:09:21 +01:00
Thomas Gelf
e753a741d9
ObjectContoller: allow to edit external ApiUser...
...
...and Endpoint objects
fixes #11429
2016-03-22 18:19:13 +01:00
Thomas Gelf
1ca627f66c
DirectorObjectForm: use valueIsEmpty
2016-03-22 02:56:10 +01:00
Thomas Gelf
a752100da4
ObjectsController: add quicksearch element
2016-03-22 02:13:35 +01:00
Thomas Gelf
16bc8bf6b3
QuickForm: add missing beforeSetup hook
2016-03-22 02:09:37 +01:00
Thomas Gelf
5faf7c8612
IcingaHostForm: just a lame form field
2016-03-22 02:02:25 +01:00
Thomas Gelf
712dc6c9b7
DirectorObjectForm: handle ordering before setup
2016-03-22 01:34:21 +01:00
Thomas Gelf
afde1806f7
QuickForm: add beforeSetup hook
2016-03-22 01:26:44 +01:00
Thomas Gelf
747fd966d2
DirectorObjectForm: refactor getSentOrObjectValue
2016-03-22 00:22:54 +01:00
Thomas Gelf
5e540880e5
Revert "DirectorObjectForm: do not set null defaults"
...
This reverts commit ce7b6031ff
.
Broke quite some forms
2016-03-21 22:51:03 +01:00
Thomas Gelf
c36093d350
ObjectController: combine preview & external info
2016-03-21 21:24:22 +01:00
Thomas Gelf
75f8872962
QuickForm: allow for named hints
...
This is necessary as I want to refer to them in display groups
2016-03-21 19:08:21 +01:00
Thomas Gelf
ce7b6031ff
DirectorObjectForm: do not set null defaults
2016-03-21 13:20:16 +01:00
Thomas Gelf
98b7b7be3f
ActionController: commit missing helper method
2016-03-21 12:12:33 +01:00
Thomas Gelf
3fcb0d9849
controllers/filter: shift modifyFilter
2016-03-21 12:11:33 +01:00
Thomas Gelf
33d323286e
ObjectsController: introduce quick search
2016-03-20 15:09:58 +01:00
Thomas Gelf
4f219992d8
objects: add compact quicksearch element
2016-03-20 13:18:55 +01:00
Thomas Gelf
7cd77c75ba
Controllers: unify titles
2016-03-20 13:14:49 +01:00
Thomas Gelf
d2de1f2eab
ObjectController: improve clone link, rendering
2016-03-20 12:14:48 +01:00
Thomas Gelf
99302d40f4
IcingaService: fix redirection for host services
2016-03-20 12:04:06 +01:00
Thomas Gelf
547b13d53f
ObjectController: show object name, not 'Modify..'
2016-03-20 12:00:49 +01:00
Thomas Gelf
2dd694f3ec
ActionController: add viewscript helper
2016-03-20 11:19:16 +01:00
Thomas Gelf
775363e281
Monitoring: add monitoring integration helper
2016-03-20 11:18:44 +01:00
Thomas Gelf
65a881ca80
DirectorObjectForm: fix lost pointer issue
...
This has been a scary one :p
fixes #11409
fixes #11410
2016-03-18 21:16:25 +01:00
Thomas Gelf
0a022644b4
DirectorObjectForm: require imports for objects
2016-03-18 15:04:23 +01:00
Thomas Gelf
7ca46b1ab5
ObjectController: show info, no form for externals
2016-03-18 14:58:46 +01:00
Thomas Gelf
4417d58349
DirectorObjectForm: do not allow external objects
2016-03-18 14:39:00 +01:00
Thomas Gelf
906644cb18
DirectorObjectForm: no object type change allowed
2016-03-18 14:36:57 +01:00
Thomas Gelf
944701c725
ObjectController: remove superfluous sprintf
2016-03-18 13:37:15 +01:00
Thomas Gelf
574cb91093
DirectorObjectForm: add form field ordering
2016-03-18 13:01:27 +01:00
Thomas Gelf
6bd8a492b6
ObjectController: add beforeTabs hook
2016-03-18 11:44:48 +01:00
Thomas Gelf
85b26822c0
DirectorObjectForm: failsafe check for object_type
2016-03-18 11:38:08 +01:00
Thomas Gelf
2c8b16893c
DirectorObjectForm: fix strange notifications
...
...like "The operty has been modified"
2016-03-17 08:47:59 +01:00
Thomas Gelf
6ea94dd7a2
DirectorObjectForm: no elements for unknown vars
2016-03-17 02:27:06 +01:00
Thomas Gelf
0119e0f4a2
DirectorObjectForm: add and use isNew helper
2016-03-17 01:42:57 +01:00
Thomas Gelf
83b85a1868
ObjectController: autorefresh history
2016-03-16 23:22:43 +01:00
Thomas Gelf
6e5fa49e1a
DirectorObjectForm: fix booleans
2016-03-16 23:20:36 +01:00
Thomas Gelf
782667e6b9
object/history: use activity log styling
2016-03-16 22:50:35 +01:00
Thomas Gelf
433cb887c0
IcingaNotificationForm: add related user(-groups)
2016-03-16 14:07:09 +01:00
Thomas Gelf
0febe231ab
QuickTable: use plain object renderer
2016-03-15 16:25:15 +01:00
Thomas Gelf
7209f162b2
IcingaNotificationForm: add times to main group
2016-03-12 01:44:28 +01:00
Thomas Gelf
23b1b008a8
ObjectController: REST API 422 was too strict
2016-03-12 01:36:58 +01:00
Thomas Gelf
f971839f82
Notification: form and rendering improvements
2016-03-12 01:35:24 +01:00
Thomas Gelf
b6dc8e5faf
Db, DirectorObjectForm: support notifications
2016-03-11 09:07:22 +01:00
Thomas Gelf
98ffe3628d
DirectorObjectForm: commands -> templates, not obj
2016-03-10 21:14:20 +01:00
Thomas Gelf
d3957c276c
application/forms: more object form abstraction
2016-03-10 20:44:12 +01:00
Thomas Gelf
e8a28a12da
DirectorObjectForm: replace state filter helpers
2016-03-10 19:32:29 +01:00
Thomas Gelf
5a5587eaab
DirectorObjectForm: style
2016-03-10 19:06:02 +01:00
Thomas Gelf
be637551be
application/forms: unify and clean up group forms
2016-03-09 20:55:26 +01:00
Thomas Gelf
a3c7e57333
DirectorObjectForm: fix typo
2016-03-09 19:37:50 +01:00
Thomas Gelf
6105ae4386
FormExtensibleSet: fix add button
2016-03-09 09:45:06 +01:00
Thomas Gelf
fda920d3ad
DirectorObjectForm: inheritance error for arrays
2016-03-09 09:26:36 +01:00
Thomas Gelf
1d4b508ff3
different files: style
2016-03-08 22:30:12 +01:00
Thomas Gelf
7ef09b99dc
ObjectController: remove obsolete sprintf
2016-03-07 18:37:49 +01:00
Thomas Gelf
572ac3ad4c
DirectorObjectForm: lazy relations only for Icinga
2016-03-07 18:22:19 +01:00
Thomas Gelf
2826408c72
DirectorObjectForm: improve 'imports' element
2016-03-07 14:54:06 +01:00
Thomas Gelf
da29da0065
forms/Icinga*: choose type first, then go on
2016-03-07 14:20:58 +01:00
Thomas Gelf
aa53d57ec8
DirectorObjectForm: no default object_type
2016-03-07 14:14:52 +01:00
Thomas Gelf
8da2991e76
DirectorObjectForm: object knows redirect params
2016-03-07 13:41:30 +01:00
Thomas Gelf
4974d1a850
ObjectController: fix 'back' link style
2016-03-07 08:59:17 +01:00
Thomas Gelf
fd757054e7
ObjectController: enforce object only for REST API
...
refs #11315
2016-03-06 20:25:06 +01:00
Thomas Gelf
e5429ab1f3
ObjectController: improve object loading
2016-03-06 14:20:49 +01:00
Thomas Gelf
24f1580c92
DirectorObjectForm: deletion check only when sent
2016-03-06 13:07:56 +01:00
Thomas Gelf
cafd136232
DirectorObjectForm: get ids when resolving object
...
This formerly broke some forms
2016-03-06 10:27:37 +01:00
Thomas Gelf
ad8dfeb31d
DirectorObjectForm: add isObject helper
2016-03-06 09:47:42 +01:00
Thomas Gelf
e0d00c3ae0
DirectorObjectForm: safety checks for non-imports
2016-03-06 09:11:29 +01:00
Thomas Gelf
70db23b8d1
FormSimpleNote: do not use "Note" from ZF
...
For compatibility reasons we'll not use 'note' anymore, it isn't part
of older Zend Framework versions
fixes #11297
2016-03-06 01:00:50 +01:00
Thomas Gelf
ddba5c570c
QuickForm: fix layout for html notes
2016-03-06 00:53:55 +01:00
Thomas Gelf
3134630f86
ConfigHealthItemRenderer: use Migrations
...
fixes #11263
2016-03-05 17:23:40 +01:00
Thomas Gelf
8a733ee891
DirectorObjectForm: more descriptions
2016-03-05 16:22:07 +01:00
Thomas Gelf
e8179318ab
DirectorObjectForm: methods for extensible sets
2016-03-05 16:18:06 +01:00
Thomas Gelf
da3d2a797f
DirectorObjectForm: pass-through imports and groups
2016-03-05 16:15:37 +01:00
Thomas Gelf
f073b4d6a9
rectorObjectForm: catch errors when setting props
2016-03-05 15:58:24 +01:00
Thomas Gelf
6560864b4e
DirectorObjectForm: wrap elements in dl's
2016-03-05 15:45:00 +01:00
Thomas Gelf
7498820700
QuickForm: add fake first submit button...
...
...and improve button handling. This is to make sure that form
submission will not erraneously use the wrong submit button.
2016-03-05 10:56:00 +01:00
Thomas Gelf
b6cb7389a1
QuickForm: add prefix path for local elements
2016-03-04 18:18:56 +01:00
Thomas Gelf
950745d4e9
Form/Element: introduce new element for sets
2016-03-04 18:08:37 +01:00
Thomas Gelf
db9cc7d0f2
ObjectController: fix preview error for API user
2016-03-03 12:11:06 +01:00
Thomas Gelf
2fa9e7e998
ObjectController: fix clone link html/css
2016-03-03 09:45:33 +01:00
Thomas Gelf
4e677dbc56
Forms: used templates should not be deleted
2016-03-02 19:29:35 +01:00
Thomas Gelf
c6196ff450
ObjectController: beautify REST API response codes
...
It doesn't hurt when the code matches the documentation ;)
2016-03-01 11:24:24 +01:00
Thomas Gelf
1329d01280
ActionController: helper method for JSON errors
2016-03-01 04:26:02 +01:00
Thomas Gelf
8b3d72a04a
library: code style
2016-03-01 04:23:31 +01:00
Thomas Gelf
7f0673d18c
QuickTable: strip sort when couting, fixes pgsql
2016-03-01 04:11:35 +01:00
Thomas Gelf
526659f069
controllers: remove icon tags, use link classes
2016-02-29 12:20:57 +01:00
Thomas Gelf
489fb661d9
ObjectController: no "edit" tab, got to /<object>
2016-02-28 18:07:24 +01:00
Thomas Gelf
f818cb3eb6
DirectorObjectForm: redirect figured out by form
...
refs #11251
2016-02-28 17:11:11 +01:00
Thomas Gelf
0f1e0c182f
ActionController: provide data tabs
2016-02-28 17:03:32 +01:00
Thomas Gelf
6a44ed5616
DirectorObjectForm: fix typo
...
fixes #11252
2016-02-28 16:39:34 +01:00
Thomas Gelf
25a599cc53
DirectorObjectForm: object vars > command vars
2016-02-28 16:29:25 +01:00
Thomas Gelf
57463e9cf6
DirectorObjectForm: getSentOrResolvedObjectValue
...
Introduce new helper method and fix former bahaviour
2016-02-28 14:47:23 +01:00
Thomas Gelf
466b32ba2e
object/render: allow to render resolved object
2016-02-28 14:15:56 +01:00
Thomas Gelf
36cc3213f7
object/fields: allow to abort "edit"
2016-02-28 11:15:45 +01:00
Thomas Gelf
bc95c25d96
ActionController: provide central table helpers
2016-02-28 01:16:13 +01:00
Thomas Gelf
a41f146679
object: show pending changes, offer deployment
2016-02-27 12:23:00 +01:00
Thomas Gelf
84a788f36c
index: re-organize menu and overview link
2016-02-27 02:02:43 +01:00
Thomas Gelf
da2ad842fa
DirectorObjectForm: provide filter enums
2016-02-26 15:52:03 +01:00
Thomas Gelf
4bc5afb2f8
library/Director: fix PSR2 complaints
2016-02-26 11:58:37 +01:00
Thomas Gelf
39f789aa7b
DirectorObjectForm: allow to choose apply rule type
2016-02-24 21:40:03 +01:00
Thomas Gelf
c65d042ed4
ObjectController: re-order tabs, fields to the right
2016-02-24 21:38:42 +01:00
Thomas Gelf
bda927b446
css/tables: style apply rows
2016-02-24 21:34:31 +01:00
Thomas Gelf
2d826ba939
ObjectController: reasonable defaults for REST PUT
2016-02-23 09:09:10 +01:00
Thomas Gelf
0af71a82f0
menu: show health summary
2016-02-18 16:12:38 +01:00
Thomas Gelf
23325d96f4
ObjectsController: API should ship full objects
2016-02-18 14:41:05 +01:00
Thomas Gelf
9b8415cccd
QuickTable: remove obsolete classes
2016-02-18 11:31:55 +01:00
Thomas Gelf
eb8ea78d27
ObjectsController: remove add template link again
2016-02-18 02:14:28 +01:00
Thomas Gelf
2d29421521
ObjectController: simpler title logic
2016-02-17 22:27:44 +01:00
Thomas Gelf
7b1c17799d
DirectorObjectForm: get rid of object_type magic
2016-02-17 21:50:06 +01:00
Thomas Gelf
fc193b9844
Objects and overview: auto-refresh
2016-02-17 20:15:42 +01:00
Thomas Gelf
6d1b44f56e
DirectorObjectForm: new helper method for disabled
2016-02-17 20:00:18 +01:00
Thomas Gelf
520644a67a
ObjectsController: rudimentary API support
2016-02-17 19:35:29 +01:00
Thomas Gelf
a58978099b
ObjectController: remove legacy delete action
2016-02-17 19:25:40 +01:00
Thomas Gelf
fa85bf071c
ObjectController: improve response codes for REST
2016-02-17 19:22:36 +01:00
Thomas Gelf
e33d548d1b
ActionController: get api from endpoint object
2016-02-17 16:40:08 +01:00
Thomas Gelf
7b65efee23
Hooks: get rid of legacy pre 2.1 hook classes
...
In case you already implemented such you have to adjust your implementations.
Just replace Director/Web/Hook with Director/Hook. Sorry for the inconvenience.
Compat classes would have been possible, but as Director isn't stable yet I'd
like to avoid doing so.
2016-02-17 10:49:57 +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
12d6381e44
ObjectController: allow fields for any command
2016-02-04 10:26:16 +01:00
Thomas Gelf
e854522d22
ObjectController: fix inheritance for PUT-replace
2016-02-03 10:28:01 +01:00
Thomas Gelf
0ebf269ebd
ObjectController: allow all REST api methods
2016-02-03 00:54:00 +01:00
Thomas Gelf
4eb3b1936c
ActionController: better error handling
2016-02-03 00:53:05 +01:00
Thomas Gelf
5b893dc47e
QuickForm: remember success message for API requests
2016-02-03 00:51:04 +01:00
Thomas Gelf
e139f4349f
ObjectsController: temporarily re-add tpl link
2016-01-25 14:55:51 +01:00
Thomas Gelf
7f45883cba
DirectorObjectForm: allow templates in global zones
2015-12-23 15:13:21 +01:00
Thomas Gelf
3161cae4a8
ObjectsController: fix type case for tabs check
2015-12-21 12:44:19 +01:00
Thomas Gelf
42d2256aa8
welcome: move to index, icingaweb2/director
2015-12-17 21:57:27 +01:00
Thomas Gelf
1c36bb3f59
object(s): add some icons
2015-12-17 21:39:59 +01:00
Thomas Gelf
6466e3392e
object: add clone link
2015-12-17 19:52:10 +01:00
Thomas Gelf
91250cf0b9
ApiUser: add all tabs, tables, links
2015-12-17 14:58:43 +01:00
Thomas Gelf
b2cb3183c8
DirectorObjectForm: TODO for "has been modified"
2015-12-17 10:48:00 +01:00
Thomas Gelf
ff855703df
ObjectsController: get rid of templates action
2015-12-16 14:31:29 +01:00
Thomas Gelf
2f55884aa9
menu/overview/global: re-ordered, less menu entries
2015-12-16 11:45:00 +01:00
Thomas Gelf
19420b8c9f
IcingaObjectTable: new base class, common style
2015-12-15 17:16:07 +01:00
Thomas Gelf
20e0a6ca1f
ObjectController: introduce clone form
2015-12-10 13:19:16 +01:00