Commit graph

19 commits

Author SHA1 Message Date
Sukhwinder Dhillon
89c0bb0686 Models: Add property type hints so that phpstan can scan correctly 2024-03-13 16:34:21 +01:00
Johannes Meyer
3aedccaad5 History: Sort also by type by default 2023-08-11 16:06:33 +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
8a0582e403 Model: Add ReRoute behavior after the binary behaviors
When rewritting the filter condition in the reroute behavior, it might be transformed
into a filter chain and will produces an error when traversing the binary behaviors with
the transformed filter rule.
2022-08-22 11:45:19 +02:00
Johannes Meyer
10577631b3 Enhance column labels 2022-07-11 17:31:53 +02:00
Johannes Meyer
47332faffa Model: Rename getMetaData into getColumnDefinitions 2022-06-09 13:24:41 +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
72386601fa Implement getMetaData() in all important models 2021-03-08 12:08:38 +01:00
Johannes Meyer
c23362a6cd History: Implement getMetaData() 2021-01-14 11:12:11 +01:00
Johannes Meyer
5e441c93a0 Add license note to every file 2020-03-13 10:36:24 +01:00
Johannes Meyer
dfb7306190 History: Add relation for flapping_history
And change wrong `belongTo`s to `hasOne`s
2020-03-11 07:58:13 +01:00
Johannes Meyer
4952b91cb6 Fix missing host history entries 2020-03-10 09:26:28 +01:00
Johannes Meyer
3a8955a537 History: Add relation for acknowledgement_history
refs #27
2020-03-10 08:17:39 +01:00
Johannes Meyer
9fc88e28c6 Join hosts and services with an INNER join in history queries
Otherwise history entries of removed objects are fetched.
2020-02-07 15:50:55 +01:00
Eric Lippmann
dba399cc16 History: Use and adjust getDefaultSort() in favor of removed getSortRules() 2019-12-11 16:13:55 +01:00
Johannes Meyer
1764087063 Model: Provide routes for restrictions in all models 2019-12-03 09:55:48 +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/History.php (Browse further)