Commit Graph

9360 Commits

Author SHA1 Message Date
Maurice Meyer 3f8aa04da6
Doc: fixed wrong information about defaulting
Signed-off-by: Maurice Meyer <morre@mor.re>
2018-03-23 13:18:15 +01:00
Michael Friedrich 8b2129b845
Merge pull request #6177 from Icinga/fix/doc-api-user
Doc: Fix typo in API user creation example
2018-03-23 12:36:08 +01:00
Michael Friedrich 0ca3aa17ad
Merge pull request #6176 from mauricemeyer/master
hashed_password -> password_hash. Fixes #6175
2018-03-23 12:34:19 +01:00
Michael Insel 7d165d39c2 Doc: Fix typo in API user creation example
This fixes a typo in the API user creation example inside the documentation.
2018-03-22 20:47:15 +01:00
Maurice Meyer d0949fc6e3
hashed_password -> password_hash. Fixes #6175
Signed-off-by: Maurice Meyer <morre@mor.re>
2018-03-22 20:40:46 +01:00
Jean Flach 3d92573f61 Merge branch 'support/2.8' 2018-03-22 11:29:48 +01:00
Jean Flach 8567f5da2d Release version 2.8.2 2018-03-22 11:29:29 +01:00
Jean Flach ada573dcf0 Release version 2.8.2 2018-03-22 11:26:19 +01:00
Jean Flach e5539073c1 Update mailmap 2018-03-22 10:35:02 +01:00
Michael Friedrich 0d3a04cf92
Merge pull request #6174 from Icinga/fix/api-crash-no-headeralloworigin
Fix crash without CORS setting
2018-03-21 20:50:48 +01:00
Michael Friedrich b11ab95f41 Fix crash without CORS config settings
fixes #6173
refs #6098
2018-03-21 20:42:31 +01:00
Michael Friedrich 4f12142d52 Docs: Add a note to only query the NSClient++ API from the local Icinga 2 client
refs #6172
2018-03-21 16:05:17 +01:00
Michael Friedrich c9d2b968e9
Merge pull request #6172 from Icinga/fix/docs-nscp-api
Docs: Add a note to only query the NSClient++ API from the local Icinga 2 client
2018-03-21 16:04:39 +01:00
Michael Friedrich d9d10a6f7e Docs: Add a note to only query the NSClient++ API from the local Icinga 2 client 2018-03-21 16:00:39 +01:00
Jean Flach 92f7242db1
Merge pull request #6119 from tclh123/dev
fixup set rlimit stack failed condition
2018-03-21 09:56:47 +01:00
Michael Friedrich 1b14eea453
Merge pull request #6171 from Icinga/fix/windows-agent-copyright-date
Update copyright of the Windows Agent to 2018
2018-03-21 08:55:08 +01:00
Michael Insel bc114f6142 Update copyright of the Windows Agent to 2018
This updates the copyright of the Windows Agent to 2018.
2018-03-20 21:08:30 +01:00
Michael Friedrich 064fc80cc3
Merge pull request #6098 from Icinga/fix/improve-cors-implementation
Clean up CORS implementation
2018-03-19 16:00:36 +01:00
Michael Friedrich 5bd69b4a49
Merge pull request #6058 from gunnarbeutner/feature/clean-up-plugins
Clean up the Icinga plugins a bit
2018-03-19 15:57:57 +01:00
Michael Friedrich 313b2a759e
Merge pull request #6016 from Icinga/fix/state-filters-for-custom-notifications
Check notification state filters for problems only, not for Custom, etc.
2018-03-19 15:52:37 +01:00
Jean Flach 75b5fcc097
Merge pull request #6169 from Icinga/appveyor
appveyor: Clean cache when updating appveyor.yml
2018-03-17 18:41:00 +01:00
Markus Frosch 56be16b98d appveyor: Clean cache when updating appveyor.yml 2018-03-16 15:09:19 +01:00
Michael Friedrich c40196dc32
Merge pull request #6166 from Icinga/fix/broken-link-readme
Fix broken link in README
2018-03-15 17:17:29 +01:00
Michael Insel cb453f5b76 Fix broken link in README
This fixes the broken documentation link inside the readme.
2018-03-15 16:59:41 +01:00
Michael Friedrich 1969a9071a Improve error handling for empty packages in /v1/config/packages
- If there is no package main directory, assume "empty packages".
- Catch exceptions thrown through GlobRecursive() and present a better http 500
to the user.

