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
f55a672d48
IcingaObject: accept 'disable' on merge()
...
fixes #1104
2017-08-24 16:35:09 +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
fa286d1fcb
IcingaTemplateRepository: list names
2017-08-23 23:52:00 +02:00
Thomas Gelf
15c26b97db
IcingaObject: fix "origins" names when showing...
...
...inherited properties
fixes #1093
2017-08-22 17:47:27 +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
2968b541ca
KickstartHelper: make sure to not run into...
...
...modified TemplateTree. Need something better here I guess.
fixes #1095
2017-08-22 17:26:19 +02:00
Thomas Gelf
7ae1927de4
PropertyModifierCombine: fix typo
2017-08-22 17:20:34 +02:00
Thomas Gelf
69607ada3c
SyncRule: switch priority order, migrate DB
...
fixes #1077
2017-08-22 17:10:49 +02:00
Thomas Gelf
1815ef1521
RestApi: fix response codes
...
fixes #1092
2017-08-22 16:47:57 +02:00
Thomas Gelf
2f2b898a01
ObjectsTableService: also show services on Host...
...
...templates as being valid
fixes #1091
2017-08-22 16:31:43 +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
8154d433d4
ActionController: initialize ipl translator
...
fixes #1076
2017-08-22 00:13:41 +02:00
Thomas Gelf
07834361d0
Sync: try to get deferred group membership...
...
...resolver straight
fixes #1038
2017-08-22 00:05:08 +02:00
Thomas Gelf
10391cab8e
ExtensibleSetElement: implement optgroups
...
fixes #1037
2017-08-21 22:54:38 +02:00
Thomas Gelf
76a790300f
Attributes: adjust method signature
2017-08-21 22:54:02 +02:00
Thomas Gelf
2109d138d5
IcingaTimeperiodRangeForm: delete through the...
...
IcingaTimePeriod and it's Ranges
fixes #1089
2017-08-21 22:41:37 +02:00
Thomas Gelf
fc9425ee89
TemplateTree: only use 'unstored' logic when...
...
...imports have been modified
fixes #1088
2017-08-21 21:53:47 +02:00
Thomas Gelf
179054b239
Sync: better IDE hints
2017-08-21 21:53:19 +02:00
Thomas Gelf
a092c5d79e
IcingaObjectImports: fix check for modifications
...
refs #1062
2017-08-21 21:36:21 +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
f00473777e
TemplateTree: make sure we are ready, even when...
...
...our very first object is unstored
2017-08-21 20:58:58 +02:00
Thomas Gelf
6ba0e8e924
IcingaObject: give unstored import names
2017-08-21 20:33:00 +02:00
Thomas Gelf
089197d2c5
TemplateTree: fix resolving commands
...
They allow to inherit from non-templates and need special treatment
refs #1084
2017-08-21 15:47:21 +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
67c22a51eb
TemplateTree: allow to fetch ancestors...
...
...for unstored objects
2017-08-21 14:48:08 +02:00
Thomas Gelf
2a836ee884
ObjectController: fix "click on same tab"...
...
...when creating an object switched context
2017-08-21 13:20:47 +02:00
Thomas Gelf
24173de3ca
RestApi/ticket: shut down after sending ticket
...
fixes #1079
2017-08-21 11:27:09 +02:00
Thomas Gelf
5b6897cc9e
DataTypeDirectorObject: sort by display name
...
Plus some formatting.
fixes #840
2017-08-21 11:12:24 +02:00
Thomas Gelf
ac8114f32c
ObjectsController: hard-code 'host' filter for...
...
...services through the REST API
2017-08-21 09:50:08 +02:00
Thomas Gelf
7ecc3dc068
ObjectController: do not shift imports...
...
...as they are also needed later on
2017-08-21 09:07:20 +02:00
Thomas Gelf
0bd2a328ed
GroupMembershipResolver: do not fill objects...
...
...cache when not being told so. Also, fix query order/operator to ensure an
AND is being used.
2017-08-21 08:12:04 +02:00
Thomas Gelf
9adeb65f0c
GroupMembershipResolver: support calls from onStore
2017-08-21 08:10:47 +02:00
Thomas Gelf
8bc26ccb97
TemplateTree: do not fail on unstored object
2017-08-21 08:09:01 +02:00
Thomas Gelf
466a229041
QueryBasedTable: do not fail without paginator
2017-08-21 08:08:18 +02:00
Thomas Gelf
b2984ba79d
TemplateTree: allow to resolve from within the...
...
...onStore() hook, when the object is ready but does not define itself as
being loaded from DB
2017-08-20 17:05:51 +02:00
Thomas Gelf
4f38a39e14
DbObject: better IDE hint
2017-08-20 16:04:46 +02:00
Thomas Gelf
0f3f2f05df
PropertymodifierTable: allow to manually switch...
...
...execution order (priority)
2017-08-20 16:03:49 +02:00
Thomas Gelf
70b3e966da
ImportSource: flip fetch order to stay close to...
...
...former one
2017-08-20 16:02:47 +02:00
Thomas Gelf
41aa86188f
DbObjectWithSettings: no return value for __unset
2017-08-20 15:33:43 +02:00
Thomas Gelf
1999de2707
ImportRowModifier: fix class instantiation
2017-08-20 15:17:22 +02:00
Thomas Gelf
3c4d4de633
ImportRowModifier: also use PriorityColumn helper
2017-08-20 15:14:37 +02:00
Thomas Gelf
4c7b940705
PriorityColumn: add new object extension, use...
...
...it for SyncProperty
2017-08-20 15:04:06 +02:00
Thomas Gelf
3dce2a5d06
SyncpropertyTable: allow to search and sort
...
fixes #1085
2017-08-19 23:07:25 +02:00
Thomas Gelf
54c121f4a3
QueryBasedTable: add helper methods allowing...
...
...implementors to easily determine current "position"
2017-08-19 23:06:11 +02:00
Thomas Gelf
0dd7bcc43d
ZfSortablePriority: add new table extension
2017-08-19 22:54:34 +02:00
Thomas Gelf
4d9d029156
ImportSourceDetails: fix rendering
2017-08-18 21:52:14 +02:00
Thomas Gelf
480573cba0
PropertyModifierSubstring: allow to skip length
2017-08-18 21:50:20 +02:00
Thomas Gelf
ffb0177a16
ImportsourceHookTable: use PlainObjectRenderer
2017-08-18 21:48:28 +02:00
Thomas Gelf
00e0f9574d
ObjectsTableService: shorten line
2017-08-18 17:02:19 +02:00
Thomas Gelf
ad6dceae99
show/actitivitylog: move to config/activity
2017-08-18 16:55:10 +02:00
Thomas Gelf
b21ba5dc54
IcingaHost: add helper methods for Sets, Services
2017-08-18 16:42:56 +02:00
Thomas Gelf
2bf1b3f429
RepositoryByObjectHelper: throw a nice exception
...
...when no Db is given
2017-08-18 16:42:21 +02:00
Thomas Gelf
c51642a673
TemplateTree: also fetch command objects...
...
...when being used as parent
2017-08-18 16:41:45 +02:00
Thomas Gelf
0e49d7beef
CompatController: hints for phpcs violations...
...
...that are there for compat reasons
2017-08-18 16:40:49 +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
bd157b865b
ObjectController: allow to clone external objects
...
fixes #854
2017-08-18 16:13:09 +02:00
Thomas Gelf
7780c0b11b
SelectPaginationAdapter: add benchmark
2017-08-18 11:00:34 +02:00
Thomas Gelf
b8d3487350
ExtensibleSetElement: move "add" option out of...
...
...tab order
2017-08-18 10:49:42 +02:00
Thomas Gelf
bbcdf22466
ImportSource: better IDE hints
2017-08-18 10:48:58 +02:00
Thomas Gelf
78ab1fa120
ObjectTabs: cosmetics
2017-08-17 00:01:56 +02:00
Thomas Gelf
75181ea7a2
ObjectController: refactor some base actions...
...
...and provide new helpers
2017-08-16 23:53:37 +02:00
Thomas Gelf
23249dcf7d
HostController: refactor all involved tables...
...
...for single services and sets
2017-08-16 23:27:13 +02:00
Thomas Gelf
04a78f734a
config: refactor controller, tables, get rid...
...
...of view scripts, add new Widget helper classes
2017-08-16 19:11:30 +02:00
Thomas Gelf
b016b1954b
GeneratedConfigFileTable: move and refactor
2017-08-16 17:59:09 +02:00
Thomas Gelf
374b6d4a60
NameValueTable: change method signature to not...
...
...switch context when used fluently
2017-08-18 00:00:00 +02:00
Thomas Gelf
785802cbd6
DbHelper: fix some methods
2017-08-16 17:33:02 +02:00
Thomas Gelf
531b54391a
ServiceSetHosts, ImportrunTable: move and refactor
2017-08-16 16:12:30 +02:00
Thomas Gelf
a4abe398ac
ActionController: add new helpers, remove obsolete
...
...ones
2017-08-16 15:30:46 +02:00
Thomas Gelf
573e38ce33
IcingaTimePeriodRangeTable: move and refactor
2017-08-16 15:26:31 +02:00
Thomas Gelf
d5ccb1edb5
Importrun, imported rows: move and refactor...
...
...table and refactor the controller
2017-08-16 14:55:34 +02:00
Thomas Gelf
23d599053e
JobDetails: move logic to dedicated class...
...
...plus code cleanup
2017-08-16 14:01:43 +02:00
Thomas Gelf
f65275bda7
DirectorObjectForm: use new inheritance helpers
2017-08-16 13:56:04 +02:00
Thomas Gelf
a4e6d3251a
PropertymodifierTable: move and refactor
2017-08-16 12:32:53 +02:00
Thomas Gelf
578446d79c
ImportSourceDetails: new dedicated class, plus..
...
...a missing new controller class
2017-08-16 12:01:25 +02:00
Thomas Gelf
a943b0c70f
ImportSourceHook: use new static factory
2017-08-16 11:18:13 +02:00
Thomas Gelf
6f3d07f729
ImportsourceHookTable: move and refactor based...
...
...on SimpleQueryBasedTable
2017-08-16 11:15:39 +02:00
Thomas Gelf
9f70f84423
ImportsourceTabs: new dedicated class for tabs
2017-08-16 10:50:33 +02:00
Thomas Gelf
5311f37708
Syncrule/Importsource: add dedicated controllers
2017-08-16 09:43:05 +02:00
Thomas Gelf
e5f7633d1e
Automation: move and refactor related tables
2017-08-16 09:23:45 +02:00
Thomas Gelf
408ff7639c
IcingaObjectsHandler: new REST API handler for...
...
...list of objects
2017-08-16 08:17:31 +02:00
Thomas Gelf
b364165110
IcingaObject: fix plain export with chosen...
...
...properties, use new template resolving repository everywhere
2017-08-16 08:11:08 +02:00
Thomas Gelf
93cb271554
IcingaObjectHandler: delegate REST API
2017-08-16 08:08:08 +02:00
Thomas Gelf
a7b796466f
ObjectsController: fix set-related permissions
2017-08-15 02:51:59 +02:00
Thomas Gelf
7dde47dbca
AgentWizard: just a newline
2017-08-14 15:14:57 +02:00
Thomas Gelf
681f2de05a
ObjectPreview: move rendering logic to a...
...
...dedicated class
2017-08-14 12:40:02 +02:00
Thomas Gelf
f24b82821f
SelfService: move logic to a dedicated class
2017-08-14 12:22:28 +02:00
Thomas Gelf
52045b799a
RestApi: add new RequestHandler
2017-08-14 10:51:26 +02:00
Thomas Gelf
a495a6ca39
IcingaObjectImports: use new repository for lookup
2017-08-13 23:18:54 +02:00
Thomas Gelf
6c02d9c09a
PrefetchCache: remove now obsolete code
2017-08-13 20:51:13 +02:00
Thomas Gelf
e5305cb049
IcingaObjectDatafieldTable: move and base on new
...
...SimpleQueryBased table
2017-08-13 13:38:35 +02:00
Thomas Gelf
38ebf2dd2d
IcingaObjectFieldLoader: use new repository-based
...
...inheritance helper methods
2017-08-13 12:05:03 +02:00
Thomas Gelf
4680fa5447
SimpleQueryBasedTable: add new table type...
...
...and move logic common with ZfQueryBasedTable to a new base class
2017-08-12 12:02:36 +02:00
Thomas Gelf
3b394900c9
IcingaAppliedServiceTable: fix row rendering
2017-08-12 11:51:08 +02:00
Thomas Gelf
1b81d4b442
SimpleQueryPaginationAdapter: new implementation...
...
...mostly to support Array-based queries
2017-08-12 11:34:42 +02:00
Thomas Gelf
7668ac5202
ChoicesTable: more code cleanup
2017-08-12 11:26:42 +02:00
Thomas Gelf
eb433ad03e
GroupMemberTable: code cleanup
2017-08-12 11:26:08 +02:00
Thomas Gelf
241bad7d81
TemplateTree: allow lookup for single objects too
2017-08-12 11:07:34 +02:00
Thomas Gelf
1356733332
IcingaHost: make sure that an Endpoint has a...
...
...Db connection
2017-08-11 17:15:08 +02:00
Thomas Gelf
e683c99a1b
IcingaTemplateRepository: new template lookup...
...
...strategy, trying to separate concerns
2017-08-11 17:10:31 +02:00
Thomas Gelf
1a631b04db
QuickSearch: add help/info title
2017-08-11 12:26:40 +02:00
Thomas Gelf
7815e450b7
ObjectsTableService: show Service objects without
...
...Host and highlight them as errors
2017-08-11 12:02:53 +02:00
Thomas Gelf
13f33a842b
IcingaTemplateResolver: improve benchmark message
2017-08-11 10:07:36 +02:00
Thomas Gelf
696390968d
ObjectTabs, Dashboard: fix small permission issues
...
...and show only tabs pointing to Dashboards with (allowed) Dashlets
2017-08-07 11:00:59 +02:00
Thomas Gelf
2acc6a2c07
ServiceObjectDashlet: show even if permissions...
...
...are only granted for sets and not for services
2017-08-07 09:55:01 +02:00
Thomas Gelf
7fd94fb5bd
Jobs, Kickstart: raise limits, try to work...
...
...around GC bugs
refs #1056
2017-08-04 11:31:43 +02:00
Thomas Gelf
806bca2555
StartupLogRenderer: alias for Util class
...
Should help to work around PHP bugs in some older versions
fixes #1057
2017-08-04 11:13:28 +02:00
Thomas Gelf
496be4fbc8
Sync: respect 'replace' policy on vars...
...
...with rule policy being set to 'merge'
fixes #864
2017-08-03 10:51:13 +02:00
Thomas Gelf
b7579e184c
ObjectsController: try to control output buffering
...
...for REST API. Base requests on queries from new table objects
2017-08-02 15:54:03 +02:00
Thomas Gelf
59d6291fcf
PrefetchCache, IcingaObject: speed up import list
...
...greatly improves REST API performance
2017-08-01 12:48:29 +02:00
Thomas Gelf
1d683f972d
TemplateTree: add possibility to resolve objects
2017-07-31 20:57:41 +02:00
Thomas Gelf
118dddf93a
Caches: add Benchmark, some IDE hints for CVar
2017-07-31 16:12:56 +02:00
Thomas Gelf
92cbdb7db6
ActionController: remove obsolete code
2017-08-02 16:59:56 +02:00
Thomas Gelf
6436ba74af
ObjectController: move REST API code to method
2017-08-02 16:59:56 +02:00
Thomas Gelf
5ccb94dfbd
Objects: dedicated tab for external commands
2017-07-31 10:37:08 +02:00
Thomas Gelf
7028a64c1b
Dashboard: add missing Dashlets
2017-07-31 10:01:58 +02:00
Thomas Gelf
0e45c74a0c
ipl\Controls: allow to prepend tabs
2017-07-29 00:13:43 +02:00
Thomas Gelf
e1d766f112
ServiceController: improve ObjectTabs handling
2017-07-29 00:13:20 +02:00
Thomas Gelf
81a7914fdb
ObjectController: code cleanup
2017-07-29 00:12:34 +02:00
Thomas Gelf
34c6134b21
HostController: move tab handling to ObjectTabs
...
Helps to unify tabs on usage/edit
2017-07-28 23:20:58 +02:00
Thomas Gelf
5ca7740285
Various: cosmetics, hints, more links
2017-07-28 23:07:48 +02:00
Thomas Gelf
99ab56e6f9
ObjectController: link back to template usage
2017-07-28 22:56:51 +02:00
Thomas Gelf
a0a12ce3d1
TemplateControllers: throw away custom code...
...
...and bring all logic to the base class, fix all links
fixes #1044
2017-07-28 22:56:03 +02:00
Thomas Gelf
85e1f0053e
Dashlets: unify tabs, change apply position
2017-07-28 22:42:16 +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
6d1dd52229
Timeperiod: fix ranges tab, refactor code
2017-07-28 16:50:15 +02:00
Thomas Gelf
8276f19ab7
ObjectsController: add missing autorefresh
2017-07-28 09:56:17 +02:00
Thomas Gelf
313c8168ba
Dashboard, templates: timeperiod, not timePeriod
...
fixes #1036
2017-07-27 12:12:12 +02:00
Thomas Gelf
dac5dbdcc0
TemplateUsage: make code generic, do no longer...
...
...require concrete implementations
fixes #1028
fixes #1032
2017-07-27 11:34:12 +02:00
Thomas Gelf
75ca51e85b
TimeperiodtemplateController: initial import
...
fixes #1028
2017-07-27 11:01:34 +02:00
Thomas Gelf
9f76efc892
QuickTable: render booleans as such
...
fixes #602
2017-07-27 10:37:11 +02:00
Thomas Gelf
ccfd2176fb
CustomvarVariantsTable: no link, not yet
2017-07-26 12:29:40 +02:00
Thomas Gelf
d95512ce08
CustomvarVariants: one more table, showing...
...
...distinct values for a specific var
2017-07-26 11:53:42 +02:00
Thomas Gelf
cc01446269
ActivityLogTable: fix range/author filtering
2017-07-26 09:25:58 +02:00
Thomas Gelf
f89fab2a27
FilterRenderer: look up column aliases
...
...and allow to apply filter objects to ZfQueryBasedTable
2017-07-26 09:24:47 +02:00
Thomas Gelf
f2ad5884ea
IcingaAppliedServiceTable: base on ipl
2017-07-26 09:22:41 +02:00
Thomas Gelf
24cee68044
SyncRuleTabs, SyncRunDetails: new helper classes
2017-07-25 17:55:08 +02:00
Thomas Gelf
51f5b6ad92
ipl\Html: implement Countable
2017-07-25 17:54:29 +02:00
Thomas Gelf
098cd0a57a
Sync: completely refactor table, form, controller
2017-07-25 17:53:59 +02:00
Thomas Gelf
8c83a951f7
ActivityLogInfo: add missing class
2017-07-25 14:51:18 +02:00
Thomas Gelf
39a1aa38b4
ObjectsController: add missing 'add' link for sets
2017-07-25 14:47:35 +02:00
Thomas Gelf
c0e723c57e
ActivityLog: preserve object when switching tab
2017-07-25 14:20:39 +02:00
Thomas Gelf
f44afef214
ActivityLog: refactor code, fix HTML, use ipl
2017-07-25 14:04:08 +02:00
Thomas Gelf
3f03fe8555
ipl: add Html::sprintf() helper method
2017-07-25 14:02:49 +02:00
Thomas Gelf
fadbde5e9b
HostForm: take over logic from base form, clean up
2017-07-25 10:18:07 +02:00
Thomas Gelf
b675d37b6f
CloneObject: use modern loading
2017-07-25 10:16:15 +02:00
Thomas Gelf
c295218a5c
HostController: code cleanup, little fixes, tabs
2017-07-24 10:52:36 +02:00
Thomas Gelf
32be68b671
SimpleController: obsolete, removed
2017-07-24 09:19:54 +02:00
Thomas Gelf
9d60bceb0c
Controller/Extension: remove obsolete QuickSearch
2017-07-24 08:49:55 +02:00
Thomas Gelf
b1d959a634
QuickSearch: render "around" title element
2017-07-24 08:48:59 +02:00
Thomas Gelf
d33b31acae
Controls: allow direct access to title element
2017-07-24 08:43:56 +02:00
Thomas Gelf
f06ac06b5b
ipl\Html: allow to get first content element
2017-07-24 08:40:39 +02:00
Thomas Gelf
cd92429a60
BaseActionBar: no back link for objects without...
...
...a dedicated dashboard type
fixes #1027
2017-07-21 13:42:47 +02:00
Thomas Gelf
374c328a5b
ObjectsController: fix redirect after deleting...
...
...multiple hosts or services
2017-07-21 13:32:38 +02:00
Thomas Gelf
8e7022258f
DeploymentLogTable: fix PostgreSQL issue with...
...
...binary value, it returns a resource instead of the real value
fixes #1026
2017-07-21 12:10:01 +02:00
Thomas Gelf
b8a953e296
ActivityLogTable: do not call fetchRows twice
2017-07-21 12:07:47 +02:00
Thomas Gelf
985d03d5f2
IcingaCommandArgumentTable: improve readability
2017-07-21 12:07:28 +02:00
Thomas Gelf
d92492d5a1
DirectorActivityLog: use IP when unauthenticated
...
This applies mostly to self service API
2017-07-21 12:06:36 +02:00
Thomas Gelf
7258b83dbb
DbHelper: new trait with DB-specific utils
2017-07-21 12:05:47 +02:00
Thomas Gelf
5579a927ad
ZfQueryBasedTable: improve readability
2017-07-21 12:04:20 +02:00
Thomas Gelf
cfabbf25e0
CommandArguments: provide quickSearch
2017-07-21 08:23:52 +02:00
Thomas Gelf
27e38b566d
ObjectsController: allow child classes to...
...
...fiddle with our table
2017-07-20 22:29:23 +02:00
Thomas Gelf
44458d2eec
CommandArguments: refactor table, controller
2017-07-20 22:29:00 +02:00
Thomas Gelf
3062cf2ebd
AgentWizard: use new installer syntax
2017-07-20 18:33:49 +02:00
Thomas Gelf
5e9effc697
CheckCommandsDashlet: text for all command types
2017-07-20 17:22:45 +02:00
Thomas Gelf
d16bc24b1c
Commands: show external commands separately
2017-07-20 17:19:51 +02:00
Thomas Gelf
9dc50beee5
Controls: always prepend the title
2017-07-20 16:59:25 +02:00
Thomas Gelf
408e3753ab
AgentWizard: add new functionality
2017-07-20 16:58:48 +02:00
Thomas Gelf
8e0235a7e1
ZfQueryBasedTable: render pagination to actions
2017-07-20 15:18:47 +02:00
Thomas Gelf
8a60e9f041
Data: case
2017-07-20 15:10:12 +02:00
Thomas Gelf
014963f96c
Tables: get rid of assemble workaround
2017-07-20 14:58:23 +02:00
Thomas Gelf
4cd3c02a90
TemplatesTable: translate header
2017-07-20 12:48:01 +02:00
Thomas Gelf
270cb2f5af
ZfQueryBasedTable: fix brackets
2017-07-20 11:58:55 +02:00
Thomas Gelf
27d1297303
InfraTabs: add missing tab class
2017-07-20 11:06:58 +02:00
Thomas Gelf
31d65fadc2
Deployment: add Info class, refactor LogRenderer
...
No more view script, based on ipl
2017-07-20 11:06:20 +02:00
Thomas Gelf
406bc8bd72
NameValueTable: new ipl widget
2017-07-20 11:03:54 +02:00
Thomas Gelf
cda6970594
ipl: Components are now Widgets
2017-07-20 10:19:32 +02:00
Thomas Gelf
68324d9b52
Controllers: formatting
2017-07-20 09:53:31 +02:00
Thomas Gelf
1ba276cf15
DeploymentLinkForm: introduce new form
2017-07-20 09:24:42 +02:00
Thomas Gelf
5d01c1d843
ObjectController: use new DeploymentForm, tables
2017-07-20 08:31:53 +02:00
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
cca4092151
Deployment: move logic to dedicated classes
...
Extended DirectorDeploymentLog, new DeploymentInfo class
2017-07-20 08:22:31 +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
547deb209c
Paginator: allow paginatable to override default...
...
...limit when it already comes with a limit
2017-07-19 18:40:16 +02:00
Thomas Gelf
44f1ddc891
Dashboards: allow to ship tabs, use them to...
...
...improve usability
2017-07-19 18:37:19 +02:00
Thomas Gelf
7db89d2656
BaseElement: assemble only once
2017-07-19 18:34:07 +02:00
Thomas Gelf
e6a9b1197d
QuickForm: allow options for submit button helpers
2017-07-19 18:29:16 +02:00
Thomas Gelf
59881508bd
ZfQueryBasedTable: allow to split on new day
2017-07-19 18:28:01 +02:00
Thomas Gelf
9c9a4bd34b
Table: add helpers for additional thead and tbody
2017-07-19 18:24:31 +02:00
Thomas Gelf
7d8db0f0c8
SimpleViewRenderer: be more conservative
2017-07-19 17:33:41 +02:00
Thomas Gelf
29d93512e6
Objects/Icinga(Host|Service): fix typo
2017-07-18 13:36:05 +02:00
Thomas Gelf
dc110e87ed
Notifications: add usage overview and table
2017-07-14 15:21:08 +02:00
Thomas Gelf
9f96b1d31b
IcingaObjectFilterHelper: do not fail with no...
...
...involved parents (indirect inheritance with no child template)
2017-07-14 15:19:05 +02:00
Thomas Gelf
ea02d0b23c
ImportRowModifier: add missing property
2017-07-14 14:56:22 +02:00
Thomas Gelf
2cdba2aa65
Import and Sync: add description fields
...
fixes #1018
2017-07-14 14:27:05 +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
d8a18f8638
DataDashboard: add missing link
...
refs #1016
2017-07-14 13:21:42 +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
6874a5f90c
Dashboards: restructured
...
fixes #1014
2017-07-14 13:21:42 +02:00
Thomas Gelf
05d8e5bb00
Datalist: Allow to restrict entries by role
...
fixes #1012
2017-07-14 13:21:42 +02:00
Thomas Gelf
45832f94e5
DataTypeDirectorObject: provide Service Sets
...
fixes #1010
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
5938f5051a
ActionBar: add setBaseTarget() helper
2017-07-14 13:21:42 +02:00
Thomas Gelf
a1469f46be
DataTypeDirectorObject: no optional enum for multi
...
...selections / extensible sets
fixes #1011
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
bf2b90fd6c
Settings: fix global zone defaults and settings
2017-07-14 13:21:42 +02:00
Thomas Gelf
fe249a18be
Settings: use ipl, clean up, fix array handling
2017-07-14 13:21:42 +02:00
Thomas Gelf
2ca7f26b49
SelfService: fix booleans, add new options
...
refs #486
2017-07-14 13:21:42 +02:00
Peter Backes
ad825f9c58
Sync: Allow syncing lists of template imports
...
fixes #946
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
Peter Backes
bec8ef1ac2
DbObject: Don't confuse ids and object_names
...
fixes #992
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
0ea443cc84
ZfQueryBasedTable: readability
2017-07-14 13:21:42 +02:00
Thomas Gelf
aca6d812f1
Notifications: make tabs fit dashlets, no objects
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
e4d35d74e3
Migrations: fail on PHP 5.3.x
...
fixes #1006
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
ccf3c0516d
SimpleViewRenderer: important reminder
2017-07-14 13:21:42 +02:00
Thomas Gelf
8216daa3af
Core: give empty list on 404, remove obsolete...
...
...view scripts
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
b6f6c82c18
Html\Util: it's perfectly possible to render floats
2017-07-14 13:21:42 +02:00
Thomas Gelf
4ced1137cd
ipl\BaseElement: implement generic void element...
...
...support
fixes #999
2017-07-14 13:21:42 +02:00
Thomas Gelf
15e87a15bb
CustomVariables: fix and test numeric key rendering
...
fixes #996
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
180fc2ccfa
Datafield: on rename ask whether to also rename vars
...
fixes #818
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
47ee34d1c3
Util: cosmetics
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
27a51ac34c
SelfService: implement powershell-parameters
...
fixes #486
2017-07-14 13:21:42 +02:00
Thomas Gelf
8a8540bc3e
IcingaHost: generate API keys
2017-07-14 13:21:42 +02:00
Thomas Gelf
4fe2b0e541
SelfService: controller, form, admin dashlet
...
refs #486
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
086e081268
SelfServiceSettings: settings for the new Self...
...
...Service API feature
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
0ec5ec8197
TemplateChoice: delegate storing members to...
...
...the object, use a single form
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
126dd29ecc
IcingaObject: work around a resolver issue
2017-07-14 13:21:42 +02:00
Thomas Gelf
6aab867682
GroupMembershipResolver: ignore unstored objects
...
Currently affects tests only
2017-07-14 13:21:42 +02:00
Thomas Gelf
67d802d39a
Host,Service: hide choice property
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
68ce145332
CommandsDashboard: temporarily disable distinct...
...
...dashlets
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
a9a2295c8a
IcingaObject, Host/Service: add supportsChoices()
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
adf7920820
QuickSearch: get correctly encoded URL from form
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
2f79920a18
TemplateChoice: small fixes, forms
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
e8e78461f1
Html: upgrade to latest ipl master
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
e883ed70b3
ipl: add a clone and a conservative loader
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
f7cbe4a3be
IcingaHost: reference to choices
2017-07-14 13:21:42 +02:00
Thomas Gelf
68a22590a8
IcingaTemplateResolver: just a newline
2017-07-14 13:21:42 +02:00
Thomas Gelf
92982c37aa
ObjectRestriction: work with Zf Select
2017-07-14 13:21:42 +02:00
Thomas Gelf
a5854e6dd3
ServicesDashboard: re-order, add choices
2017-07-14 13:21:42 +02:00
Thomas Gelf
8f2ac7cc3a
Dashboard: refactor based on ipl
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
0cb1b328ec
ChoicesDashlet: new dashlets, host, service
2017-07-14 13:21:42 +02:00
Thomas Gelf
cef947e6fc
IcingaTemplateChoice: new base object, host/service
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
61e8621716
IcingaObjectFilterHelper: external filter helpers
2017-07-14 13:21:42 +02:00
Thomas Gelf
28f0a2cb05
HostgroupRestriction: new class
2017-07-14 13:21:42 +02:00
Thomas Gelf
68821540d0
HostsDashlet: one more dashlet
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
36eaff3d9c
Dashlet: introduce new command dashlets, wip
2017-07-14 13:21:42 +02:00
Thomas Gelf
8f30956992
Dashlet: fix some links and permissions
2017-07-14 13:21:42 +02:00
Thomas Gelf
f7f2cd2eea
CommandsDashboard: new dashboard, still unfinished
2017-07-14 13:21:42 +02:00
Thomas Gelf
1b1fcb32ed
CommandObjectDashlet: fix translation, link
2017-07-14 13:21:42 +02:00
Thomas Gelf
3437691ce2
HostGroupsDashlet: just a new dashlet
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
0ae96fbaad
HostTemplatesDashlet: just a new dashlet
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
70c0f2f21c
ServiceSetsDashlet: fix url
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
9c45485b5b
Dashlet: base code on ipl\BaseElement
2017-07-14 13:21:42 +02:00
Thomas Gelf
04bbe90adf
Dashlet: we are not escaped
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
e0589d3560
DbObject: allow to instantiate from Db row...
...
...even from outside. This breaks some legacy principles, but this class is
going to be separated into multiple components anyways. Also allow to directly
get a specific property
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
84b56da899
TemplateTree: independent new implementation
2017-07-14 13:21:42 +02:00
Thomas Gelf
4f3f4e7f52
IcingaTemplateResolver: implement a reverse index
2017-07-14 13:21:42 +02:00
Thomas Gelf
51e8af2266
BaseTestCase: be precise on type hint
2017-07-14 13:21:42 +02:00
Thomas Gelf
2038ab28d7
HostsDashboard: introduce a new dashboard
2017-07-14 13:21:42 +02:00
Thomas Gelf
ac815b14b6
GroupMembershipResolver: fix SQL table alias
2017-07-14 13:21:42 +02:00
Thomas Gelf
18c0ce3c4f
IcingaObject: allow to prefetch related object...
...
...types
2017-07-14 13:21:42 +02:00
Thomas Gelf
875627ead7
ObjectApplyMatches: refactor host-only code
...
refs #897
2017-07-14 13:21:42 +02:00