5479 Commits

Author SHA1 Message Date
raviks789
6ee356733d
Release version 1.11.5 2025-04-08 14:18:45 +02:00
raviks789
2423fad54c upgrade_188: Remove entries with duplicate checksums in director_activity_log
Update schema/mysql-migrations/upgrade_188.sql
2025-04-08 14:18:09 +02:00
Ravi Kumar Kempapura Srinivasa
2a4b78bfd2
Release 1.11.4 (#2969) v1.11.4 2025-03-26 11:24:49 +01:00
raviks789
38f3fe33c9
Release 1.11.4 2025-03-26 11:21:47 +01:00
Ravi Kumar Kempapura Srinivasa
a99a998540
Merge commit from fork
Apply relevant restrictions on REST url endpoints
2025-03-26 11:19:54 +01:00
Ravi Kumar Kempapura Srinivasa
cadac72f4c
Fix job behavior during summer and winter time change (#2954)
ref/IP/52977

`ts_last_attempt`, which is used in the callback function of
`React\EventLoop\LoopInterface::addPeriodicTimer`, had data type
timestamp and was saved as UTC time but retrieved as system time, and
during DST where the clock is moved forward or set back during DST, you
could expect time jumps in the retrieved `ts_last_attempt` value.

And the `React\EventLoop\LoopInterface::addPeriodicTimer` expects the
time source to be monotonous without any such time jumps. This causes
the jobs to be erratically scheduled after DST. And this happens mostly
when the `ts_last_attempt` saved time time falls in the skipped or time
range that was reset.

To avoid such time jumps the `ts_last_attempt` datatype is changed to
`BIGINT` and the values are saved as Unix time stamp.
2025-03-25 16:17:12 +01:00
raviks789
4c283a24c8
Fix: Support data type change of columns ts_last_attempt and ts_last_error from timestamp to bigint 2025-03-25 16:03:30 +01:00
raviks789
63dac34b0f
director_job: Change timestamp data types to integer 2025-03-25 16:03:26 +01:00
raviks789
5f4ad0f827 IcingaAddServiceForm: Check if service templates exist to add services 2025-03-25 16:01:29 +01:00
raviks789
b18cf4f80d Fix editing of custom variables for multi-selected objects 2025-03-25 15:56:11 +01:00
raviks789
42a47d6139 CustomVarRenderer: Fix illegal offset error if the value is an array 2025-03-25 15:53:09 +01:00
raviks789
778b25873c CustomVarRenderer: Fix custom var renderer for apply-for-rules 2025-03-25 15:49:30 +01:00
Mek Skëndo
2196de252d Fix MySQL8.4 nonstandard foreign keys deprecation
If you try to set up icinga director with the latest minor version of MySQL 8.4+, the schema creation will fail with confusing SQL error messages. This commit aims to fix that. https://dev.mysql.com/doc/refman/8.4/en/mysql-nutshell.html#mysql-nutshell-deprecations
2025-03-25 15:42:46 +01:00
raviks789
3fcb20178f
Apply correct restrictions to REST url endpoints
The following url end points should apply relevant restrictions to filter out objects and show correct HTTP status code:
- icingaweb2/director/service, if the host name is left out of the query (Example: icingaweb2/director/service?name=service-name)
- icingaweb2/directore/notification
- icingaweb2/director/serviceset
- icingaweb2/director/scheduled-downtime
2025-01-24 12:21:41 +01:00
Eric Lippmann
de8fe109e2
Release 1.11.3 (#2942) v1.11.3 2024-12-12 13:20:10 +01:00
raviks789
2b55c80cba Release 1.11.3 2024-12-12 13:16:47 +01:00
Eric Lippmann
32a644fad8
IcingaHostForm: Fix crashing of form for invalid check command (#2941)
fixes #2854
2024-12-12 13:16:38 +01:00
raviks789
8161a769fe IcingaHostForm: Fix crashing of form for invalid check command 2024-12-12 13:11:51 +01:00
Eric Lippmann
e37f802cf9
ImportRowModifierForm: Fix removal of filter expression (#2939)
fixes #2922, #2864
2024-12-12 10:54:40 +01:00
raviks789
f4692d7ab4 ImportRowModifierForm: Fix removal of filter expression 2024-12-12 10:45:23 +01:00
Eric Lippmann
d205415f1b
Fix pgsql binary resource handling for uuids (#2938)
fixes #2934
2024-12-12 09:53:08 +01:00
raviks789
175de1ae84 Fix pgsql binary resource handling for uuids 2024-12-12 09:46:00 +01:00
Eric Lippmann
89ebf71d88
PropertyTableSortForm: Don't use ipl`s CSRF counter measure (#2937)
It's incompatible with gipfl`s…

fixes #2935
2024-12-12 09:44:59 +01:00
Johannes Meyer
cdd3fea9d2 PropertyTableSortForm: Don't use ipl`s CSRF counter measure
It's incompatible with gipfl`s…

fixes #2935
2024-12-04 13:28:42 +01:00
Eric Lippmann
4032d49553
Release 1.11.2 (#2933) v1.11.2 2024-11-19 21:12:35 +01:00
Eric Lippmann
c1d5334fc8 Add changelog for version 1.11.2 2024-11-19 16:22:19 +01:00
Eric Lippmann
79e84c074a Raise version to 1.11.2 2024-11-19 15:41:56 +01:00
Eric Lippmann
bd21650332 Raise incubator dependency version to 0.22.0 2024-11-19 15:38:59 +01:00
Eric Lippmann
6dc0bb2596
Allow cloning of service sets in branches (#2896)
fixes #2890 

Blocked by #2895
2024-11-19 15:07:07 +01:00
raviks789
6c766dff43 Allow cloning service sets in Director Branches 2024-11-19 13:34:14 +01:00
Eric Lippmann
d56ca2c235
Enrich custom variable lists in monitoring and icingadb details (#2445)
resolves #2239

requires https://github.com/Icinga/icingaweb2/pull/4614 or
https://github.com/Icinga/icingadb-web/pull/467
2024-11-19 13:33:55 +01:00
raviks789
dbacfa21c0 Icingadb/CustomVarRenderer: Add error handling 2024-11-19 13:15:34 +01:00
raviks789
0e744630d7 Monitoring/CustomVarRenderer: Add error handling 2024-11-19 13:15:34 +01:00
raviks789
b954336170 Icingadb/CustomVarRenderer: Look for the service in all of its types
It can be a directly created service or an applied service or an inherited service or service applied through service set.
2024-11-19 13:15:34 +01:00
raviks789
743997cb57 Monitoring/CustomVarRenderer: Look for the service in all of its types
The service could be directly created, or applied through an apply rule or could be an inherited service or a service applied through service set.
2024-11-19 13:15:34 +01:00
raviks789
c78979b24a Icingadb/CustomVarRenderer: Render labels of key and value as HtmlElements 2024-11-19 13:15:34 +01:00
raviks789
b7ea8aada6 Monitoring/CustomVarRenderer: Cast data field setting value data_list_id to integer for postgres database 2024-11-19 13:15:34 +01:00
raviks789
1d98492429 Monitoring/CustomVarRenderer: Support rendering dictionary values 2024-11-19 13:15:34 +01:00
raviks789
b082db707e Icingadb/CustomVarRenderer: Support rendering of dictionary values 2024-11-19 13:15:34 +01:00
raviks789
9e1646091c Icingadb/CustomVarRenderer: Cast data field setting value data_list_id to integer for postgres database 2024-11-19 13:15:34 +01:00
Johannes Meyer
9919b65fc5 DirectorDatafield: Properly cache category in getCategory()
Makes `getCategoryName()` work.
2024-11-19 13:15:34 +01:00
Johannes Meyer
bf591093d8 Provide implementation for hook Icingadb/CustomVarRenderer 2024-11-19 13:15:34 +01:00
Johannes Meyer
ca0b8ebc4e Provide implementation for hook Monitoring/CustomVarRenderer 2024-11-19 13:15:34 +01:00
Johannes Meyer
431468366c Introduce implementation for hook Icingadb/CustomVarRenderer 2024-11-19 13:15:34 +01:00
Johannes Meyer
c20b477df8 Introduce implementation for hook Monitoring/CustomVarRenderer 2024-11-19 13:15:34 +01:00
Sukhwinder Dhillon
2d48843d87 Phpstan: Separate workflow 2024-11-19 09:57:31 +01:00
Eric Lippmann
ef7f53cc8f
fixes #2393 clusterzone check is not a plugincheck (#2502) 2024-11-07 15:49:58 +01:00
moreamazingnick
fd7babe81e fixes #2393 clusterzone check is not a plugincheck 2024-11-07 15:28:51 +01:00
Eric Lippmann
5daa3a85ed
Add hasBasketSupport for TimePeriods (#2543)
This adds the missing "hasBasketSupport" for TimePeriodController which
allows to add the TimePeriod to specific baskets.
2024-11-07 15:24:45 +01:00
André Nähring
1835661850 Add hasBasketSupport for TimePeriods 2024-11-07 13:16:38 +01:00