Commit Graph

580 Commits

Author SHA1 Message Date
Michael Friedrich 309ea899ed Fix: Overwriting global type variables causes crash in ConfigItem::Commit()
fixes #11484
2016-04-20 10:07:25 +02:00
Gunnar Beutner 13c4bb06b8 Improve validation for arrays
fixes #11434
2016-04-20 10:07:23 +02:00
Gunnar Beutner ba3eeafb5a Implement recursion limit for AST expressions which don't use a separate stack frame
fixes #11106
2016-04-20 10:07:22 +02:00
Michael Friedrich a79ea88fff Fix permissions for temporary files
fixes #11212
fixes #11211
2016-02-24 11:27:22 +01:00
Michael Friedrich a837198bbc Fix unique creation of temp files
fixes #10948
2016-02-23 12:34:38 +01:00
Gunnar Beutner 6cd931726d Fix crash in ConfigItem::RunWithActivationContext
fixes #11085
2016-02-23 09:36:17 +01:00
Michael Friedrich 925161d9b4 Fix config validation for templates used as object reference name
fixes #10830
2016-02-23 09:16:22 +01:00
Michael Friedrich 48fe703017 Fix cluster config sync for (non-)authoritative configs
Details: https://dev.icinga.org/issues/10819#note-39

refs #10819
2016-02-23 09:09:55 +01:00
Michael Friedrich db0e8c676e Fix that relative paths do not work with include_zones
fixes #10828
2016-02-23 09:09:20 +01:00
Gunnar Beutner c544c686a8 Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
Gunnar Beutner f3ea00b189 Turn '=>' lambda expressions into side-effect-free statements
fixes #10760
2015-12-08 15:31:09 +01:00
Gunnar Beutner 21cb5690f5 Fix crash in ConfigItem::ActivateItems
refs #10643
2015-11-25 13:23:04 +01:00
Michael Friedrich d3aae81323 Fix crash in ConfigItem::ActivateItems
refs #10643
2015-11-25 13:22:55 +01:00
Gunnar Beutner 33fbd6c877 Fix race condition in the ConfigItem class
fixes #10643
2015-11-25 13:22:32 +01:00
Gunnar Beutner f2be32eda1 Build fix for SLES 11 (with -std=c++11)
fixes #10615
2015-11-21 04:46:57 +01:00
Gunnar Beutner 79b15efd09 Allow null values for constructor calls
fixes #10628
2015-11-14 05:36:48 +01:00
Gunnar Beutner e3c75faabc Implement support for recursive object locks
fixes #10596
2015-11-11 10:21:30 +01:00
Gunnar Beutner 2d2e7ecdb2 Improve location information for exceptions
fixes #10568
2015-11-10 17:05:40 +01:00
Gunnar Beutner 7621870278 Implement a debugger for Icinga scripts
fixes #10547
2015-11-05 14:29:45 +01:00
Gunnar Beutner 701961b73b Fix the 'type' attribute for the Object class
refs #10387
2015-11-05 10:29:02 +01:00
Gunnar Beutner 51f473d08a Implement the current_filename and current_line keywords
fixes #10243
2015-11-03 16:34:34 +01:00
Gunnar Beutner 050c520b2a Convert Comment/Downtime to config objects
fixes #9777
2015-10-28 17:56:29 +01:00
Gunnar Beutner 23330150f4 Fix invalid delete in IndexerExpression::GetReference
fixes #10466
2015-10-26 18:01:39 +01:00
Gunnar Beutner 1ec20a1e8d Fix: Line continuation is broken in 'icinga2 console'
fixes #10461
2015-10-26 13:04:03 +01:00
Gunnar Beutner dd77863910 Implement Array::ToString and Dictionary::ToString
fixes #10329
2015-10-26 11:05:24 +01:00
Gunnar Beutner de847d0b6f Don't allow scripts to access FANoUserView attributes in sandbox mode
fixes #10457
2015-10-26 10:41:00 +01:00
Gunnar Beutner 74ef3e3ce6 Turn includes into AST expressions
fixes #10008
2015-10-22 09:46:31 +02:00
Gunnar Beutner 9eb7cfa620 Add missing keywords in ConfigCompiler::GetKeywords
refs #9960
2015-10-07 06:09:55 -07:00
Gunnar Beutner 8136cda367 Implement the ignore_on_error keyword
fixes #9960
2015-10-05 12:44:11 +02:00
Gunnar Beutner 359fb3f82b Fix formatting for floating-point values in ConfigWriter
fixes #10256
2015-09-30 16:43:32 +02:00
Gunnar Beutner 6fb1b60c12 Fix: NULs don't work in string values
fixes #10234
2015-09-29 07:09:35 +02:00
Gunnar Beutner e19a36c659 Fix parser error when using new-lines in dictionaries
fixes #10204
2015-09-23 16:37:21 +02:00
Gunnar Beutner afcb97303c Remove unnecessary MakeLiteral calls in SetExpression::DoEvaluate
fixes #10199
2015-09-23 10:37:13 +02:00
Gunnar Beutner ad6c8eaf7e Fix: String methods cannot be invoked on an empty string
fixes #10191
2015-09-22 11:24:00 +02:00
Gunnar Beutner 6fa58a520c Implement config object sync
Adds object version.

refs #9927
2015-09-17 14:20:43 +02:00
Michael Friedrich da83bae660 Rename config/modules to config/packages
fixes #9953
2015-09-01 20:09:04 +02:00
Gunnar Beutner c37a23ccba Implement the Icinga Studio application
fixes #10042
2015-08-31 07:50:01 +02:00
Gunnar Beutner f2a055c85a Use an AST node for the 'library' keyword
fixes #10017
2015-08-27 14:50:08 +02:00
Gunnar Beutner 1f63bcb1b3 Remove unused argument 'async'
refs #9972
2015-08-26 06:57:24 +02:00
Gunnar Beutner 827125a69a Clean up the code a bit
refs #9096
2015-08-26 06:35:06 +02:00
Gunnar Beutner 8fc92d8a08 Fix crash in ConfigItem::CommitNewItems
refs #9096
2015-08-26 06:35:06 +02:00
Gunnar Beutner 6af771b3bf Fix crash in ConfigCompiler::RegisterZoneDir
fixes #9987
2015-08-24 14:14:44 +02:00
Gunnar Beutner 6a8f890e7c Remove the FutureExpression class
fixes #9972
2015-08-24 11:04:26 +02:00
Gunnar Beutner 71dc682924 Implement support for "." in attributes when creating objects
refs #9082
2015-08-18 16:53:30 +02:00
Gunnar Beutner d8cab2f0e8 Add 'override' keyword to methods
refs #9929
2015-08-18 12:45:30 +02:00
Gunnar Beutner 7fc7cde6a1 Build fix for Windows 2015-08-17 19:36:27 +02:00
Michael Friedrich 0f5287c2b1 Add module attribute for ConfigObject and set its origin
fixes #9852
2015-08-17 16:08:57 +02:00
Gunnar Beutner 071d2f18fb Rename DynamicObject/DynamicType to ConfigObject/ConfigType
fixes #9914
2015-08-15 20:40:41 +02:00
Gunnar Beutner 827de21907 Improve error messages for duplicate objects
refs #9101
2015-08-15 20:07:12 +02:00
Gunnar Beutner 1b21faeb5d Move object name validation into ConfigItemBuilder class
fixes #9911
2015-08-15 20:07:11 +02:00