5120 Commits

Author SHA1 Message Date
Johannes Meyer
f72a5fbe89 WebWizard: Require storage directory 2021-06-22 12:11:10 +02:00
Ravi Kumar Kempapura Srinivasa
f8b122b894 Add end time and comment options to settings section for host/service downtime dialog
[hostdowntime_end_fixed], [hostdowntime_end_flexible], [hostdowntime_flexible_duration], [servicedowntime_end_fixed], [servicedwontime_end_flexible],
[servicedowntime_flexible_duration] and [comment_text] options added to [settings] section in config.ini file used in  host/service downtime dialog.
2021-06-18 13:57:58 +02:00
Johannes Meyer
5af833bb6d translation: Add support for ipl-i18n 2021-05-28 14:03:36 +02:00
Johannes Meyer
8fe282b9aa translation: Only allow to generate module locales 2021-05-28 14:03:36 +02:00
Johannes Meyer
d83b06618a DashboardCommand: Utilize ipl-i18n in sections command 2021-05-28 14:03:36 +02:00
Johannes Meyer
84949f214e monitoring: Provide health hook 2021-05-14 15:45:35 +02:00
Damiano Chini
89fdccb858 Pass event instead of object to the getHtmlForEvent method of EventDetailsExtensionHook 2021-05-11 12:36:07 +02:00
Johannes Meyer
4e48f9d2a1 ProcessCheckResultForm: Skip objects with passive checks disabled
Icinga won't accept check results for such.
2021-04-14 10:56:04 +02:00
Johannes Meyer
1a5cedfee1 setup: Skip browser validation when validating a form manually
fixes #4291
2021-04-13 16:57:03 +02:00
Johannes Meyer
a4d495e17c PerfData: Don't render missing values as 0.00 2021-04-13 14:50:18 +02:00
Johannes Meyer
e671324ddb tests: Don't use deprecated assertion assertRegExp() 2021-04-09 12:38:43 +02:00
Johannes Meyer
f27e872d90 tests: Don't make use of deprecated phpunit features 2021-04-09 12:38:43 +02:00
Johannes Meyer
cb87190138 tests: Add :void return type declarations 2021-04-09 12:38:43 +02:00
Alexander A. Klimov
6d5024c671 *downtimestarthistoryQuery#joinBaseTables(): don't call func_get_arg() with an invalid index
... as PHP 8 doesn't tolerate that.

refs #4287
2021-04-09 12:37:03 +02:00
Alexander A. Klimov
2c5f141cc1 /setup/: ensure not to pass an empty array to max()
... as PHP 8 doesn't tolerate such.

