Commit Graph

2638 Commits

Author SHA1 Message Date
Florian Strohmaier ac1a364682 Contact: Fix th styles 2021-06-23 07:39:55 +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
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 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
Jorge Vallecillo 865e4b9b2a Fix typos: consecutive use of 'the' 2020-11-18 09:26:39 +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
Alexander A. Klimov 361fc27922 /monitoring/tactical: don't show negative amounts of monitored objects
refs #4174
2020-06-18 08:52:53 +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 4aab354b7f PluginOutput: Adjust html detection regex again 2020-05-13 17:16:22 +02:00
Johannes Meyer 87e676e1fb customvars.phtml: Show a customvar name as-is
Don't uppercase first, exchange `_` for spaces and lower everything else

resolves #3987
2020-05-13 14:56:58 +02:00
Johannes Meyer 6a4b07a0f7 Remove `required => true` from skip validation switches 2020-04-20 14:44:35 +02:00
Johannes Meyer abef0621ff forms: Remove `required => true` from force creation checkboxes 2020-04-20 09:04:04 +02:00
Johannes Meyer 5ace00ed0b list/servicegrid: Make problems only work in no-js envs 2020-04-15 09:42:36 +02:00
Johannes Meyer 9c2f6f4fd7
Merge pull request #4008 from Al2Klimov/bugfix/checkbox-required
Form: allow checkboxes to be required
2020-04-09 16:05:42 +02:00
Johannes Meyer dfda22017b TacticalController: Subtract not checked count from pending count
Pending counts include not checked objects as well

fixes #3280
2020-04-09 16:04:36 +02:00
Johannes Meyer e01852f34b Update `required` attribute of all forms
Some were missing it, some were adding it unnecessarily.
Since it's now displayed what's required this needed to
be streamlined.
2020-04-09 14:39:52 +02:00
Feu Mourek d7a8765fc9 Add appropriate aria labels to tactical overview 2020-04-09 08:36:29 +02:00
Johannes Meyer 13a329ba20 Update po files of all available locales 2020-03-13 10:40:35 +01:00
Johannes Meyer cd738e858c Update de_DE translations
fixes #3994
2020-03-13 10:40:35 +01:00
Johannes Meyer 201e2f136d ScheduleServiceCheckCommandForm: Only ignore services if rescheduling is restricted 2020-01-31 16:07:56 +01:00
Johannes Meyer 6d6e235e5c ScheduleHostCheckCommandForm: Only ignore hosts if rescheduling is restricted 2020-01-31 16:07:56 +01:00
Eric Lippmann 154357aa11 DeleteDowntimesCommandForm: Allow iterable for setDowntimes()
The command form loops over the downtimes to delete. It is not necessary
to expect an array here. The Icinga DB web module passes an iterable
here.
2020-01-14 14:36:50 +01:00
Eric Lippmann 9ddd941b42 DeleteCommentsCommandForm: Allow iterable for setComments()
The command form loops over the comments to delete. It is not necessary
to expect an array here. The Icinga DB web module passes an iterable
here.
2020-01-14 14:30:50 +01:00
Valentina Da Rold 48fb288206 Add EventDetailsExtensionHook and include it into EventController 2020-01-13 09:33:24 +01:00
Johannes Meyer d79feca63f
Merge pull request #3969 from WuerthPhoenix/custom-tab-hook
Add custom tab hook
2019-12-12 15:55:25 +01:00
Johannes Meyer 7417349cec
Merge pull request #4025 from papillon326/master
Update Japanese translation
2019-12-12 14:00:38 +01:00
Johannes Meyer da5704fa83
Revert "Introduce option to hide specific customvars in web" 2019-12-10 07:56:11 +01:00
papillon326 be5a6a4251 Update Japanese translation 2019-12-09 18:15:20 +09:00
Florian Strohmaier 098898eca6 Services/Hosts: Remove status-bar-ghost 2019-12-06 15:36:34 +01:00
Johannes Meyer a6d2590666 hosts/services: Remove `*_active_checks_enabled` from a redirect's filter
Actually only a quick fix but who cares..
2019-12-05 15:42:47 +01:00
Johannes Meyer bb7f1cd24b monitoring: Apply permission `no-monitoring/contacts` where applicable 2019-12-05 08:50:51 +01:00
Nicolai Buchwitz 55104cba14 Introduce hide customvar option in monitoring view 2019-12-04 13:06:26 +01:00
Johannes Meyer 7b488d7f93 swag: Fix violations of PSR-12
PSR-2 has been deprecated and phpcs v3.5.3
now checks for the successor PSR-12
2019-12-04 11:28:08 +01:00
Johannes Meyer 01bcf980f2
Merge pull request #3965 from Icinga/fix/slow-queries-when-filtering-groups-3928
Enhance query performance when filtering for groups and reduce double query execution
2019-10-16 08:05:30 +02:00
Johannes Meyer bb2673a49a EventController: Use `DateFormatter::formatDateTime` to render dates
fixes #3968
2019-10-14 08:12:35 +02:00
Johannes Meyer cbc12ab31e event-history.phtml: Don't use `hasResult()` to check if there are results
28ec1e236 has no result on history views as they never count their results.
So restructuring this particular view script I deemed reasonable since the
history queries tend to show very poor performance.

refs #3905
refs #3836
2019-10-11 10:27:43 +02:00
Johannes Meyer 8ec0c40f21 monitoring: Fix missing load more link when there's a single row 2019-10-08 13:36:35 +02:00