Commit graph

17 commits

Author SHA1 Message Date
Johannes Meyer
2da207bedd commands: Send multiple commands while bulk processing
Reduces risk of timeouts in case Icinga takes its time to respond.
The timeout of 15 seconds introduced earlier has been kept.

Chunk sizes were chosen as follows:
- 1000: Cheap calculations (object features, check scheduling)
- 500: Expected disk writes (comments)
- 250: Process check result, Downtimes, Acks
2025-06-10 15:24:22 +02:00
Sukhwinder Dhillon
8d67f55c30 Delete(Downtime|Comment)Form: Fix the incorrect success message 2025-05-21 16:47:35 +02:00
Johannes Meyer
08bbf39048 downtimes: Support automated removal 2025-05-12 16:59:07 +02:00
Johannes Meyer
d5b4087a50 CommandForm: Don't pass generators to commands 2024-04-08 09:17:04 +02:00
Johannes Meyer
bcdbda1e40 CommandForm: Expect Iterator in method getCommands() 2024-03-26 17:05:32 +01:00
Alexander A. Klimov
bbf2739b6e DeleteDowntimeCommand: 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
051a391444 CommandForm#getCommand(): take (and process) multiple objects, not just one 2023-08-02 12:44:02 +02:00
Yonas Habteab
aefd0e1f7d Add PHP 7 argument & return type declarations to all member methods 2021-11-03 16:06:59 +01:00
Yonas Habteab
a0499f2cfa Don't show success messages when an error occurred 2021-09-21 15:54:41 +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
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
Florian Strohmaier
9f72fcdf66 DeleteDowntimeForm: Fix typo 2021-06-08 15:03:43 +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
Johannes Meyer
47a90b6393 Add native implementation to delete downtimes 2021-03-09 09:13:20 +01:00