Commit Graph

283 Commits

Author SHA1 Message Date
Thomas Gelf 280cd2b7b3 IcingaObject: add helper for booleans 2015-11-13 23:59:26 +01:00
Thomas Gelf 86b613eb55 SyncProperty: add source column helper methods 2015-11-06 09:50:06 +01:00
Thomas Gelf d23149bf3e IcingaObject: prepare command object access 2015-11-06 09:49:05 +01:00
Thomas Gelf 775cf0104e DirectorActivityLog: avoid User access on CLI 2015-11-06 09:39:14 +01:00
Thomas Gelf 499f223516 SyncProperty: fix expression 2015-11-02 16:21:35 +01:00
Thomas Gelf 7370bf34bb SyncRule: remove obsolete commented code 2015-11-02 09:22:32 +01:00
Thomas Gelf 857acd65b2 SyncProperty: remove obsolete comment 2015-11-02 09:11:40 +01:00
Thomas Gelf e73413fc25 SyncProperty: new setter method, fix tabs 2015-11-02 09:11:13 +01:00
Thomas Gelf 06f9477bc1 IcingaCommand: fix magic PluginDir prefix 2015-10-28 22:28:43 +01:00
Thomas Gelf 11892d3e78 DirectorActivityLog: imports, not groups 2015-10-26 11:42:38 +01:00
Thomas Gelf ccf8e6fa78 IcingaCommandArgument: first rendering implementation 2015-10-16 18:42:38 +02:00
Thomas Gelf 0a0015f96a DirectorDeploymentLog: adjust object to fit schema 2015-10-16 18:42:11 +02:00
Thomas Gelf e833d7be76 IcingaObject: just a newline 2015-10-16 18:41:07 +02:00
Thomas Gelf a1aea38cb4 IcingaCommand: extend input handling, be flexible 2015-10-16 18:39:13 +02:00
Thomas Gelf 7832cf85f1 IcingaArguments: new helper object, readonly 2015-10-16 18:38:28 +02:00
Thomas Gelf 371589a2a7 IcingaCommand: render command as an array 2015-10-16 18:13:42 +02:00
Thomas Gelf c4f8425634 IcingaHost: add enumProperties, test for now 2015-10-15 23:48:36 +02:00
Thomas Gelf 3c0fbe11cd IcingaCommandField: new object 2015-08-29 01:13:53 +02:00
Thomas Gelf 4d34b2188e IcingaObject: allow to load by type with prefix 2015-08-29 01:12:04 +02:00
Thomas Gelf ce0a982821 DirectorDeploymentLog: new object 2015-08-29 01:07:26 +02:00
Thomas Gelf c0043c26b0 IcingaObject: no zones right now 2015-08-29 01:04:28 +02:00
Thomas Gelf 0507a65e0b IcingaObject: log changes before storing relations 2015-08-29 01:03:34 +02:00
Thomas Gelf 8711e877ab IcingaHost: add display_name 2015-08-29 00:05:39 +02:00
Thomas Gelf 7b1fda25bd IcingaCommand: prepare argument handling 2015-08-28 23:44:26 +02:00
Thomas Gelf a16fd24cac IcingaObject: intercept set() for sub-objects 2015-08-28 18:23:13 +02:00
Thomas Gelf 3757c0fb85 IcingaObject: type should not be private 2015-08-28 18:21:04 +02:00
Thomas Gelf 3f176de03a DirectorActivityLog: handle sub-objects 2015-08-28 17:14:59 +02:00
Thomas Gelf 9f7e97d80a IcingaObjectGroups: history-related modifications 2015-08-28 17:12:46 +02:00
Thomas Gelf 3811c1612b IcingaObjectImports: attempt to fix history 2015-08-28 17:11:51 +02:00
Thomas Gelf e9d9a435b9 IcingaObject: add more class loading helpers 2015-08-04 19:26:53 +02:00
Thomas Gelf 9771e04ee0 IcingaCommandArgument: adjust schema column name 2015-08-03 13:53:58 +02:00
Thomas Gelf 8eb2bd7701 IcingaObject: prepare generic "arguments" support 2015-08-03 13:43:30 +02:00
Thomas Gelf ab2e55321d IcingaObject: new static loadByType() method 2015-08-03 12:54:40 +02:00
Thomas Gelf b265f48a89 IcingaService: make use of fields 2015-07-31 17:34:12 +02:00
Thomas Gelf c5e0a709ad DirectorDatafield: fix unset/delete operation 2015-07-31 16:00:04 +02:00
Thomas Gelf cbdaf34339 DirectorDatafield, DirectorObjectForm: just lines 2015-07-31 15:48:40 +02:00
Thomas Gelf c8e9369dde IcingaObject: improve/reorganize resolver code 2015-07-31 14:52:46 +02:00
Thomas Gelf f5bf209a8a DirectorActivityLog: going towards logging deep 2015-07-31 14:50:36 +02:00
Thomas Gelf 48a8e1ab63 IcingaObjectImports: simplify code 2015-07-31 14:33:09 +02:00
Thomas Gelf a88563f925 DirectorActivityLog: start to log related objects
First implementation: groups
2015-07-30 11:46:27 +02:00
Thomas Gelf 3b7cf5a4d4 IcingaHost: use inherited fields support 2015-07-30 11:45:55 +02:00
Thomas Gelf 3d205724c3 IcingaObject: resolving methods should be generic 2015-07-30 11:39:00 +02:00
Thomas Gelf 7058536530 IcingaObject: add getFields() lookup method 2015-07-30 09:09:44 +02:00
Thomas Gelf 92f53f18d1 IcingaObjects: add supportsFields(), but still...
...unsure whether this shouldn't be implicitely depend on
supportsCustomVars
2015-07-30 09:08:27 +02:00
Alexander Fuhr e4bf3ee370 IcingaHost: Add first basic getFields() method
resolves #9760
2015-07-28 17:37:58 +02:00
Alexander Fuhr 31e2b23d82 IcingaServiceField: Implement the field assignment
refs #9752
2015-07-28 15:25:44 +02:00
Alexander Fuhr 6005913bbd IcingaHostField: Implement the field assignment
refs #9752
2015-07-28 15:25:44 +02:00
Alexander Fuhr f5e8b5f8f8 DirectorDatafield: Imlement settings handling
refs #9715
2015-07-28 12:03:47 +02:00
Alexander Fuhr 6777911a07 ImportRowModifierSettings: just spaces 2015-07-24 15:05:38 +02:00
Thomas Gelf 826cafb476 SyncRule: add helper method fetching properties 2015-07-24 10:54:11 +02:00
Thomas Gelf 676e694078 SyncRule: just spaces 2015-07-24 10:53:55 +02:00
Stefan Scheungrab b9eac26193 SyncRule: sync rules should work now. refs. #9709 2015-07-23 20:00:31 +02:00
Stefan Scheungrab 3d3dc19d3b SyncRule: Controller Object and fomr 2015-07-23 16:40:32 +02:00
Stefan Scheungrab 3a15cf8f28 Modifier: initial hook and preperation for generic modifier 2015-07-23 11:45:07 +02:00
Stefan Scheungrab 8621e3cfdd SyncProperty: initial setup for synchronising the properties 2015-07-23 11:43:41 +02:00
Alexander Fuhr 9af1b60dc9 DataListEntry: Implement the datalistentry management 2015-07-22 13:42:47 +02:00
Thomas Gelf 1c38e4469e Importsource: controller, object, list
fixes #9676
2015-07-21 15:16:18 +02:00
Alexander Fuhr cfbe065b86 DirectorDataList: Add controller, object etc. 2015-07-03 14:00:40 +02:00
Thomas Gelf 644c6beeff DirectorDatafield: introduce new object class...
...and adjust table, form and controller
2015-07-03 13:17:05 +02:00
Thomas Gelf edad30f0ac IcingaObject: add initial resolve methods 2015-07-02 14:51:59 +02:00
Thomas Gelf 410d06dc63 IcingaObject: object_name is our key 2015-07-02 14:32:06 +02:00
Alexander Fuhr e9d38103f0 TimePeriodRanges: Implement the TimePeriodRanges support 2015-07-01 15:15:49 +02:00
Thomas Gelf 8f841d28ae Reorganize action controllers
* Removed 'list' and 'object' from urls
* IcingaObject: added isGroup helper
* Adjusted and abstracted tabs and tables
* Show endpoints in zone list
* Remove obsolete code
* Allow to filter activity log for objects
* Improve general look and feel
2015-06-30 11:19:31 +02:00
Alexander Fuhr decfcfd67b IcingaObjectGroups: Set right return type for store() 2015-06-30 10:46:53 +02:00
Alexander Fuhr fbbea8d486 IcingaObjectImports: Add check if modified and loaded from db 2015-06-30 10:46:15 +02:00
Alexander Fuhr 321f9d9503 IcingaObjectImports: Fix bug with on delete 2015-06-29 12:50:59 +02:00
Alexander Fuhr 775bc67fec Add imports support for Endpoint 2015-06-29 11:11:56 +02:00
Alexander Fuhr f1c3f9025b Add imports support for UserGroup 2015-06-29 11:02:30 +02:00
Alexander Fuhr 61812d6115 Add imports support for Zone 2015-06-29 10:46:32 +02:00
Alexander Fuhr cdb66b648a Add imports support for Command 2015-06-29 10:39:37 +02:00
Alexander Fuhr c7f7d37523 Add imports support for Servicegroup 2015-06-29 10:28:57 +02:00
Alexander Fuhr 878841e33e Add imports support for Hostgroup 2015-06-29 10:20:15 +02:00
Alexander Fuhr 0af3ed4452 Add imports support for Timeperiod 2015-06-26 16:45:44 +02:00
Alexander Fuhr f7bd670d1b Add imports support to User 2015-06-26 16:36:18 +02:00
Alexander Fuhr fd74a8dfd5 Add imports support to Service 2015-06-26 16:20:16 +02:00
Alexander Fuhr a663d571be IcingaObject: Add storeImports как то так 2015-06-26 15:55:16 +02:00
Alexander Fuhr 864b9ea55c Implement IcingaObjectImport to handle object imports 2015-06-26 15:54:00 +02:00
Alexander Fuhr b1a7922873 Imports: Start with implementing the imports 2015-06-26 10:39:30 +02:00
Alexander Fuhr 330c7b825e xMember: Delete the absolete Member classes 2015-06-24 15:34:24 +02:00
Alexander Fuhr 33ea3a9b34 IcingaObjectGroups: Fix typo in set() method 2015-06-24 14:57:04 +02:00
Thomas Gelf b26172e0e9 IcingaZone: add support for global zones 2015-06-24 13:41:45 +02:00
Thomas Gelf f8bd943181 Group membership: more magic 2015-06-24 11:25:22 +02:00
Thomas Gelf b75029c5aa IcingaCommand,Service,User: support custom vars 2015-06-24 10:13:27 +02:00
Thomas Gelf 1bdeff3474 IcingaObject: add/fix customvar support 2015-06-24 10:13:06 +02:00
Thomas Gelf 676acf0740 Util: new helper class 2015-06-23 14:37:23 +02:00
Alexander Fuhr ef537160f7 IcingaObjectGroups: Fix empty groups rendering
fixes #9432
2015-06-17 12:30:59 +02:00
Alexander Fuhr 616892984d Groups: Add generic Groups support
resolves #9427
2015-06-16 17:58:47 +02:00
Alexander Fuhr 193cb60604 Groups: Add groups support to User, Host and Service 2015-06-16 17:51:01 +02:00
Thomas Gelf 828a4a709b IcingaObject: die when there was no error handler 2015-06-15 16:36:51 +02:00
Thomas Gelf 91dde44441 CustomVariables: add load from db support 2015-06-15 16:35:18 +02:00
Thomas Gelf 774957cfe7 IcingaObject: allow to override renderCustomVars 2015-06-15 14:23:15 +02:00
Alexander Fuhr 0e785274bf IcingaHostObject: Fix typo in renderVolatile method 2015-06-15 09:57:48 +02:00
Alexander Fuhr 49f7afc2ff Add IcingaUserGroupMember Object 2015-06-12 13:15:55 +02:00
Alexander Fuhr f02c5e6f1d UserGroup: Conform the class and file naming 2015-06-12 12:07:53 +02:00
Alexander Fuhr 8b22a3ee81 ServiceGroup: Conform the class and file naming 2015-06-12 12:02:51 +02:00
Alexander Fuhr 9f7ff8276d HostGroupMember: Conform the class and file naming 2015-06-12 11:55:15 +02:00
Alexander Fuhr 4febd5c635 HostGroup: Conform the class and file naming 2015-06-12 11:51:12 +02:00
Alexander Fuhr 750ed26ef6 Object/IcingaUser: Add boolean render methods to affected properties 2015-06-12 11:11:51 +02:00
Alexander Fuhr db58cb8882 Object/IcingaService: Add boolean render methods to affected properties 2015-06-12 11:01:26 +02:00
Alexander Fuhr 7e815e70d7 Object/IcingaHost: Add boolean render methods to affected properties 2015-06-12 10:47:05 +02:00
Thomas Gelf f354d3c034 IcingaConfig: improve prefix/intendation handling 2015-06-11 23:02:43 +02:00
Thomas Gelf ccca0f85b0 IcingaObject: generate an empty line between objects 2015-06-11 22:49:06 +02:00
Thomas Gelf 6475e0495a IcingaConfigHelper: move to IcingaConfig namespace 2015-06-11 22:44:17 +02:00
Thomas Gelf eaea917c1f IcingaCommand: render methods_execute as execute 2015-06-11 22:01:12 +02:00
Thomas Gelf b4ffd5f02d IcingaObject: control intendation here. Really? 2015-06-11 21:34:12 +02:00
Thomas Gelf b2f66b3995 CustomVariables: implement and use basic rendering 2015-06-11 19:46:36 +02:00
Thomas Gelf 57d443157f IcingaObject: allow to access custom vars 2015-06-11 19:18:47 +02:00
Thomas Gelf 38221e0605 IcingaConfigHelper: add reserved words 2015-06-11 07:52:26 +02:00
Thomas Gelf 9e52629d6e IcingaObject: move render helpers to helper class
Introduced IcingaConfigHelper, as not only IcingaObject classes will
need those helper methods. Calls are static right now.
2015-06-11 07:44:22 +02:00
Alexander Fuhr ff6ed55c4b renderCustomVars: Add todo about escaping of reserved words 2015-06-10 15:40:45 +02:00
Alexander Fuhr db8059c4b7 ServiceVars: Add form, table, object and actions 2015-06-09 11:55:48 +02:00
Alexander Fuhr 5412254d83 TimePeriod: Conform the naming 2015-06-09 10:35:02 +02:00
Thomas Gelf 12cbb83044 IcingaZone: fix erraneous parameter order 2015-06-08 20:40:51 +02:00
Alexander Fuhr a9e879b72f IcingaZone: Fix missing semicolon 2015-06-08 15:28:56 +02:00
Thomas Gelf 9b34ba6848 IcingaHost: render boolean property, sample 2015-06-08 14:42:28 +02:00
Thomas Gelf 37b5f5ddc7 IcingaHost: show how to state custom var support 2015-06-08 14:42:12 +02:00
Thomas Gelf d2bb7fc9de IcingaHost, IcingaService: render check_command name 2015-06-08 14:41:40 +02:00
Thomas Gelf 8306787383 IcingaZone: render parent zone names 2015-06-08 14:40:46 +02:00
Thomas Gelf b4fdb6b64e IcingaObject: add first rendering examples 2015-06-08 14:37:33 +02:00
Thomas Gelf 26621f5ab1 IcingaObject: add generic helper methods 2015-06-08 13:02:09 +02:00
Alexander Fuhr 4c1c4e7d2a ServiceGroupMembers: Add form, table, object and actions 2015-06-03 14:59:29 +02:00
Alexander Fuhr 0c66f23430 Service: Add form, table, object and actions 2015-06-03 14:34:54 +02:00
Alexander Fuhr 7d99342274 Timeperiod: Add form, table, object and actions 2015-06-03 13:02:44 +02:00
Alexander Fuhr c61656c46c HostgroupVars: Add form, table, object and actions 2015-06-03 12:05:50 +02:00
Alexander Fuhr a4a97db6c3 HostgroupMember: Add form, table, object and actions 2015-06-02 17:37:54 +02:00
Alexander Fuhr a991e6815d Usergroup: Add form, table, object and actions 2015-06-02 14:19:05 +02:00
Alexander Fuhr 8d25b84f20 Servicegroup: Add form, table, object and actions 2015-06-02 11:56:42 +02:00
Alexander Fuhr 0459ec95f9 Hostgroup: Add form, table, object and actions 2015-06-02 10:49:31 +02:00
Alexander Fuhr b74d26808f Endpoint: add table, form and object 2015-06-01 17:26:09 +02:00
Alexander Fuhr 39c53813e7 User: add table, form, object 2015-06-01 17:00:02 +02:00
Thomas Gelf 825602f509 IcingaCommandArgument: new object type 2015-06-01 16:36:06 +02:00
Thomas Gelf ca3398247e Activity log: initial basic implementation
fixes #9167
2015-04-24 15:57:01 +02:00
Thomas Gelf 332ec1da4b Initial rough abstractions, basic forms
fixes #9134
2015-04-24 14:26:44 +02:00