Commit Graph

1920 Commits

Author SHA1 Message Date
Gunnar Beutner f69f7d61f2 Fix variable scope for object rules 2014-11-06 19:26:44 +01:00
Jean Flach fd0436689c windows build fix
refs #7597
2014-11-06 15:13:44 +01:00
Gunnar Beutner 61e090595e Fix build problem on Windows
fixes #7597
2014-11-06 14:21:22 +01:00
Gunnar Beutner 064407d3c9 Fix dynamic_cast problem
fixes #7586
2014-11-06 09:05:12 +01:00
Gunnar Beutner 8bbb2bfb7b Fix compiler warnings for the lexers 2014-11-06 06:23:45 +01:00
Michael Friedrich 5b5f92e57b Cli: Fix missing single quote in 'object list' output
fixes #7584
2014-11-05 18:23:40 +01:00
Gunnar Beutner 9e16e1d395 Remove some obsolete references to cJSON
refs #7452
2014-11-05 16:47:11 +01:00
Gunnar Beutner cfc418c9eb Fix operator shared_ptr<T> for the Value class
fixes #7586
2014-11-05 16:09:22 +01:00
Gunnar Beutner 32b0429904 Fix templates field
fixes #7585
2014-11-05 15:40:13 +01:00
Gunnar Beutner 18d317faf9 Fix crash in ApiEvents::CheckResultAPIHandler
fixes #7577
2014-11-05 09:58:43 +01:00
Gunnar Beutner ad14ff6d6b Fix memory leak in the config parser
refs #7566
2014-11-05 09:29:15 +01:00
Gunnar Beutner 4eb37563b4 Improve memory usage for the config compiler 2014-11-05 08:55:00 +01:00
Michael Friedrich c4ba3f6691 StatusDataWriter: Encode custom attr arrays&dictionaries as json string
refs #7560
2014-11-04 18:08:26 +01:00
Michael Friedrich eeb6facdac Livestatus: Add 'cv_is_json' and encode CV arrays/dicts as json
refs #7560
2014-11-04 17:39:28 +01:00
Gunnar Beutner de080e4928 Fix incorrect field name
refs #7566
2014-11-04 15:24:57 +01:00
Gunnar Beutner c1cbe157db Allow strings as indexers
refs #7566
2014-11-04 15:22:10 +01:00
Gunnar Beutner a6f20c7a22 Implement support for arbitrarily complex indexers
fixes #7566
2014-11-04 15:20:33 +01:00
Michael Friedrich 58d5c42d9c DB IDO: Dump custom attributes as json encoded arrays/dictionaries; add 'is_json' column
refs #7560
2014-11-04 13:47:45 +01:00
Gunnar Beutner 6cafce5d7e Build fix for RHEL 5 2014-11-04 11:18:35 +01:00
Gunnar Beutner a1c905bf62 Implement dictionary support for apply+for
fixes #7561
2014-11-04 11:02:10 +01:00
Gunnar Beutner 19a6a65aad Implement the random() function 2014-11-03 17:21:33 +01:00
Gunnar Beutner aa94563eb5 Implement the keys() function
fixes #7557
2014-11-03 13:05:14 +01:00
Gunnar Beutner e4a1572c9b Use double-quotes in "object list"
refs #7251
2014-11-03 12:39:59 +01:00
Gunnar Beutner 60859043c8 Fix non-unity builds 2014-11-03 07:07:54 +01:00
Gunnar Beutner 170c5a59e4 Implement typeof() function 2014-11-03 00:45:14 +01:00
Michael Friedrich db856a0eee Cli: Disable notifications on remote client 'node setup/wizard'
fixes #7547
2014-11-02 20:17:57 +01:00
Michael Friedrich f69527599f Cli: Fix serial.txt permissions for 'node setup/wizard'
fixes #7546
2014-11-02 19:38:35 +01:00
Michael Friedrich 30718813c9 Cli: Fix error message for clearing repository commit changes 2014-11-02 18:22:51 +01:00
Michael Friedrich a751dc0353 Cli: Better output formatting for 'node wizard' 2014-11-02 17:45:51 +01:00
Gunnar Beutner 46b149dd7d Implement support for formatting arrays in macro strings
fixes #7262
2014-11-02 07:35:43 +01:00
Gunnar Beutner 4677014b6d Implement support for arrays in custom variables
fixes #6544
2014-11-02 07:27:50 +01:00
Gunnar Beutner db3887d09e Make the 'name' attribute available in object definitions
fixes #7538
2014-11-01 06:39:21 +01:00
Gunnar Beutner d300ceaaf7 Fix: Nesting an object in a template causes the template to become non-abstract
fixes #7537
2014-11-01 06:25:58 +01:00
Gunnar Beutner 93b66a0c4a Clean up the config parser a bit 2014-11-01 05:23:14 +01:00
Gunnar Beutner 1811f8689b Make sure templates are never evaluated on their own
fixes #7536
2014-11-01 05:12:13 +01:00
Michael Friedrich 6bc2938996 Cli: Require --zone for 'node setup'
refs #7522
2014-10-31 22:21:36 +01:00
Michael Friedrich bc83c9a698 CLI Commands: Remove timestamp prefix when logging output
fixes #7376
2014-10-31 22:01:36 +01:00
Michael Friedrich 78140fa1c8 Cli: Repository should validate if object exists before add/remove
fixes #7461
2014-10-31 21:08:11 +01:00
Michael Friedrich 7c1cd4c506 Cli: Fix incorrect error message in 'node update-config'
fixes #7529
2014-10-31 20:35:05 +01:00
Michael Friedrich b60adade1a Cli: Fix confusing error messages in repository <type> add
fixes #7530
2014-10-31 20:27:10 +01:00
Michael Friedrich 6596192f2c Cli: Fix black/whitelist remove command
refs #7526
2014-10-31 20:22:24 +01:00
Michael Friedrich ce4dcea21f Change blacklist/whitelist backend
fixes #7526
2014-10-31 16:21:34 +01:00
Gunnar Beutner 6f160eda47 Remove static_cast optimization for Value's operator shared_ptr<T> 2014-10-31 14:34:28 +01:00
Gunnar Beutner 95b5e1d67b Move the "repository commit --clear" functionality into a separate command
fixes #7499
2014-10-31 13:27:29 +01:00
Gunnar Beutner 2ab43a63cb Rename templates "agent-{host,service}" to "satellite-{host,service}"
refs #7525
2014-10-31 13:15:51 +01:00
Gunnar Beutner 5aa392fa37 Update variable names
refs #7516
2014-10-31 11:55:38 +01:00
Gunnar Beutner 5d7e30bb81 Rename --agent to --zone (for blacklist/whitelist)
fixes #7516
2014-10-31 11:53:44 +01:00
Gunnar Beutner 79f1711a61 Rename CLI command "agent" to "node"
fixes #7525
2014-10-31 11:38:16 +01:00
Michael Friedrich 5eefda8b85 Cli: Fix import description for 'repository <type> add' 2014-10-31 11:20:14 +01:00
Gunnar Beutner f8799f0252 Use ScriptVariable::Get for "agent wizard" and "agent setup"
fixes #7520
2014-10-31 10:35:03 +01:00