]> granicus.if.org Git - icinga2/log
icinga2
10 years agoFix a compiler warning
Gunnar Beutner [Wed, 7 Jan 2015 14:00:20 +0000 (15:00 +0100)]
Fix a compiler warning

refs #8164

10 years agoAdd unit tests for escape sequences
Gunnar Beutner [Wed, 7 Jan 2015 12:26:10 +0000 (13:26 +0100)]
Add unit tests for escape sequences

refs #8164

10 years agoFix escape sequence for double quotes
Gunnar Beutner [Wed, 7 Jan 2015 12:06:02 +0000 (13:06 +0100)]
Fix escape sequence for double quotes

refs #8164

10 years agoFix escape sequence for backslashes
Gunnar Beutner [Wed, 7 Jan 2015 07:56:52 +0000 (08:56 +0100)]
Fix escape sequence for backslashes

fixes #8164

10 years agoBuild fix for Windows
Gunnar Beutner [Mon, 22 Dec 2014 13:14:16 +0000 (14:14 +0100)]
Build fix for Windows

10 years agoFix incorrect week day calculation in LegacyTimePeriod::ParseTimeSpec
Gunnar Beutner [Sat, 20 Dec 2014 21:04:24 +0000 (22:04 +0100)]
Fix incorrect week day calculation in LegacyTimePeriod::ParseTimeSpec

fixes #6943

10 years agoDon't show stack traces for known exception types
Gunnar Beutner [Sat, 20 Dec 2014 14:41:31 +0000 (15:41 +0100)]
Don't show stack traces for known exception types

refs #6070

10 years agoImprove error reporting
Gunnar Beutner [Sat, 20 Dec 2014 14:29:04 +0000 (15:29 +0100)]
Improve error reporting

fixes #8136
refs #6070

10 years agoImprove error reporting for the import keyword
Gunnar Beutner [Sat, 20 Dec 2014 10:09:21 +0000 (11:09 +0100)]
Improve error reporting for the import keyword

fixes #8061

10 years agoReport error for invalid escape sequences
Gunnar Beutner [Sat, 20 Dec 2014 08:48:18 +0000 (09:48 +0100)]
Report error for invalid escape sequences

fixes #7910

10 years agoFix integer overflow in len()
Gunnar Beutner [Sat, 20 Dec 2014 08:36:35 +0000 (09:36 +0100)]
Fix integer overflow in len()

fixes #8041

10 years agoMake sure that Value::IsEmpty() returns true for empty strings
Gunnar Beutner [Sat, 20 Dec 2014 08:31:55 +0000 (09:31 +0100)]
Make sure that Value::IsEmpty() returns true for empty strings

fixes #8018

10 years agoImprove error message for invalid field accesses
Gunnar Beutner [Sat, 20 Dec 2014 08:17:02 +0000 (09:17 +0100)]
Improve error message for invalid field accesses

fixes #8079

10 years agoMake sure that "feature enable" uses relative paths for the symlinks
Gunnar Beutner [Sat, 20 Dec 2014 07:39:12 +0000 (08:39 +0100)]
Make sure that "feature enable" uses relative paths for the symlinks

fixes #8121

10 years agoFix debug info for indexer
Gunnar Beutner [Fri, 19 Dec 2014 15:53:44 +0000 (16:53 +0100)]
Fix debug info for indexer

fixes #8132

10 years agoMake sure the livestatus module works when the compat module is disabled
Gunnar Beutner [Fri, 19 Dec 2014 15:42:20 +0000 (16:42 +0100)]
Make sure the livestatus module works when the compat module is disabled

refs #7794

10 years agoDisable vfork() on OS X
Gunnar Beutner [Fri, 19 Dec 2014 15:04:34 +0000 (16:04 +0100)]
Disable vfork() on OS X

fixes #8131

10 years agoExclude prepare-dirs from bin package
Tim Hardeck [Fri, 19 Dec 2014 12:05:28 +0000 (13:05 +0100)]
Exclude prepare-dirs from bin package

Prepare-dirs on i586 platforms end up in the same directory as the
other lib files so it would get automatically included in the bin
package. To prevent this only "*.so*" files are included in the bin
package from this directory.

fixes #8126

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
10 years agoImplement the __commit function
Gunnar Beutner [Fri, 19 Dec 2014 12:08:46 +0000 (13:08 +0100)]
Implement the __commit function

refs #8127

10 years agoImplement the __get_objects function
Gunnar Beutner [Fri, 19 Dec 2014 12:08:31 +0000 (13:08 +0100)]
Implement the __get_objects function

