Commit Graph

10550 Commits

Author SHA1 Message Date
Alexander A. Klimov 5882594b43 JsonEncode(): use nlohmann::json 2019-03-18 15:07:57 +01:00
Alexander A. Klimov 1b0367b740 JsonDecode(): use nlohmann::json::sax_parse() 2019-03-18 15:07:57 +01:00
Michael Friedrich 724b34c6f2 Integrate nlohmann_json into CMake
Better integration into base/json.cpp

Signed-off-by: Alexander A. Klimov <alexander.klimov@icinga.com>
2019-03-18 15:07:50 +01:00
Alexander A. Klimov 89b371813f Import "JSON for Modern C++" 2019-03-18 15:05:32 +01:00
Michael Friedrich 2de8bac588
Merge pull request #6990 from Icinga/bugfix/influxdbwriter-oom-6989
InfluxdbWriter: don't leak sockets
2019-03-18 14:38:04 +01:00
Michael Friedrich 66246bdb86
Merge pull request #6978 from Icinga/bugfix/doc-dep-boost
Doc: SLES 11 requires a newer boost version, too
2019-03-18 11:11:45 +01:00
Michael Friedrich d14352c844
Merge pull request #7025 from Icinga/feature/gitignore
Update .gitignore
2019-03-18 11:10:49 +01:00
Michael Friedrich e5cb90ec65 Update .gitignore 2019-03-18 11:05:39 +01:00
Michael Friedrich ea80d93efc
Merge pull request #7014 from Icinga/feature/utf8cpp
Utility::ValidateUTF8(): use UTF8-CPP
2019-03-18 10:57:03 +01:00
Michael Friedrich 804c00ece5
Merge pull request #6999 from Icinga/bugfix/compiler-warnings
Suppress or fix compiler warnings
2019-03-18 08:44:30 +01:00
Alexander A. Klimov 60ec11de73 Test Utility::ValidateUTF8() 2019-03-15 13:34:20 +01:00
Alexander A. Klimov a72f4db5c9 Utility::ValidateUTF8(): use UTF8-CPP 2019-03-15 13:34:20 +01:00
Alexander A. Klimov 85c0d2c2cc Integrate UTF8-CPP into CMake 2019-03-15 13:34:20 +01:00
Alexander A. Klimov dd15f33c17 Add 'third-party/utf8cpp/' from commit '82344d605146dca6b19abc21578482cecda7f5d7'
git-subtree-dir: third-party/utf8cpp
git-subtree-mainline: 002f8e36f5
git-subtree-split: 82344d6051
2019-03-15 13:33:44 +01:00
nemtrif 82344d6051
Merge pull request #23 from Al2Klimov/bugfix/license
Show license more prominently
2019-03-15 08:28:20 -04:00
Alexander A. Klimov ef7bf0f783 Show license more prominently 2019-03-15 10:11:42 +01:00
Alexander A. Klimov 188ff9b25a Assignment operators doc: tell what the { } are for
refs #5430

(cherry picked from commit 5e08e033ad)
2019-03-13 10:34:06 +01:00
Alexander A. Klimov c64f974f3c Doc: write systemd lower-case
See spelling chapter in https://freedesktop.org/wiki/Software/systemd/

(cherry picked from commit e7f2370ada)
2019-03-13 10:33:48 +01:00
Lee Garrett d4646acdbf Typo and link fix
(cherry picked from commit 0a582905c5)
2019-03-13 10:33:02 +01:00
Alexander A. Klimov 58c2ea8a76 Ignore failure of unit test base_utility/comparepasswords_issafe
... as volatile system load may cause false negatives

