Commit graph

59 commits

Author SHA1 Message Date
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
Johannes Meyer
b469a88428 Handle search bar validity in all controllers 2021-01-14 11:17:08 +01:00
Johannes Meyer
f4a5eaf049 services/: 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
7204433f5e ServicesController: Preserve limit, sort and view params when filtering 2020-05-19 12:27:24 +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
03c2e22618 ServicesController: Fetch required relations in a single query 2020-03-03 14:28:24 +01:00
Johannes Meyer
399d0430d0 ServicesController: Add show more widget in compact mode 2020-01-31 15:38:36 +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
0b35cdb8a1 ServicesController: Prefer to use the ShowMore widget 2020-01-15 09:55:54 +01:00
Eric Lippmann
2b757f4919 Services: Add "Continue with filter" link 2020-01-10 09:29:28 +01:00
Eric Lippmann
0e4d930dab Implement ServicesController::getFeatureStatus() 2020-01-08 14:00:57 +01:00
Eric Lippmann
143d1ebd4b Add multiselect actions for services 2020-01-08 10:00:11 +01:00
Johannes Meyer
85e3e94b27 ServicesController: Don't show statussummary in compact view 2019-12-12 16:59:39 +01:00
Eric Lippmann
0411ff81b4 Services: Add status bar 2019-12-11 22:14:34 +01:00
Eric Lippmann
4eba54fe17 Services: Add sort control 2019-12-11 16:13:55 +01:00
Johannes Meyer
8beb16e18e app: Set autorefresh intervals for some routes 2019-12-11 08:59:30 +01:00
Florian Strohmaier
59b7ae5ec5 ServicesController: Adjust right aligned controls order 2019-11-05 13:00:56 +01:00