Eric Lippmann
6c2b4d3982
Revert "Allow to configure persistent database connections"
...
This reverts commit 61f251d6ad
.
2018-06-22 14:46:23 +02:00
Eric Lippmann
af35794006
Revert "lib/db: Allow to configure persistent connections"
...
This reverts commit 4763b6b20a
.
2018-06-22 14:43:32 +02:00
Eric Lippmann
adfcc5596e
Merge pull request #3444 from Icinga/bugfix/error-responding-non-html-requests-2635
...
Json::encode(): auto-sanitize bad UTF-8 strings
2018-06-22 05:01:07 -04:00
Alexander A. Klimov
73473a3bb9
Fix tests
...
refs #2635
2018-06-22 09:57:10 +02:00
Alexander A. Klimov
906c1668a4
Split Json::encode() into Json::encode() and Json::sanitize()
...
refs #2635
2018-06-21 16:01:53 +02:00
Alexander A. Klimov
02b60633ff
Auto-sanitize only in the monitoring module
...
refs #2635
2018-06-20 18:05:12 +02:00
Alexander A. Klimov
1a94a21263
Prefer Json::encode() over json_encode()
...
refs #2635
2018-06-20 18:05:11 +02:00
Alexander A. Klimov
9219cea776
Json::encode(): auto-sanitize bad UTF-8 strings
...
refs #2635
2018-06-20 18:05:11 +02:00
Eric Lippmann
1a841170ff
Merge pull request #3419 from Icinga/feature/audit-module-2584
...
Feature/audit module 2584
2018-06-19 05:13:42 -04:00
Eric Lippmann
f905a978d8
Merge pull request #3309 from Icinga/bugfix/localfilestoragetest-error-handler
...
LocalFileStorageTest: restore error_reporting() level and error handler
2018-06-08 09:03:31 -04:00
Eric Lippmann
23248a4f3b
Merge pull request #3325 from Icinga/bugfix/unreachable-pdf-export-documentation-1716
...
Doc: make PDF export action reachable
2018-06-08 08:42:49 -04:00
Johannes Meyer
5eccf00aea
doc: Document auditing facilities
...
refs #2584
2018-06-08 14:21:15 +02:00
Johannes Meyer
1f7d9def73
Introduce test AuditHookTest
...
refs #2584
2018-06-08 14:21:15 +02:00
Johannes Meyer
cece9d7e65
LoggingConfigForm: Fix that the facility is missing without any log config
...
Also re-sets syslog as the default selection as it's the actual default
without any log config. The previous commit in this file fixed this the
wrong way. (Shame on me..)
2018-06-08 14:21:15 +02:00
Johannes Meyer
3f66bd7437
Auth: Log login/logout activities to the audit log
...
refs #2563
2018-06-08 14:21:15 +02:00
Johannes Meyer
9da9f1237d
Introduce class Icinga\Application\Hook\AuditHook
...
refs #2584
2018-06-08 14:21:15 +02:00
Eric Lippmann
6ab87cfda2
Merge pull request #3186 from Icinga/feature/test-php-nightly
...
Test also on PHP 7.2+
2018-06-08 08:20:19 -04:00
Alexander A. Klimov
a77ea2ff6a
Test also on PHP 7.2+
2018-06-08 13:00:20 +02:00
Michael Friedrich
8c212d56fc
Merge pull request #3427 from Icinga/feature/docs-automation-auth-php-5-6-hash
...
Docs: Update advanced topics with new password hash algorithm for authentication
2018-05-08 10:23:50 +02:00
Michael Friedrich
24cd1d90ec
Merge pull request #3431 from Icinga/feature/docs-release
...
Enhance release documentation
2018-05-08 10:22:30 +02:00
Michael Friedrich
853bbf2011
Docs: Update advanced topics with new password hash algorithm for authentication
2018-05-08 10:20:10 +02:00
Michael Friedrich
283cf64337
Enhance release documentation
2018-05-08 09:57:07 +02:00
Eric Lippmann
96303f53f8
Merge pull request #3213 from Icinga/feature/drop-php-5-3-support
...
Drop PHP 5.3 support
2018-05-08 03:03:36 -04:00
Eric Lippmann
8a4ae535aa
Merge pull request #3449 from Icinga/feature/flippable-service-grid-axes-2640
...
Flippable service grid axes
2018-05-08 02:57:25 -04:00
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
9b76ff5539
servicegrid: Properly handle `?flipped=0`
...
refs #2640
2018-05-07 14:14:34 +02:00
Johannes Meyer
568d473c40
joystickPagination: Show the pagination even if there's nothing to page
...
refs #2640
2018-05-07 14:10:03 +02: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
Alexander A. Klimov
fc1f6e13ab
Drop PHP 5.3 support
2018-05-07 11:36:54 +02: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