Commit graph

44 commits

Author SHA1 Message Date
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
Johannes Meyer
b33026dc6a Add native implementation to toggle instance features 2021-03-09 09:13:20 +01:00
Johannes Meyer
f88066a930 Add native implementation to toggle object features 2021-03-09 09:13:20 +01:00
Johannes Meyer
47a90b6393 Add native implementation to delete downtimes 2021-03-09 09:13:20 +01:00
Johannes Meyer
c05a5f0f36 Introduce class ProcessCheckResultForm 2021-03-09 09:13:20 +01:00
Johannes Meyer
e52918211c Introduce class ScheduleCheckForm 2021-03-09 09:13:20 +01:00
Johannes Meyer
42c9d78346 Introduce class ScheduleHostDowntimeForm 2021-03-09 09:13:20 +01:00
Johannes Meyer
4f75ddc246 Introduce class ScheduleServiceDowntimeForm 2021-03-09 09:13:20 +01:00
Johannes Meyer
7eb573164a Introduce class SendCustomNotificationForm 2021-03-09 09:13:20 +01:00
Johannes Meyer
b9c1fb1e0b Introduce class AcknowledgeProblemForm 2021-03-09 09:13:20 +01:00
Johannes Meyer
0ce61aec21 Add native implementation to remove acknowledgements 2021-03-09 09:13:20 +01:00
Johannes Meyer
518e8a6a53 Add native check now implementation 2021-03-09 09:13:20 +01:00
Johannes Meyer
99ede4eab7 Introduce class AddCommentForm 2021-03-09 09:13:20 +01:00
Johannes Meyer
f58d77ebc5 Add native implementation to delete comments 2021-03-09 09:13:20 +01:00
Johannes Meyer
d772b1324b Introduce class CommandForm 2021-03-09 09:13:20 +01:00
Johannes Meyer
2e8acdcba7 Add command transport configuration UI 2021-03-09 09:13:20 +01:00
Johannes Meyer
7d602ac03f RedisConfigForm: Validate the configuration upon save 2020-04-30 15:19:10 +02:00
Johannes Meyer
2e191a6826 Use t() instead of translate() in controllers and forms
There's no `icingadb` domain so why should we ask everytime
for it. `t()` only utilizes the `icinga` domain and that's
what we need.
2020-04-24 15:01:29 +02:00
Johannes Meyer
dba06b2eab Add missing/refactor existing localization markings 2020-04-24 15:01:29 +02:00
Johannes Meyer
5e441c93a0 Add license note to every file 2020-03-13 10:36:24 +01:00
Johannes Meyer
e26782d00b DatabaseConfigForm: Don't pre-select a db resource
refs #24
2020-03-12 10:32:01 +01:00
Johannes Meyer
97b8f4b61c RedisConfigForm: Avoid term master-master 2020-03-09 14:53:56 +01:00
Eric Lippmann
32959ec9c4 Allow to configure the Redis connection(s) 2019-12-06 09:49:28 +01:00
Eric Lippmann
16c796c3c8 Allow to configure the database backend 2019-12-06 09:49:28 +01:00