Commit graph

506 commits

Author SHA1 Message Date
Eric Lippmann
7bb09036fc Fix const visibility 2025-10-21 14:56:41 +02:00
Sukhwinder Dhillon
eed9a3bc04 Move the HostController::joinFix() method to DependecyNode
- Centerlize the method
2025-07-10 09:17:50 +02:00
Sukhwinder Dhillon
823a575616 RedundacyGroupController: Fetch redundancy_group through DependencyNode to apply restrictions correctly 2025-06-17 15:08:48 +02:00
Johannes Meyer
3f1cdc0a85 forms/Command/Object: Show progress labels upon submit
fixes #1204
2025-06-10 15:24:22 +02:00
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
Johannes Meyer
67b755b86d
RedisConfigForm: Catch write errors during save (#1208)
refs #1089
2025-06-10 15:23:52 +02:00
Sukhwinder Dhillon
8d67f55c30 Delete(Downtime|Comment)Form: Fix the incorrect success message 2025-05-21 16:47:35 +02:00
Will_i_code
56371be50c
Add support for redis acl/username and database selection (#1165)
resolves #1044
2025-05-14 09:53:32 +02:00
Johannes Meyer
08bbf39048 downtimes: Support automated removal 2025-05-12 16:59:07 +02:00
Johannes Meyer
c78d664f79 comments: Support automated removal 2025-05-12 16:59:07 +02:00
Johannes Meyer
ed4072221f controllers: Remove incorrect usage of trait CommandActions 2025-05-12 16:59:07 +02:00
marianrh
c4a8f4748f
Support setting a default comment for acknowledgements (#1178)
I propose to add a new option for setting a default comment for
acknowledging problems (`acknowledge_comment_text`), similar to the
existing `hostdowntime_comment_text` and `servicedowntime_comment_text`
options.

This originally was a pull request for Icinga Web 2
(https://github.com/Icinga/icingaweb2/pull/5365). I was asked to
implement this in Icinga DB Web as well. *However, since I'm not using
Icinga DB Web myself, this is untested.*

Beside adding the new feature, I also fixed a copy-and-paste error for
the `servicedowntime_comment_text` option.
2025-05-08 14:24:15 +02:00
Sukhwinder Dhillon
752aca7eb5 Controllers: Use paginationControl::getEmptyStateMessage() to set list's message 2025-05-08 14:19:13 +02:00
Sukhwinder Dhillon
3e49d8980b (Host|Service)Controller: Reset the query offset
This change was missing in the https://github.com/Icinga/icingadb-web/pull/734
2025-05-08 12:45:38 +02:00
raviks789
d3d746f2ec RedisConfigForm: Use empty string as default path for unset client certificate and key 2025-04-30 13:40:26 +02:00
Ravi Kumar Kempapura Srinivasa
807c57493b
Fix detail view links for services in flipped grid (#1167)
fixes #1080
2025-04-25 10:43:58 +02:00
Johannes Meyer
09df9368bf usergroup: Add fallback route which redirects to contactgroup 2025-04-10 15:04:41 +02:00
Johannes Meyer
04b8e220fd usergroup: Rename to contactgroup 2025-04-10 15:04:41 +02:00
Johannes Meyer
4bfe0eacac usergroups: Add fallback route which redirects to contactgroups 2025-04-10 15:04:41 +02:00
Johannes Meyer
e66661196b usergroups: Rename to contactgroups 2025-04-10 15:04:41 +02:00
Johannes Meyer
61d4b2eddf user: Add fallback route which redirects to contact 2025-04-10 15:04:41 +02:00
Johannes Meyer
19135bcceb user: Rename to contact 2025-04-10 15:04:41 +02:00
Johannes Meyer
d39f6eed81 users: Add fallback route which redirects to contacts 2025-04-10 15:04:41 +02:00
Johannes Meyer
9ea5d70512 users: Rename to contacts 2025-04-10 15:04:41 +02:00
Johannes Meyer
49c75e80a2 hostgroup: Preserve group filter in bulk processing details 2025-04-09 13:47:36 +02:00
Johannes Meyer
dd243a8b81 servicegroup: Preserve group filter in bulk processing details 2025-04-09 13:47:36 +02:00
Sukhwinder Dhillon
3c5cafbaf7 Host/Service/Hostgroup/Servicegroup: Use severity as default sort order 2025-04-03 10:29:38 +02:00
Sukhwinder Dhillon
f5583729e7 (Host/Service)groupController: Don't overwrite the (SearchBar/SearchEditor) suggestionUrl
SuggestionUrl now uses the preserveParams as default params
2025-04-01 11:53:02 +02:00
Johannes Meyer
b66d69a19f Host|ServiceController: Restore missing params…
…in the history load more url

fixes #1144
2025-03-28 16:51:47 +01:00
Sukhwinder Dhillon
eef90e0212 Disable detailActions for Multiselected list items 2025-03-28 16:13:17 +01:00
Sukhwinder Dhillon
b4e6f32f41 Let the Object(List|Grid|Table) call setDetailUrl() and setMultiselectUrl()
- Make all the calls in one place
2025-03-28 16:13:17 +01:00
Sukhwinder Dhillon
9febe3bf36 Introduce class ObjectTable and ObjectGrid
- Update css
2025-03-28 16:13:17 +01:00
Sukhwinder Dhillon
1c36123a87 Introduce (Host|Service)(Grid)groupRenderer
- Fix and remove obsolete css
2025-03-28 16:13:16 +01:00
Sukhwinder Dhillon
183d5ee7ba Introduce HistoryRenderer
- Remove now obsolete ItemList classes
2025-03-28 16:13:16 +01:00
Sukhwinder Dhillon
3252ff8925 Introduce class LoadMoreObjectList and NotificationRenderer
- Remove now obsolete ItemList classes
- Fix load-more element's css
- LoadMore: Replace `list-item` css class with new `item-layout` class, as this class is now responsible for list items
2025-03-28 16:13:16 +01:00
Sukhwinder Dhillon
c15f32a43f Introduce DowntimeRenderer
- Use it for ObjectList and ObjectHeader
- Remove now unused code and css
2025-03-28 16:13:16 +01:00
Sukhwinder Dhillon
c55f1dceb8 Introduce TicketLinkObjectList and CommentRenderer
TicketLinkObjectList: This class creates object list with ticket links using TicketLinks trait
CommentRenderer: Defines the rendering rules for Comment object
Cleanup css and unused classes
Adjust comment-popup.less
2025-03-28 16:13:16 +01:00
Sukhwinder Dhillon
bfe1681859 Introduce User/UsergroupRenderer
- Use it in ObjectList and ObjectHeader
- Remove now superfluous (User/Usergroup)Table(Row) classes and css
2025-03-28 16:13:16 +01:00
Sukhwinder Dhillon
36ce426bbe Introduce Host/Service Renderer
- Use these renderers in ObjectHeader and ObjectList class
- Remove now superfluous Host/ServiceList and ListItem classes
- DetailsAction: Change visibility of url setter to public (These are called in controller now)
2025-03-28 16:13:16 +01:00
Sukhwinder Dhillon
1ff6c25ec6 Generalize RedundancygroupHeader and rename it to ObjectHeader 2025-03-28 16:13:16 +01:00
Sukhwinder Dhillon
9f30f53ee6 Generalize DependencyNodeList and rename it to ObjectList 2025-03-28 16:13:16 +01:00
Sukhwinder Dhillon
31b7e66d61 RedundancygroupController: Remove superfluous summary fetch 2025-03-28 16:13:16 +01:00
Johannes Meyer
9aff01e8c4 RedundancyGroupHeader: Use new item layout implementation 2025-03-28 16:13:16 +01:00
Johannes Meyer
0b06486147 ScheduleHostDowntimeForm: Don't yield command duplicates
fixes #1145
2025-03-24 14:24:23 +01:00
Sukhwinder Dhillon
667fd2fe5b (Host/Service)Controller: Add missing onlyWithCustomVarSources() call 2025-01-22 13:44:32 +01:00
Sukhwinder Dhillon
ebdb48a3f5 (Host/Service)Controller: Add separated (searchEditor/complete)Action for parent & children tab 2025-01-22 13:44:32 +01:00
Sukhwinder Dhillon
3602d5ab65 (Host/Service)Controller: Change method name and fix syntax 2025-01-22 13:44:32 +01:00
Sukhwinder Dhillon
41601abff7 (Host|Service)Controller: Sort parents children tab list by default to severity
- Disable the default sorting for the `$hasDependencyNode` and UnreachableParent's `$rootQuery`, as sort is not required here
and triggers an error, because the sort columns are not retrieved.
2025-01-22 13:44:32 +01:00
Sukhwinder Dhillon
6aa32fa9f8 (Host|Service)Controller: Use Translation trait method 2025-01-22 13:44:32 +01:00
Sukhwinder Dhillon
b69fb09c90 Don't show parents children tab if icingadb.schema does not support it 2025-01-22 13:44:32 +01:00