refs #8127

10 years agoAllow relative paths for the UNIX socket
Gunnar Beutner [Fri, 19 Dec 2014 11:33:51 +0000 (12:33 +0100)]
Allow relative paths for the UNIX socket

refs #7805

10 years agoRename _DEBUG to I2_DEBUG
Gunnar Beutner [Fri, 19 Dec 2014 11:19:28 +0000 (12:19 +0100)]
Rename _DEBUG to I2_DEBUG

fixes #7767

10 years agoFix a deadlock in TlsStream::Read / TlsStream::Close
Gunnar Beutner [Fri, 19 Dec 2014 11:07:06 +0000 (12:07 +0100)]
Fix a deadlock in TlsStream::Read / TlsStream::Close

fixes #8124

10 years agoFix validation for service names in Notification, Dependency and ScheduledDowntime...
Gunnar Beutner [Fri, 19 Dec 2014 09:56:34 +0000 (10:56 +0100)]
Fix validation for service names in Notification, Dependency and ScheduledDowntime objects

fixes #8122

10 years agoChange some things up in the windows-plugins
Jean Flach [Fri, 19 Dec 2014 09:21:38 +0000 (10:21 +0100)]
Change some things up in the windows-plugins

refs #7886 #7778 #8060 #8115

10 years agoMove the InstallConfig include into the top-level CMakeLists.txt file
Gunnar Beutner [Fri, 19 Dec 2014 08:51:14 +0000 (09:51 +0100)]
Move the InstallConfig include into the top-level CMakeLists.txt file

refs #7794

10 years agoImplement CMake options for some of the modules
Gunnar Beutner [Fri, 19 Dec 2014 08:45:35 +0000 (09:45 +0100)]
Implement CMake options for some of the modules

fixes #7794
fixes #7795

10 years agoFix a compiler warning
Jean Flach [Fri, 19 Dec 2014 08:36:59 +0000 (09:36 +0100)]
Fix a compiler warning

fixes #8114

10 years agoReplace spaces with tabs
Gunnar Beutner [Thu, 18 Dec 2014 15:55:45 +0000 (16:55 +0100)]
Replace spaces with tabs

10 years agoRemove obsolete code
Gunnar Beutner [Thu, 18 Dec 2014 14:43:01 +0000 (15:43 +0100)]
Remove obsolete code

refs #7709

10 years agoRefactor the WorkQueue class to make error reporting easier
Gunnar Beutner [Thu, 18 Dec 2014 14:11:57 +0000 (15:11 +0100)]
Refactor the WorkQueue class to make error reporting easier

refs #7709

10 years agoClean up the DebugInfo class
Gunnar Beutner [Thu, 18 Dec 2014 11:58:46 +0000 (12:58 +0100)]
Clean up the DebugInfo class

refs #7709

10 years agoFix crash in ConfigCompilerContext::WriteObject
Gunnar Beutner [Thu, 18 Dec 2014 11:46:35 +0000 (12:46 +0100)]
Fix crash in ConfigCompilerContext::WriteObject

fixes #8106

10 years agoCompat: Fix event_handler_enabled dump based on enable_event_handler attribute
Michael Friedrich [Thu, 18 Dec 2014 10:20:06 +0000 (11:20 +0100)]
Compat: Fix event_handler_enabled dump based on enable_event_handler attribute

fixes #8105

10 years agoFix crash when accessing invalid fields
Gunnar Beutner [Thu, 18 Dec 2014 10:21:11 +0000 (11:21 +0100)]
Fix crash when accessing invalid fields

fixes #8104

10 years agoUpdate INSTALL.md for 2.2.2
Gunnar Beutner [Thu, 18 Dec 2014 09:22:24 +0000 (10:22 +0100)]
Update INSTALL.md for 2.2.2

10 years agoAdd new files from Debian's pkg-icinga2 repository
Gunnar Beutner [Thu, 18 Dec 2014 05:42:41 +0000 (06:42 +0100)]
Add new files from Debian's pkg-icinga2 repository

refs #8103

10 years agoRemove unused files from the Debian packages
Gunnar Beutner [Thu, 18 Dec 2014 05:23:59 +0000 (06:23 +0100)]
Remove unused files from the Debian packages

refs #8103

10 years agoForward-port packaging changes from Debian's pkg-icinga2 repository
Gunnar Beutner [Thu, 18 Dec 2014 05:12:26 +0000 (06:12 +0100)]
Forward-port packaging changes from Debian's pkg-icinga2 repository

refs #8103

