Commit graph

38 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
c78d664f79 comments: 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
c55f1dceb8 Introduce TicketLinkObjectList and CommentRenderer
TicketLinkObjectList: This class creates object list with ticket links using TicketLinks trait
CommentRenderer: Defines the rendering rules for Comment object
Cleanup css and unused classes
Adjust comment-popup.less
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
Johannes Meyer
5a8813b98b Move ViewModeSwitcher to Icinga\Module\Icingadb\Web\Control 2021-08-20 17:23:29 +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
f58d77ebc5 Add native implementation to delete comments 2021-03-09 09:13:20 +01:00
Johannes Meyer
868a922984 comments/details: Apply css 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
15e3607bc0 comments/: 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
03d2c4fc87 CommentsController: Add show more widget in compact mode 2020-01-31 15:50:37 +01:00
Johannes Meyer
05abe54300 CommentsController: Let the show more widget decide if it's displayed 2020-01-31 15:33:55 +01:00
Eric Lippmann
7b53230695 Comments: Add "Continue with filter" link 2020-01-10 09:28:46 +01:00
Eric Lippmann
11dc7c00ea Support removing multiple selected comments 2020-01-08 09:56:22 +01:00
Eric Lippmann
1e55fb0be4 Add multiselect action for comments 2020-01-08 09:56:22 +01:00
Eric Lippmann
d4dee37423 Add view mode switcher to comments 2020-01-08 09:56:22 +01:00
Eric Lippmann
64a788ac68 Comments: 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
Eric Lippmann
3f8ce5f832 Pass the widget to addContent() directly 2019-10-30 17:15:27 +01:00
Florian Strohmaier
9e057b11fd Create CommentsController 2019-10-30 10:20:49 +01:00