Johannes Meyer
3d0949edcb
CommandForm: Don't add a submit button and CSRF token..
...
..if it's an API target
2023-09-08 16:37:44 +02:00
Sukhwinder Dhillon
b2a512dc1b
Forms: Don't autocomplete password elements
...
- Setting `autocomplete` to `off` does not work, but `new-password` does.
2023-09-08 16:32:24 +02:00
Sukhwinder Dhillon
d3c891578e
RedisConfigForm: Fix Variable '$pem' is probably undefined
2023-09-05 14:26:42 +02:00
Johannes Meyer
4714790b5d
Use ipl\Stdlib\iterable_value_first to access the first item..
...
..a command has been transmitted for.
2023-09-05 09:16:56 +02:00
Alexander A. Klimov
bbf2739b6e
DeleteDowntimeCommand: process multiple objects at once
2023-08-02 12:44:02 +02:00
Alexander A. Klimov
cd5f52c1bc
DeleteCommentCommand: process multiple objects at once
2023-08-02 12:44:02 +02:00
Alexander A. Klimov
b92eeb69e7
Actually let ObjectsCommand derivates process multiple objects at once
2023-08-02 12:44:02 +02:00
Alexander A. Klimov
1a04927c8b
Introduce CommandForm#filterGrantedOn()
2023-08-02 12:44:02 +02:00
Alexander A. Klimov
b4222228cc
ObjectCommand and derivates: handle multiple objects
2023-08-02 12:44:02 +02:00
Alexander A. Klimov
051a391444
CommandForm#getCommand(): take (and process) multiple objects, not just one
2023-08-02 12:44:02 +02:00
Ravi Srinivasa
4f7b56ade1
Prevent downtime flexible duration being set to 0h0m
2023-06-02 12:19:15 +02:00
Sukhwinder Dhillon
d4958a4a6a
(AddComment/AcknowledgeProblem)Form: Add validators to expire_time element
2023-06-02 09:35:45 +02:00
Sukhwinder Dhillon
f818356ec6
Ipl-html SelectElement: Use options attr instead of multiOptions
2023-05-26 15:06:13 +02:00
Sukhwinder Dhillon
8fa8f4baf0
AcknowledgeProblem|AddComment-Form: Don't show datepicker if expire checkbox is unchecked
2023-05-22 15:07:29 +02:00
Johannes Meyer
b3c5caf3d6
RedisConfigForm: Properly clear empty sections/options
...
fixes #672
2022-11-02 15:35:11 +01:00
Johannes Meyer
992eebba3b
RedisConfigForm: Properly store password of 2nd redis
...
fixes #670
2022-11-02 14:48:27 +01:00
VerboEse
c5d842f156
Support for redis password ( #496 )
2022-03-31 15:33:58 +02:00
Johannes Meyer
ae1d3d1624
DeleteCommentForm: Make it just an inline form
...
It doesn't need any icinga form layout or style rules
2022-03-21 12:55:46 +01:00
Johannes Meyer
fb6eb88ddf
SetAsBackendForm: Make it a ipl\Html\Form
2022-02-24 16:22:37 +01:00
Johannes Meyer
598d26f0f9
Drop class SetAsBackendConfigForm
2022-02-24 16:13:33 +01:00
Yonas Habteab
2ffd820a74
ApiTransportForm: Don't use text to create password elements
2021-12-09 08:44:27 +01:00
Yonas Habteab
19ac9c322f
ApiTransportForm: Fix force creation of a transport doesn't work
2021-11-30 14:58:45 +01:00
raviks789
2a2ac29589
Fix dis/enabling of feature commands of multi-selected hosts or services.
...
In case of elements other than CheckboxElement $element->getValue() must be used instead of $element->isChecked().
2021-11-12 12:09:28 +01:00
raviks789
13669fd1ae
Set default value of mixed type feature commands of multi-selected hosts or services to "noop".
2021-11-12 12:07:55 +01:00
Johannes Meyer
a098d7e6fc
migrate.js: Enhance detection of modules with support for Icinga DB
2021-11-11 16:17:58 +01:00
Johannes Meyer
d6fbcb6e4e
Move functions Icingadb class into the new hook
2021-11-11 16:14:51 +01:00
Sukhwinder Dhillon
f0d0989332
migrate popup: Add checkbox to set icingadb as backend
...
This checkbox is only displayed in modules that support icingadb.
2021-11-11 09:08:16 +01:00
Sukhwinder Dhillon
6f6042926d
Introduce class SetAsBackendConfigForm.php
2021-11-11 09:08:16 +01:00
Yonas Habteab
342ceca676
Display a proper success message when toggling object passive checks
2021-11-05 08:54:57 +01:00
Yonas Habteab
aefd0e1f7d
Add PHP 7 argument & return type declarations to all member methods
2021-11-03 16:06:59 +01:00
Sukhwinder Dhillon
5da4b91098
ScheduleServiceDowntimeForm: Add DateTimeValidator
2021-10-07 16:14:06 +02:00
Yonas Habteab
201a6d9ed1
Provide navigation item config forms
2021-10-01 15:30:06 +02:00
Yonas Habteab
a0499f2cfa
Don't show success messages when an error occurred
2021-09-21 15:54:41 +02:00
Johannes Meyer
2b480c881d
Make Icinga\Module\Icingadb\Common\IcingaRedis a singleton
...
This limits the connection attempts and established connections
to a single one. Previously we made as many as we've accessed redis.
2021-09-21 15:30:29 +02:00
Johannes Meyer
cde7d6ae65
Merge pull request #333 from Icinga/bugfix/dont-allow-user-to-delete-scheduled-downtimes
...
Don't allow user to delete scheduled downtimes
2021-09-10 14:27:14 +02:00
Johannes Meyer
1f1c33b8f4
Store redis connections in a separate file
2021-09-10 14:21:33 +02:00
Sukhwinder Dhillon
14823480a9
Disable delete button if downtime cannot be deleted
2021-09-08 16:34:06 +02:00
Yonas Habteab
c67b873096
Show a notification for every successful action
2021-09-07 12:11:09 +02:00
Ravi Kumar Kempapura Srinivasa
f662646278
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-07-16 15:48:26 +02:00
Johannes Meyer
213b860fee
RedisConfigForm: Fix fieldset descriptions
2021-07-16 10:56:47 +02:00
Johannes Meyer
0984e240c5
RedisConfigForm: Enhance validation
2021-07-16 10:56:47 +02:00
Johannes Meyer
a0a9c4cbf7
RedisConfigForm: Properly clean-up unused pem files
2021-07-16 10:32:39 +02:00
Johannes Meyer
bbef9fd363
RedisConfigForm: Store pem files on disk, not in config
2021-07-15 18:02:04 +02:00
Alexander A. Klimov
0e1771a3c2
Redis connection: support TLS
2021-07-15 18:02:04 +02:00
Johannes Meyer
3bf8944316
Use strict ipl-html interfaces ( #217 )
...
* Command forms: Use strict interfaces to construct ipl\Html objects
* BaseTableRowItem: Use strict interfaces to create ipl\Html objects
* ObjectInspectionDetail: Use strict interfaces..
..to create ipl\Html objects
* Setup/*Step: Use strict interfaces to create ipl\Html objects
* ObjectSuggestions: Use strict interfaces to create ipl\Html objects
* Widget: Use strict interfaces to create ipl\Html objects
* Widget\Detail: Use strict interfaces to create ipl\Html objects
* Widget\ItemList: Use strict interfaces to create ipl\Html objects
* ServiceLink: Don't return an array
2021-06-22 10:29:25 +02:00
Florian Strohmaier
9f72fcdf66
DeleteDowntimeForm: Fix typo
2021-06-08 15:03:43 +02:00
Johannes Meyer
b04a2a29d0
command forms: Enable datetime picker widget on datetime elements
2021-05-17 14:22:00 +02:00
Johannes Meyer
d4136d9d83
ProcessCheckResultForm: Skip objects with passive checks disabled
...
Icinga won't accept check results for such.
2021-04-14 10:56:54 +02:00
Johannes Meyer
213092684e
Introduce native object permissions
2021-03-19 15:47:57 +01:00
Johannes Meyer
057b7dc8e0
Check permissions in object context when issuing commands
2021-03-19 15:47:57 +01:00