Commit Graph

333 Commits

Author SHA1 Message Date
Gunnar Beutner 3e08f2e0b5 Make order for deferred initializers deterministic
refs #8791
2015-03-18 13:24:31 +01:00
Gunnar Beutner cfbda617c8 Fix incorrect type for the --app argument
refs #8791
2015-03-18 12:30:07 +01:00
Gunnar Beutner 50b1e1cf6b Fix livestatus unit tests
refs #8791
2015-03-18 12:11:42 +01:00
Gunnar Beutner 6c96d5bc98 Clean up the start-up process a bit
fixes #8791
2015-03-18 11:14:51 +01:00
Gunnar Beutner d0ac1bdebf Fix libreadline detection for Debian
refs #8776
2015-03-17 18:03:31 +01:00
Gunnar Beutner 37736caa5c Implement support for libedit
fixes #8776
2015-03-17 15:05:47 +01:00
Gunnar Beutner bcf4c46079 Fix missing program name in 'icinga2 --version'
fixes #8657
2015-03-09 15:02:53 +01:00
Gunnar Beutner b4143c2724 Fix memory leak when evaluating init.conf
refs #8593
2015-03-04 08:22:14 +01:00
Gunnar Beutner f515d5415c Fix crash when Utility::BaseName fails
Coverity Bug ID: 1167735
2015-03-03 09:24:21 +01:00
Gunnar Beutner ba6b92a929 Fix crash when specifying invalid argument for --autocomplete
Coverity Bug ID: 1167734
2015-03-03 09:24:10 +01:00
Jean-Marcel Flach 9ed21563ff Use RequestShutdown with exitcode instead of Application::Exit
fixes #8436
2015-02-27 14:43:30 +01:00
Gunnar Beutner d1d488a30d Fix app initialization
refs #6257
2015-02-20 20:45:41 +01:00
Gunnar Beutner 37e075c38a Move some of the initialization code into icinga-app
refs #6257
2015-02-20 19:57:26 +01:00
Gunnar Beutner 0f2598b43b Fix exception handler for --library on OS X
refs #8227
2015-02-13 09:19:01 +01:00
Gunnar Beutner 9dd0fba02f Improve error message for setgroups/initgroups/setuid
fixes #8294
2015-02-09 14:58:20 +01:00
Michael Friedrich 78bfd0204c Update copyright year 2015-01-22 12:00:23 +01:00
Jean Flach 5df5c1bf70 Rephrase 2 lines so they conform with the style 2015-01-21 16:36:30 +01:00
Jean Flach b0483490c8 Fix an Icinga crash, improve a log message
fixes #8227
2015-01-21 16:16:47 +01:00
Jean Flach bb25e5bd8a Make Icinga exit on invalid log-severity argument
fixes #8226
2015-01-15 11:45:12 +01:00
Tobias von der Krone 1fd2f09bae Use https://www.icinga.org as Icinga website url
For consistency use https://www.icinga.org for Icinga website url (beside
Copyright information) in all files

fixes 8222
2015-01-15 09:24:36 +01:00
Gunnar Beutner c433284d27 Improve error reporting
fixes #8136
refs #6070
2014-12-20 15:29:04 +01:00
Gunnar Beutner 97168378e8 Rename _DEBUG to I2_DEBUG
fixes #7767
2014-12-19 12:19:28 +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 af8aaf5bad Remove usage info from --version
fixes #8102
2014-12-18 05:28:51 +01:00
Gunnar Beutner 1cb0231c05 Refactor how variable scopes work
refs #8074
2014-12-14 11:33:45 +01:00
Gunnar Beutner 9386a58bf2 Implement an experimental variable to limit the number of threads 2014-11-16 13:14:42 +01:00
Gunnar Beutner dfd24e6359 Fix _DEBUG define on *NIX 2014-11-12 11:34:59 +01:00
Gunnar Beutner 02c559eff9 Fix crash in the unit tests
fixes #7648
2014-11-12 09:33:13 +01:00
Michael Friedrich bc83c9a698 CLI Commands: Remove timestamp prefix when logging output
fixes #7376
2014-10-31 22:01:36 +01:00
Gunnar Beutner 1c79503918 Improve formatting for --help
refs #7246
2014-10-29 07:51:35 +01:00
Michael Friedrich 4cf46de5ab Cli: Fix autocompletion on Debian
refs #7246
2014-10-27 14:13:55 +01:00
Gunnar Beutner 61b89bc7e6 Fix output formatting for --version
refs #7245
2014-10-24 15:54:32 +02:00
Gunnar Beutner 80a3298b5e Implement support for running specific CLI commands as root
fixes #7380
2014-10-24 15:29:46 +02:00
Gunnar Beutner 3979bd87b3 Validate number of arguments
fixes #7442
2014-10-24 13:19:00 +02:00
Gunnar Beutner 9c7d97b8bc Update the Windows agent wizard
refs #7241
2014-10-21 16:07:39 +02:00
Gunnar Beutner 2972c6bfe8 Implement the "variable" CLI command
fixes #7370
2014-10-20 21:14:56 +02:00
Gunnar Beutner 11426125e8 Add alias for --help
fixes #7421
2014-10-20 14:31:39 +02:00
Gunnar Beutner 5ddf5b3293 Improve --help formatting
refs #7246
2014-10-20 14:13:57 +02:00
Gunnar Beutner 26b9c5a81b Move clicommand.{cpp,hpp} to lib/cli
refs #7246
2014-10-20 14:06:21 +02:00
Gunnar Beutner 2d5e9514a5 Refactor logging code 2014-10-19 17:52:17 +02:00
Gunnar Beutner 8cc6368954 Implement generic color support for terminals
fixes #7396
2014-10-17 20:44:17 +02:00
Gunnar Beutner 7db8588980 Implement auto-completion for positional arguments
refs #7255
2014-10-17 15:54:46 +02:00
Gunnar Beutner 96eb2544c3 Call setuid()/setgid() after parsing arguments
refs #7375
2014-10-14 17:03:14 +02:00
Gunnar Beutner 2a60ce8625 Improve auto-completion for arguments
fixes #7375
2014-10-14 16:45:00 +02:00
Michael Friedrich d9f5409e8b CLI framework: Change unrecognized into positional options
refs #7371
2014-10-14 14:27:37 +02:00
Michael Friedrich 3513d1f2f9 CLI framework: Add support for unrecognized parameters
Required for feature enable command for example.

fixes #7371
2014-10-13 18:07:52 +02:00
Gunnar Beutner 15bd96aa9a Remove --user and --group
refs #7246
2014-10-13 16:07:04 +02:00
Gunnar Beutner 43bb5127ac Fix incorrect log message 2014-10-13 14:00:28 +02:00
Gunnar Beutner a01fb6d6e6 Make sure we're using the right user/group for CLI commands
refs #7246
2014-10-13 13:44:45 +02:00
Gunnar Beutner 50a1b243ed Hide some of the internal command-line arguments
refs #7246
2014-10-10 11:08:24 +02:00