Commit graph

78 commits

Author SHA1 Message Date
Sukhwinder Dhillon
752aca7eb5 Controllers: Use paginationControl::getEmptyStateMessage() to set list's message 2025-05-08 14:19:13 +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
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
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
d73691017f (Hosts/Services)Controller: Do not make object list in detail view controls an .action-list 2023-09-12 13:57:11 +02:00
Johannes Meyer
959f06cafd Utilize ipl\Web\Url::setFilter() where applicable 2023-09-12 09:52:19 +02:00
Yonas Habteab
705a470a1f Utilize widgets moved to ipl-web 2023-09-08 14:54:47 +02:00
Sukhwinder Dhillon
f675d539f2
Enhance global search (#756)
* Controllers: Remove not required method call `handleSearchRequest()`

These controller do not support global search

* Models: Add `display_name` to default search columns

* Controller: Add ´$additionaColumns` param to method handleSearchRequest() and prepareSearchFilter()

* TacticalController: Remove superfluous override of method `prepareSearchFilter()`
2023-05-30 15:26:00 +02:00
raviks789
cd6f8e87ff Unset pagination parameters for service grid when limit=0,0
The pagination parameters must be unset when the limit parameter is `0,0` and the service grid
for all the hosts and services must be displayed.
2023-05-23 16:31:27 +02:00
raviks789
acc11a395d Severity sort must also sort objects by last_state_change in descending 2023-05-22 10:53:13 +02:00
Johannes Meyer
90b6ef85cd Add new search route to only search for services on specific hosts 2022-08-22 16:27:01 +02:00
Johannes Meyer
abbf486ed4 Drop view param from show more urls in all index routes
refs #463
2022-08-17 15:21:24 +02:00
Johannes Meyer
6ece4de910 services/index: Add support for the columns parameter 2022-06-09 16:26:27 +02:00
Johannes Meyer
b4b1fffe18 Controller: Add new method createColumnControl() 2022-06-09 16:26:27 +02:00
Eric Lippmann
052c30520d Revert "Adjust usages of ipl\Orm\Query::with()"
This reverts commit d947362c9410911069db60e61c934a879eb8777e.
2022-06-02 14:24:52 +02:00
Johannes Meyer
068377e4c6 Don't require relation state in state summary queries
Lets the models add the relation on their own, using
`utilize()` as the relation is only needed inside
expressions.
2022-06-02 14:24:51 +02:00
Johannes Meyer
a0500c3b67 Adjust usages of ipl\Orm\Query::with() 2022-06-02 14:24:51 +02:00
Johannes Meyer
7fe51b06c9 services/grid: Fix search editor integration 2022-06-01 13:14:57 +02:00
Johannes Meyer
8a58d32e3b services/grid: Don't render the flipped grid too early 2022-06-01 13:14:22 +02:00
Johannes Meyer
21a930d3af services/grid: Fix missing Load More when interacting with the search bar 2022-05-31 16:46:06 +02:00
Johannes Meyer
03be86f7f0 services/grid: Preserve filters when interacting with the grid 2022-05-31 16:45:35 +02:00
Johannes Meyer
8f05906234 services/grid: Cleanup column aliases
Ensures compatibility with Icinga/ipl-orm#52.
Backwards compatibility is still the case.
2022-05-24 09:29:27 +02:00
Johannes Meyer
c6db259248 Adjust calls to CompatController::setTitle()
refs https://github.com/Icinga/ipl-web/pull/72
2022-03-16 16:35:34 +01:00
Johannes Meyer
8d6a8a56fe
Merge pull request #405 from Icinga/query-optimization
Optimize queries
2021-11-12 17:30:17 +01:00
raviks789
cf4b68d0f0 Use display names as axis headers for hosts and services in service grid.
The x- and y-axis column headers and sort control in service grid must use display names for hosts and services.
2021-11-12 16:33:34 +01:00
Yonas Habteab
2405936475 INNER JOIN states in the host and service list
Otherwise, MySQL will not use indexes on the state tables when
filtering / sorting the views by columns from the state tables.

Co-authored-by: Eric Lippmann <eric.lippmann@icinga.com>
2021-11-12 13:02:32 +01:00
Yonas Habteab
2d19db5ee3 Don't sort by host/service display_name simultaneously
Simultaneous sorting by `host.display_name` and
`service.display_name` and vice versa prevents the use of the
display_name indexes.

Co-authored-by: Eric Lippmann <eric.lippmann@icinga.com>
2021-11-12 13:02:32 +01:00
Yonas Habteab
aefd0e1f7d Add PHP 7 argument & return type declarations to all member methods 2021-11-03 16:06:59 +01:00
Ravi Kumar Kempapura Srinivasa
19495246d9 Add service id and host ids gridcols to pivotTable 2021-11-02 09:27:03 +01:00
Johannes Meyer
7efb797fbb Utilize VolatileStateResults where applicable 2021-10-08 15:36:36 +02:00
Johannes Meyer
a3f1c73f79 CommandActions: Make required methods abstract 2021-10-08 15:10:44 +02:00
Johannes Meyer
9e1c1d2eed services/grid: Fix searchbar integration
fixes #317
2021-09-01 12:12:43 +02:00
Sukhwinder Dhillon
69da3621ba Add relation to last_comment 2021-08-23 10:57:33 +02:00
Johannes Meyer
5a8813b98b Move ViewModeSwitcher to Icinga\Module\Icingadb\Web\Control 2021-08-20 17:23:29 +02:00
Johannes Meyer
d827699b50 Move ServiceList to Icinga\Module\Icingadb\Widget\ItemList 2021-08-20 16:27:06 +02:00
Yonas Habteab
9f8935f081 Controller: Increase limit on minimal view mode 2021-08-20 15:43:59 +02:00
Florian Strohmaier
1d1992891a
Add icon image support (#225) 2021-08-20 15:43:12 +02:00
Johannes Meyer
43327bcac8 ObjectsDetail: Load native detail hooks 2021-08-20 11:09:58 +02:00
raviks789
bc118516ec
Add Service Grid (#204) 2021-08-05 11:23:01 +02:00
Johannes Meyer
8eaab649de ShowMore: Use trait ipl\Web\Common\BaseTarget 2021-08-02 16:02:05 +02:00
Florian Strohmaier
016b9f3f17
Make view mode switcher a form (#182) 2021-05-26 11:44:50 +02:00
Johannes Meyer
1957c90196 Adjust usages of the old ContinueWith widget to use the new one 2021-04-22 16:18:16 +02:00
Johannes Meyer
f630826871 Implement searchEditorAction everywhere else 2021-03-19 16:08:46 +01:00
Johannes Meyer
76cb944bec services/search-editor: Set a proper title 2021-03-19 16:04:01 +01:00
Johannes Meyer
612d795eba ServicesController: Implement method searchEditorAction() 2021-03-19 16:04:01 +01:00
Johannes Meyer
18f009c55f Utilize ipl\Orm\Query::filter() where appropriate 2021-03-19 15:42:15 +01:00
Johannes Meyer
12e67204b0 services/detail: Filter and restrict feature status query 2021-03-09 09:26:19 +01:00
Johannes Meyer
f88066a930 Add native implementation to toggle object features 2021-03-09 09:13:20 +01:00
Johannes Meyer
6e73d390c2 Replace all usages of Icinga\Data\Filter with ipl\Stdlib\Filter 2021-01-14 12:08:59 +01:00