Philipp Dallig
54e1c8a9d5
Implement exclude and include ability for TimePeriod objects
...
This feature allows to exclude and include specific time period
objects and their time ranges from an existing time period object.
This comes in handy when e.g. excluding holidays.
fixes #7355
Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2016-05-21 20:33:09 +02:00
Gunnar Beutner
599929b0f6
Update copyright headers for 2016
2016-01-12 08:29:59 +01:00
Gunnar Beutner
050c520b2a
Convert Comment/Downtime to config objects
...
fixes #9777
2015-10-28 17:56:29 +01:00
Gunnar Beutner
f45f6ccd82
Implement support for tracking dependencies between config objects
...
refs #9096
2015-08-25 13:54:05 +02:00
Gunnar Beutner
071d2f18fb
Rename DynamicObject/DynamicType to ConfigObject/ConfigType
...
fixes #9914
2015-08-15 20:40:41 +02:00
Gunnar Beutner
a5c5569324
Improve timeperiod validation error messages
...
fixes #8893
2015-03-29 08:13:11 +02:00
Gunnar Beutner
72a7b08480
Move implementation code from thpp files into separate files
...
fixes #8890
2015-03-28 11:08:12 +01:00
Gunnar Beutner
ec7224e3ed
Generate C++ code for type validators
...
fixes #7709
fixes #8867
2015-03-27 07:59:27 +01:00
Gunnar Beutner
1d2b008dcb
Fix validator for TimePeriod ranges
...
fixes #8568
2015-03-03 09:56:38 +01:00
Gunnar Beutner
b5dbc66b22
Implement the 'is_inside' attribute for the TimePeriod type
...
refs #8467
2015-02-23 14:08:06 +01:00
Michael Friedrich
2ed78e82a8
Validate configured TimePeriod ranges
...
Requires re-throwing the hidden exceptions inside the existing
timeperiod code and validating the configured time range
strings then.
fixes #7576
2015-02-13 17:10:58 +01:00
Michael Friedrich
78bfd0204c
Update copyright year
2015-01-22 12:00:23 +01:00
Gunnar Beutner
05485ea2d6
Disallow calling strings as functions
...
fixes #8040
2014-12-12 20:45:11 +01:00
Gunnar Beutner
478f03b49a
Replace boost::shared_ptr with boost::intrusive_ptr
...
refs #7622
2014-11-09 16:54:41 +01:00
Gunnar Beutner
2d5e9514a5
Refactor logging code
2014-10-19 17:52:17 +02:00
Gunnar Beutner
b18f57a745
Remove logger_fwd.hpp
2014-10-19 14:50:39 +02:00
Gunnar Beutner
6f2ea6bc08
Fix build problems with Oracle Solaris Studio
...
refs #6896
2014-09-02 13:09:17 +02:00
Michael Friedrich
3ecec31af3
Change log message identifier for libicinga.
...
Refs #6346
2014-05-28 14:42:00 +02:00
Gunnar Beutner
632026cd9f
Rename C++ header files.
...
Fixes #6291
2014-05-25 16:27:14 +02:00
Gunnar Beutner
9c3e399188
Remove unnecessary includes.
...
Fixes #6189
2014-05-11 18:11:32 +02:00
Michael Friedrich
ce737ff2f3
Change copyright header (again).
...
Fixes #5424
2014-03-19 11:42:47 +01:00
Michael Friedrich
555d72150a
Update copyright header.
...
Fixes #5424
2014-01-09 00:32:11 +01:00
Gunnar Beutner
ff5a35b7db
Fix race condition in TimePeriod::Start.
...
Refs #5337
2013-12-15 18:46:14 +01:00
Gunnar Beutner
e2941dbca8
Make sure that TimePeriod segments are being merged properly.
...
Refs #5268
2013-12-05 12:30:02 +01:00
Gunnar Beutner
438d5c0f57
Move EmptyTimePeriod and EvenMinutesTimePeriod to libmethods.
...
Fixes #5032
2013-11-13 09:41:06 +01:00
Gunnar Beutner
e546cd854d
Clean up the DynamicType class.
...
Refs #5036
2013-11-08 16:07:21 +01:00
Gunnar Beutner
a84536bea3
Implement serializer support for arbitrary classes.
...
Fixes #5024
2013-11-08 14:08:59 +01:00
Gunnar Beutner
6acc017707
Remove namespace qualifiers for boost::make_shared and boost::enable_shared_from_this.
...
Fixes #5012
2013-11-07 08:28:33 +01:00
Gunnar Beutner
db4b3b78d6
Implement class compiler.
...
Refs #4963
2013-10-28 14:27:36 +01:00
Gunnar Beutner
bf1a800e39
Update copyright information.
2013-09-25 07:45:56 +02:00
Gunnar Beutner
77a945157f
Fix timeperiod update bug.
2013-09-19 00:01:18 +02:00
Gunnar Beutner
2b23c66ac8
Fix bug which causes timeperiods not to be updated.
2013-09-12 07:13:36 +02:00
Gunnar Beutner
911f64c411
Fix state file functionality.
2013-08-29 10:40:43 +02:00
Gunnar Beutner
e9e55cd8c0
Remove the replication feature and clean up the code.
2013-08-26 14:56:38 +02:00
Michael Friedrich
40c62f28bb
timeperiods: re-add display_name
2013-07-18 15:30:17 +02:00
Gunnar Beutner
836c26da66
Bugfixes for the timeperiod feature.
2013-04-16 10:12:53 +02:00
Gunnar Beutner
70e96aa2f0
Refactor ScriptFunctions.
2013-03-25 19:47:02 +00:00
Gunnar Beutner
fd3e92ea0c
Refactor AsyncTasks.
2013-03-25 17:36:15 +00:00
Gunnar Beutner
97fee26289
Remove @threadsafety doc strings
...
Fixes #3889
2013-03-22 12:02:20 +01:00
Gunnar Beutner
6e251251f0
Fix example time period.
2013-03-18 11:59:26 +01:00
Gunnar Beutner
c3975af6ec
Refactor #includes (Part 4).
2013-03-18 11:02:18 +01:00
Gunnar Beutner
9d076c3c03
Refactor #includes (Part 3).
2013-03-17 20:19:29 +01:00
Gunnar Beutner
0bb0711d72
Refactor #includes (Part 2).
2013-03-16 21:18:53 +01:00
Gunnar Beutner
14c837a208
Fix crash in TimePeriod::UpdateRegion().
2013-03-15 13:29:25 +01:00
Gunnar Beutner
4e7c43c8c8
TimePeriod update function should return an array of time segments
...
Fixes #3857
2013-03-15 09:54:06 +01:00
Gunnar Beutner
2a2e2ca4e6
Bug fix: missing lock for TimePeriod::PurgeSegments call.
2013-03-14 12:21:10 +01:00
Gunnar Beutner
58f0c863a6
Build fix for Clang.
2013-03-14 08:18:19 +01:00
Gunnar Beutner
d99671ba0e
Implement TimePeriod::RemoveSegment().
2013-03-14 07:29:53 +01:00
Gunnar Beutner
442a2dbc7d
Implement timeperiods.
2013-03-13 16:04:53 +01:00
Gunnar Beutner
f64bdc8788
Removed obsolete timeperiod code.
2013-02-06 12:59:56 +01:00