Commit graph

71 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
7a3eefbb17 HostsController: Check ! $compact as in ServicesContoller 2023-09-05 14:26:43 +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
acc11a395d Severity sort must also sort objects by last_state_change in descending 2023-05-22 10:53:13 +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
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
c6db259248 Adjust calls to CompatController::setTitle()
refs https://github.com/Icinga/ipl-web/pull/72
2022-03-16 16:35: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
aefd0e1f7d Add PHP 7 argument & return type declarations to all member methods 2021-11-03 16:06:59 +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
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
00d92dd86b Move HostList to Icinga\Module\Icingadb\Widget\ItemList 2021-08-20 16:14:00 +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
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
18f009c55f Utilize ipl\Orm\Query::filter() where appropriate 2021-03-19 15:42:15 +01:00
Johannes Meyer
40e2950052 hosts/detail: Filter and restrict feature status query 2021-03-09 09:26:19 +01:00
Johannes Meyer
1522dfa535 hosts/details: Only show host comment count
Previously, also service comments were counted.
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
Johannes Meyer
b469a88428 Handle search bar validity in all controllers 2021-01-14 11:17:08 +01:00
Johannes Meyer
b344f5c38f hosts/: Show search bar control 2021-01-14 11:12:11 +01:00
Johannes Meyer
65925cd7ac Ignore showCompact instead of view in controllers 2020-06-04 09:54:55 +02:00
Johannes Meyer
4313b9b19a HostsController: Preserve limit, sort and view params when filtering 2020-05-19 12:26:52 +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
5e441c93a0 Add license note to every file 2020-03-13 10:36:24 +01:00
Johannes Meyer
7ec08f51cf HostsController: Add show more widget in compact mode 2020-01-31 15:37:51 +01:00
Johannes Meyer
493483bd7a ObjectsDetail: Remove redundant second parameter $objects 2020-01-15 09:58:48 +01:00
Johannes Meyer
21e0489129 MultiselectQuickActions: Remove redundant second parameter $objects 2020-01-15 09:58:08 +01:00
Johannes Meyer
e1a107ddde HostsController: Prefer to use the ShowMore widget 2020-01-15 09:54:32 +01:00
Eric Lippmann
ac4403c9eb Hosts: Add "Continue with filter" link 2020-01-10 09:29:15 +01:00
Eric Lippmann
9a7e9c9ac7 Implement HostsController::getFeatureStatus() 2020-01-08 13:59:48 +01:00
Eric Lippmann
ed7094af9e Add multiselect action for hosts 2020-01-08 10:00:11 +01:00