(cherry picked from commit 646feb76e0)
2019-03-13 10:32:18 +01:00
Michael Friedrich adf1549c2d
Merge pull request #6977 from Icinga/bugfix/base_utility-comparepasswords_issafe
Ignore failure of unit test base_utility/comparepasswords_issafe
2019-03-13 10:31:47 +01:00
Alexander A. Klimov 1436b7dc1c Don't require OS headers to provide SO_REUSEPORT
(cherry picked from commit bf0c68757f)
2019-03-13 10:31:09 +01:00
Michael Friedrich 026ed837ac
Merge pull request #6976 from Icinga/bugfix/so_reuseport-missing
Don't require OS headers to provide SO_REUSEPORT
2019-03-13 10:30:08 +01:00
Michael Friedrich 002f8e36f5
Merge pull request #7001 from Icinga/bugfix/doc-assignment-5430
Assignment operators doc: tell what the { } are for
2019-03-12 14:12:44 +01:00
Michael Friedrich 6d0431b0b2
Merge pull request #6979 from Icinga/bugfix/systemd-upper-case
Doc: write systemd lower-case
2019-03-11 11:44:21 +01:00
Michael Friedrich 69f073f903
Merge pull request #6991 from Icinga/bugfix/already-exist-critical
PkiUtility::NewCa(): just warn if the CA files already exist
2019-03-11 10:57:44 +01:00
Alexander A. Klimov 9f26569bcc check_network -h: drop non-existent feature
refs #6155
2019-03-08 16:55:06 +01:00
Alexander A. Klimov 5e08e033ad Assignment operators doc: tell what the { } are for
refs #5430
2019-03-08 16:39:23 +01:00
Alexander A. Klimov bf92e32496 Suppress or fix compiler warnings 2019-03-08 14:07:29 +01:00
Michael Insel 36fe6be4bf
Merge pull request #6995 from leegarrett/master
Typo and link fix
2019-03-06 19:14:42 +01:00
Lee Garrett 0a582905c5 Typo and link fix 2019-03-05 17:40:14 +01:00
Alexander A. Klimov 37b044ecda PkiUtility::NewCa(): just warn if the CA files already exist 2019-03-01 14:37:45 +01:00
Alexander A. Klimov 2a6b122413 InfluxdbWriter: don't leak sockets
refs #6989
2019-03-01 14:30:49 +01:00
Alexander A. Klimov a9841a9197 Defer: ensure not to throw any exceptions out of a destructor
refs #6989
2019-03-01 14:29:35 +01:00
Michael Friedrich e2df11520e
Merge pull request #6970 from Icinga/bugfix/perfdata-gaps
Improve reload handling for features (metric & queue flush, activation priority)
2019-02-26 15:38:15 +01:00
Alexander A. Klimov e7f2370ada Doc: write systemd lower-case
See spelling chapter in https://freedesktop.org/wiki/Software/systemd/
2019-02-26 14:46:22 +01:00
Alexander A. Klimov 74cb9f3a32 Doc: SLES 11 requires a newer boost version, too 2019-02-26 14:29:03 +01:00
Alexander A. Klimov 646feb76e0 Ignore failure of unit test base_utility/comparepasswords_issafe
... as volatile system load may cause false negatives
2019-02-26 11:45:03 +01:00
Alexander A. Klimov bf0c68757f Don't require OS headers to provide SO_REUSEPORT 2019-02-26 11:25:44 +01:00
Michael Friedrich bee909866b Merge branch 'support/2.10' 2019-02-26 10:31:50 +01:00
Michael Friedrich a7ea886f8f Release version 2.10.3 2019-02-26 10:31:47 +01:00
Michael Friedrich 87ae58f13d
Merge pull request #6974 from Icinga/feature/copyright-generic
Update to generic copyright header
2019-02-26 09:07:35 +01:00
Michael Friedrich c477018313
Merge pull request #6975 from sebastic/patch-1
Fix nested hostgroup example
2019-02-26 09:06:58 +01:00
Bas Couwenberg 8d3c8fd107
Fix nested hostgroup example
In Icinga 1.x the list of members was set on the group object, in Icinga 2 the list of groups is set on the member objects.
2019-02-26 08:49:36 +01:00
Michael Friedrich 101783d7ef Release version 2.10.3 2019-02-25 16:53:13 +01:00
Michael Friedrich 47c969eadc Dynamically print current copyright year in `--version` output
(cherry picked from commit c1fedab7ae)
2019-02-25 16:41:39 +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
Michael Friedrich c1fedab7ae Dynamically print current copyright year in `--version` output 2019-02-25 14:25:56 +01:00