11593 Commits

Author SHA1 Message Date
Eric Lippmann
184d4afdbd
Merge pull request #3483 from Icinga/feature/update-vendor-libs
Update vendor libs
2018-06-27 09:36:16 +02:00
Eric Lippmann
fdd791974d Update Parsedown 2018-06-25 16:07:47 +02:00
Eric Lippmann
66132c330a Update JShrink 2018-06-25 16:05:36 +02:00
Eric Lippmann
46907735fe Update HTMLPurifier 2018-06-25 16:04:10 +02:00
Eric Lippmann
e55ac3e4a2 Update dompdf deps 2018-06-25 16:01:06 +02:00
Eric Lippmann
42c7c3ae7a
Merge pull request #2754 from Icinga/feature/api-call-to-add-announcement-2749
Support creating announcements via API
2018-06-25 09:32:06 +02:00
Eric Lippmann
6f1d8668a0 Fix line exceeds 120 characters 2018-06-22 11:04:48 +02:00
Alexander A. Klimov
ee60a8df99 Don't let AutoRefreshForm handle API requests
refs #2749
2018-06-22 11:03:07 +02:00
Alexander A. Klimov
235e75d054 Form: handle API requests as expected
refs #2749
2018-06-22 11:03:07 +02:00
Alexander A. Klimov
880a0a254f DateTimePicker: support *nix timestamps
refs #2749
2018-06-22 11:03:07 +02:00
Alexander A. Klimov
a444b8adf5 Request: support JSON as POST data format
refs #2749
2018-06-22 11:03:07 +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