Commit Graph

6483 Commits

Author SHA1 Message Date
Gunnar Beutner e1b9d82896 Fix warnings about invalid API function 'icinga::Hello'
fixes #9884
2015-08-24 11:18:48 +02:00
Gunnar Beutner 56a3b0cab7 Use an empty dictionary for the 'this' scope when executing commands with Livestatus
fixes #9883
2015-08-24 11:17:09 +02:00
Gunnar Beutner c7714653a4 Fix: Operator + is inconsistent when used with empty and non-empty strings
fixes #9806
2015-08-24 11:16:03 +02:00
Petr Ruzicka dc317a12d3 ITL: Improve snmpv3 CheckCommand section
fixes #9827

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2015-08-24 11:14:12 +02:00
Michael Friedrich 4b79e5a316 Add missing category for IDO query
fixes #9928
2015-08-24 11:13:16 +02:00
Gunnar Beutner 6a8f890e7c Remove the FutureExpression class
fixes #9972
2015-08-24 11:04:26 +02:00
Paul Richards 70457b2e5a Fix build error when using boost 1.59
fixes #9814

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
2015-08-24 08:21:34 +02:00
Gunnar Beutner 380b1275b7 Clean up the API action code a bit
refs #9080
2015-08-24 08:01:33 +02:00
Michael Friedrich 92364d7b73 Remove debug messages in HttpRequest class
fixes #9946
2015-08-21 14:46:18 +02:00
Michael Friedrich 8c20039dfe Fix formatting in mkclass
fixes #9966
2015-08-21 14:38:56 +02:00
Michael Friedrich 981ed591e9 API: Return comment/downtime ids, refactor code
refs #9080
2015-08-21 12:49:51 +02:00
Jean Flach c5fe46a300 Experimental actions without types
refs #9080
2015-08-21 12:48:32 +02:00
Jean Flach afd6af39d5 Implement external commands as api actions
refs #9080
2015-08-21 12:48:32 +02:00
Michael Friedrich 53c93f459c Doc: Fix markdown formatting for global zones
fixes #9977
2015-08-21 12:23:36 +02:00
Michael Friedrich 53e9061dcf Doc: Fix markdown formatting for global zones
fixes #9977
2015-08-21 12:23:14 +02:00
Michael Friedrich 6f252bb5c5 Don't increment check attempt counter on OK->NOT-OK transition
This fixes the problem that the first SOFT state is actually considered
the second state.

refs #7287
fixes #9897

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2015-08-21 10:24:49 +02:00
Gunnar Beutner b43a3135cc Fix: Utility::Glob on Windows doesn't support wildcards in all but the last path component
fixes #9962
2015-08-19 07:54:06 +02:00
Gunnar Beutner b3db2ee1f6 Fix crash in ConfigObjectUtility::CreateObject
refs #9082
2015-08-18 20:25:06 +02:00
Gunnar Beutner 854f8ec918 Don't re-download NSCP for every build
fixes #9961
2015-08-18 20:16:22 +02:00
Gunnar Beutner da7d04581d Add missing attributes for dependent objects
refs #9082
2015-08-18 19:39:10 +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 6ffdbce213 Make sure the serial number field is always initialized
fixes #9947
2015-08-18 15:06:07 +02:00
Gunnar Beutner 5a72eaa768 Make sure the serial number field is always initialized
fixes #9947
2015-08-18 15:05:53 +02:00
Gunnar Beutner 0cbcb75e79 Ensure that runtime config objects are persisted on disk
refs #9101
fixes #9926
2015-08-18 14:21:55 +02:00
Gunnar Beutner d8cab2f0e8 Add 'override' keyword to methods
refs #9929
2015-08-18 12:45:30 +02:00
Gunnar Beutner 60a30d50f6 Don't allow users to delete objects that weren't created using the API
refs #9082
2015-08-18 08:22:14 +02:00
Gunnar Beutner d118b71a2a Fix compiler warnings
fixes #9929
2015-08-18 07:46:04 +02:00
Gunnar Beutner 147f69a8f6 Implement support for filter_vars
fixes #9940
2015-08-18 06:47:07 +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
Michael Friedrich 13b5acec90 Implement support for . in modify_attribute
fixes #9852
2015-08-17 14:55:51 +02:00
Michael Friedrich 428be72bab Implement Object#clone and rename Array/Dictionary#clone to shallow_clone
fixes #9931
2015-08-17 13:59:49 +02:00
Gunnar Beutner 7d6a920b3d Build fix 2015-08-17 11:20:52 +02:00
Michael Friedrich 020533842b Add missing category for IDO query
fixes #9928
2015-08-17 11:04:14 +02:00
Gunnar Beutner ff974d4eee Fix compiler warnings
refs #9081
2015-08-17 10:09:15 +02:00
Lennart Betz bd5f70f92c Fix check_command interfaces, change option match_aliases to boolean
fixes #9912

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
2015-08-17 08:58:18 +02:00
Lennart Betz 49cf0bb644 ITL: Add check command check_interfaces
fixes #9527

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2015-08-17 08:58:14 +02:00
Lennart Betz bb6db7978a Fix check_command interfaces, change option match_aliases to boolean
fixes #9912

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
2015-08-17 08:54:53 +02:00
Gunnar Beutner db8b4afa58 Fix incorrect base class name for Array/Dictionary/etc.
refs #9921
2015-08-17 08:14:04 +02:00
Gunnar Beutner 9ecfd9c830 Allow comments in JSON
fixes #9919
2015-08-17 08:03:25 +02:00
Gunnar Beutner a546a67934 Implement the 'base' field for the Type class
fixes #9921
2015-08-17 07:59:44 +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
Gunnar Beutner ce2735f10b Fix validation errors when creating objects with the API
refs #9101
2015-08-15 20:07:11 +02:00
Gunnar Beutner e2290d5012 Implement support for unregistering objects
refs #9101
2015-08-15 20:07:11 +02:00
Gunnar Beutner f405a26052 Implement validation for modified attributes 2015-08-15 20:07:11 +02:00
Gunnar Beutner 16ddc12c06 Implement support for creating objects
refs #9101
2015-08-15 20:07:11 +02:00
Gunnar Beutner 3d78870339 Implement support for modified attributes in the API
refs #9081
2015-08-15 20:07:11 +02:00
Gunnar Beutner a092c13ace Implement support for persisting modified attributes
fixes #9093
2015-08-15 20:07:10 +02:00