refs #4287
2021-04-09 12:37:03 +02:00
Johannes Meyer
fe51f8c968 IdoQuery: Accept any character in custom var names
fixes #4342
2021-04-06 10:47:03 +02:00
Johannes Meyer
0fc06d7795 Transform * equal/unequal comparisons to NULL checks
This comes from https://github.com/Icinga/ipl-sql/pull/31
2021-03-12 09:50:59 +01:00
sukhwinder33445
ab97b6fdf0
Enforce database as configuration backend (#4135) 2021-02-18 12:31:21 +01:00
Johannes Meyer
91d4669dcb
Merge pull request #4285 from Icinga/bugfix/curl-monitoring-service-show-4281
CheckNowCommandForm#init(): set submit label
2021-02-18 12:21:50 +01:00
Johannes Meyer
cc65164a67 Adjust global permissions 2021-02-18 11:11:39 +01:00
Johannes Meyer
e01f51ffc7 PluginOutput: Fix that subsequent escaped newlines are not transformed
fixes #4297
2021-02-15 11:23:36 +01:00
Johannes Meyer
77ca3e0c31 DeleteDowntimeCommandForm: Show error notification if not successful
resolves #4303
2021-02-03 15:42:13 +01:00
Alexander A. Klimov
6af1e5d43b Monitoring: add expire option for comments
refs #3447
2020-11-30 17:24:57 +01:00
Alexander A. Klimov
7aacbd4db8 CheckNowCommandForm#init(): set submit label
... otherwise Form#handleRequest() bypasses Form#isSubmitted()
on API requests and considers the CheckNowCommandForm submitted.

refs #4281
2020-11-26 18:38:55 +01:00
Rick Henry
92ef10c22b Add notification badges for disabled active checks
We mistakenly disabled active checks in our Icinga environment and did
not notice for some time. This commit hooks into the badge mechanic used
when notifications are turned off, and also provides badges when active
host checks and active service checks are disabled.
2020-11-22 21:18:08 +00:00
Johannes Meyer
01a08d60e1 setup: Don't fail if only a module couldn't be enabled 2020-11-18 13:21:34 +01:00
Johannes Meyer
d918d6c86f
Merge pull request #4235 from Icinga/fix/sparkline-js-performance
Drop sparkline.js and render inline-pies as SVG
2020-11-18 09:37:31 +01:00
Jorge Vallecillo
865e4b9b2a Fix typos: consecutive use of 'the' 2020-11-18 09:26:39 +01:00
Johannes Meyer
c1bb17709a Navigation\Action: Don't try to resolve non existing urls
fixes #4211
2020-11-16 13:21:16 +01:00
Johannes Meyer
b01bd74d5c ServicestatusQuery: Join contactgroups with the correct type id 2020-11-16 13:18:28 +01:00
Johannes Meyer
459e61ba55 ServicegroupQuery: Join contactgroups with the correct type id 2020-11-16 13:18:28 +01:00
Johannes Meyer
fbacd3db36 list/services: Avoid duplicates when filtering contact(group)s
fixes #4238
2020-11-16 13:17:32 +01:00
Eric Lippmann
d42c912ea4 Use ticket hook in downtime details 2020-09-30 09:32:18 +02:00
Eric Lippmann
5243160d5d Add Comment to comment details and use ticket hook 2020-09-30 09:32:18 +02:00
Eric Lippmann
7f48040637 Load ticket hook for downtime details 2020-09-30 09:32:12 +02:00
Eric Lippmann
1aad3152d0 Load ticket hook for comment details 2020-09-30 09:32:02 +02:00
Eric Lippmann
893617ef96 Load ticket hook for event details 2020-09-30 09:31:49 +02:00
Johannes Meyer
8c73f0462e InlinePie: Utilize SVG to render charts instantly
Inline pie charts usually don't contain that much
data and the SVG should be rather small in size.
So it doesn't hurt rendering them instantly.
2020-09-28 16:40:39 +02:00
Johannes Meyer
77244b2c1b Raise version to v2.8.2 2020-08-19 11:03:31 +02:00
Johannes Meyer
0db4dc0311 IdoQuery: Force array cast when lowering subquery filter expressions
fixes #4196
2020-07-06 08:34:40 +02:00
Johannes Meyer
c3d329bd48 Raise version to 2.8.1 2020-06-29 10:30:58 +02:00
Alexander A. Klimov
361fc27922 /monitoring/tactical: don't show negative amounts of monitored objects
refs #4174
2020-06-18 08:52:53 +02:00
Massimiliano Torromeo
9a29d8f3d4 Set default db charset for MySQL ido resources to latin1
latin1 seems to be the only supported charset for MySQL but the current upstream default charset is utf8mb4 and to be safe it should be set explicitly
2020-06-17 13:27:31 +02:00
Johannes Meyer
4505e29ce3 IdoQuery: Lowercase subquery ci filters on postgres
fixes #4178
2020-06-16 09:59:19 +02:00
Johannes Meyer
e95fac3ff1 Raise version to 2.8.0 2020-06-08 10:51:35 +02:00
Johannes Meyer
a240e306ed Preserve/Remove param showCompact instead of view 2020-06-04 08:50:41 +02:00
Johannes Meyer
f6edad9336 Transmit the user who clears an acknowledgement 2020-05-14 13:58:19 +02:00
Johannes Meyer
08bc671fb7 Transmit the user who cancels a downtime 2020-05-14 13:58:03 +02:00
Johannes Meyer
287edb7932 Transmit the user who deletes a comment 2020-05-14 13:57:22 +02:00
Johannes Meyer
a2009913c9 WithCommentCommand: Utilize CommandAuthor 2020-05-14 13:51:21 +02:00