10 years agoRemove usage info from --version
Gunnar Beutner [Thu, 18 Dec 2014 04:28:51 +0000 (05:28 +0100)]
Remove usage info from --version

fixes #8102

10 years agoUpdate RPM spec file to use the boost153 package on RHEL 5 and SLES 11 SP3
Gunnar Beutner [Wed, 17 Dec 2014 15:36:50 +0000 (16:36 +0100)]
Update RPM spec file to use the boost153 package on RHEL 5 and SLES 11 SP3

10 years agoAdd files needed by last commit
Jean Flach [Wed, 17 Dec 2014 13:23:20 +0000 (14:23 +0100)]
Add files needed by last commit

10 years agoAdd windows-plugin check_ping
Jean Flach [Wed, 17 Dec 2014 13:17:46 +0000 (14:17 +0100)]
Add windows-plugin check_ping

fixes #7879

10 years agoFix the dependency nightmare that is libreadline
Gunnar Beutner [Wed, 17 Dec 2014 08:47:03 +0000 (09:47 +0100)]
Fix the dependency nightmare that is libreadline

refs #8091

10 years agoFix incorrect package name for SLES/openSUSE
Gunnar Beutner [Wed, 17 Dec 2014 08:27:06 +0000 (09:27 +0100)]
Fix incorrect package name for SLES/openSUSE

refs #8091

10 years agoUpdate documentation for libreadline requirement
Gunnar Beutner [Wed, 17 Dec 2014 08:07:05 +0000 (09:07 +0100)]
Update documentation for libreadline requirement

fixes #8091

10 years agoUpdate livestatus and statusdata to properly support booleans
Gunnar Beutner [Wed, 17 Dec 2014 07:54:28 +0000 (08:54 +0100)]
Update livestatus and statusdata to properly support booleans

fixes #8100

10 years agoFix another problem with boolean values in SQL queries
Gunnar Beutner [Tue, 16 Dec 2014 20:43:03 +0000 (21:43 +0100)]
Fix another problem with boolean values in SQL queries

refs #8100

10 years agoBuild fix for Windows
Gunnar Beutner [Tue, 16 Dec 2014 20:25:58 +0000 (21:25 +0100)]
Build fix for Windows

refs #7805

10 years agoFix incorrect SQL values for boolean fields
Gunnar Beutner [Tue, 16 Dec 2014 20:23:50 +0000 (21:23 +0100)]
Fix incorrect SQL values for boolean fields

fixes #8100

10 years agoIncrease the timeout for "repl" sessions
Gunnar Beutner [Tue, 16 Dec 2014 18:51:33 +0000 (19:51 +0100)]
Increase the timeout for "repl" sessions

refs #7805

10 years agoImplement Livestatus support for the "repl" command
Gunnar Beutner [Tue, 16 Dec 2014 18:28:46 +0000 (19:28 +0100)]
Implement Livestatus support for the "repl" command

refs #7805

10 years agoFix crash when accessing invalid fields on objects which don't have prototypes
Gunnar Beutner [Tue, 16 Dec 2014 17:15:47 +0000 (18:15 +0100)]
Fix crash when accessing invalid fields on objects which don't have prototypes

10 years agoUpdate the list of keywords
Gunnar Beutner [Tue, 16 Dec 2014 14:46:45 +0000 (15:46 +0100)]
Update the list of keywords

refs #8096

10 years agoAdd readline support for the "repl" command
Gunnar Beutner [Tue, 16 Dec 2014 11:22:02 +0000 (12:22 +0100)]
Add readline support for the "repl" command

fixes #8091

10 years agoUpdate the documentation and RPM spec file for 2.2.2
Gunnar Beutner [Tue, 16 Dec 2014 10:33:14 +0000 (11:33 +0100)]
Update the documentation and RPM spec file for 2.2.2

10 years agoUpdate unit tests to use the new variable syntax
Gunnar Beutner [Tue, 16 Dec 2014 09:37:21 +0000 (10:37 +0100)]
Update unit tests to use the new variable syntax

refs #8074

10 years agoAdd version output to the "repl" command
Gunnar Beutner [Tue, 16 Dec 2014 09:36:59 +0000 (10:36 +0100)]
Add version output to the "repl" command

refs #7805

10 years agoMake sure that operator % throws an exception when the ride-hand-side argument is 0
Gunnar Beutner [Tue, 16 Dec 2014 07:52:32 +0000 (08:52 +0100)]
Make sure that operator % throws an exception when the ride-hand-side argument is 0

fixes #8089

