Commit Graph

2139 Commits

Author SHA1 Message Date
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