Commit graph

350 commits

Author SHA1 Message Date
Johannes Meyer
445410f6ef Revert "migrate: Fix false positives once more"
This reverts commit 436bac321a.
2023-09-28 09:47:41 +02:00
Johannes Meyer
f6e808bac1 migrate: Properly override url params
fixes #881
2023-09-26 14:49:04 +02: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
Sukhwinder Dhillon
1bd2a83be7 Avoid using inline style 2023-09-08 16:25:40 +02:00
Yonas Habteab
705a470a1f Utilize widgets moved to ipl-web 2023-09-08 14:54:47 +02:00
Sukhwinder Dhillon
7a3eefbb17 HostsController: Check ! $compact as in ServicesContoller 2023-09-05 14:26:43 +02:00
Johannes Meyer
3aedccaad5 History: Sort also by type by default 2023-08-11 16:06:33 +02:00
Johannes Meyer
987a0a3416 Don't pass an array to ObjectsCommand::setObjects()
fixes #832
2023-08-10 13:45:56 +02:00
Alexander A. Klimov
b4222228cc ObjectCommand and derivates: handle multiple objects 2023-08-02 12:44:02 +02:00
Johannes Meyer
436bac321a migrate: Fix false positives once more
Hope for the best that this is the last fix -.-
2023-07-05 10:31:52 +02:00
Johannes Meyer
7fb6327604 migrate: Decode urls prior transmission
Should be safe to do, as they're transmitted as JSON
2023-06-22 15:48:39 +02:00
raviks789
b1654ee0e0 Use BaseTableRowItem for HostgroupGridCell and ServicegroupGridCell 2023-06-20 13:39:53 +02:00
raviks789
cc02853f54 Use GridViewModeSwitcher for host and service groups
host and service groups need `GridViewModeSwitcher` to toggle between
list and grid view.
2023-06-20 13:39:53 +02:00
raviks789
acccbcb6d5 Order HostGroup/ServiceGroup by severity for grid list view 2023-06-20 13:39:53 +02:00
Yonas Habteab
ff7acb2574 Introduce Host-/Servicegroup grid action 2023-06-20 13:39:53 +02:00
Sukhwinder Dhillon
2e7d7b9129 CheckStatistics: Show TimePeriod name if available 2023-06-15 15:25:25 +02:00
Johannes Meyer
e2650d289f migrate: Notify the user about the equal/like filter change 2023-06-15 11:07:53 +02:00
Johannes Meyer
561382b8c8 Also use grid layout for users, usergroups and servicegroups 2023-06-07 10:53:44 +02:00
Johannes Meyer
5303abe51c Use css grid instead of table layout for the hostgroup list 2023-06-07 10:53:44 +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
Sukhwinder Dhillon
02a2d90f1b ConfigController: Always check if the user has permissions 2023-05-22 10:46:31 +02:00
Sukhwinder Dhillon
e0d0d19e5d Pagination|History: Reset query offset on page reload 2023-05-22 09:30:58 +02:00
Johannes Meyer
9041a646c7 migrate/backend-support: Only return results if monitoring is accessible 2023-03-24 10:44:03 +01:00
raviks789
1a02cd3051 Provide generic tts integration 2022-10-13 10:59:37 +02:00
raviks789
bb066e20be Replace deprecated hook Icinga\Web\Hook with Icinga\Application\Hook 2022-09-01 08:12:06 +02:00
Johannes Meyer
0cf69faf27 tactical: Also search for hosts during quick search 2022-08-22 16:27:01 +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
d2b63fddc5 servicegroups: Use the searchbar's updated filter as base filter 2022-08-22 16:19:11 +02:00
Johannes Meyer
f65dea6cbb hostgroups: Use the searchbar's updated filter as base filter 2022-08-22 16:19:11 +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
raviks789
3c90c2d3e5 Preserve filters after clicking Load More
Currently, the load more urls are fixed and hence the filters are not preserved after clicking on load more.
In this fix load more url has been changed dynamically upon applying filters for history or notifications and
hence preserving the filters.
2022-08-17 15:19:39 +02:00
Johannes Meyer
735e3d4a55 servicegroup/index: Pass a result set to the service list 2022-06-29 12:40:43 +02:00
Johannes Meyer
ec8a5628dc hostgroup/index: Pass a result set to the host list 2022-06-29 12:40:43 +02:00
Johannes Meyer
6ece4de910 services/index: Add support for the columns parameter 2022-06-09 16:26:27 +02:00
Johannes Meyer
b1450fdc6d hosts/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
Eric Lippmann
6325af60e7 Fix empty host/service group details when restrictions are active
With recent changes in IPL - ORM [1], utilized relations no longer
perform subquery filters, which is fine since the only designed
difference is that columns from utilized relations are not appended to
the select list. However, this change produces empty results here
because the filter should actually be run in a subquery. We called
utilize() here because we modified the base query to apply the group ID
filters. Now that we're using filters that automatically handle
relations, it's safe to remove the utilize() calls.

[1] https://github.com/Icinga/ipl-orm/pull/44
2022-05-24 16:04:23 +02:00
Eric Lippmann
04410a866d Use Query::filter() for applying WHERE conditions 2022-05-24 16:04:22 +02:00
Johannes Meyer
5b026f8f26 Adjust usages of ipl\Stdlib\Filter::equal() and ::unequal() 2022-05-24 12:02:51 +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