10 years agoFix location info for strings
Gunnar Beutner [Tue, 16 Dec 2014 05:18:39 +0000 (06:18 +0100)]
Fix location info for strings

fixes #8081

10 years agoAdd another unit test for expressions
Gunnar Beutner [Mon, 15 Dec 2014 16:23:18 +0000 (17:23 +0100)]
Add another unit test for expressions

refs #8074

10 years agoAdd unit tests for the "var" keyword
Gunnar Beutner [Mon, 15 Dec 2014 15:42:34 +0000 (16:42 +0100)]
Add unit tests for the "var" keyword

refs #8074

10 years agoGet rid of the local/global keywords
Gunnar Beutner [Mon, 15 Dec 2014 15:09:17 +0000 (16:09 +0100)]
Get rid of the local/global keywords

refs #8074

10 years agoFix unit test
Gunnar Beutner [Mon, 15 Dec 2014 14:12:24 +0000 (15:12 +0100)]
Fix unit test

refs #8074

10 years agoCli: "node wizard" shouldn't crash when SaveCert fails
Michael Friedrich [Mon, 15 Dec 2014 10:44:56 +0000 (11:44 +0100)]
Cli: "node wizard" shouldn't crash when SaveCert fails

fixes #7707

10 years agoFix incorrect variable scoping
Gunnar Beutner [Mon, 15 Dec 2014 11:57:40 +0000 (12:57 +0100)]
Fix incorrect variable scoping

refs #8074

10 years agoDocs: Fix gdb pretty printers
Michael Friedrich [Mon, 15 Dec 2014 10:26:22 +0000 (11:26 +0100)]
Docs: Fix gdb pretty printers

fixes #8048

10 years agoDocs: Update dependency state filter explaination
Michael Friedrich [Mon, 15 Dec 2014 10:08:34 +0000 (11:08 +0100)]
Docs: Update dependency state filter explaination

refs #7301

10 years agoRemove unnecessary includes
Gunnar Beutner [Mon, 15 Dec 2014 09:16:06 +0000 (10:16 +0100)]
Remove unnecessary includes

10 years agoDisable impersonation for the "repl" command
Gunnar Beutner [Mon, 15 Dec 2014 07:37:34 +0000 (08:37 +0100)]
Disable impersonation for the "repl" command

refs #7805

10 years agoRemove unused code
Gunnar Beutner [Mon, 15 Dec 2014 05:03:13 +0000 (06:03 +0100)]
Remove unused code

refs #8074

10 years agoMake sure IcingaApplication::GetVars returns a default value
Gunnar Beutner [Mon, 15 Dec 2014 05:02:59 +0000 (06:02 +0100)]
Make sure IcingaApplication::GetVars returns a default value

refs #8074

10 years agoAllow if/else in rterms
Gunnar Beutner [Sun, 14 Dec 2014 13:08:41 +0000 (14:08 +0100)]
Allow if/else in rterms

refs #8074

10 years agoOnly implicitly convert strings to indexers
Gunnar Beutner [Sun, 14 Dec 2014 10:55:44 +0000 (11:55 +0100)]
Only implicitly convert strings to indexers

refs #8074

10 years agoRefactor how variable scopes work
Gunnar Beutner [Sun, 14 Dec 2014 10:33:45 +0000 (11:33 +0100)]
Refactor how variable scopes work

refs #8074

10 years agoMake sure Serialize() doesn't fail for objects which don't have a registered type
Gunnar Beutner [Sat, 13 Dec 2014 20:41:17 +0000 (21:41 +0100)]
Make sure Serialize() doesn't fail for objects which don't have a registered type

fixes #7895

10 years agoBackport i2tcl's error reporting functionality into "icinga2 repl"
Gunnar Beutner [Sat, 13 Dec 2014 20:16:55 +0000 (21:16 +0100)]
Backport i2tcl's error reporting functionality into "icinga2 repl"

fixes #8078

10 years agoImplement the 'global' keyword to differentiate between variable scopes
Gunnar Beutner [Sat, 13 Dec 2014 16:48:58 +0000 (17:48 +0100)]
Implement the 'global' keyword to differentiate between variable scopes

refs #8074

10 years agoFix operator precedence for =>
Gunnar Beutner [Sat, 13 Dec 2014 13:06:19 +0000 (14:06 +0100)]
Fix operator precedence for =>

refs #8030

10 years agoRemove obsolete unit test
Gunnar Beutner [Sat, 13 Dec 2014 12:54:24 +0000 (13:54 +0100)]
Remove obsolete unit test

refs #8040

