Commit graph

40 commits

Author SHA1 Message Date
Alexander A. Klimov
3c8ed68cc6 Upgrade license from GPLv2 to GPLv2+
This was easy because only README.md and doc/01-About.md were redacted manually, everything else via:
git ls-files -z |xargs -0 perl -pi -e 's/Icinga GmbH \| GPLv2/Icinga GmbH | GPLv2+/'

This is legal because we have only merged PRs with label:cla/signed or made by Icinga staff:
https://github.com/Icinga/icingadb-web/pulls?page=1&q=is%3Apr+is%3Aclosed+-label%3Acla%2Fsigned+-author%3Anilmerg

This has no risk for us in people distributing their own version under GPLv3 only.
After all, we won't take their patches anyway, unless they sign our CLA.

This is the cleanest solution for having e.g. these in one address space:

* Icinga Web, GPLv2+
* K8s Web, AGPLv3
* Thirdparty, some LGPLv3 and Apache-2.0

Apropos, K8s Web is even v3-licensed on purpose, to have a stronger protection against cloud ops.
2025-11-21 13:31:24 +01:00
Johannes Meyer
08bbf39048 downtimes: Support automated removal 2025-05-12 16:59:07 +02:00
Sukhwinder Dhillon
752aca7eb5 Controllers: Use paginationControl::getEmptyStateMessage() to set list's message 2025-05-08 14:19:13 +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
c15f32a43f Introduce DowntimeRenderer
- Use it for ObjectList and ObjectHeader
- Remove now unused code and css
2025-03-28 16:13:16 +01: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
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
abbf486ed4 Drop view param from show more urls in all index routes
refs #463
2022-08-17 15:21:24 +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
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
Eric Lippmann
f56abe1dd5 Remove superfluous whitespaces 2021-11-12 13:02:32 +01:00
Yonas Habteab
004eda41af Downtimes: Sort by is_in_effect desc
Since `n` is the default value for enums, asc would display
ineffective downtimes first.

Co-authored-by: Eric Lippmann <eric.lippmann@icinga.com>
2021-11-12 13:02:32 +01:00
Johannes Meyer
5a8813b98b Move ViewModeSwitcher to Icinga\Module\Icingadb\Web\Control 2021-08-20 17:23:29 +02:00
Johannes Meyer
c2f4eb0999 Move DowntimeList to Icinga\Module\Icingadb\Widget\ItemList 2021-08-20 16:10:51 +02:00
Yonas Habteab
9f8935f081 Controller: Increase limit on minimal view mode 2021-08-20 15:43:59 +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
057b7dc8e0 Check permissions in object context when issuing commands 2021-03-19 15:47:57 +01:00
Johannes Meyer
47a90b6393 Add native implementation to delete downtimes 2021-03-09 09:13:20 +01:00
Johannes Meyer
2805fb20bb downtimes/details: Apply class cancel-button exclusively 2021-01-15 09:17:34 +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
a86efe1634 downtimes/: 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
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
9795792724 DowntimesController: Add show more widget in compact mode 2020-01-31 15:51:12 +01:00
Johannes Meyer
a555921628 DowntimesController: Let the show more widget decide if it's displayed 2020-01-31 15:34:22 +01:00
Eric Lippmann
e8a41a5e01 Downtimes: Add "Continue with filter" link 2020-01-10 09:29:03 +01:00
Eric Lippmann
7965a8e1c7 Allow to cancel multiple selected downtimes 2020-01-08 09:56:22 +01:00
Eric Lippmann
1e2c41486e Add multiselect action for downtimes 2020-01-08 09:56:22 +01:00
Eric Lippmann
ea50c75ae7 Add view mode switcher to downtimes 2020-01-08 09:56:22 +01:00
Eric Lippmann
80c87e6200 Downtimes: 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
Eric Lippmann
77b4930098 Rename to Icingadb 2019-11-05 01:07:30 +01:00
Marius Hein
f97d321669 Introduce DowntimesController 2019-10-30 10:19:08 +01:00