Eric Lippmann
7fa28b9c9f
Fix missing space after NOT operator
2025-10-21 14:56:41 +02:00
Sukhwinder Dhillon
0ea3b63458
Controller: Remove obsolete if condition
...
Ipl-web manages this now
2025-03-28 16:13:17 +01:00
Johannes Meyer
0240cc437d
Controller: Properly reset the default query limit during exports
2024-03-22 15:05:25 +01:00
Johannes Meyer
fbc37786ed
Controller: Serve JSON if accepted
...
fixes #988
2024-03-22 14:30:13 +01:00
Johannes Meyer
ecb512620c
Only qualify base columns during quick searches
...
All other columns are already qualified relative to the
base model. This is usually sufficient because qualification
is only required if applied to a query, which isn't happening
at this stage.
fixes #979
2024-03-14 15:35:18 +01:00
Johannes Meyer
2d85d98259
Controller: Preserve only selected search request parameters
...
fixes #887
2023-09-28 09:06:20 +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
ad39b1125c
Controller: PrintableHtmlDocument::setTitle() expects string as param
2023-09-05 14:26:43 +02:00
Sukhwinder Dhillon
d2f1a4dbde
Add variable type hint to Icinga::app()'s returned object
2023-09-05 14:26:43 +02:00
Sukhwinder Dhillon
ba26dbe761
Controller::createColumnControl(): Make columns mandatory in tabular view mode
2023-08-11 16:01:29 +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
Yonas Habteab
b7c19c5a52
Controller: Set redirectUrl to grid action when rendering Host/Servicegroups & switching to minimal
2023-06-20 13:39:53 +02:00
Johannes Meyer
c193b51b7f
Controller: Drop create*Control methods
...
They're now in the base class
2023-06-15 15:54:00 +02:00
Johannes Meyer
5303abe51c
Use css grid instead of table layout for the hostgroup list
2023-06-07 10:53:44 +02:00
Johannes Meyer
389cc2ff57
Merge BaseItemTable into StateItemTable
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
Johannes Meyer
0ac7fd1de5
Controller: Outsource filter construction in method handleSearchRequest()
...
Makes it possible for controllers to make their own adjustments.
2022-08-22 16:27:01 +02:00
Johannes Meyer
233609f5a3
Controller: Qualify search columns
2022-08-22 16:19:11 +02:00
Johannes Meyer
eee4a81d2e
Introduce new widget base class BaseItemTable
2022-06-09 16:26:27 +02:00
Johannes Meyer
b4b1fffe18
Controller: Add new method createColumnControl()
2022-06-09 16:26:27 +02:00
Johannes Meyer
61b3f16c0d
Controller: Utilize CsvResultSet and JsonResultSet in export()
2022-06-09 16:26:27 +02:00
Sukhwinder Dhillon
f31291d28e
Only use pdf export module for pdf format
2022-05-24 16:09:02 +02:00
Johannes Meyer
5b026f8f26
Adjust usages of ipl\Stdlib\Filter::equal() and ::unequal()
2022-05-24 12:02:51 +02:00
Sukhwinder Dhillon
5289265839
Controller: Add Todo for preferences storage backend
2022-05-02 10:29:09 +02:00
Johannes Meyer
8ac0fd69b4
Controller: Avoid passing null to base64_encode()
2022-04-12 15:45:12 +02:00
Johannes Meyer
e335759677
Controller: Wrap exported rows onto new lines for JSON
2022-04-12 15:44:21 +02:00
Johannes Meyer
5ff633e96b
Controller: Reset default limit for pdf exports
2022-04-12 15:43:55 +02:00
Johannes Meyer
75ebd11ab3
Controller: Utilize SortControl::create() and ::apply()
2022-03-17 14:24:04 +01:00
Johannes Meyer
94cdec37f1
Introduce Icinga\Module\Icingadb\Common\SearchControls
2022-03-17 14:24:04 +01:00
Johannes Meyer
57d54a2679
Controller: Use web 2's sendAsPdf() as of v2.10
2022-03-01 17:22:00 +01:00
Johannes Meyer
a82f89d93f
Controller: Validate vars for union queries correctly
...
Just another case of how bad this `UnionQuery` and
`UnionModel` is designed...
2022-02-24 17:09:09 +01:00
Johannes Meyer
832b8fe8b9
Controller: Only keep preserved params for the searchbar action
...
fixes #431
2021-11-08 17:20:59 +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
6c153aaaeb
Controller: Validate columns with the new search bar events
2021-10-29 10:46:15 +02:00
Johannes Meyer
57679d15da
Controller: Optimize the enrichment of conditions a bit
2021-10-28 15:39:19 +02:00
Johannes Meyer
07a2b4a494
Controller: Match columns case-insensitive for editor value suggestions
2021-10-28 15:39:19 +02:00
Johannes Meyer
c1ac9d0eda
Catch ipl\Orm's new exceptions
2021-10-28 15:24:45 +02:00
Sukhwinder Dhillon
ddbac68f94
Controller: Add support for json and csv
2021-10-08 15:48:03 +02:00
Johannes Meyer
6b30390bb8
Controller: Set title natively on ContinueWith
2021-09-27 11:55:20 +02:00
Yonas Habteab
d29fdcc6c0
Fix view mode shows less items when using vertical pagination
2021-09-21 15:54:15 +02:00
Yonas Habteab
fcda9bd655
Controller: Don't use any params if not preserved
2021-09-10 14:28:56 +02:00
Johannes Meyer
ff8460a1f6
Controller: Link preferred view mode with the current view
...
fixes #260
2021-09-03 10:10:58 +02:00
Johannes Meyer
4ee7eefd98
Controller: Don't load the monitoring module
2021-08-31 16:38:31 +02:00
Johannes Meyer
93f89dfcc4
Controller: Properly export views to PDF
2021-08-31 11:29:15 +02:00
Yonas Habteab
87ca6df925
Fix uncaught argument count error
2021-08-24 10:56:10 +02:00
Yonas Habteab
2e81f94f9a
Controller: Fix missing name when switching view mode
2021-08-24 10:42:26 +02:00
Johannes Meyer
5a8813b98b
Move ViewModeSwitcher to Icinga\Module\Icingadb\Web\Control
2021-08-20 17:23:29 +02:00
Johannes Meyer
6e48f5cb35
Move BaseItemList to Icinga\Module\Icingadb\Common
2021-08-20 16:04:52 +02:00