10 years agoImplement support for lambdas
Gunnar Beutner [Sat, 13 Dec 2014 11:18:26 +0000 (12:18 +0100)]
Implement support for lambdas

refs #8030

10 years agoImprove error messages for failed expressions
Gunnar Beutner [Fri, 12 Dec 2014 20:21:04 +0000 (21:21 +0100)]
Improve error messages for failed expressions

fixes #8076

10 years agoDisallow calling strings as functions
Gunnar Beutner [Fri, 12 Dec 2014 19:40:24 +0000 (20:40 +0100)]
Disallow calling strings as functions

fixes #8040

10 years agoAdd -t options to "snmp" and "snmp-manubulon-command" CheckCommand objects
Steve McMaster [Thu, 11 Dec 2014 21:16:58 +0000 (16:16 -0500)]
Add -t options to "snmp" and "snmp-manubulon-command" CheckCommand objects

fixes #8075

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
10 years agoDB IDO: Update child object reachability if parentchanges to !{OK,UP}
Michael Friedrich [Fri, 12 Dec 2014 14:53:10 +0000 (15:53 +0100)]
DB IDO: Update child object reachability if parentchanges to !{OK,UP}

fixes #7683

10 years agoFix the prototype for the Object class
Gunnar Beutner [Fri, 12 Dec 2014 14:47:51 +0000 (15:47 +0100)]
Fix the prototype for the Object class

refs #8065

10 years agoRename VMFrame to ScriptFrame in the unit tests
Gunnar Beutner [Fri, 12 Dec 2014 14:39:15 +0000 (15:39 +0100)]
Rename VMFrame to ScriptFrame in the unit tests

refs #8065

10 years agoFix the clone() methods for the Array and Dictionary class
Gunnar Beutner [Fri, 12 Dec 2014 14:38:06 +0000 (15:38 +0100)]
Fix the clone() methods for the Array and Dictionary class

refs #8065

10 years agoMove the VMFrame class to libbase
Gunnar Beutner [Fri, 12 Dec 2014 14:33:02 +0000 (15:33 +0100)]
Move the VMFrame class to libbase

refs #8065

10 years agoImplement prototype functions
Gunnar Beutner [Fri, 12 Dec 2014 14:19:23 +0000 (15:19 +0100)]
Implement prototype functions

fixes #8065

10 years agoFix debug visualizer for the Value type
Gunnar Beutner [Fri, 12 Dec 2014 13:58:09 +0000 (14:58 +0100)]
Fix debug visualizer for the Value type

fixes #8073

10 years agoDB IDO: Missing last_hard_state column update in {host,service}status tables
Michael Friedrich [Fri, 12 Dec 2014 12:25:10 +0000 (13:25 +0100)]
DB IDO: Missing last_hard_state column update in {host,service}status tables

fixes #8058

10 years agoAdd missing DebugInfo for field accesses
Gunnar Beutner [Fri, 12 Dec 2014 07:58:39 +0000 (08:58 +0100)]
Add missing DebugInfo for field accesses

refs #8062

10 years agoImplement string indexers
Gunnar Beutner [Fri, 12 Dec 2014 05:54:38 +0000 (06:54 +0100)]
Implement string indexers

fixes #8062

10 years agoFix if for non-boolean arguments
Gunnar Beutner [Thu, 11 Dec 2014 20:31:30 +0000 (21:31 +0100)]
Fix if for non-boolean arguments

fixes #8072

10 years agoImplement a way to call methods on objects
Gunnar Beutner [Thu, 11 Dec 2014 20:12:34 +0000 (21:12 +0100)]
Implement a way to call methods on objects

fixes #8071

10 years agoDocumentation: Add note on default notification interval in getting started notificat...
Michael Friedrich [Thu, 11 Dec 2014 18:19:34 +0000 (19:19 +0100)]
Documentation: Add note on default notification interval in getting started notifications.conf

fixes #8070

10 years agoUpdate AUTHORS
Gunnar Beutner [Thu, 11 Dec 2014 18:01:15 +0000 (19:01 +0100)]
Update AUTHORS

refs #8066

10 years agoRemove remarks about setting dictionary value to null to remove the key/value pair
Steve McMaster [Thu, 11 Dec 2014 15:50:50 +0000 (10:50 -0500)]
Remove remarks about setting dictionary value to null to remove the key/value pair

fixes #8066

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
10 years agoUpdate error message to use the correct lexer token name
Gunnar Beutner [Thu, 11 Dec 2014 14:07:21 +0000 (15:07 +0100)]
Update error message to use the correct lexer token name

refs #7883