The packages directory tree is automatically created with the first
package creation, either from the user, or by the `_api` package.

fixes #6129
2018-03-13 11:03:02 +01:00
Noah Hilverling c360ca8bb0 Add CORS notice to 2.9 upgrading docs 2018-03-13 09:42:27 +01:00
Gunnar Beutner 9b0fccfd80
Merge pull request #6153 from Icinga/fix/api-no-packages
Improve error handling for empty packages in /v1/config/packages
2018-03-13 09:23:01 +01:00
Gunnar Beutner 6a444a0fac
Merge pull request #6160 from Icinga/fix/code-style-global-zones
Replace std::vector:push_back calls with initializer list
2018-03-13 09:22:10 +01:00
Michael Insel 592d1c7d7e Replace std::vector:push_back with initializer list
This replaces a few std::vector::push_back calls with initializer lists.
2018-03-12 20:35:49 +01:00
Michael Friedrich 429f518b49 Improve error handling for empty packages in /v1/config/packages
- If there is no package main directory, assume "empty packages".
- Catch exceptions thrown through GlobRecursive() and present a better http 500
to the user.

The packages directory tree is automatically created with the first
package creation, either from the user, or by the `_api` package.

fixes #6129
2018-03-07 13:35:09 +01:00
Gunnar Beutner ddab94feb3 Build fix 2018-03-07 09:57:08 +01:00
Jean Flach f357439485 Code style 2018-03-07 09:57:08 +01:00
Gunnar Beutner 9886f3914c Fix ApiUser unit test 2018-03-06 09:37:23 +01:00
Gunnar Beutner 3043a190ca
Merge pull request #6148 from gunnarbeutner/fix/api-unit-test
Fix ApiUser unit test
2018-03-06 09:36:30 +01:00
Gunnar Beutner 6670024f62 Ensure that SetCorked() works properly 2018-03-06 09:35:57 +01:00
Gunnar Beutner 44ff536645
Merge pull request #6146 from gunnarbeutner/fix/corked-fixes
Ensure that SetCorked() works properly
2018-03-06 09:33:46 +01:00
Gunnar Beutner 70b3d20a7e Fix ApiUser unit test 2018-03-06 09:30:22 +01:00
Gunnar Beutner 9cd5298d8b Ensure that SetCorked() works properly 2018-03-06 09:03:35 +01:00
Gunnar Beutner 0b9869917f Fix incorrect argument type for JsonRpc::SendMessage 2018-03-06 09:02:05 +01:00
Gunnar Beutner c16dbd19c8
Merge pull request #6147 from gunnarbeutner/fix/incorrect-arg-type
Fix incorrect argument type for JsonRpc::SendMessage
2018-03-06 09:01:47 +01:00
Gunnar Beutner b172a67867 Fix incorrect argument type for JsonRpc::SendMessage 2018-03-06 08:58:19 +01:00
Jean Flach fda4faac06 Limit anonymous connections to 25 2018-03-06 08:53:52 +01:00
Noah Hilverling fdf2dc43d5 Limit JSON-RPC message size 2018-03-06 08:53:14 +01:00
Gunnar Beutner 9b72a6c2f3
Merge pull request #6135 from Icinga/fix/limit-api-package-size
Limit JSON RPC message size
2018-03-05 13:24:09 +01:00
Jean Flach 1bdd14b428 Limit anonymous connections to 25 2018-03-05 13:22:43 +01:00
Noah Hilverling 54ff60cd8c Limit JSON-RPC message size 2018-03-05 10:29:05 +01:00
Gunnar Beutner 4a09026466
Merge pull request #6145 from gunnarbeutner/fix/incorrect-parameter-name
Fix incorrect parameter name in the API documentation
2018-03-05 09:00:08 +01:00
Gunnar Beutner 39e303a03b Fix incorrect parameter name in the API documentation
fixes #6140
2018-03-05 08:43:13 +01:00
Gunnar Beutner 84be526b4c
Merge pull request #6139 from Icinga/itl/disk-docker-types
itl/disk: Ignore overlay and netfs filesystems
2018-03-05 08:38:00 +01:00
Markus Frosch fa68c9255b itl: Ignore overlay and netfs filesystems
Usually used by Docker and other containers and namespaces
2018-03-02 12:44:08 +01:00