Thomas Gelf
697c367fe7
Sync: fix syntax. Broken by git add -p, sorry :p
2016-02-24 16:37:45 +01:00
Thomas Gelf
e455bbf37a
Sync: finish combined key support
...
Services on hosts should be fine right now
2016-02-24 15:33:08 +01:00
Thomas Gelf
ca76f30aa0
Sync: support IcingaObjects in fillVariables
2016-02-24 15:19:54 +01:00
Thomas Gelf
4292f31f4f
IcingaObject: generic loadAll support...
...
...also for multi-key objects
2016-02-24 15:18:30 +01:00
Thomas Gelf
f2f6bdfadf
Sync: re-organize, store sync history
2016-02-24 12:24:19 +01:00
Thomas Gelf
6e62cbf900
show/activity: show hex checksum
2016-02-24 12:23:17 +01:00
Thomas Gelf
92f54dbae2
schema/mysql: storing what we know makes life easier
2016-02-24 12:20:48 +01:00
Thomas Gelf
2e7342b879
Db: fetchActivityLogIdByChecksum - one more helper
2016-02-24 11:38:11 +01:00
Thomas Gelf
402d2a7f53
mysql-migrations/upgrade_68: oops, forgot a file
2016-02-24 11:36:49 +01:00
Thomas Gelf
ab5bc8035d
schema/mysql: sync_run.duration_ms might be null
...
This allows us to store sync_run stats without a duration in the sync
transaction while updating duration afterwards. This way the commit
duration makes part of our measurement.
2016-02-24 11:23:01 +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
97b81e08d1
Db: add fetchActivityLogChecksumById method
2016-02-24 11:08:30 +01:00
Thomas Gelf
42e87476fb
schema/mysql: add sync_run history table
2016-02-24 10:50:57 +01:00
Thomas Gelf
5c202b57ff
Sync: TODO has been done
2016-02-23 21:05:09 +01:00
Thomas Gelf
fc45de5f31
Sync: same for objects
2016-02-23 17:47:18 +01:00
Thomas Gelf
4d100a6b65
Sync: do not pass imported data around
2016-02-23 17:35:47 +01:00
Thomas Gelf
1520d6fbf6
IcingaConfig: support the same file content twice
2016-02-23 17:03:52 +01:00
Thomas Gelf
6f2bd88069
Sync: two more lost $rules
2016-02-23 13:41:19 +01:00
Thomas Gelf
0b1f090972
Sync: fetch properties at construction time
2016-02-23 13:03:47 +01:00
Thomas Gelf
ff7e243370
Sync: remove forgotten $db's
2016-02-23 11:59:25 +01:00
Thomas Gelf
22e3d72014
Sync: simplify methods, do not pass $db
2016-02-23 11:55:16 +01:00
Thomas Gelf
650ef67dc6
Sync: reduce parameters, don't pass Rule around
2016-02-23 11:22:25 +01:00
Thomas Gelf
2185dffa62
Sync: start to modularize combined key handling
2016-02-23 11:10:37 +01:00
Thomas Gelf
d6d25bd306
CustomVariable(Boolean|Null|Number): provide JSON
2016-02-23 10:15:39 +01:00
Thomas Gelf
99608310c5
CustomVariables: set modified from outside
2016-02-23 10:14:42 +01:00
Thomas Gelf
190b3efb98
CustomVariableNumber: add a hint for floats
2016-02-23 09:09:47 +01:00
Thomas Gelf
2d826ba939
ObjectController: reasonable defaults for REST PUT
2016-02-23 09:09:10 +01:00
Thomas Gelf
037b3178a0
Sync: use setProperties
2016-02-23 09:08:14 +01:00
Thomas Gelf
ad9f232e7b
CustomVariableNumber: faster diff on type mismatch
2016-02-23 09:02:51 +01:00
Thomas Gelf
6c66f60ccc
Sync: detect combined keys, e.g. host/service
2016-02-23 08:58:22 +01:00
Thomas Gelf
93da0fe06c
show/activitilog: make "disabled" visible
2016-02-23 03:19:33 +01:00
Thomas Gelf
edd770a454
ShowController: fix diff rendering
2016-02-23 03:19:06 +01:00
Thomas Gelf
7315cc0d1b
show/activitylog: add more details
2016-02-23 00:36:18 +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
7665cb2424
show/activitilog: make "disabled" property visible
2016-02-23 00:27:53 +01:00
Thomas Gelf
23090c502a
IcingaObject: introduce differsFromDefaultValue
2016-02-23 00:26:39 +01:00
Thomas Gelf
2ba404c2c7
CustomVariable: more care when cloning
2016-02-23 00:24:38 +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
990b7934f2
css/module: render disabled object preview as such
2016-02-22 14:39:47 +01:00
Thomas Gelf
1527873755
CustomVariableNull: faster diff
2016-02-22 11:13:16 +01:00
Thomas Gelf
b59df53ebc
CustomVariableArray: implement magic __clone
2016-02-22 11:09:36 +01:00
Thomas Gelf
c090665594
CustomVariables: improved "set modified" handling
2016-02-22 11:04:01 +01:00
Thomas Gelf
a5b7e06ba2
Sync: only return modified objects
2016-02-22 11:01:37 +01:00
Thomas Gelf
13a748a287
css/module: more responsiveness for overview
2016-02-22 11:00:27 +01:00
Thomas Gelf
febd44a318
CustomVariables: clone values on set...
...
...just to be on the safe side
2016-02-22 10:59:30 +01:00
Thomas Gelf
e3d38f718f
CustomVariableDictionary: better sorting for diffs
2016-02-22 10:44:26 +01:00