Commit graph

415 commits

Author SHA1 Message Date
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
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
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
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
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
Sukhwinder Dhillon
cda2f4bb05 Add csv/json export support for parents and children tab 2025-01-22 13:44:32 +01:00
Sukhwinder Dhillon
1ceb351e04 (Host|Service)Controller: Add return type to methods 2025-01-22 13:44:32 +01:00
Sukhwinder Dhillon
5e436dc57f (Host|Service)Controller: Fix tab activation
- Set the outer tab as active.

Previously, the inner tab was activated in the setTitleTab method, but the outer tab does not know about the state of inner tabs.
So whenever sendMultipartUpdate() -> getActiveTab() was called, the retured value was always null.
2025-01-22 13:44:32 +01:00
Sukhwinder Dhillon
d5d36d7233 (Host|Service)Controller: Shift the required param
- Otherwise the searchbar uses it as base filter and apply it on the query
2025-01-22 13:44:32 +01:00
Sukhwinder Dhillon
ad8d71b253 (Host|Service)Controller: Add parents and children tab 2025-01-22 13:44:32 +01:00
Sukhwinder Dhillon
645ae00155 (Host|Service)Controller: Let the init() render the object header 2025-01-22 13:44:32 +01:00
Sukhwinder Dhillon
7847f6eb94
RedundancygroupController: Separate (searchEditor/complete)Action for members & children tab (#1128) 2025-01-22 11:37:56 +01:00
Sukhwinder Dhillon
59126da74f RedundancygroupController: Restrict customVar suggestions
- Only use fetchable relations.
- Restrict to `host`, `service`, `hostgroup` and `servicegroup`
2025-01-20 10:50:18 +01:00
Sukhwinder Dhillon
dd744395c7 Keep compatibility with Icinga DB mysql v6 & pgsql v4 2025-01-14 13:13:25 +01:00
Sukhwinder Dhillon
d4f69516a2 RedundancygroupController: Add CSV/JSON export option for members & children tab 2025-01-14 11:50:39 +01:00