11529 Commits

Author SHA1 Message Date
Johannes Meyer
bb37d7e2f9 Introduce test ThresholdRangeTest
refs #1298
2018-05-07 14:01:39 +02:00
Johannes Meyer
273b0f2f94 PerfdataTest: Update case which explicitly checks thresholds for null
It's not important whether null or not, as long as it properly detects
that no threshold is set. Further tests specifically for ThresholdRange
should accommodate this case by verifying we don't detect any WARNING.

refs #1298
2018-05-03 16:07:30 +02:00
Alexander A. Klimov
259bafea35 Perfdata::format(): handle ThresholdRanges
refs #8194
2018-05-03 15:12:42 +02:00
Alexander A. Klimov
392231dc81 Perfdata: return ThresholdRange from getWarningThreshold() and getCriticalThreshold()
refs #8194
2018-05-03 15:11:52 +02:00
Alexander A. Klimov
bc5d3b64c4 ThresholdRange::fromString(): compare non-strictly
refs #8194
2018-05-03 15:11:52 +02:00
Alexander A. Klimov
81601e6303 ThresholdRange::fromString(): drop default
refs #8194
2018-05-03 15:11:52 +02:00
Alexander A. Klimov
b706792c9b Preserve threshold ranges in ThresholdRange, not in Perfdata
refs #8194
2018-05-03 15:11:52 +02:00
Alexander A. Klimov
881267d829 ThresholdRange::fromString(): default to -∞:∞
refs #8194
2018-05-03 15:11:52 +02:00
Alexander A. Klimov
54002cb3e5 Perfdata: print warn and crit human-readable if the start is -∞
refs #8194
2018-05-03 15:11:52 +02:00
Alexander A. Klimov
2270e250d3 Perfdata: use ThresholdRange
refs #8194
2018-05-03 15:10:31 +02:00
Alexander A. Klimov
cdb1db89e2 ThresholdRange: trim(floatval()) -> floatval(trim())
refs #8194
2018-05-03 15:00:48 +02:00
Alexander A. Klimov
7865db9053 Perfdata: simplify code design
refs #8194
2018-05-03 15:00:48 +02:00
Alexander A. Klimov
e006902254 ThresholdRange::setInverted(): default to true
refs #8194
2018-05-03 15:00:48 +02:00
Alexander A. Klimov
7273959007 ThresholdRange: reword doc
refs #8194
2018-05-03 15:00:48 +02:00
Alexander A. Klimov
746eb07862 ThresholdRange: use substr() instead of strpos() where more performant
refs #8194
2018-05-03 15:00:48 +02:00
Alexander A. Klimov
ddde4b447c ThresholdRange: trim() raw ranges
refs #8194
2018-05-03 15:00:48 +02:00
Alexander A. Klimov
5df6eeaeaf Implement ThresholdRange
refs #8194
2018-05-03 15:00:48 +02:00
Johannes Meyer
47c616567f
Merge pull request #3446 from Icinga/feature/filterable-tactical-overview-3334
tactical: Allow to filter what is displayed

resolves #3334
2018-05-02 11:39:27 +02:00
Johannes Meyer
d5686d4a18 tactical: Avoid displaying weird empty donuts if nothing is found
refs #3334
2018-05-02 11:27:12 +02:00
Johannes Meyer
3606e5a514 tactical: Allow to filter what is displayed
refs #3334
2018-05-02 11:14:27 +02:00
Johannes Meyer
ca7e886b82 Merge branch 'release/2.5.3' v2.5.3 2018-04-27 10:24:56 +02:00
Johannes Meyer
f893f4953b modules: Raise versions to 2.5.3 2018-04-27 10:24:18 +02:00
Johannes Meyer
096fdfc887 Version.php: Raise version to 2.5.3 2018-04-27 10:23:36 +02:00
Johannes Meyer
40611b4d64 Update VERSION 2018-04-27 10:23:20 +02:00
Johannes Meyer
2c387ea34d
Merge pull request #3437 from Icinga/fix/revert-pull-request-3413
Revert pull request #3413
2018-04-27 10:19:05 +02:00
Johannes Meyer
1c29b03b84 Revert "Merge pull request #3413 from Icinga/bugfix/filter-contacts-assigned-to-services-3088"
This reverts commit 33247237afc2691463e82e889e49fe735177e186, reversing
changes made to 37aeb83cd92ee74c0e5481aa58fc0084c18d4978.

