Commit Graph

9360 Commits

Author SHA1 Message Date
Jean Flach ee5954726d Authenticate API user before parsing body 2018-02-20 13:32:04 +01:00
Jean Flach 73b85bcccb Only read body from authenticated connections
This means we are not allowing unauthenticated requests anymore
2018-02-20 13:32:04 +01:00
Jean Flach 81c4004894 Fix nullptr deref 2018-02-20 13:32:04 +01:00
Gunnar Beutner a9f2a8de19 Add HTTP Header size limits 2018-02-20 13:32:04 +01:00
Gunnar Beutner 2789d1a859 Add validation for HTTP connection sizes 2018-02-20 13:32:04 +01:00
Jean Flach 7bb8192f4e
Merge pull request #6102 from Icinga/fix/doc-typo-apply-for
Fix typo in Apply for Rules documentation
2018-02-20 11:08:06 +01:00
Jean Flach 54384528ed Fix crash in api user command 2018-02-20 09:45:55 +01:00
Michael Insel 3b47d201c2 Fix typo in Apply for Rules documentation
fixes 6100
2018-02-19 22:11:12 +01:00
Gunnar Beutner 8a8d42b154 Remove redundant 'this->' 2018-02-19 08:08:16 +01:00
Jean Flach 0a0795f09d Code style 2018-02-16 11:47:13 +01:00
Gunnar Beutner 6e3347b5bf Remove debug output in ApiUserCommand::Run 2018-02-16 11:46:43 +01:00
Gunnar Beutner f4403daef8 Properly escape strings in ApiUserCommand::Run 2018-02-16 11:46:43 +01:00
Jean Flach c7ae986d94
Merge pull request #5981 from dgoetz/fix/selinux-influxdb
SELinux: Add InfluxDB as example for services requiring `icinga2_can_connect_all`.
2018-02-15 14:30:36 +01:00
Jean Flach 2bd35aa357 Improve api user command
--oneline can now be used to print out only the password hash string.
This can be used to update ApiUser passwords through the API. There is
also now a validation to make use salt does not contain a '$' which
would break verification.
2018-02-15 13:09:22 +01:00
Jean Flach df86245fe8 Fix crash when using incorrectly formatted password hash 2018-02-15 13:09:22 +01:00
Jean Flach 65a806f5dc Move new password functions into tlsutility 2018-02-15 13:09:22 +01:00
Jean Flach 92e2faaa08 Hash API password and comparison
fixes #4920
2018-02-15 13:09:22 +01:00
Gunnar Beutner 34a046cd00
Merge pull request #6090 from dgoetz/fix/notification-urlencoding
Fixed URL encoding for HOSTNAME and SERVICENAME in mail notification
2018-02-15 10:46:27 +01:00
Dirk Goetz 9b9c5120cb Fixed URL encoding for HOSTNAME and SERVICENAME in mail notification
Refs #5540
2018-02-14 15:41:54 +01:00
Michael Friedrich 6f7739b1cb Docs: Fix bracket in notification example
refs #6089
2018-02-14 13:06:41 +01:00
Michael Friedrich f3e747509c
Merge pull request #6089 from Icinga/fix/docs-notification-example
Docs: Fix bracket in notification example
2018-02-14 13:06:08 +01:00
Michael Friedrich 59494d868a Docs: Fix bracket in notification example 2018-02-14 13:04:42 +01:00
Dirk Goetz aff6b11421 SELinux: Add InfluxDB as example for services requiring `icinga2_can_connect_all`.
Fixes #5915
2018-02-14 11:33:15 +01:00
Gunnar Beutner 23d69c9e4e
Merge pull request #6067 from Icinga/feature/windows-appveyor
Improve Windows builds and testing
2018-02-13 08:11:10 +01:00
Michael Friedrich 2fee533b32 Upgrading: Make it more clear that the Director script is just an example
refs #6086
2018-02-12 13:44:56 +01:00
Michael Friedrich e8b4f53466
Merge pull request #6086 from Icinga/fix/doc-upgrading-cert-migration-example
Upgrading: Make it more clear that the Director script is just an example
2018-02-12 13:44:30 +01:00
Michael Friedrich f45491cc47 Upgrading: Make it more clear that the Director script is just an example 2018-02-12 09:49:11 +01:00
Michael Friedrich bb96b77425
Merge pull request #6085 from Icinga/fix/crash-no-endpoint-message-sent
Fix crash with anonymous clients on certificate signing request and storing sent bytes
2018-02-09 17:30:05 +01:00
Michael Friedrich ad7e801db9 Fix crash with anonymous clients on certificate signing request and storing sent bytes
refs #5753
2018-02-09 17:18:20 +01:00
Jean Flach d578b742ac
Merge pull request #6026 from Icinga/feature/windows-flapping
Fix flapping support for Windows
2018-02-09 15:12:36 +01:00
Michael Friedrich 0789d21ec1
Merge pull request #6083 from Icinga/fix/configitem-type-log
Fix wrong type logging in ConfigItem::Commit
2018-02-09 14:57:45 +01:00
Michael Friedrich e3c27dd838
Merge pull request #6078 from Icinga/feature/random-check-metrics
Add more metrics and details to built-in 'random' check
2018-02-09 14:08:49 +01:00
Michael Friedrich 495b6906f7 Fix wrong type logging in ConfigItem::Commit 2018-02-09 14:04:50 +01:00
Markus Frosch b633e359c0 Update gitignore 2018-02-07 20:30:37 +01:00
Markus Frosch 1be285c530 test-runner: Replace initialization by global fixture
This is required to even be able to build tests static
for Windows.
2018-02-07 20:30:37 +01:00
Markus Frosch 7d189b58f8 test/cmake: Don't force dynamic builds for testing 2018-02-07 20:30:36 +01:00
Markus Frosch 4a1375cc5f Add AppVeyor definition 2018-02-07 20:30:36 +01:00
Markus Frosch b20c3ec61a doc: Update BUILD_WINDOWS for AppVeyor and scripts 2018-02-07 16:07:25 +01:00
Markus Frosch 5936c0db6f windows: Add build scripts 2018-02-07 16:07:25 +01:00
Markus Frosch 34d31a8a41 doc: Add Windows build instructions
[ci skip]
2018-02-07 16:07:25 +01:00
Michael Friedrich 407a2d052b
Merge pull request #6080 from Icinga/feature/docs-api-ignore-on-error
Document the 'ignore_on_error' attribute for object creation
2018-02-06 18:10:12 +01:00
Michael Friedrich e3b6a89422 Document the 'ignore_on_error' attribute for object creation
fixes #5797
2018-02-06 18:03:36 +01:00
Michael Friedrich 7c66f889d4
Merge pull request #6077 from Icinga/fix/api-actions-cr-perfdata
Allow to pass raw performance data in 'process-check-result' API action
2018-02-06 17:40:51 +01:00
Michael Friedrich bdeba19a00 Add more metrics and details to built-in 'random' check
This helps us with demo graphs in Graphite/InfluxDB as well
as other historical views.

fixes #5787
2018-02-06 16:01:07 +01:00
Michael Friedrich 12471bf259 Allow to pass raw performance data in 'process-check-result' API action
This is how data is coming from Icinga Web 2 and still a valid input
type.

fixes #4786
2018-02-06 15:25:55 +01:00
Noah Hilverling e1e06ce767
Merge pull request #5988 from Icinga/fix/concurrent-checks-limit-cluster
Fix concurrent checks limit while using command_endpoint
2018-02-06 14:13:49 +01:00
Michael Friedrich 7f09fb1f65 Explain how to register functions in the global scope
refs #6075
2018-02-06 13:31:47 +01:00
Michael Friedrich 6a07cb4d0f
Merge pull request #6075 from Icinga/feature/docs-global-functions
Explain how to register functions in the global scope
2018-02-06 13:30:44 +01:00
Michael Friedrich 8dd8af0512 Explain how to register functions in the global scope 2018-02-06 13:09:08 +01:00
Noah Hilverling 6df6f72a35 Add documentation for remote check queue
refs #4841
2018-02-05 11:53:34 +01:00