Commit Graph

392 Commits

Author SHA1 Message Date
Gunnar Beutner 14a5be30e0 Fix error handling for FeatureUtility::GetFeatures
fixes #11349
2016-03-15 13:15:01 +01:00
Michael Friedrich 5516427446 Fix: Common name in node wizard isn't case sensitive
fixes #11159
2016-03-11 15:57:10 +01:00
Michael Friedrich 3979ec9b15 Fix wrong log message in 'node setup' cli command
fixes #11209
2016-03-11 15:48:18 +01:00
Michael Friedrich e4b99ca87e Ensure that config files are readable by the daemon
refs #11212
refs #11211
2016-02-24 14:25:09 +01: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
Jean Flach 3b70bab4d7 Use ConfigWriter class in repositoryutility.cpp
refs #10989
2016-02-23 10:46:20 +01:00
Jean Flach 2052edff9f Refactor String-Escape in repositoryutility
fixes #10989
2016-02-23 10:46:20 +01:00
Michael Friedrich abce99daff Fix: Escaped sequences not properly generated with 'node update-config'
fixes #10989
2016-02-23 10:46:20 +01:00
Jean Flach fd85379f5c Rephrase some log messages
refs #11122
2016-02-23 10:46:19 +01:00
Gunnar Beutner 7f774024d9 Fix: "node setup" tries to chown() files before they're created
fixes #11204
2016-02-23 09:52:36 +01:00
Gunnar Beutner 85c962a587 Decode cluster messages in the WorkQueue threads
refs #11014
2016-02-23 09:31:52 +01:00
Michael Friedrich 9de34e09b1 Fix that "repository add" writes invalid "type" attribute
fixes #10867
2016-02-23 09:16:47 +01:00
Michael Friedrich 99efc7be2c Fix failed reload via systemd
fixes #10226
2016-02-23 09:16:01 +01:00
Michael Friedrich 2f8d416da0 Change log level for authoritative zone config includes
LogWarning will make users wonder about a problem each time
Icinga 2 starts.

refs #10819
2016-02-23 09:09:55 +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
Gunnar Beutner c544c686a8 Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
Gunnar Beutner 8b74fc91a9 Remove the local zone name question in node wizard
fixes #10724
2015-12-08 15:48:05 +01:00
Jean Flach 2eac563c98 Update default port behaviour in node wizard
fixes #10728
2015-12-08 15:47:00 +01:00
Jean Flach 4e05a4ca7f Fix return value in PkiUtility
refs #10632
2015-11-26 11:19:33 +01:00
Jean Flach c55f97a0e5 Update node wizard
The wizard now displays basic information on the to-be-imported master
certificate and asks the user for confirmation.

fixes #10632
2015-11-26 10:29:43 +01:00
Gunnar Beutner 05af1cba0d Use the NodeName constant in 'api setup'
fixes #10641
2015-11-26 08:12:13 +01:00
Gunnar Beutner bf97d7cc57 Hide the --master_zone option in --help because it's not currently implemented
fixes #10720
2015-11-25 19:00:25 +01:00
Gunnar Beutner 93c5fc5b82 Use the ZoneName and NodeName constants for 'node setup' and 'node wizard'
refs #10716
2015-11-25 17:44:45 +01:00
Jean Flach 65018fb75b Fix master zone name
fixes #10716
2015-11-25 17:44:31 +01:00
Gunnar Beutner 33fbd6c877 Fix race condition in the ConfigItem class
fixes #10643
2015-11-25 13:22:32 +01:00
Gunnar Beutner 24b7089964 Fix: CLI command 'repository add' doesn't work
fixes #10690
2015-11-20 15:53:56 +01:00
Michael Friedrich aaa9715a67 Fix pki new-ca not checking for existing ca files
fixes #10677
2015-11-19 17:11:21 +01:00
Gunnar Beutner 2d2e7ecdb2 Improve location information for exceptions
fixes #10568
2015-11-10 17:05:40 +01:00
Gunnar Beutner 679983dd9a Rename $quit to $continue
refs #10559
2015-11-09 11:08:35 +01:00
Michael Friedrich b7f923dd01 'api setup' must not override existing certificate and api-users.conf file
fixes #10560
2015-11-08 14:19:06 +01:00
Michael Friedrich 1c8531fc0d Fix: 'api setup' should create a user even when api feature is already enabled
fixes #10560
2015-11-08 14:06:36 +01:00
Gunnar Beutner 9830ea6ea7 Remove duplicate text in an error message
refs #10559
2015-11-07 10:31:09 +01:00
Gunnar Beutner dcfc171c61 Improve messages for the debugger
refs #10559
2015-11-07 10:22:55 +01:00
Gunnar Beutner a6c411c6cb Fix: Autocompletion doesn't work in the debugger
fixes #10559
2015-11-07 10:17:55 +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
Michael Friedrich 5d46f661ea Implement 'console' cli command using the API
fixes #10387
2015-11-04 16:01:06 +01:00
Gunnar Beutner e3efe208bb Fix spelling mistake in 'node wizard' 2015-10-29 08:14:56 +01:00
Gunnar Beutner 15addb4e7c Use the correct zone name for parent_zone when running 'icinga2 node update-config'
fixes #10479
2015-10-29 08:14:55 +01:00
Gunnar Beutner dd77863910 Implement Array::ToString and Dictionary::ToString
fixes #10329
2015-10-26 11:05:24 +01:00
Mhd Sulhan 977d94839b CLI: Hide "Command options" if command is null
Before this commit, if icinga2 command executed without any argument,
the program will print empty "Command options".

While at it, clean the whitespaces.

fixes #10439

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
2015-10-26 08:05:09 +01:00
Gunnar Beutner 12015e0eca Clean up the 'api setup' command a bit more
refs #9471
2015-10-26 07:03:41 +01:00
Gunnar Beutner b72ba2b63a Fix incorrect return value for ApiSetupUtility::SetupMaster
refs #9471
2015-10-25 19:57:57 +01:00
Gunnar Beutner f31837a6ba Clean up the 'api setup' command
refs #9471
2015-10-22 16:03:26 +02:00
Gunnar Beutner 3c6f0e31d9 Make sure the timer thread is gone when calling fork()
refs #10410
2015-10-20 23:02:11 +02:00
Jean Flach 6b92c6028b Reword nodeutility output
The old comment had a few minor problems:
* Two spaces after 'named'
* No space between // and the begining of the message
* Incorrect capitalization

And one major:
* Incorrectly calling a zone a node

But all of this is subject to change through the use of the configwriter
anyways.

fixes #10406
2015-10-20 12:56:26 +02:00
Gunnar Beutner d01f09f3ef Hide internal attributes in the API
fixes #10393
2015-10-20 08:25:10 +02:00
Gunnar Beutner 2484016c54 Fix crash in RepositoryUtility::AddObject
fixes #10326
2015-10-13 09:15:06 +02:00
Gunnar Beutner 425a1a0166 Implement API permissions
fixes #9088
2015-09-28 14:30:46 +02:00