Eric Lippmann
7bb09036fc
Fix const visibility
2025-10-21 14:56:41 +02:00
Sukhwinder Dhillon
0e7c4fcc2d
Change column defination labels of user and usergroup ( #1224 )
2025-06-17 15:05:39 +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
Johannes Meyer
945eb5f9ae
db: Update models to reflect latest schema updates
2024-12-17 17:50:42 +01:00
raviks789
0e67df510a
Add HasProblematicParent behavior for service
2024-10-30 17:00:13 +01:00
Johannes Meyer
c7dae01533
FlattenedObjectVars: Only avoid relation traversing...
...
...if customvar_flat isn't being selected and it is
guaranteed that ipl-orm will outsource the condition
to a subquery.
fixes #1020
2024-07-22 14:16:46 +02:00
Johannes Meyer
83af168936
FlattenedObjectVars: Force processing to finish early
...
fixes #1001
2024-03-26 17:04:36 +01:00
Johannes Meyer
018d45f629
Transform custom variable filters as late as possible
...
fixes #865
2024-03-22 15:04:32 +01: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
7c26a4f521
ReRoute: Apply filters on downtime,comment,history,notification_history correctly when containing servicegroup names
2022-09-01 09:15:14 +02:00
Johannes Meyer
3eac49c5ba
Remove [*] from custom var filter enrichments
2022-08-18 13:14:37 +02:00
Johannes Meyer
a8021303a1
BoolCast: Cast input to string in the switch statement
...
PHP performs loose comparison, so `0 == 'y'` is true. yay.
2022-06-30 11:16:22 +02:00
Johannes Meyer
ec0815a9aa
FlattenedObjectVars: Support selecting custom variables as columns
2022-06-09 16:26:27 +02:00
Johannes Meyer
462af082d7
Introduce Icinga\Module\Icingadb\Model\Vars
2022-06-09 15:16:34 +02:00
Johannes Meyer
afb6aca4ce
ReRoute: Implement RewritePathBehavior and RewriteFilterBehavior now
2022-06-09 13:26:05 +02:00
Eric Lippmann
d0d9a5edc0
Drop Binary behavior
...
Now part of ipl-orm.
2022-05-24 16:04:23 +02:00
Eric Lippmann
750eff6194
Make Binary behavior idempotent
...
If the filter processor decides to move a filter to a subquery, the
behaviors are re-evaluated. Even though the subquery is filtered with
already processed values:
https://github.com/Icinga/ipl-orm/issues/48
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
Eric Lippmann
df886f6e94
Add Binary behavior (for PostgreSQL)
2022-05-24 16:02:55 +02:00
Johannes Meyer
5b026f8f26
Adjust usages of ipl\Stdlib\Filter::equal() and ::unequal()
2022-05-24 12:02:51 +02:00
Johannes Meyer
85240509da
FlattenedObjectVars: Ignore filters targeting another relation
2022-03-31 15:31:23 +02:00
Johannes Meyer
11e470b303
Avoid passing non-string args to ctype_*() functions
2022-03-24 14:16:42 +01:00
Yonas Habteab
aefd0e1f7d
Add PHP 7 argument & return type declarations to all member methods
2021-11-03 16:06:59 +01:00
Johannes Meyer
9bd3f99673
Drop class Icinga\Module\Icingadb\Model\Behavior\VolatileState
2021-10-08 15:36:36 +02:00
Johannes Meyer
99968db161
ReRoute: Implement ipl\Orm\Contract\RewriteBehavior
2021-10-04 12:53:13 +02:00
Yonas Habteab
3fd1a2370d
Introduce ActionAndNoteUrl class
2021-10-01 15:30:06 +02:00
Johannes Meyer
2b480c881d
Make Icinga\Module\Icingadb\Common\IcingaRedis a singleton
...
This limits the connection attempts and established connections
to a single one. Previously we made as many as we've accessed redis.
2021-09-21 15:30:29 +02:00
Johannes Meyer
d3e1cfb8ec
Introduce class Icinga\Module\Icingadb\Model\Behavior\IdKey
2021-08-04 12:22:14 +02:00
Johannes Meyer
e09bcc1379
Adjust usages of filter property relationCol
2021-03-19 14:04:24 +01:00
Johannes Meyer
f2f220c715
Timestamp: Properly handle non-convertible text
2021-01-14 15:07:44 +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
98d1593858
ObjectSuggestions: Also suggest re-routed columns
2021-01-14 11:08:53 +01:00
Johannes Meyer
ad02227e78
BoolCast: Only cast 'y' and 'n' to bool, everything else as-is
2020-04-20 14:54:28 +02:00
Johannes Meyer
5e441c93a0
Add license note to every file
2020-03-13 10:36:24 +01:00
Johannes Meyer
599bb20069
Timestamp: Properly handle NULL values
2020-01-28 13:02:02 +01:00
Eric Lippmann
51945a6111
VolatileState: Swallow exceptions
...
The web interface must remain accessible if the connection to the Icinga
Redis fails.
2019-12-12 14:16:33 +01:00
Eric Lippmann
7c7437132a
Use trait IcingaRedis in VolatileState behavior
2019-12-12 14:16:33 +01:00
Johannes Meyer
3deb90d373
Introduce class Bitmask
2019-12-03 09:55:48 +01:00
Johannes Meyer
5a655ee63d
Introduce class ReRoute
2019-12-03 09:55:48 +01:00
Johannes Meyer
59fa629959
FlattenedObjectVars: Remove obsolete meta data handling
2019-12-03 09:17:49 +01:00
Johannes Meyer
1c2095b36f
FlattenedObjectVars: Don't ignore an expression's sign
2019-12-02 15:34:46 +01:00
Johannes Meyer
9bf2acaff4
VolatileState: Use 6380 as default redis port
2019-12-02 08:55:03 +01:00
Johannes Meyer
6091f3c21a
FlattenedObjectVars: Utilize an expression's meta data instead
2019-11-25 15:52:29 +01:00
Johannes Meyer
1f6c6aded6
Adjust BoolCast and Timestamp behaviors to match ipl-orm changes
2019-11-25 15:52:29 +01:00
Johannes Meyer
25dd5ff435
Timestamp: Support *about any English textual datetime description*
2019-11-08 14:41:08 +01:00
Johannes Meyer
ceec8ab017
BoolCast: Don't cast string values in toDb()
2019-11-08 13:27:55 +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