Thomas Gelf
e3d38f718f
CustomVariableDictionary: better sorting for diffs
2016-02-22 10:44: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
2ff3764818
Sync: simplify code, prepare for various fixes
2016-02-19 15:23:44 +01:00
Thomas Gelf
37b2429aa1
Sync: just a modified TODO
2016-02-19 12:58:08 +01:00
Thomas Gelf
c1f3e1c041
Sync: separate datalist cleanup logic
2016-02-19 12:42:02 +01:00
Thomas Gelf
93436bffac
IcingaConfig: raise memory limits
2016-02-19 11:34:31 +01:00
Thomas Gelf
348aebcf41
Import: apply row modifiers
2016-02-19 09:15:47 +01:00
Thomas Gelf
dd7a914fea
ImportSource: add fetchRowModifiers helper
2016-02-19 02:47:12 +01:00
Thomas Gelf
637a9df3e2
ModifierRegex: allow for empty replacement
2016-02-19 02:45:48 +01:00
Thomas Gelf
a244ad467b
PropertyModifierHook: remove erraneous methods
2016-02-18 23:32:17 +01:00
Thomas Gelf
d34a7dd5aa
PropertyModifiers: fix errors, style, logic
2016-02-18 23:21:28 +01:00
Thomas Gelf
75ee4929b5
KickstartHelper: clean up, more helper methods
2016-02-18 20:46:07 +01:00
Thomas Gelf
0af71a82f0
menu: show health summary
2016-02-18 16:12:38 +01:00
Thomas Gelf
46fae7d60c
KickstartHelper: kickstart logic centralized
2016-02-18 16:02:51 +01:00
Thomas Gelf
23325d96f4
ObjectsController: API should ship full objects
2016-02-18 14:41:05 +01:00
Thomas Gelf
ea8da2172f
Db: add countActivitiesSinceLastDeployedConfig
...
Forgot to push this one, sorry.
2016-02-18 13:46:24 +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
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
7b1c17799d
DirectorObjectForm: get rid of object_type magic
2016-02-17 21:50:06 +01:00
Thomas Gelf
1d24efd103
DbObjectWithSettings: slightly speed up deletion
2016-02-17 21:41:22 +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
fc193b9844
Objects and overview: auto-refresh
2016-02-17 20:15:42 +01:00
Thomas Gelf
e8aadbb30b
IcingaObject: fix issue with disabled property
2016-02-17 20:00:48 +01:00
Thomas Gelf
6d1b44f56e
DirectorObjectForm: new helper method for disabled
2016-02-17 20:00:18 +01:00
Thomas Gelf
35e0830658
IcingaConfig: do not render disabled objectst
2016-02-17 19:59:25 +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
449769d151
Db: provide command object stats
2016-02-17 17:21:36 +01:00
Thomas Gelf
e250c7c6f6
CliCommand: provide api helper
2016-02-17 16:43:29 +01:00
Thomas Gelf
19a92b1bef
Db: getDeploymentEndpointName should retrieve...
...
...only endpoints with a configured api user
2016-02-17 16:42:42 +01:00
Thomas Gelf
e33d548d1b
ActionController: get api from endpoint object
2016-02-17 16:40:08 +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
afe0bfb373
Migrations: run initial schema file...
...
...when no migrations have ever been applied
2016-02-17 15:42:34 +01:00
Thomas Gelf
c6cd99f9db
Hooks: remove last traces of Web\Hook
2016-02-17 11:49:56 +01:00
Thomas Gelf
04cdf624c0
PropertyModifier: switch hook base
2016-02-17 11:11:05 +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
2a173b7cd3
ImportSourceLdap: allow to fetch dn as a column
2016-02-17 10:00:40 +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
22918f99b1
Db: no transaction for settings
2016-02-15 08:25:52 +01:00
Thomas Gelf
c0ee54b81c
IcingaConfig:: fix db connection reference
2016-02-10 17:39:56 +01:00
Thomas Gelf
446f378b10
IcingaConfig: get rid of hardcoded zone names
2016-02-09 20:43:13 +01:00
Thomas Gelf
8e4e441484
Db: add deployment settings helper methods
2016-02-09 20:38:16 +01:00
Thomas Gelf
ea327ed4ec
Db: add methods to store and fetch settings
2016-02-09 20:37:10 +01:00
Thomas Gelf
ad39da9a13
Sync: fix datalist entry sync
2016-02-09 19:21:36 +01:00
Thomas Gelf
ef1079e600
Sync: raise limits
2016-02-09 19:21:17 +01:00
Thomas Gelf
84cbf522c9
Migrations: implement DB migration helpers
2016-02-08 22:33:28 +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
d709ebc05f
CoreApi: new getTicketSalt() method
2016-02-05 16:29:53 +01:00
Thomas Gelf
62d13d7a60
Util::getIcingaTicket (and related helper method)
2016-02-05 16:24:20 +01:00
Thomas Gelf
c285dc260d
IcingaZone: no endpoint fetching for new zones
2016-02-05 15:38:57 +01:00
Thomas Gelf
31b0e7a180
DirectorObjectForm: fix object type case on redirect
2016-02-04 16:59:38 +01:00
Thomas Gelf
88ffc6baf2
Icinga/DbObject: explizit destruction
2016-02-04 16:58:32 +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
7d96201afc
IcingaArguments: fix index when loading from db
2016-02-03 11:15:20 +01:00
Thomas Gelf
e854522d22
ObjectController: fix inheritance for PUT-replace
2016-02-03 10:28:01 +01:00
Thomas Gelf
c62b008df8
IcingaObject: allow mor control over JSON structure
2016-02-03 00:58:13 +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
f000059ab3
Db: alias object tables for stats query
...
refs #11066
2016-02-02 17:42:09 +01:00
Thomas Gelf
e4f0f97d4f
CoreApi: clean up the streaming prototype
2016-02-01 15:23:30 +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
c6c8b75c74
RestApiResponse: give a helpful hint on JSON errors
2016-02-01 14:57:34 +01:00
Thomas Gelf
e139f4349f
ObjectsController: temporarily re-add tpl link
2016-01-25 14:55:51 +01:00
Thomas Gelf
41d9179389
CoreApi: testing streams
2016-01-19 18:01:21 +01:00
Thomas Gelf
5138501dc1
IcingaConfig: use Benchmark
2016-01-19 16:45:20 +01:00
Thomas Gelf
56c357bfb0
Sync: throw exception on erraneous data
2016-01-19 16:33:04 +01:00
Thomas Gelf
848e2d2f74
IcingaConfig: hardcode log_duration = 0...
...
...for auto-generated endpoints only.
2016-01-19 16:30:42 +01:00
Thomas Gelf
998402e4f4
RestApiClient: fix auth headers for curl
2015-12-23 17:28:17 +01:00
Thomas Gelf
89971486f7
RestApiClient: use curl on PHP 5.3
2015-12-23 17:12:53 +01:00
Thomas Gelf
7f45883cba
DirectorObjectForm: allow templates in global zones
2015-12-23 15:13:21 +01:00
Thomas Gelf
2df368f4c7
Sync: fix issues with PHP 5.3
2015-12-23 15:10:37 +01:00
Thomas Gelf
3161cae4a8
ObjectsController: fix type case for tabs check
2015-12-21 12:44:19 +01:00
Thomas Gelf
4d13f8a9af
IcingaConfig: store file statistics
2015-12-18 17:32:17 +01:00
Thomas Gelf
a09e1d638c
DbObject: temporarily disable prefetch cache
2015-12-18 16:54:46 +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
129cc8220b
IcingaConfig: add parent zone to auto-zones
2015-12-18 15:42:22 +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
e2fad6eb79
IcingaConfig: no autoendpoint for existing ones
2015-12-18 11:37:11 +01:00
Thomas Gelf
6d8dc41bab
IcingaConfig: no longer generate hardcoded global
2015-12-18 11:33:27 +01:00
Thomas Gelf
6e6c2ee6e5
IcingaConfig: respect inheritance for auto-agents
2015-12-18 11:28:01 +01:00
Thomas Gelf
c03aaada92
IcingaService: add use_agent
2015-12-18 11:07:23 +01:00
Thomas Gelf
c0206ca2c7
IcingaConfig: auto-generate agent endpoints
2015-12-18 10:53:27 +01:00
Thomas Gelf
76a3e9cece
IcingaZone: allow to prefill endpoint list
2015-12-18 10:52:00 +01:00
Thomas Gelf
1d8530f18b
Db: add object summary method
2015-12-18 09:05:04 +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
bc042fc5b1
IcingaConfig: use new deployment rules
2015-12-17 20:33:16 +01:00
Thomas Gelf
313ac50f81
IcingaObject: allow to access relations by key
2015-12-17 20:32:15 +01:00
Thomas Gelf
6466e3392e
object: add clone link
2015-12-17 19:52:10 +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
0da806cbf7
IcingaEndpointForm: allow to choose API users
2015-12-17 14:39:28 +01:00
Thomas Gelf
08c3614620
IcingaApiUser: introduce a new object type
2015-12-17 14:29:08 +01:00
Thomas Gelf
b73806d69c
config/file: show single files
2015-12-17 10:54:38 +01:00
Thomas Gelf
b2cb3183c8
DirectorObjectForm: TODO for "has been modified"
2015-12-17 10:48:00 +01:00
Thomas Gelf
4f950883bb
PlainObjectRenderer: show foreign data, compact
2015-12-17 10:47:05 +01:00
Thomas Gelf
a9f2bd8f97
CoreApi: return only single element for getObject
2015-12-17 10:33:11 +01:00
Thomas Gelf
23cfbb12a4
Monitoring/*Actions: use new hooks as base class
2015-12-16 20:57:33 +01:00
Thomas Gelf
5f5490e4a7
Sync: allow to set object_type on new objects
2015-12-16 19:16:00 +01:00
Thomas Gelf
47e31f023b
deployment: show more information, cleanup
2015-12-16 16:19:58 +01:00
Thomas Gelf
922a6d25c0
IcingaObject: add resolve-cache
2015-12-16 14:32:53 +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
f7d9867b97
Sync: delegate new "replace" to the object
2015-12-15 19:09:22 +01:00
Thomas Gelf
7fe6eb2528
CoreApi: fetch host objects
2015-12-15 19:00:27 +01:00
Thomas Gelf
ce772dd085
CoreApi: fetch endpoint objects with zones
2015-12-15 19:00:11 +01:00
Thomas Gelf
81be63c74d
ImportSourceCoreApi: allow host objects
2015-12-15 18:59:34 +01:00
Thomas Gelf
09df0b7a1e
Sync: remove useless dummy
2015-12-15 18:56:34 +01:00
Thomas Gelf
a421e5e608
IcingaConfig: object counts
2015-12-15 17:17:32 +01:00
Thomas Gelf
19420b8c9f
IcingaObjectTable: new base class, common style
2015-12-15 17:16:07 +01:00
Thomas Gelf
30ce3d8d4f
IcingaConfigFile: add object counter support
2015-12-15 17:14:36 +01:00
Thomas Gelf
942363c65d
IcingaConfig: rename fromDb to load
2015-12-15 16:46:19 +01:00
Thomas Gelf
0c68677fa5
Zone: rename parent_zone to parent
2015-12-15 15:13:25 +01:00
Thomas Gelf
94456f90ff
ImportSourceCoreApi: provide database. Not so nice
2015-12-15 14:48:25 +01:00
Thomas Gelf
a362ef4e42
CoreApi: indentation
2015-12-15 14:48:04 +01:00
Thomas Gelf
f486fee03d
CoreApi: fix parent zone property
2015-12-15 14:47:43 +01:00
Thomas Gelf
4755563e53
ImportSourceCoreApi: provide a default key name
2015-12-15 14:47:09 +01:00
Thomas Gelf
1f119adaa3
CoreApi: fetch only non-director Apis for import
2015-12-15 14:46:34 +01:00
Thomas Gelf
d347a18ac6
Import: add missing semicolon
2015-12-15 11:08:04 +01:00
Thomas Gelf
bc51c2e81c
IcingaConfig: remove duplicate extension
2015-12-12 23:17:03 +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
ab597ba958
Import: workaround for ZF1 binary data corrpution
2015-12-10 17:17:49 +01:00
Thomas Gelf
20e0a6ca1f
ObjectController: introduce clone form
2015-12-10 13:19:16 +01:00
Thomas Gelf
39532d7173
IcingaObject: use missing ConfigurationError
2015-12-10 13:18:35 +01:00
Thomas Gelf
f5e1bab424
ObjectsController: use parent::init
2015-12-10 13:15:06 +01:00
Thomas Gelf
364d4a5d68
ObjectController: allow API access
2015-12-10 13:11:21 +01:00
Thomas Gelf
21d51decb2
ActionController: start to offer JSON actions
2015-12-10 13:06:40 +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
ca15817da5
Sync: allow to override object_name
2015-12-10 12:57:11 +01:00
Thomas Gelf
023e15d057
DirectorObjectForm: intervals for check execution
2015-12-10 12:54:34 +01:00
Thomas Gelf
91b486cc66
IcingaObject: add TODO for unhandled situation
2015-12-10 12:53:24 +01:00
Thomas Gelf
59028ebeb4
DirectorObjectForm: add better status codes
2015-12-10 12:51:11 +01:00
Thomas Gelf
16c4bd4da8
QuickForm: add API helpers
2015-12-10 12:50:10 +01:00
Thomas Gelf
4803e11b49
CustomVariables: fix internal isset magic
2015-12-10 12:20:23 +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
81efcd0e8e
DbObject: NotFoundError for "better" status codes
2015-12-10 11:44:27 +01:00
Thomas Gelf
1cd0b0f4cb
IcingaObjectImports: allow for multicol relations
2015-12-10 11:43:54 +01:00
Thomas Gelf
d055c68a5c
DbObject: allow null components in multicol keys
2015-12-10 11:42:21 +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
0d8746624b
Sync: fix variables passed to helper methods
2015-12-09 11:45:04 +01:00
Thomas Gelf
e34b0e0d95
Sync: simplifying prepareSyncForRule() method
2015-12-08 16:40:47 +01:00
Thomas Gelf
c6842520d9
SyncRule: fetch properties in reverse order
2015-12-08 15:01:33 +01:00
Thomas Gelf
a88d064b05
Sync: add documentation, code should be simplified
2015-12-08 11:51:05 +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
b03f5c55ca
DbObject: first attempt to seriously use prefetch
2015-12-03 19:43:08 +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
71f8b0f107
IcingaConfig: deploy endpoints to their zone
2015-12-03 16:54:52 +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
7cdb44b1f9
Db: fix default null property when fetching imports
2015-12-03 15:05:51 +01:00
Thomas Gelf
5a5f2faa77
ImportSourceCoreApi: initial implementation
2015-12-03 14:22:40 +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
40e154ca37
ImportSource(Ldap|Sql): clean up imports
2015-12-03 13:36:33 +01:00
Thomas Gelf
0b052bb05a
ImportSource: add failsafe getSetting() method
2015-12-03 01:37:10 +01:00
Thomas Gelf
a7f11f7702
ImportSourceHook: add failsafe getSetting method
2015-12-03 00:39:46 +01:00
Thomas Gelf
5144b8bfed
DirectorObjectForm: add getSentOrObjectValue helper
2015-12-03 00:38:59 +01:00
Thomas Gelf
3fade17bf4
IcingaHostForm: allow to select non-global zones
2015-12-02 21:31:38 +01:00
Thomas Gelf
be4bfbb37d
Db: enumIcingaObjects should also provide externals
2015-12-02 20:34:34 +01:00
Thomas Gelf
b0f98c2d07
IcingaConfig: deploy endpoints, remove 'master'
2015-12-02 16:46:13 +01:00
Thomas Gelf
36d9db4c74
IcingaConfig: handle external zones like ours
2015-12-02 16:10:20 +01:00
Thomas Gelf
b190fd62e3
Sync: allow to access "deep" values from expressions
2015-12-02 15:59:31 +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
635befc501
ImportSourceLdap: respect import filter
2015-12-02 12:13:50 +01:00
Thomas Gelf
dabc6de1da
IcingaObject: add userspace filters
2015-12-02 04:04:19 +01:00
Thomas Gelf
3c07cdcf66
ImportSourceHook: exception on missing class
...
Otherwise we were unable to catch such failures
2015-12-02 04:00:31 +01:00
Thomas Gelf
604a910cd3
Cli/Command: base class for our cli commands
2015-12-02 03:53:08 +01:00
Thomas Gelf
d623502f5f
DbObject: show more debug info, until removal
2015-12-02 03:39:33 +01:00
Thomas Gelf
570f8d9440
ObjectsController: add sample permission check
2015-12-02 03:35:01 +01:00
Thomas Gelf
107b872b63
DirectorObjectForm: disable additional vars
...
We need something better here
2015-12-02 03:33:52 +01:00
Thomas Gelf
cd5ce8063a
ObjectController: rudimentary sample json support
2015-12-02 03:32:42 +01:00
Thomas Gelf
8b7388cfe3
CoreApi: allow to fetch command objects
2015-12-02 03:30:12 +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
Thomas Gelf
a2d1594eaf
DirectorObjectForm: re-arrange fields and commands
2015-12-02 03:07:28 +01:00
Thomas Gelf
06736e1508
IcingaCommand: improve timeout rendering
2015-12-02 02:53:27 +01:00
Thomas Gelf
7ca64e18a7
IcingaCommandArgument: add more data type support
2015-12-02 02:51:17 +01:00
Thomas Gelf
8be79b3dd6
IcingaArguments: class needed some love
2015-12-02 02:50:41 +01:00
Thomas Gelf
e5e3f749b7
IcingaObjectImports: prefetch should not be forgotten
2015-12-02 02:48:15 +01:00
Thomas Gelf
9f36a3184f
IcingaConfigHelper: add renderExpression
2015-12-02 02:47:49 +01:00
Thomas Gelf
a09c34a190
DbObject: no change on update is not an error
2015-12-02 02:44:10 +01:00
Thomas Gelf
c0c3d1b16d
CoreApi: implement getConstant(s)
2015-12-02 02:43:26 +01:00
Thomas Gelf
ed3624239b
IcingaObject: allow to access arguments
2015-12-02 02:42:14 +01:00
Thomas Gelf
81a1706b46
RestApiResponse: add getSingleResult, split getResult
2015-12-02 02:40:53 +01:00
Thomas Gelf
a94f5c5969
DbObject: relax primary key check
2015-12-02 02:38:19 +01:00
Thomas Gelf
9413c8cdbd
IcingaConfig: do not re-deploy external objects
2015-12-01 14:47:10 +01:00
Thomas Gelf
4875c2813d
IcingaArguments: fix variable name
2015-11-30 21:40:32 +01:00
Thomas Gelf
41d6f47752
DbObject: allow to change primary key (not autoinc)
2015-11-30 21:03:46 +01:00
Thomas Gelf
029ee84d33
IcingaConfig: cleanup, hardcode director-global
2015-11-30 15:31:54 +01:00
Thomas Gelf
4d28358e60
ImportSourceHook: allow default key column
2015-11-30 13:06:34 +01:00
Thomas Gelf
c6af8811a8
ProvidedHook: do not fail on missing config
2015-11-30 12:19:37 +01:00
Thomas Gelf
211df25b42
CoreApi: use renamed method
2015-11-26 20:36:49 +01:00
Thomas Gelf
ffe17cf58c
ServiceActions: newly introduced, provide "inspect"
2015-11-26 18:55:00 +01:00
Thomas Gelf
9ac82db6ef
HostActions: provide an inspect link for monitoring
2015-11-26 18:54:26 +01:00
Thomas Gelf
dddf0d8ac5
CoreApi: allow to fetch a single object
2015-11-26 18:53:42 +01:00
Thomas Gelf
66b1daa1ba
CoreApi: listObjects should return a list
2015-11-26 18:52:28 +01:00
Thomas Gelf
29168cbd85
Db: one more thing to do
2015-11-25 21:57:12 +01:00
Thomas Gelf
99a427c217
Sync: speedup by moving some logic to userspace
2015-11-25 21:54:42 +01:00
Thomas Gelf
35776575a3
Db::fetchLatestImportedRows: nested key support
2015-11-25 21:01:11 +01:00
Thomas Gelf
a71bdfeb44
SyncRule: add listInvolvedSourceIds() method
2015-11-25 12:54:21 +01:00
Thomas Gelf
b9390747b3
SyncRule: add getPriorityForNextProperty() method
2015-11-25 12:54:00 +01:00
Thomas Gelf
f0475c2407
IcingaHost: beautify enumProperties
2015-11-25 12:52:57 +01:00
Thomas Gelf
8ed2b99c82
Sync: allow direct access to nested structures
2015-11-25 09:21:15 +01:00
Thomas Gelf
21451338c3
HostActions: fix namespace to fit new hook style
2015-11-20 12:41:34 +01:00
Thomas Gelf
e5ebcc4bcc
DirectorObjectForm: failing field elements...
...
...should still make part of the fields group
2015-11-19 09:24:45 +01:00
Thomas Gelf
40656be2c3
Db::getActivitylogNeighbors(): new method
2015-11-17 21:14:33 +01:00
Thomas Gelf
ca368a341a
Sync: just a newline
2015-11-17 18:28:24 +01:00
Thomas Gelf
66f76ef8c5
DirectorObjectForm: hardcode ignored arguments
...
These would otherwise cause issues in redirections after deleting
object fields or arguments
2015-11-17 18:26:43 +01:00
Thomas Gelf
03ba27d159
HostActions: use new Web 2.1 hook style
2015-11-17 16:53:41 +01:00
Thomas Gelf
7fb1182cc8
IcingaService: add basics for command resolution
2015-11-15 16:39:20 +01:00
Thomas Gelf
dff0e1a263
DirectorObjectForm: more logic separation
2015-11-15 15:17:29 +01:00
Thomas Gelf
9ea092c035
DirectorObjectForm: do not require inherited props
...
What worked fine for fields should now work for default properties
too.
2015-11-14 19:47:10 +01:00
Thomas Gelf
49f28b27ef
DirectorObjectForm: fix redirect for related objects
...
CommandArguments and similar are also IcingaObjects, but have no
object_name
2015-11-14 17:51:25 +01:00
Thomas Gelf
76b45f04d5
IcingaConfig: start to re-add disabled zone elements
2015-11-14 14:49:45 +01:00
Thomas Gelf
4853eba4da
DirectorObjectForm: make use of field format details
2015-11-14 14:47:01 +01:00
Thomas Gelf
d943195732
DirectorObjectForm: separate deletion logic
2015-11-14 14:45:48 +01:00
Thomas Gelf
621e561732
ImportSourceHook: look better for new web2 hooks
2015-11-14 00:22:50 +01:00
Thomas Gelf
5287e58fea
IcingaObject: fetch format information for fields
2015-11-14 00:21:42 +01:00
Thomas Gelf
8dc39ccb89
IcingaZone: it works, one less helper method
2015-11-14 00:19:23 +01:00
Thomas Gelf
6b23ba28be
IcingaZone: experiment with new boolean helper
2015-11-14 00:03:45 +01:00
Thomas Gelf
280cd2b7b3
IcingaObject: add helper for booleans
2015-11-13 23:59:26 +01:00
Thomas Gelf
5f9fb8eb83
IcingaConfigHelper: add missing exception class
2015-11-13 23:52:51 +01:00
Thomas Gelf
146b543fef
CoreApi: first attempts to fetch object instances
2015-11-13 23:50:41 +01:00
Thomas Gelf
1abbab6ce9
CoreApi: allow to set Db object
2015-11-13 23:50:00 +01:00
Thomas Gelf
e302632196
RestApiClient: use Benchmark
2015-11-09 18:31:26 +01:00
Thomas Gelf
b5ba2b7da9
CoreApi: add a note for getConstants, still TBD
2015-11-09 18:30:53 +01:00
Thomas Gelf
3a9580e4ca
CoreApi: use new objects api
2015-11-09 18:30:32 +01:00
Thomas Gelf
bff5d328c2
CustomVariable: fix boolean condition
2015-11-09 18:29:19 +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
4f64d79e15
IcingaConfig: tell whether config would change
2015-11-06 09:47:36 +01:00
Thomas Gelf
de3c824fb2
QuickForm: allow public access to getSentValue
2015-11-06 09:40:49 +01:00
Thomas Gelf
775cf0104e
DirectorActivityLog: avoid User access on CLI
2015-11-06 09:39:14 +01:00
Thomas Gelf
0db5a43d24
IcingaConfig: define DirectorStageDir constant
2015-11-06 09:38:28 +01:00
Thomas Gelf
df3b23834c
CustomVariableNumber: do not let locales influence...
...
...float rendering
2015-11-06 09:33:42 +01:00
Thomas Gelf
a74381ebc9
RestApiClient: use Accept header for non-raw requests
2015-11-06 09:31:40 +01:00
Thomas Gelf
67551e6285
QuickTable: use new web2 default table classes
2015-11-06 09:22:47 +01:00
Thomas Gelf
c070c77611
Import: no longer show raw row on exception
2015-11-06 09:20:13 +01:00
Thomas Gelf
f18e1b6a5f
ConfigDiff: byebye PHP-FineDiff, hello php-diff
...
Gives far better performance for larger strings
2015-11-05 12:30:07 +01:00
Thomas Gelf
39b58d24b7
Import: refine API, code cleanup
2015-11-03 12:52:38 +01:00
Thomas Gelf
2ac0d2d6f5
Import: start to split functionality
2015-11-03 10:31:44 +01:00
Thomas Gelf
eee48e3238
Import: comment and move sort methods to the bottom
2015-11-03 10:18:24 +01:00
Thomas Gelf
e02e61abd4
IcingaConfig: separate modification check from store
2015-11-03 09:10:34 +01:00
Thomas Gelf
499f223516
SyncProperty: fix expression
2015-11-02 16:21:35 +01:00
Thomas Gelf
2e746e68c1
CustomVariableDictionary: no magic getter for equals
2015-11-02 09:33:22 +01:00
Thomas Gelf
326a88fc81
Sync: cleanup
2015-11-02 09:29:03 +01:00
Thomas Gelf
5f333b0ea7
Import: always store dictionaries ordered
2015-11-02 09:25:39 +01:00
Thomas Gelf
b7cd26b597
DirectorObjectForm: new helper method hasObject()
2015-11-02 09:24:58 +01:00
Thomas Gelf
ccf47171fe
DbObject: re-order method checks when setting
2015-11-02 09:23:41 +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
9d111d0db0
CustomVariableDictionary: always store an object
2015-11-01 00:57:02 +01:00
Thomas Gelf
0c121cf4fe
CustomVariableString: immediate false for non-strings
2015-11-01 00:54:43 +01:00
Thomas Gelf
a2e061cae3
QuickTable: allow for more flexibility with classes
2015-10-30 23:36:17 +01:00
Thomas Gelf
b41ca7826e
Sync: allow to determine expected modifications
2015-10-30 23:34:27 +01:00
Thomas Gelf
d25e28c137
Forms: no dtdd wrapper for fieldsets
2015-10-29 17:21:52 +01:00
Thomas Gelf
139b52079f
Import: allow for simple objects (hashes, dicts)
2015-10-28 22:31:37 +01:00
Thomas Gelf
e317b7cf6d
DbObject: add prefetch support
2015-10-28 22:31:10 +01:00
Thomas Gelf
1d2cc2b12d
QuickTable: quick & dirty way to render objects
2015-10-28 22:29:25 +01:00
Thomas Gelf
06f9477bc1
IcingaCommand: fix magic PluginDir prefix
2015-10-28 22:28:43 +01:00
Thomas Gelf
7298092e97
CustomVariable: add support for creating new types
2015-10-28 22:27:53 +01:00
Thomas Gelf
5886765e37
CustomVariableNumber: new type for ints and floats
2015-10-28 22:27:24 +01:00
Thomas Gelf
51813557c9
CustomVariableBoolean: add a new custom var type
2015-10-28 22:27:01 +01:00
Thomas Gelf
73b01b8cb5
CustomVariableDictionary: fix storage and more
2015-10-28 22:26:38 +01:00
Thomas Gelf
353427fa1a
CustomVariableNull: store to db as json
2015-10-28 22:24:34 +01:00
Thomas Gelf
82a893b06c
DbObject: add loadWithAutoIncId
2015-10-26 12:05:37 +01:00
Thomas Gelf
11892d3e78
DirectorActivityLog: imports, not groups
2015-10-26 11:42:38 +01:00
Thomas Gelf
1bbd07efe1
Import: use IcingaException, add a TODO
2015-10-21 07:45:08 +02:00
Thomas Gelf
9ec520c788
Sync: start code cleanup
...
We want to store sync history and show sync previews, code needs to
be prepared for those tasks
2015-10-20 23:29:29 +02:00
Thomas Gelf
29206188bf
ActionController: provide api to all controllers
2015-10-20 22:47:06 +02:00
Thomas Gelf
62a0f5f9c2
Sync: indentation
2015-10-20 22:22:58 +02:00
Thomas Gelf
fc5976b5f8
Sync: use IcingaException
2015-10-20 22:21:48 +02: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
72c76134f6
CoreApi: add getStatus() method
2015-10-16 18:41:53 +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
249b849b08
IcingaConfigHelper: introduce alreadyRendered()
2015-10-16 18:36:43 +02:00
Thomas Gelf
371589a2a7
IcingaCommand: render command as an array
2015-10-16 18:13:42 +02:00
Thomas Gelf
062cd77496
CoreApi: store deployed config checksum
2015-10-16 18:12:47 +02:00
Thomas Gelf
776cd98253
CoreApi: provide active stage name
2015-10-16 18:08:18 +02:00
Thomas Gelf
bbf7796b53
QuickTable: allow to provide pre-row classes
2015-10-16 18:04:12 +02:00
Thomas Gelf
071cf627d2
DirectorObjectForm: implement generic deletion
2015-10-15 23:56:25 +02:00
Thomas Gelf
4d72e315f2
DirectorObjectForm: add vars to fields group for now
2015-10-15 23:55:56 +02:00
Thomas Gelf
f122fc3eb1
ObjectController: remove legacy delete tab
2015-10-15 23:55:13 +02:00
Thomas Gelf
0a5addabd1
DirectorObjectForm: group exection options, style
2015-10-15 23:52:31 +02:00
Thomas Gelf
dc41842118
DirectorObjectForm: add store/delete button helper
2015-10-15 23:51:29 +02:00
Thomas Gelf
b376527c44
ObjectController: formatting
2015-10-15 23:49:34 +02:00
Thomas Gelf
c4f8425634
IcingaHost: add enumProperties, test for now
2015-10-15 23:48:36 +02:00
Thomas Gelf
988eb4bf77
DirectorObjectForm: redirect to newly created objects
2015-10-15 23:47:05 +02:00
Thomas Gelf
eea642bd1c
ImortSourceLdap: remove test columns
2015-10-15 23:45:30 +02:00
Thomas Gelf
51ee2a1fa5
QuickForm: add buttons to group
...
TODO: create list of buttons, get rid of hardcoded delete
2015-10-15 23:44:37 +02:00
Thomas Gelf
439d4ebc3d
IcingaConfg: make use of new ShipConfigFiles hook
2015-10-15 20:35:21 +02:00
Thomas Gelf
81c6920b93
ShipConfigFilesHook: new hook
...
Allows other modules to ship additional files to/through Icinga 2.
2015-10-15 20:32:15 +02:00
Thomas Gelf
e7687d226a
DirectorObjectForm: provide delete button
2015-10-15 20:16:07 +02:00
Thomas Gelf
48a0389c80
QuickForm: remove most decorators from submit
2015-10-15 20:11:40 +02:00
Thomas Gelf
4693be3aa2
DirectorObjectForm: add fields to display group
2015-10-15 20:05:18 +02:00
Thomas Gelf
fc748ff80a
IcingaConfig::configFile(): allow custom suffix
2015-10-15 20:02:44 +02:00
Thomas Gelf
d7c2e7dacd
DbObject: do not hide our exceptions
2015-10-15 20:01:18 +02:00
Thomas Gelf
b7d4b3f1a2
QuickForm: set decorators for form errors
2015-10-15 17:53:29 +02:00
Thomas Gelf
7693192e66
QuickForm: catch Exceptions from success handlers
2015-10-15 17:52:56 +02:00
Thomas Gelf
0544be3aec
QuickForm: allow params for successUrl
2015-10-15 17:52:02 +02:00
Thomas Gelf
7f9d1750c5
DbObject: new method getKeyParams()
2015-10-15 17:48:29 +02:00
Thomas Gelf
45e6cb9944
ObjectController: correctly load fields
2015-10-13 17:58:50 +02:00
Thomas Gelf
ef46c9de56
DbObject: allow to create without props
2015-10-13 17:53:01 +02:00
Thomas Gelf
a39c8c3280
QuickForm: add getSuccessUrl()
2015-10-13 17:48:16 +02:00
Thomas Gelf
e098f1bbb0
DbObject: improve exceptions
2015-10-13 17:47:32 +02:00
Thomas Gelf
5a244e209a
QuickForm: fix ampersand for form actions
2015-10-13 17:29:20 +02:00
Thomas Gelf
be98cf5133
QuickForm: return sent value only when sent
2015-10-13 17:28:26 +02:00
Thomas Gelf
7c081c12ce
QuickTable: use one more class, thanks web 2.0.0
2015-10-13 17:21:39 +02:00