Commit Graph

227 Commits

Author SHA1 Message Date
Gunnar Beutner 4e96d48e87 Fix incorrect source line info in the CLI console
fixes #8240
2015-01-16 10:07:11 +01:00
Gunnar Beutner a20d168340 Remove libreadline support
fixes #8168
2015-01-13 14:45:38 +01:00
Jean Flach 75682dc8e8 Fix single global options not working correctly on non-Linux systems
fixes #8196
2015-01-13 14:05:28 +01:00
Gunnar Beutner 82a31c9b20 Rename the "repl" command to "console"
fixes #8167
2015-01-12 14:31:33 +01:00
Michael Friedrich 2069fb6400 Fix wrong host/node name in update-config blacklist
fixes #8181
2015-01-09 14:25:45 +01:00
Michael Friedrich 123f7fd552 Fix crash in node update-config
fixes #8182
2015-01-09 14:11:36 +01:00
Michael Friedrich 0eb6e174c8 Incorrect ticket number shouldn't cause "node wizard" to terminate
fixes #8125
2015-01-08 17:09:31 +01:00
Gunnar Beutner 3e64b642ca Make sure that "feature enable" uses relative paths for the symlinks
fixes #8121
2014-12-20 08:39:12 +01:00
Gunnar Beutner 4e5649f0d7 Disable vfork() on OS X
fixes #8131
2014-12-19 16:04:34 +01:00
Gunnar Beutner b78a8b6c77 Allow relative paths for the UNIX socket
refs #7805
2014-12-19 12:33:51 +01:00
Gunnar Beutner 97168378e8 Rename _DEBUG to I2_DEBUG
fixes #7767
2014-12-19 12:19:28 +01:00
Gunnar Beutner 6383da1f2f Replace spaces with tabs 2014-12-18 17:06:00 +01:00
Gunnar Beutner 9f18211ada Remove obsolete code
refs #7709
2014-12-18 15:57:30 +01:00
Gunnar Beutner 873e294158 Refactor the WorkQueue class to make error reporting easier
refs #7709
2014-12-18 15:11:57 +01:00
Gunnar Beutner c3cf7682b9 Clean up the DebugInfo class
refs #7709
2014-12-18 12:58:46 +01:00
Gunnar Beutner c90c8919ca Fix the dependency nightmare that is libreadline
refs #8091
2014-12-17 10:24:13 +01:00
Gunnar Beutner 3436dbc697 Fix incorrect package name for SLES/openSUSE
refs #8091
2014-12-17 09:30:54 +01:00
Gunnar Beutner 92eb6a2f45 Update documentation for libreadline requirement
fixes #8091
2014-12-17 09:07:05 +01:00
Gunnar Beutner aa795c1b81 Build fix for Windows
refs #7805
2014-12-16 21:28:16 +01:00
Gunnar Beutner f800630c10 Implement Livestatus support for the "repl" command
refs #7805
2014-12-16 19:28:46 +01:00
Gunnar Beutner d82defe6a9 Add readline support for the "repl" command
fixes #8091
2014-12-16 13:26:26 +01:00
Gunnar Beutner 27db75fbe6 Add version output to the "repl" command
refs #7805
2014-12-16 10:36:59 +01:00
Michael Friedrich 938ae083cd Cli: "node wizard" shouldn't crash when SaveCert fails
fixes #7707
2014-12-15 13:08:30 +01:00
Gunnar Beutner 55b7f00382 Remove unnecessary includes 2014-12-15 10:16:06 +01:00
Gunnar Beutner c7d9c415eb Disable impersonation for the "repl" command
refs #7805
2014-12-15 08:38:03 +01:00
Gunnar Beutner 1cb0231c05 Refactor how variable scopes work
refs #8074
2014-12-14 11:33:45 +01:00
Gunnar Beutner 83058d1123 Backport i2tcl's error reporting functionality into "icinga2 repl"
fixes #8078
2014-12-13 21:16:55 +01:00
Gunnar Beutner cfd775c948 Move the VMFrame class to libbase
refs #8065
2014-12-12 15:33:56 +01:00
Michael Friedrich ebc0845853 Cli: Don't parse node repository files twice in 'node update-config'
refs #7917
2014-12-11 14:47:46 +01:00
Michael Friedrich eb4de1884c Cli: Make sure to check for removed nodes only once in 'node update-config'
fixes #7917
2014-12-10 18:48:35 +01:00
Gunnar Beutner 2720333d6e Fix missing location information for included files
fixes #7927
2014-12-10 15:06:09 +01:00
Gunnar Beutner c1ac548a77 Escape special characters in repository file names
fixes #7618
2014-12-10 13:20:16 +01:00
Gunnar Beutner 2a2460ae67 Fix crash in RepositoryUtility::AddObject
refs #7822
2014-12-10 10:35:18 +01:00
Gunnar Beutner 98375df4d7 Fix config validation in RepositoryUtility::AddObject
refs #7701
2014-12-09 14:55:29 +01:00
Michael Friedrich d21b3aba52 cli: Fix node update-config errors
* fix hosts not created if config and inventory.index are missing.
* fix segfault if host already exists in inventory
* fix that newly listed node hosts are not added to the config repo
* fix repository removal of remove host/services on remote nodes
* fix missing/wrong locks for dictionaries
* fix missing directory create/chown

fixes #7518
fixes #7878
fixes #7917
fixes #7891

Conflicts:
	lib/cli/objectlistcommand.cpp
2014-12-04 17:56:28 +01:00
Gunnar Beutner ab63fca3d5 Make the config parser thread-safe
fixes #7822
2014-11-28 06:48:27 +01:00
Gunnar Beutner b61f803d60 Show source line information for the "repl" command
refs #7805
2014-11-28 06:29:38 +01:00
Michael Friedrich 6332921fb6 Cli: Ensure that repository path is created on 'node add' command
fixes #7743
2014-11-27 18:15:14 +01:00
Gunnar Beutner 75d90d5963 Fix a crash in the "repl" command
refs #7805
2014-11-23 19:13:42 +01:00
Gunnar Beutner 14c94fabde Add missing return value for ReplCommand::Run
refs #7805
2014-11-23 13:41:45 +01:00
Gunnar Beutner fc1d872df8 Add color tags to the repl command
refs #7805
2014-11-23 12:38:16 +01:00
Gunnar Beutner 8d0ddb7c8c Implement more unit tests
refs #7805
2014-11-23 12:35:13 +01:00
Gunnar Beutner 037b886584 Remove the C++ code generator
refs #7699
2014-11-22 19:24:13 +01:00
Gunnar Beutner f5766f9118 Refactor the stack frame handling for scripts
fixes #7748
2014-11-22 19:24:03 +01:00
Gunnar Beutner 764d72a61a Improve error messages for the config parser
refs #7699
2014-11-21 09:07:08 +01:00
Gunnar Beutner 8e265b7b7f Implement a C++ code generator for libconfig
fixes #7699
fixes #7704
fixes #7706
2014-11-20 21:53:32 +01:00
Gunnar Beutner 06e72d134b Fix incorrect error message for localhost (in "node update-config")
fixes #7754
2014-11-20 14:54:44 +01:00
Gunnar Beutner f84cc8de39 Implement support for signals
fixes #7744
2014-11-20 06:54:48 +01:00
Gunnar Beutner cbaece61e7 Fix another incorrect argument name
refs #7726
2014-11-18 16:48:58 +01:00
Gunnar Beutner d532300cba Add an option that hides CLI commands
fixes #7702
2014-11-17 18:42:22 +01:00