refs #3436
2018-04-27 10:13:58 +02:00
Johannes Meyer
cf079fbc02 Merge branch 'release/2.5.2' v2.5.2 2018-04-25 14:07:28 +02:00
Johannes Meyer
70184fde6a Update CHANGELOG.md 2018-04-25 14:05:08 +02:00
Johannes Meyer
77787c3ac1 modules: Raise versions to 2.5.2 2018-04-25 13:03:24 +02:00
Johannes Meyer
23e508ac27 Version.php: Raise version to 2.5.2 2018-04-25 13:02:47 +02:00
Johannes Meyer
6b5bc78c35 Update VERSION 2018-04-25 13:02:32 +02:00
Johannes Meyer
98ae974b46 Update AUTHORS 2018-04-25 12:55:52 +02:00
Johannes Meyer
2fdaca9c90
Merge pull request #3383 from Icinga/fix/pluginoutput-3382
PluginOutput: Fix text splicing for status tags in HTML output

fixes #3382
2018-04-25 11:51:53 +02:00
Eric Lippmann
7fc9d7995f
Merge pull request #3425 from Icinga/fix/avoid-unnecessary-search-requests-3348
Don't search as long as the user is typing
2018-04-25 03:08:47 -04:00
Johannes Meyer
e317a8c5a3
Merge pull request #3396 from Icinga/bugfix/remove-legacy-test-samples
Remove legacy test samples
2018-04-24 17:41:04 +02:00
Johannes Meyer
33247237af
Merge pull request #3413 from Icinga/bugfix/filter-contacts-assigned-to-services-3088
IDO: treat contacts of services of hosts as direct contacts of the hosts
2018-04-24 17:00:46 +02:00
Eric Lippmann
37aeb83cd9
Merge pull request #3426 from Icinga/feature/add-support-for-the-sqlsrv-extension-3320
Add support for the sqlsrv extension
2018-04-24 10:19:52 -04:00
Eric Lippmann
af75c43a56
Merge pull request #3424 from Icinga/fix/do-not-mangle-cursor-position-in-forms-3348
Do not mangle cursor position in forms
2018-04-24 10:16:46 -04:00
Johannes Meyer
b14b61d37a Platform: Also check for the sqlsrv extension when checking MSSQL support
refs #3320
2018-04-24 15:56:29 +02:00
Johannes Meyer
24128e0cc3 DbConnection: Automatically choose sqlsrv as driver..
..if available and none is explicitly set.

refs #3320
2018-04-24 15:50:12 +02:00
Johannes Meyer
c566c8bfde
Merge pull request #3400 from Icinga/bugfix/mssql-detection
Platform: Also consider dblib when checking for MSSQL support
2018-04-24 15:46:45 +02:00
Johannes Meyer
dce8bc2deb
Merge pull request #3423 from chrnie/patch-1
monitoring: Fix typo in german translation file
2018-04-24 14:03:48 +02:00
Christoph Niemann
44da032535 monitoring: Fix typo in german translation file 2018-04-24 13:56:43 +02:00
Johannes Meyer
c2b3bbb87b events.js: Don't search as long as the user is typing
500ms is for the average typist. Still fast enough, imho.

refs #3348
2018-04-24 12:33:04 +02:00
Johannes Meyer
9857021d2c Revert "loader.js: place focus at the end of text inputs"
This reverts commit d1fd7e4be78f3dda9734027dda53114b71a7a46d.
Browsers seem to do this on their own natively. Way better.

refs #3348
2018-04-24 11:18:10 +02:00
Johannes Meyer
b76e6e7597 RepositoryQuery: Actually return self in method peekAhead and not the parent 2018-04-24 09:26:45 +02:00
Alexander A. Klimov
1280137eae Merge branch 'bugfix/form-number-inclusive-range' 2018-04-12 14:32:38 +02:00
Alexander A. Klimov
5cf51a70c8 Numeric input: validate inclusive ranges 2018-04-12 14:25:10 +02:00
Alexander A. Klimov
bbca113adc IDO: treat contacts of services of hosts as direct contacts of the hosts
refs #3088
2018-04-06 15:16:36 +02:00
Johannes Meyer
5f24fffe7d
Merge pull request #3412 from Icinga/bugfix/filter-editor-expand-upon-auto-refresh-2964
Preserve collapsed FilterEditor subtrees across auto-refreshes
2018-04-06 14:55:19 +02:00