Commit graph

2169 commits

Author SHA1 Message Date
Johannes Meyer
b3b8004332 Remove public/css/widget/cancel-button.less 2023-07-11 10:30:47 +02:00
Florian Strohmaier
b9dfbab80b Render footer of detailed list items only when not empty 2023-07-11 10:30:37 +02:00
Eric Lippmann
e6d1c161ca
Allow to optionally export total averages of sla reports (#678) 2023-07-10 12:37:08 +02:00
Jonada Hoxha
7f2d772c01 SlaReport: Add checkbox to export total % of hosts/services for CSV and JSON 2023-07-10 12:27:26 +02:00
Johannes Meyer
86b50715f3
Add class structure to js files (#642) 2023-07-07 16:42:09 +02:00
Sukhwinder Dhillon
cdda106b75 Convert migrate.js to class structure 2023-07-07 16:36:08 +02:00
Sukhwinder Dhillon
807d820308 Convert loadmore.js to class structure 2023-07-07 16:36:08 +02:00
Sukhwinder Dhillon
586d8d618e Convert action-list.js to class structure 2023-07-07 16:36:07 +02:00
Johannes Meyer
ebb0eaebc5
Fix incomplete state badge filters (#796)
fixes #795

requires https://github.com/Icinga/ipl-web/pull/165
2023-07-05 15:18:17 +02:00
Johannes Meyer
7e044d27bf
Render/suggest empty custom vars correctly (#779)
fixes #778
2023-07-05 14:09:29 +02:00
Yonas Habteab
96470ea243 Fix customvar search suggestions 2023-07-05 14:05:53 +02:00
Johannes Meyer
ca57b19ec1 test: Add case for Icinga\Module\Icingadb\Model\CustomvarFlat 2023-07-05 14:05:53 +02:00
Johannes Meyer
bd7df38894 CustomvarFlat: Properly handle index definitions 2023-07-05 14:05:53 +02:00
Johannes Meyer
af40c8a5bc Determine custom var source paths of nested array correctly 2023-07-05 14:05:53 +02:00
Johannes Meyer
d9d3c074fb ObjectSuggestions: Don't split custom var paths more than once 2023-07-05 13:51:05 +02:00
Yonas Habteab
66e05f9be7 Unflatten empty customvars of type array & dict correctly 2023-07-05 13:51:05 +02:00
Johannes Meyer
717b5c65f2 tactical: Properly process base filter on state badges
fixes #795
2023-07-05 10:36:11 +02:00
Johannes Meyer
70c73c0138 Host|ServiceStatusBar: Pass base filter to the state badges
Clicking repeatedly on the same badge, duplicates the badge
filter now endlessly. Though, the semantic doesn't change,
so I accept this for now. Fixing this is far too complex.
2023-07-05 10:33:20 +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
02fe047f55 CheckStatistics: Don't simulate running checks if they're overdue
fixes #788
2023-06-28 11:50:47 +02:00
Johannes Meyer
4d74583430 migrate.js: Decode urls prior comparison with migration results
The latter is now always decoded, since #787
2023-06-27 17:17:08 +02:00
Johannes Meyer
64c83bedcf
Merge pull request #787 from Icinga/fix/migration-false-positives-786
Fix migration false positives
2023-06-26 10:30:24 +02:00
Johannes Meyer
75f6fa1e87 migrate: Already migrate monitoring urls with wildcards 2023-06-22 15:51:05 +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
Johannes Meyer
67fc7f5451
Merge pull request #777 from Icinga/feature/visualize-running-checks-493
Visualize that a check or downtime is running
2023-06-22 15:25:21 +02:00
Johannes Meyer
0401e75419 BaseDowntimeListItem: Make progress animatable 2023-06-22 14:56:47 +02:00
Johannes Meyer
6c05f51b00 DowntimeCard: Make progress animatable 2023-06-22 14:56:47 +02:00
Johannes Meyer
515ae13e32 CheckStatistics: Make progress animatable and enhance overall layout 2023-06-22 14:56:47 +02:00
Johannes Meyer
5bbf2932d3 js: Animate progress bars 2023-06-22 14:51:57 +02:00
Johannes Meyer
766029a91e Don't fail badly just because some results are null 2023-06-22 14:51:57 +02:00
Johannes Meyer
2c461b5d5e
Merge pull request #784 from Icinga/fix/check-commandline-only-on-source-permission
Avoid leakage of `state.check_commandline` to restricted users
2023-06-22 14:49:57 +02:00
Johannes Meyer
6f6defc2e6 VolatileStateResults: Don't reapply commandline values if not permitted 2023-06-22 13:32:32 +02:00
raviks789
a8f891fefa Avoid leakage of state.check_commandline to restricted users
Users who do not have permission to see the object's `Source` tab, must be
restricted from accessing the object's `state.check_commandline` column.
2023-06-22 13:32:28 +02:00
raviks789
3628e97fde Fix key-value formatting for json and csv result set
Remove parameter type for second argument (`$value`) in `CsvResultSet::formatValue` and `JsonResultSet::formatValue`.
Also add date time formatting for `$value` parameter in case it is an instance of `DateTime` object.
2023-06-21 09:12:13 +02:00
Johannes Meyer
1756065b2a
Merge pull request #355 from Icinga/feature/add-host-servicegroup-grid-views-221
Add `Host-/Servicegroup` grid views
2023-06-20 14:06:18 +02:00
raviks789
7e746e22db Separate grid and table layout styles from item-table 2023-06-20 13:39:53 +02:00
raviks789
b1654ee0e0 Use BaseTableRowItem for HostgroupGridCell and ServicegroupGridCell 2023-06-20 13:39:53 +02:00
raviks789
6bd58e9540 Delete the grid widget
The newly built `BaseTableRowItem` will be used 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
9a409f0f87 Add GridViewModeSwitcher to toggle between list and grid view
Host and service groups need to toggle between grid and list view.
Hence, a new view mode switcher for this case has been created.
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
7e0956f3d1 CSS: Cherry-pick group grid styles from monitoring 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
Yonas Habteab
2dec5247aa Introduce Host/Servicegroup grid cell class 2023-06-20 13:39:53 +02:00
Yonas Habteab
f012f0c2ac Introduce base group grid cell widget 2023-06-20 13:39:53 +02:00
Yonas Habteab
ff7acb2574 Introduce Host-/Servicegroup grid action 2023-06-20 13:39:53 +02:00
raviks789
d462a4fae7
Add CopyToClipboard button to copy executed command in Source tab (#758) 2023-06-20 12:04:08 +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
6d36b0c3ed Drop classes StateBadge and StateBadges
They're now part of ipl-web
2023-06-15 15:48:46 +02:00
Johannes Meyer
e4923f3626 Remove trait BaseFilter
It's now part of ipl-stdlib
2023-06-15 15:32:46 +02:00