Commit Graph

397 Commits

Author SHA1 Message Date
Thomas Gelf 2b80c554d5 IcingaTimePeriodRanges: new range has been modified 2016-03-16 22:14:39 +01:00
Thomas Gelf 05f745c3dc IcingaObjectMultiRelations: fix failing tests 2016-03-16 21:48:02 +01:00
Thomas Gelf b188b9c18d IcingaObject: a couple of small fixes 2016-03-16 21:46:00 +01:00
Thomas Gelf 03a5708a00 IcingaObject: return booleans in plain objects 2016-03-16 21:34:46 +01:00
Thomas Gelf 2b46eff08f IcingaObject: add createByType method 2016-03-16 20:27:26 +01:00
Thomas Gelf 61674546d9 IcingaObject: return a list for multi-related 2016-03-16 19:26:28 +01:00
Thomas Gelf d605bd7b06 IcingaObject: fix full plain for empty multi rel 2016-03-16 15:17:58 +01:00
Thomas Gelf d008cb7ef9 IcingaService: fix rendering when assigned to tpl 2016-03-16 14:32:23 +01:00
Thomas Gelf 3aa5ecbd8e IcingaNotification: fix CodeSniffer warnings 2016-03-16 13:57:53 +01:00
Thomas Gelf c7bf68a70a IcingaObjectMultiRelations: fix store and render 2016-03-16 13:53:34 +01:00
Thomas Gelf 8336d16d98 IcingaNotification: add related users and -_groups 2016-03-16 13:02:45 +01:00
Thomas Gelf 5861788420 IcingaObjectMultiRelations: new abstraction layer 2016-03-16 13:01:55 +01:00
Thomas Gelf f971839f82 Notification: form and rendering improvements 2016-03-12 01:35:24 +01:00
Thomas Gelf 8b903486d3 IcingaObject: support merge for objects with no CV 2016-03-11 13:56:34 +01:00
Thomas Gelf 507dd176cc IcingaObject: fix lookup loop on lazy loading 2016-03-11 02:41:22 +01:00
Thomas Gelf 47ef93cf91 IcingaNotification: fix loading for apply objects 2016-03-10 21:11:41 +01:00
Thomas Gelf d8a3fb68bd IcingaObjectGroup: unify group object logic 2016-03-09 20:53:57 +01:00
Thomas Gelf 9120db3f70 IcingaCommand: allow formatted timeout (e.g. 1m 4s)
refs #11340
2016-03-09 18:12:01 +01:00
Thomas Gelf 7cd2eb415f FormExtensibleSet: fix nested options (e.g. users) 2016-03-09 09:14:13 +01:00
Thomas Gelf 23333f1b77 IcingaObject: unmodified object should be an object 2016-03-08 21:30:12 +01:00
Thomas Gelf 670b932526 IcingaObject: fix lezy-loading issues 2016-03-08 09:21:59 +01:00
Thomas Gelf f2d9e1a544 IcingaObject: fix key handling for unresolved props 2016-03-07 18:10:09 +01:00
Thomas Gelf b3a44bd7dd IcingaObject: fix 'empty' check for relation property 2016-03-07 18:07:36 +01:00
Thomas Gelf aee62754ce IcingaObject: fix resolution of lazy-loaded rels 2016-03-07 17:11:23 +01:00
Thomas Gelf 715c00e975 IcingaServiceAssignment: has no object name 2016-03-07 08:56:57 +01:00
Thomas Gelf 5350584bec IcingaObject: lazy-load related objects...
...if string name is given

