Commit Graph

406 Commits

Author SHA1 Message Date
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 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 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
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
Johannes Meyer da5704fa83
Revert "Introduce option to hide specific customvars in web" 2019-12-10 07:56:11 +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 b3c6af4ea6 ToggleObjectFeaturesCommandForm: Use a select instead of radio buttons
refs #3957
2019-10-08 12:39:07 +02:00
Johannes Meyer 66c436b98c BackendConfigForm: Don't wrap resource elements twice with .control-group 2019-07-29 10:19:39 +02:00
Johannes Meyer 1b8501d5b7 ToggleInstanceFeaturesCommandForm: Apply icinga form style 2019-07-29 10:17:59 +02:00
Johannes Meyer 721dab93a0 ToggleObjectFeaturesCommandForm: Apply icinga form style 2019-07-29 10:17:59 +02:00
Johannes Meyer ac50992aab ScheduleServiceCheckCommandForm: Ignore services which have no active checks
refs #3665
2019-02-07 15:51:26 +01:00
Johannes Meyer 7bda65978c ScheduleHostCheckCommandForm: Ignore hosts which have no active checks
refs #3665
2019-02-07 15:51:26 +01:00
Johannes Meyer c2fc370273 CheckNowCommandForm: Ignore objects which have no active checks
refs #3665
2019-02-07 15:51:26 +01:00
lippserd 375b140c48
Merge pull request #3126 from mapa82/master
Monitoring: add setting acknowledge_expire_time
2018-01-17 12:18:00 +01:00
mapa82 9b81492e8b Monitoring: add setting acknowledge_expire_time
Signed-off-by: Alexander A. Klimov <alexander.klimov@icinga.com>
2018-01-17 12:07:03 +01:00
Alexander A. Klimov 667f3cca01 Fix typo "existance"
refs #3062
2017-11-23 16:28:19 +01:00
Markus Frosch 2493cb8d63 Fix incorrect uses of translation around sprintf 2017-11-21 15:47:46 +01:00
Johannes Meyer e4fd8d5124 Setup: Only allow to validate the API transport configuration
refs #3101
2017-11-21 13:48:29 +01:00
Markus Frosch 22c6bf75e7 Setup: Fix that the API transport validation does not work
refs #3101
2017-11-21 13:48:17 +01:00
Markus Frosch c3ef50978a style: Fix minor styleguide issues for PHPCS 2017-11-08 10:06:45 +01:00
tfylling 46a82c2739 Monitoring: Make downtime for all services checkbox configurable
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2017-10-23 11:17:25 +02:00
Michael Friedrich ab364e0fc7 Remove unsupported livestatus functionality
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2017-09-29 10:33:55 +02:00
Alexander A. Klimov 5460465e07 Fix null->setDecorators()
refs #2842
2017-07-05 14:34:17 +02:00
Eric Lippmann f7a8cf8a6e Merge pull request #2721 from Icinga/feature/change-order-of-command-transports-2709
Feature/change order of command transports 2709
2017-03-28 11:10:17 +02:00
Eric Lippmann 30788ceed0 Merge pull request #2733 from Icinga/feature/set-focus-to-comment-field-for-comments-13535
Set focus to comment field for acknowledgements, downtimes and comments
2017-03-28 10:52:50 +02:00
Eric Lippmann efac7f44c9 Merge pull request #2748 from Icinga/bugfix/validate-icinga2-api-user-2674
Bugfix/validate icinga2 api user 2674
2017-03-28 10:25:12 +02:00
Eric Lippmann a2dbc457fc Merge pull request #2774 from Icinga/bugfix/config-protected-vars-not-updated-2767
Bugfix/config protected vars not updated 2767
2017-03-28 09:38:37 +02:00
Alexander A. Klimov cd8d6e41dc AcknowledgeProblemCommandForm: respect configuration when creating elements
refs #2776

Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2017-03-28 09:21:42 +02:00
Alexander A. Klimov 9a79b194dd SecurityConfigForm: if protected_customvars is not set at all, display suggestion as placeholder
refs #2767
2017-02-23 12:52:47 +01:00
Alexander A. Klimov 96e7411e25 TransportConfigForm: validate whether the Icinga 2 API can be connected to
refs #2674
2017-02-13 14:56:35 +01:00
Alexander A. Klimov 9e26359c62 Set focus to comment field for acknowledgements, downtimes and comments
refs #13535
2017-02-10 11:24:28 +01:00
Alexander A. Klimov 10ddc8c821 Make the order of command transports easily changable
refs #2709
2017-02-07 19:08:18 +01:00
Johannes Meyer 35ba15a7a6 monitoring: Don't offer the Icinga 2 API as transport if cURL is missing
fixes #2661
2017-02-01 15:37:52 +01:00
Johannes Meyer e83e317cc6 TransportConfigForm: Make the Icinga 2 API the default transport
fixes #2660
2017-02-01 14:52:45 +01:00
Johannes Meyer 6a37583fc7 TransportConfigForm: Fix default port not changing upon auto-submit 2017-02-01 14:49:21 +01:00
Johannes Meyer 181e2ef05c Swag: Fix swag (aka a whole bunch of code style issues..) 2017-01-27 14:48:59 +01:00
Eric Lippmann 7dc4d3d63e Enable propagate host downtime commands for Icinga 2 >= 2.6.0 and Icinga 1.x
fixes #10774
2016-12-12 12:41:14 +01:00
Alexander A. Klimov 7253fbcfa4 Command forms: make the defaults of some checkboxes configurable
refs #11952
2016-12-07 16:53:53 +01:00
Florian Strohmaier 0bf2bb15d5 Replace reschedule icon w/ arrows-cw for check now
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2016-11-25 15:11:48 +01:00
Eric Lippmann 9d39391102 Use 'Remove acknowledgement' instead of 'Remove problem acknowledgement'
refs #13187
2016-11-24 12:49:40 +01:00
Eric Lippmann 93474972bf Enable propagate host downtime commands for Icinga 2
This only works when using the latest Icinga 2 snapshot packages. Before releasing Web 2.4.0, we have to include a check to only offer these commands when using Icinga 2 2.6.0+

refs #10774
2016-11-08 15:27:29 +01:00
Alexander A. Klimov b16c64443b Merge branch 'bugfix/ini-writer-must-not-persist-section-keys-with-a-null-value-11743'
fixes #11743
2016-10-18 14:21:24 +02:00
Alexander A. Klimov e2f6c81bfa Remove obsolete workarounds
refs #11743
2016-10-17 15:00:43 +02:00