11550 Commits

Author SHA1 Message Date
Eric Lippmann
ca895fd5e9
Merge pull request #3451 from Icinga/feature/interpret-performance-data-threshold-ranges-8194
Interpret performance data threshold ranges
2018-05-08 02:56:36 -04:00
Johannes Meyer
bb37d7e2f9 Introduce test ThresholdRangeTest
refs #1298
2018-05-07 14:01:39 +02:00
Eric Lippmann
4bea67e756
Merge pull request #3315 from Icinga/bugfix/php-7-2-support-3185
Don't call session_start() after ini_set()
2018-05-07 05:44:52 -04:00
Eric Lippmann
ae192314ee
Merge pull request #3430 from Icinga/fix/transparent-tooltip-texts-3418
tipsy: Don't use opacity but rgba to avoid having transparent text
2018-05-07 05:42:45 -04:00
Eric Lippmann
4b7dc0c350
Merge pull request #3392 from Mikesch-mp/list-notifications
Always show full date + time on history list for notifications
2018-05-07 04:39:21 -04:00
Eric Lippmann
e74b1fc5eb
Merge pull request #3440 from Icinga/feature/secure-detailviewextensionhook-gethtmlforobject-3393
Secure DetailviewExtensionHook::getHtmlForObject()
2018-05-07 04:19:32 -04:00
Eric Lippmann
60295f3407
Merge pull request #3443 from Icinga/fix/search-over-customvars-results-in-sql-error-2508
Fix search over customvars results in sql error 2508
2018-05-07 04:18:22 -04:00
Eric Lippmann
b534cf38d4
Merge pull request #3445 from Icinga/fix/remove-superseded-menu-classes-2338
Remove superseded menu classes
2018-05-07 04:08:18 -04: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
cbc77cb7b2 Web: Implement method getMenu() using Icinga\Web\Menu and deprecate it
refs #2338
2018-04-30 10:30:58 +02:00
Johannes Meyer
e81d2f9af0 Utilize Icinga\Web\Menu instead of Icinga\Application\Web::getMenu()
refs #2338
2018-04-30 10:26:00 +02:00
Johannes Meyer
71cb682832 Re-introduce class Icinga\Web\Menu
refs #2338
2018-04-30 10:24:57 +02:00
Johannes Meyer
4ec783b75e IdoQuery: Use a dynamic collation when joining custom variables
refs #2508
2018-04-27 15:33:42 +02:00
Johannes Meyer
c3b19996f8 DbConnection: Introduce method getConfig()
refs #2508
2018-04-27 15:30:04 +02:00
Johannes Meyer
1b15048636 Drop obsolete Icinga\Web\Menu classes
refs #2338
2018-04-27 14:28:20 +02:00
Johannes Meyer
571b34c8cd Drop obsolete class Icinga\Web\Menu\BadgeMenuItemRenderer
refs #2338
2018-04-27 14:11:03 +02:00
Johannes Meyer
059088c089 Drop obsolete class Icinga\Web\Menu\SummaryMenuItemRenderer
refs #2338
2018-04-27 14:10:35 +02:00
Johannes Meyer
d71982e333 Drop obsolete class Icinga\Web\Menu\PermittedMenuItemFilter
refs #2338
2018-04-27 14:10:00 +02:00
Johannes Meyer
1c4ebda037 Drop obsolete class Icinga\Web\MenuRenderer
refs #2338
2018-04-27 14:04:49 +02:00
Alexander A. Klimov
2da7ef0eb2 Secure DetailviewExtensionHook::getHtmlForObject()
refs #3393
2018-04-27 12:55:17 +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
9294c830f8 tipsy: Don't use opacity but rgba to avoid having transparent text
refs #3418
2018-04-26 13:39:50 +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