fixes #11301
2016-03-07 02:06:04 +01:00
Thomas Gelf 378423ff10 IcingaObjectImports: implement lazy loading
reefs #11301
2016-03-07 02:05:10 +01:00
Thomas Gelf 529eb13118 IcingaEndpoint: fall back to name with no host
fixes #11315
2016-03-07 02:03:34 +01:00
Thomas Gelf 8cc7b0834e IcingaService: override setKey, allows for...
...different kind of links (host/service name VS id)
2016-03-06 19:13:58 +01:00
Thomas Gelf cef7090666 IcingaServiceAssignment: new dedicated object type 2016-03-06 14:22:47 +01:00
Thomas Gelf 51916192a9 IcingaService: render assigned to host template 2016-03-06 14:21:18 +01:00
Thomas Gelf fb43331379 IcingaObject: add getUrlParams helper 2016-03-06 14:20:05 +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 b5c09caff6 IcingaObject: support sets in hasBeenModified 2016-03-05 16:13:24 +01:00
Thomas Gelf f3e526f95f IcingaObjectImports: gracefully ignore empty members 2016-03-05 12:56:29 +01:00
Thomas Gelf 3460912fea IcingaObjectImports: fix behaviour, simplify usage 2016-03-05 10:49:37 +01:00
Thomas Gelf 092bb8c3f6 IcingaObjectGroups: simplify setting groups 2016-03-05 10:46:12 +01:00
Thomas Gelf 4e677dbc56 Forms: used templates should not be deleted 2016-03-02 19:29:35 +01:00
Thomas Gelf 4461f3c8aa IcingaUserField: add missing field class 2016-03-01 06:40:45 +01:00
Thomas Gelf a8768c7741 IcingaUser: users should provide fields 2016-03-01 04:26:28 +01:00
Thomas Gelf 8b3d72a04a library: code style 2016-03-01 04:23:31 +01:00
Thomas Gelf c2347b6b97 IcingaNotification: use external sets 2016-02-29 23:46:58 +01:00
Thomas Gelf 29b1253bea IcingaObject: log former related set state 2016-02-29 22:54:46 +01:00
Thomas Gelf c9a7c9d085 IcingaObject/ExtensibleSet: support toPlainObject 2016-02-29 20:05:38 +01:00
Thomas Gelf f97e117994 IcingaObject: load and store related sets 2016-02-29 18:57:19 +01:00
Thomas Gelf 62c1aec917 IcingaUser: remove obsolete states stub 2016-02-29 18:29:18 +01:00
Thomas Gelf 47f20c93a3 IcingaObject: render related sets 2016-02-29 18:19:01 +01:00
Thomas Gelf ea0f58f611 IcingaUserForm: state/filter prototype, dummy...
...and still subject to changes
2016-02-28 17:02:57 +01:00
Thomas Gelf f9f1298bfd IcingaObject: allow default for getResolvedProperty 2016-02-28 14:37:13 +01:00
Thomas Gelf 7d9fefd61f IcingaObject: blacklist "disabled" when inheriting 2016-02-28 14:28:27 +01:00
Thomas Gelf 8bcbf0f45a IcingaObject/Host/Service: provide interval helpers 2016-02-28 14:21:00 +01:00
Thomas Gelf 3ee9841bc7 IcingaConfigHelper: provide helpers for intervals 2016-02-28 12:40:11 +01:00
Thomas Gelf a6891444b1 DirectorActivityLog: superfluous newline 2016-02-27 21:29:39 +01:00
Thomas Gelf c5f4d6d9e4 DirectorDeploymentLog: new column 2016-02-27 21:29:20 +01:00
Thomas Gelf 8c3f38c11b IcingaHost: add name to assign properties...
...and remove internal ones
2016-02-27 09:48:23 +01:00
Thomas Gelf 1da6d64030 IcingaNotification: there are no notification groups 2016-02-27 01:25:26 +01:00
Thomas Gelf 56dd2b44c4 schema/mysql: fix timeperiod relation name 2016-02-27 01:23:47 +01:00
Thomas Gelf af5d5d231a IcingaNotification: fix interval column name 2016-02-27 01:18:26 +01:00
Thomas Gelf d3b9d2e9fe IcingaNotification: base object 2016-02-27 01:14:45 +01:00
Thomas Gelf c9c3f3e2e5 IcingaUser: fix syntax error 2016-02-26 13:10:42 +01:00
Thomas Gelf 4bc5afb2f8 library/Director: fix PSR2 complaints 2016-02-26 11:58:37 +01:00
Thomas Gelf bf8108d937 IcingaTimePeriodRanges: improve "modified" handling
Seems to be currently unused nonetheless
2016-02-25 19:58:08 +01:00
Thomas Gelf a3a17df437 IcingaObject: fix host merge test 2016-02-25 19:38:52 +01:00
Thomas Gelf 8684824ddf IcingaTimePeriodRanges: fetch period id on store 2016-02-25 19:22:19 +01:00
Thomas Gelf 1261bd93e1 IcingaObject: add merge method, use in Sync 2016-02-25 00:23:27 +01:00
Thomas Gelf b9ee674d3f IcingaObject: render assignments (experimental) 2016-02-24 23:59:50 +01:00
Thomas Gelf fb6518a887 IcingaObject: add awareness for apply object type 2016-02-24 21:37:48 +01:00
Thomas Gelf 4292f31f4f IcingaObject: generic loadAll support...
...also for multi-key objects
2016-02-24 15:18:30 +01:00
Thomas Gelf 92f54dbae2 schema/mysql: storing what we know makes life easier 2016-02-24 12:20:48 +01:00
Thomas Gelf e2cd8958c3 SyncRun: less useless use of use 2016-02-24 11:14:12 +01:00
Thomas Gelf a993f5cafa SyncRun: new object to track sync history 2016-02-24 11:09:12 +01:00
Thomas Gelf c2b0e48c7f DirectorActivityLog: work based on new methods 2016-02-23 00:35:35 +01:00
Thomas Gelf 6c72eaf176 IcingaObject.php: getPlainUnmodifiedObject for log 2016-02-23 00:33:05 +01:00
Thomas Gelf 1f71def70c IcingaObject: skipDefaults instead of skipNull 2016-02-23 00:29:51 +01:00
Thomas Gelf 23090c502a IcingaObject: introduce differsFromDefaultValue 2016-02-23 00:26:39 +01:00
Thomas Gelf 070d05d4a8 IcingaObject: ignore deleted vars for getVars
This is used when resolving plain objects
2016-02-22 15:43:59 +01:00
Thomas Gelf 1f869fa001 IcingaObject: fix variable names on setting vars.x 2016-02-22 15:19:26 +01:00
Thomas Gelf 72ffe336be IcingaObject: allow to directly set dict var key 2016-02-21 10:10:24 +01:00
Thomas Gelf f2f748738e IcingaObjectGroups: provide autocreate and ignore...
...failure options for objects assigned to missing groups by name
2016-02-19 15:36:56 +01:00
Thomas Gelf dd7a914fea ImportSource: add fetchRowModifiers helper 2016-02-19 02:47:12 +01:00
Thomas Gelf f6a3c6cf34 ImportRowModifier: simplify code 2016-02-17 22:02:28 +01:00
Thomas Gelf 625b9373de DirectorDatafield: remove obsolete code 2016-02-17 22:00:29 +01:00
Thomas Gelf 4fd0054a59 DbObjectWithSettings: one more abstraction layer
Would be a candidate for traits, unfortunately we still support PHP 5.3
2016-02-17 21:23:24 +01:00
Thomas Gelf b05973f3a7 ImportSource: fix settings delete 2016-02-17 21:08:16 +01:00
Thomas Gelf e8aadbb30b IcingaObject: fix issue with disabled property 2016-02-17 20:00:48 +01:00
Thomas Gelf 402b4c31e2 IcingaEndpoint: add api user and client helper 2016-02-17 16:39:18 +01:00
Thomas Gelf 7b6747ab67 IcingaObject: add helper for related objects 2016-02-17 16:03:07 +01:00
Thomas Gelf 5b3b5cbfb8 IcingaObjects: add new "disabled" property 2016-02-16 12:17:50 +01:00
Thomas Gelf b22f12cf55 IcingaObject: dedicated boolean munging method 2016-02-16 11:46:01 +01:00
Thomas Gelf c285dc260d IcingaZone: no endpoint fetching for new zones 2016-02-05 15:38:57 +01:00
Thomas Gelf 88ffc6baf2 Icinga/DbObject: explizit destruction 2016-02-04 16:58:32 +01:00
Thomas Gelf 7d96201afc IcingaArguments: fix index when loading from db 2016-02-03 11:15:20 +01:00
Thomas Gelf c62b008df8 IcingaObject: allow mor control over JSON structure 2016-02-03 00:58:13 +01:00
Thomas Gelf 9786fd5dae IcingaArguments: play nice with DSL in set_if
Recent changes to ITL ships with such an example.
2016-02-01 15:07:02 +01:00
Thomas Gelf a0b5e79115 Icinga(Commmand)Arguments: small improvements 2015-12-18 16:11:36 +01:00
Thomas Gelf 6ba5e44071 IcingaCommandArgument: render simple args compact 2015-12-18 16:02:48 +01:00
Thomas Gelf ff5ebdab53 IcingaService: command_endpoint fix for use_agent 2015-12-18 15:52:02 +01:00
Thomas Gelf ce44252f8e IcingaObject: return null for missing relations 2015-12-18 14:25:15 +01:00
Thomas Gelf 1cb47b6d32 IcingaObject: allow for null booleans 2015-12-18 14:23:49 +01:00
Thomas Gelf 4e7856bc80 IcingaHost/Service: fix boolean array 2015-12-18 12:07:26 +01:00
Thomas Gelf 01be02fe9c IcingaService: command endpoint respects use_agent 2015-12-18 11:55:42 +01:00
Thomas Gelf 53c0f94f27 IcingaService: use booleans, drop custom renderers 2015-12-18 11:52:00 +01:00
Thomas Gelf c03aaada92 IcingaService: add use_agent 2015-12-18 11:07:23 +01:00
Thomas Gelf 76a3e9cece IcingaZone: allow to prefill endpoint list 2015-12-18 10:52:00 +01:00
Thomas Gelf 313ac50f81 IcingaObject: allow to access relations by key 2015-12-17 20:32:15 +01:00
Thomas Gelf f8634cf66b IcingaHost: add agent properties 2015-12-17 19:27:01 +01:00
Thomas Gelf 63081474fa IcingaHost: define boolean properties 2015-12-17 19:22:53 +01:00
Thomas Gelf 91250cf0b9 ApiUser: add all tabs, tables, links 2015-12-17 14:58:43 +01:00
Thomas Gelf 08c3614620 IcingaApiUser: introduce a new object type 2015-12-17 14:29:08 +01:00
Thomas Gelf 922a6d25c0 IcingaObject: add resolve-cache 2015-12-16 14:32:53 +01:00
Thomas Gelf 0c68677fa5 Zone: rename parent_zone to parent 2015-12-15 15:13:25 +01:00
Thomas Gelf 7f558d1523 IcingaObject: more choices for toPlainObject 2015-12-10 18:41:09 +01:00
Thomas Gelf 75bbf9c7da IcingaObject: a few more hardcoded class names 2015-12-10 18:40:08 +01:00
Thomas Gelf d0359683cd IcingaObject: fix inheritance blacklist application 2015-12-10 17:56:02 +01:00
Thomas Gelf 39532d7173 IcingaObject: use missing ConfigurationError 2015-12-10 13:18:35 +01:00
Thomas Gelf fa65e9850b IcingaObject: new methods for plain and json handling 2015-12-10 13:04:34 +01:00
Thomas Gelf a0f0870566 IcingaObject: improve renderPropertyAsSeconds() 2015-12-10 12:58:47 +01:00
Thomas Gelf f4ca547ac2 IcingaService: render intervals in a nice way 2015-12-10 12:57:45 +01:00
Thomas Gelf 91b486cc66 IcingaObject: add TODO for unhandled situation 2015-12-10 12:53:24 +01:00
Thomas Gelf 61cdeadb5d IcingaService: add and render (host) relations 2015-12-10 12:12:58 +01:00
Thomas Gelf 79748f0c4c IcingaObject: provide combined keys for imports 2015-12-10 12:11:54 +01:00
Thomas Gelf 1cd0b0f4cb IcingaObjectImports: allow for multicol relations 2015-12-10 11:43:54 +01:00
Thomas Gelf 5091db2268 IcingaObject: clean up zone rendering 2015-12-10 11:34:46 +01:00
Thomas Gelf 1116bc4331 IcingaZone: render endpoints 2015-12-10 11:27:28 +01:00
Thomas Gelf 9c5776bf00 IcingaZone: fix parent zone relation 2015-12-09 15:06:11 +01:00
Thomas Gelf bac3969cdd IcingaObject: override key in renderRelationProperty 2015-12-09 15:05:31 +01:00
Thomas Gelf c6842520d9 SyncRule: fetch properties in reverse order 2015-12-08 15:01:33 +01:00
Thomas Gelf cbd09c69f0 IcingaEndpoint: rename address to host 2015-12-08 08:36:53 +01:00
Johannes Meyer e8c90ebb6b IcingaObject: Fix that object IcingaHostGroup cannot be found in classByType() 2015-12-07 13:50:48 +01:00
Thomas Gelf eec9710727 IcingaZone: define parent as a relation, for sync 2015-12-04 12:48:25 +01:00
Thomas Gelf 7f2e9ddc52 Sync: use row filters 2015-12-04 10:59:25 +01:00
Thomas Gelf 2164c1e2b9 Sync: allow to remove objects 2015-12-04 10:24:54 +01:00
Thomas Gelf 00cb7bb9d0 IcingaHost: let check command be relation-rendered 2015-12-03 19:43:50 +01:00
Thomas Gelf f49f14376b IcingaObject: recognize argument modifications 2015-12-03 19:41:58 +01:00
Thomas Gelf 3373b67d44 IcingaObject: render 0 seconds as 0, not 0m 2015-12-03 18:05:10 +01:00
Thomas Gelf 457fb859e4 IcingaCommand/Endpoint: fix typo 2015-12-03 18:02:57 +01:00
Thomas Gelf d8d12d38b4 IcingaObject: add new helper methods for seconds 2015-12-03 18:01:44 +01:00
Thomas Gelf d516a050ac IcingaEndpoint: render log duration as integer 2015-12-03 17:56:27 +01:00
Thomas Gelf 3656e8ed98 IcingaObject: generic relation render helper 2015-12-03 17:12:38 +01:00
Thomas Gelf f1e6b12eeb Endpoint: allow to set zone relation as string 2015-12-03 16:50:44 +01:00
Thomas Gelf 389fcf2fa6 IcingaObject: allow to unset relations 2015-12-03 15:09:49 +01:00
Thomas Gelf 039542c473 IcingaObject: provide plain object 2015-12-03 14:20:29 +01:00
Thomas Gelf 8d173b9602 IcingaHost: define relations 2015-12-03 14:20:13 +01:00
Thomas Gelf bc449feeef IcingaObject: set related properties by name 2015-12-03 14:18:19 +01:00
Thomas Gelf 0b052bb05a ImportSource: add failsafe getSetting() method 2015-12-03 01:37:10 +01:00
Thomas Gelf d37991627a SyncRule: one more attempt to avoid ZF magic 2015-12-02 15:27:25 +01:00
Thomas Gelf ef4eecae6f SyncRule: avoid issues with auto-aliased columns
Affects some ZF versions
2015-12-02 15:05:52 +01:00
Thomas Gelf dabc6de1da IcingaObject: add userspace filters 2015-12-02 04:04:19 +01:00
Thomas Gelf e29da23f99 IcingaCommand: add mungeCommand
Supports arrays and optional PluginDir resolution
2015-12-02 03:20:55 +01:00
Thomas Gelf d5c20e6e53 IcingaObject: first simple toJson support 2015-12-02 03:08:57 +01:00