Commit Graph

431 Commits

Author SHA1 Message Date
Alan Litster b0b09cef76 Fix type in nanorc syntax file 2019-06-20 13:46:38 +01:00
Markus Frosch ca67d7e963 windows: Improve Powershell Tools and AppVeyor config
[travis skip]
2019-04-05 09:03:04 +02:00
Dirk Goetz 1c30a571d4 SELinux: add a boolean to allow execution of plugins via sudo
Fixes #7039
2019-03-22 11:26:54 +01:00
Dirk Goetz 726be2fec2 SELinux: add unreserved_port_type attribute to icinga2_port_t
Fixes #7029
2019-03-18 19:43:47 +01:00
Michael Friedrich 37b715baf1 Replace a few more copyright strings 2019-02-25 16:30:40 +01:00
Michael Friedrich 458f997a18 Replace Copyright header with a short version, part II 2019-02-25 15:09:36 +01:00
Michael Friedrich d14a88235d Replace Copyright header with a short version, part I
CLion -> replace in path
2019-02-25 14:48:22 +01:00
Markus Frosch ace12db110 appveyor: Run Debug builds
[skip travis]
2018-12-18 12:23:39 +01:00
Markus Frosch fcfde9ac22 tools/win32: Invalidate CMake cache on build 2018-12-18 11:52:06 +01:00
Michael Friedrich 3cb2c1d143 icinga.com: Update everything else 2018-10-18 09:50:53 +02:00
Michael Friedrich 1a8a2c25f2 icinga.com: Update test and tools 2018-10-18 09:45:36 +02:00
Michael Friedrich dea5ec614e icinga.com: Update CMakeLists.txt 2018-10-18 09:35:18 +02:00
Michael Friedrich dab53448bc icinga.com: Update *.{h,c}pp 2018-10-18 09:27:04 +02:00
Michael Friedrich 355b21a04c Enhance vim syntax highlighting for 2.10
- object types (and 'host' inside apply) are now green again
- special underlined macro highlighting
- add missing object types, attributes and constants
- add new constants and namespaces/references for 2.10
- Large refactoring into sub matches

I don't use nano, so we need a nano hero to incorporate
these changes here into their syntax highlighting file :)

refs #5683
2018-10-10 15:35:30 +02:00
Jean Flach aed251a409
Merge pull request #6510 from Icinga/feature/windows-build-scripts
Update Appveyor build scripts
2018-08-24 14:31:57 +02:00
Michael Friedrich caefa58cf6 Mkclass: Only render setter if not declared pure virtual 2018-08-10 10:55:42 +02:00
Markus Frosch b6c674e716 Update windows build scripts 2018-08-03 11:11:39 +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
Michael Friedrich ce851c8815 Release version 2.5.2 2016-08-24 15:19:50 +02:00
Michael Friedrich 2b6b696616 Release version 2.5.1 2016-08-23 14:58:24 +02:00
Gunnar Beutner 5e8ae440c0 Release version 2.5.0 2016-08-22 17:43:55 +02:00
Gunnar Beutner 4c011c5eaa Revert "RPM: Add firewalld service"
This reverts commit 28e40caed2.

fixes #12495
2016-08-22 13:32:59 +02:00
Gunnar Beutner b7a1b58069 Improve performance for type lookups
fixes #12448
2016-08-16 11:02:33 +02:00
Gunnar Beutner 06b5f06494 Change wording for the function validation message
refs #12393
2016-08-12 07:58:24 +02:00
Gunnar Beutner 54bbaf9f7d Implement support for marking functions as deprecated
fixes #12393
2016-08-10 15:48:05 +02:00
Gunnar Beutner 9f425cdcaf Fix building Icinga with -fvisibility=hidden
fixes #12331
2016-08-09 09:00:19 +02:00
Michael Friedrich 88975a8e07 Remove obsolete README files in tools/syntax
fixes #12302
2016-08-03 15:55:41 +02:00
Gunnar Beutner f8eb29f139 Release version 2.4.10 2016-05-19 13:39:19 +02:00
Gunnar Beutner e2f106b7ca Release version 2.4.9 2016-05-19 09:55:08 +02:00
Gunnar Beutner 9edda76af2 Release version 2.4.8 2016-05-12 14:06:28 +02:00
Gunnar Beutner b8e911b0e5 Make sure the dependency graph is properly updated when adding and removing objects
fixes #11686
fixes #11374
2016-05-09 14:30:12 +02:00
Michael Friedrich b6435142f7 Update chocolatey packages and RELEASE.md
fixes #11647
2016-04-21 14:03:42 +02:00
Gunnar Beutner a9da311cbe Release version 2.4.7 2016-04-21 12:32:26 +02:00
Gunnar Beutner df25ee49ba Release version 2.4.6 2016-04-20 18:46:06 +02:00
Gunnar Beutner 2e5164f417 Release version 2.4.5 2016-04-20 10:21:49 +02:00
Nicolas Limage daa067dabe Fix typo in vim syntax highlighting
fixes #11617

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2016-04-19 12:01:12 +02:00
Rune Darrud 6cd0d53f28 Add support for msi uninstallation in Chocolatey package
refs #11587
2016-04-14 08:29:58 +02:00
Gunnar Beutner 2bf5f4d497 Fix compiler warning in *::NotifyActive
fixes #11577
2016-04-13 08:59:06 +02:00
Gunnar Beutner 4fe7076b5f Update Chocolatey scripts to support the new MSI package
refs #11449
2016-04-12 12:27:33 +02:00
Gunnar Beutner eb0892273e Implement the DateTime class
fixes #9839
2016-03-29 13:27:20 +02:00
Gunnar Beutner 5de9a988d9 Improve validation for arrays
fixes #11434
2016-03-24 09:15:39 +01:00
Dirk Goetz 28e40caed2 RPM: Add firewalld service
fixes #10718
2016-03-21 20:59:50 +01:00
Gunnar Beutner b39be65ccd Release version 2.4.4 2016-03-16 09:48:38 +01:00
Rune Darrud 47c32536b0 Add uninstall to the chocolatey package
refs #11369
2016-03-14 18:42:10 +01:00
Michael Friedrich 8a81dac9f5 Release version v2.4.3 2016-02-24 14:26:59 +01:00
Gunnar Beutner f7a08a60ae Release version 2.4.2 2016-02-23 12:58:45 +01:00
Gunnar Beutner 599929b0f6 Update copyright headers for 2016 2016-01-12 08:29:59 +01:00
Michael Friedrich 9289971829 Remove IcingaStatusWriter feature
fixes #10140
2015-11-26 19:30:40 +01:00
Gunnar Beutner bcdcfa9f81 Release version 2.4.1 2015-11-26 11:20:03 +01:00
Gunnar Beutner e9db4bc1b9 Update changelog and spec files
refs #10593
2015-11-14 06:21:02 +01:00
Michael Friedrich 2cf0df2675 Remove obsolete script 2015-11-09 13:37:32 +01:00
Gunnar Beutner 050c520b2a Convert Comment/Downtime to config objects
fixes #9777
2015-10-28 17:56:29 +01:00