Commit Graph

365 Commits

Author SHA1 Message Date
Michael Friedrich caefa58cf6 Mkclass: Only render setter if not declared pure virtual 2018-08-10 10:55:42 +02:00
Dirk Goetz 4c803db80c SELinux: allow systemd notify
fixes #6443
2018-07-18 06:49:24 +00:00
Dirk Goetz 00214e597e SELinux: Allow notification plugins to read local users and connect to a web api
fixes #6028
2018-06-01 10:29:20 +00:00
Jean Flach c54e042942 Add activation priorities for config object types
This patch ensures that specific configuration types
are pre-activated and post-activated. In general,
logging is first, then common configuration objects
like host/service, downtimes, etc.
In the end, all features are activated after to ensure
that notifications are only sent once downtimes are applied.
A similar thing happens for starting with checks too early.
The ApiListener feature runs first to allow cluster connections
at first glance.

fixes #6057
fixes #6231
2018-05-04 11:25:47 +02:00
Markus Frosch 4a1375cc5f Add AppVeyor definition 2018-02-07 20:30:36 +01:00
Markus Frosch 5936c0db6f windows: Add build scripts 2018-02-07 16:07:25 +01:00
Gunnar Beutner 30a3e95acb Remove Icinga development docker scripts 2018-02-02 07:26:44 +01:00
Jean Flach 1da6b2c883 Fix whitespaces in CMakeLists files
Uses 2 space indentation as standard
2018-01-19 09:19:40 +01:00
Gunnar Beutner ae2b91a308 Fix incorrect dependencies for mkunity targets 2018-01-18 11:32:06 +01:00
Dirk Goetz 00a07a86b0 SELinux: Allows icinga2_t to send sigkill to all domains it transitions to
Fixes #5916
2018-01-15 15:05:09 +01:00
Gunnar Beutner 21254fb610 Avoid accessing attributes for validators where not necessary 2018-01-11 08:20:16 +01:00
Gunnar Beutner 858961b8ec
Merge pull request #5945 from Icinga/fix/mkclass-indentation
Fix incorrect indentation for code generated by mkclass
2018-01-04 12:41:52 +01:00
Gunnar Beutner 91c256261a Apply clang-tidy fix 'modernize-use-default-member-init' 2018-01-04 12:24:58 +01:00
Gunnar Beutner e0174b8f3f Apply clang-tidy fix 'modernize-return-braced-init-list' 2018-01-04 12:24:57 +01:00
Gunnar Beutner becfa85094 Apply clang-tidy fix 'modernize-use-emplace' 2018-01-04 12:24:57 +01:00
Gunnar Beutner e3ad0be769 Apply clang-tidy fix 'modernize-use-auto' 2018-01-04 12:24:57 +01:00
Gunnar Beutner d6062eefbf Apply clang-tidy fix 'modernize-raw-string-literal' 2018-01-04 12:24:57 +01:00
Gunnar Beutner 621eed3f13 Apply clang-tidy fix 'modernize-pass-by-value' 2018-01-04 12:24:57 +01:00
Gunnar Beutner 6da7d48d25 Apply clang-tidy fix 'modernize-loop-convert' 2018-01-04 12:24:57 +01:00
Gunnar Beutner 9ca682496c Apply clang-tidy fix 'modernize-use-override' 2018-01-04 12:24:57 +01:00
Gunnar Beutner ac155d1dda Apply clang-tidy fix 'modernize-redundant-void-arg' 2018-01-04 12:24:57 +01:00
Gunnar Beutner d9020f264f Fix incorrect indentation for code generated by mkclass 2018-01-04 06:06:33 +00:00
Gunnar Beutner 75e2473616 Clean up source lists in the CMakeLists.txt files 2018-01-03 11:47:46 +01:00
Gunnar Beutner fe8572d75b Remove inline methods and use explicit template instantiation to minimize the number of weak symbols 2018-01-03 11:04:58 +01:00
Gunnar Beutner 90496b5456 Build libraries as static libraries 2018-01-02 23:29:48 +01:00
Michael Friedrich 5563665b7d
Merge pull request #5929 from Icinga/feature/remove-boost-assign
Get rid of boost::assign::list_of in mkclass
2018-01-02 13:47:19 +01:00
Michael Insel 158ae2188e Change copyright header for 2018 2018-01-02 12:08:55 +01:00
Gunnar Beutner c6d8483277 Get rid of boost::assign::list_of in mkclass 2018-01-02 08:51:19 +01:00
Jean Flach 2636e6a77a Whitespace fix
What does this change?
* Remove use of spaces for formatting
These could be found by using `grep -r -l -P '^\t+ +[^*]'
* Removal of training whitespaces
* A few lines longer than 120 chars
2017-12-20 14:53:52 +01:00
Gunnar Beutner 1ad83886ac Replace a few more NULLs with nullptr 2017-12-14 15:37:20 +01:00
Gunnar Beutner bd20951acd mkclass: Fix compiler warnings in auto-generated code 2017-12-14 08:50:09 +01:00
Gunnar Beutner 4ab2a21467 Make default getters and setters non-virtual 2017-11-15 11:37:23 +01:00
Gunnar Beutner cc5bc6c872 Make the 'deprecated' keyword work for all field types 2017-10-24 15:54:16 +02:00
Gunnar Beutner f2d437e96c Implement support for migrating certificates to /var/lib/icinga2/certs
This commit includes documentation too.

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-10-20 14:06:02 +02:00
Gunnar Beutner dd9724bc55 Fix compiler warnings on macOS 10.13 2017-10-02 09:13:37 +02:00
Dirk Goetz 75e086747a SELinux: fixes for 2.7.0
allow Icinga2 to connect to its own API
allow execution of hostname for notification plugin

refs #5479
2017-08-14 11:48:08 +00:00
Andreas Scherbaum 775bee8fe1 Replace http:// links with https:// links where a secure website exists
Leave out tests and third party tools, and license strings

fixes #5151

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-04-20 11:33:27 +02:00
Dirk Goetz bb01dbd953 Improve SELinux policy
fixes #4781

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-02-13 13:41:56 +01:00
Michael Friedrich b7caf0820d Ensure that *.icinga.com is used everywhere
fixes #13897
fixes #13277
2017-01-10 17:19:12 +01:00
Gunnar Beutner 17029e3161 Suppress compiler warnings for auto-generated code
fixes #12635
2016-09-05 06:51:31 +02:00
Gunnar Beutner e298191c2e Improve support for building the chocolatey package
fixes #12603
2016-08-31 14:55:20 +02:00
Michael Friedrich 50d29ea23b Release version 2.5.4 2016-08-30 15:16:31 +02:00
Gunnar Beutner 72e4e4facc Make GCC 4.6 happy
refs #12576
2016-08-28 14:33:42 +02:00
Gunnar Beutner e5af5b5dd3 Use raw string literals in mkembedconfig
fixes #12576
2016-08-28 11:01:45 +02:00
Gunnar Beutner 45c1e57842 Use range-based for loops in mkclass
refs #12538
refs #12509
2016-08-27 12:17:10 +02:00
Gunnar Beutner dac0ff9343 Improve config validation for arrays of object names
fixes #12556
2016-08-26 10:36:53 +02:00
Gunnar Beutner 3a5d48d681 Release version 2.5.3 2016-08-25 08:09:54 +02:00
Gunnar Beutner 288413f046 Replace BOOST_FOREACH with range-based for loops
fixes #12538
2016-08-25 06:46:17 +02:00
Gunnar Beutner 429d11daa8 Fix compiler warnings
fixes #12534
2016-08-24 20:33:34 +02:00
Gunnar Beutner ae1ab5f865 Implement unit tests for state changes
fixes #12530
2016-08-24 19:45:52 +02:00