Bastian Lederer
cd6eb32720
Move creation of the ColumnChooser Form to createColumnControl()
2026-04-14 15:13:49 +02:00
Bastian Lederer
1cd03462d8
Add ServiceItemTable::setColumnChooserUrl()
...
Use the setter to set the url for the ColumnChooser
2026-04-14 15:13:49 +02:00
Bastian Lederer
e555d3c2d8
Use SearchSuggestions for ColumnChooser
...
Use `SearchSuggestions` in `HostsController` and `ServicesController`
2026-04-14 15:13:49 +02:00
Bastian Lederer
a5dfb07f9c
Controller::createColumnControl(): Use parameter for default columns
...
Add a parameter for default columns to be used if no columns
are set in the URL
2026-04-14 15:13:49 +02:00
Bastian Lederer
ba688bb431
Controller::createViewModeSwitcher(): Add param $viewModeSwitcherClass
...
Use the parameter to customize the type of ViewModeSwitcher used
2026-04-14 15:13:49 +02:00
Bastian Lederer
b101b50325
Exclude already selected columns from suggestions
...
Exclude regular columns by using fixed columns
and expand Objectsuggestions to exclude a given set of
customvars.
2026-04-14 15:13:49 +02:00
Bastian Lederer
ed0e4a6b21
Adjust controllers
...
Adjust HostsController and ServicesController to use the new
ColumnChooser form and the TabularViewModeSwitcher.
The Controller class is adjusted to work with the TabularViewModeSwitcher
The HostGroupsController and ServiceGroupsController are adjusted,
to ensure they use with the GridViewModeSwitcher.
2026-04-14 15:13:49 +02:00
Eric Lippmann
272e791390
License source files as GPL-3.0-or-later
...
Add SPDX license headers and mark source files as GPL-3.0-or-later to
preserve the option to relicense under later GPL versions.
2026-03-11 14:03:05 +01:00
Sukhwinder Dhillon
9cabfd5968
ContinueWith: Disable button if the query with filter returns no results ( #1300 )
...
L10n Update / update (push) Has been cancelled
CI / PHP (push) Has been cancelled
fixes #1299
requires https://github.com/Icinga/ipl-web/pull/334
2026-01-22 14:40:57 +01:00
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