Commit graph

26 commits

Author SHA1 Message Date
Johannes Meyer
9ea5d70512 users: Rename to contacts 2025-04-10 15:04:41 +02:00
Sukhwinder Dhillon
89c0bb0686 Models: Add property type hints so that phpstan can scan correctly 2024-03-13 16:34:21 +01:00
Johannes Meyer
6b4e0da35f NotificationHistory: Add notification relation 2023-05-31 16:08:50 +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
8495244246 Merge behavior IdKey into Binary 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
12ad4c6082 NotificationHistory: Provide a label for the primary key 2021-08-04 12:22:14 +02:00
Johannes Meyer
0a900f5896 NotificationHistory: Utilize IdKey filter rewrite behavior 2021-08-04 12:22:14 +02:00
Johannes Meyer
bab7436431 Register missing *_history.history.* relations 2021-03-08 16:29:30 +01:00
Johannes Meyer
72386601fa Implement getMetaData() in all important models 2021-03-08 12:08:38 +01:00
Johannes Meyer
2a3aab2dc6 Model: Define missing search columns for some models 2021-01-14 11:17:08 +01:00
Johannes Meyer
3587ce437a NotificationHistory: 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
2b44ecbea6 Establish relation between user <-> notification_history 2020-03-10 10:08:09 +01:00
Johannes Meyer
4952b91cb6 Fix missing host history entries 2020-03-10 09:26:28 +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
7f132951a3 Notifications: Adjust default sort 2019-12-11 20:39:26 +01:00
Eric Lippmann
aeff535454 NotificationHistory: 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
Johannes Meyer
604246290d NotificationHistory: Rename column event_time to send_time 2019-12-02 08:53:42 +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/NotificationHistory.php (Browse further)