Commit graph

30 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
5e982dad40
Merge commit from fork
* Auth: Add method `assertColumnRestrictions`

* ObjectSuggestions: Do not suggest protected variables

`assertColumnRestrictions` does not allow to use them
anymore, hence we should not suggest them in searches
as well to not to let the user run into an error by
accepting a suggestion. Though, when fetching values
as well, we still have to obfuscate, otherwise protected
vars won't show up in details anymore.

* Introduce Icinga\Module\Icingadb\Common\Model

Must be used as base for all models, to ensure
column restrictions are asserted on filters.

* Utilize `Icinga\Module\Icingadb\Common\Model` where applicable
2025-10-16 08:42:51 +02:00
Sukhwinder Dhillon
e26db03e19 Deprecate Icingadb\Model\Behavior\BoolCast and use \ipl\Orm\Behavior\BoolCast instead 2025-06-11 14:25:56 +02:00
Sukhwinder Dhillon
9283135144 Support new column is_sticky_acknowledgement 2025-06-11 14:24:36 +02:00
Sukhwinder Dhillon
dd744395c7 Keep compatibility with Icinga DB mysql v6 & pgsql v4 2025-01-14 13:13:25 +01:00
Johannes Meyer
ffd51260d7 Keep compatibility with Icinga DB v5 2024-12-18 16:27:06 +01:00
raviks789
2012b29e14 Indicate the number of affected children by a particular parent 2024-10-08 16:30:04 +02:00
Johannes Meyer
66877a6ed0 Model: Fix @property annotations 2024-03-14 11:52:09 +01:00
Sukhwinder Dhillon
7a9427ff11 State: Add phpDoc for properties and update phpstan baseline 2023-09-05 14:49:18 +02:00
Sukhwinder Dhillon
fce52f6b35 State: Add missing abstract methods 2023-09-05 14:26:43 +02:00
Johannes Meyer
87db46023c Properly visualize unreachable hosts
* Lists show it in their visual and title area
* The tatical view includes a slice for them
* State badges (list footers, hostgroups) also show a badge
2023-07-21 10:24:10 +02:00
Sukhwinder Dhillon
9996f56af5
Display downtime icon independent from object state (#772) 2023-06-15 09:17:45 +02:00
Sukhwinder Dhillon
cb5373b49e
Models: Use MillisecondTimestamp instead of Timestamp behavior (#753)
The `Timestamp` behavior returns float values, which the database (pgsql) cannot convert properly.
We already have a `MillisecondTimestamp` behavior, so we should use that.
2023-05-30 16:05:11 +02:00
Yonas Habteab
2c0bf05f88 Add check_ prefix to attempt,timeout columns in *_state tables 2022-06-29 08:49:20 +02:00
Eric Lippmann
d0d9a5edc0 Drop Binary behavior
Now part of ipl-orm.
2022-05-24 16:04:23 +02:00
Eric Lippmann
c859ec3a0d Add Binary behavior for binary columns 2022-05-24 16:04:23 +02:00
Johannes Meyer
3f67e2d420 *State: Register new column previous_soft_state 2022-04-01 14:25:26 +02:00
Johannes Meyer
9bd3f99673 Drop class Icinga\Module\Icingadb\Model\Behavior\VolatileState 2021-10-08 15:36:36 +02:00
Sukhwinder Dhillon
0baac8071f Remove scheduling_source placeholder 2021-09-29 17:28:41 +02:00
Sukhwinder Dhillon
2928714922 State: Add column 'last_comment_id' 2021-08-23 10:54:26 +02:00
Johannes Meyer
3cb6082d2b State|StateHistory: Use placholder for scheduling_source 2021-08-20 17:57:40 +02:00
Sukhwinder Dhillon
7239380cce Add scheduling_source column to State and StateHistory modal 2021-08-20 17:56:10 +02:00
Johannes Meyer
adf18112f0 Parse normalized perfdata for visualization 2021-07-16 15:32:39 +02:00
Johannes Meyer
5e441c93a0 Add license note to every file 2020-03-13 10:36:24 +01:00
Johannes Meyer
7958eda837 State: Add native is_overdue column 2019-12-04 13:44:09 +01:00
Johannes Meyer
3634c38c66 State: Add previous_hard_state and drop last_*_state columns 2019-11-19 14:24:09 +01:00
Eric Lippmann
2a87b59a95 State: Add timestamp columns execution_time and latency 2019-11-05 12:25:26 +01:00
Eric Lippmann
42f911a614 State: Add column check_source 2019-11-05 12:25:11 +01:00
Eric Lippmann
77b4930098 Rename to Icingadb 2019-11-05 01:07:30 +01:00
Eric Lippmann
10f58fb4a0 Rename library/Eagle to library/Icingadb 2019-11-05 01:06:28 +01:00
Renamed from library/Eagle/Model/State.php (Browse further)