Commit graph

2293 commits

Author SHA1 Message Date
Sukhwinder Dhillon
a40df7f0c2 Phpstan: Update baseline files 2024-07-24 11:20:39 +02:00
Sukhwinder Dhillon
929258c30f PluginOutputTest: Migrate tests from monitoring/PluginOutputTest 2024-07-24 10:41:23 +02:00
Sukhwinder Dhillon
ef96037ec5 PluginOutput: Add method return type and visibility to constants 2024-07-24 10:40:08 +02:00
Sukhwinder Dhillon
91b3f81880 PluginOutput: Remove processHtml() method
`preg_replace` is sufficient.
2024-07-24 10:37:19 +02:00
Sukhwinder Dhillon
2fefc75552 PluginOutput::render(): Shorten the output by characterLimit before processing it
If the shorten output contained (not properly closed) HTML element, it merged the next list-item into the same html tag, because the closing tag was missing.
So we therefor shorten the output by characterLimit before proccessing it
2024-07-24 10:24:27 +02:00
Sukhwinder Dhillon
cdbaea02a6
UserDetail: add missing information (#1031)
fixes https://github.com/Icinga/icingadb-web/issues/1010
2024-07-22 17:28:11 +02: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
Sukhwinder Dhillon
dd943af8aa JsonResultSetUtils: When query offset is null, Use 0 as default 2024-07-22 14:13:29 +02:00
Johannes Meyer
d425fe6397
Preserve group filters in details (#1028)
resolves #1027 

requires https://github.com/Icinga/ipl-web/pull/227
2024-07-19 14:59:06 +02:00
Johannes Meyer
ceb87ead56 phpstan: Update standard baseline 2024-07-19 14:33:04 +02:00
Johannes Meyer
32ab5e561d servicegroups: Preserve filters in details 2024-07-19 14:24:14 +02:00
Johannes Meyer
648a544bd9 hostgroups: Preserve filters in details 2024-07-19 14:24:14 +02:00
Johannes Meyer
a4a30c1a01 ObjectSuggestions: Support more base filters than restrictions 2024-07-19 14:24:14 +02:00
Johannes Meyer
8da16eaaf2 css: Ensure compatibility with ipl v0.14.2 2024-07-19 11:35:35 +02:00
mrdsam
6029cc1f9e Update 01-About.md
Fixed broken links to "Icinga DB feature" and "Icinga DB daemon"
2024-04-16 09:26:13 +02:00
Johannes Meyer
f6fb10ab39
Release v1.1.2 (#1006) 2024-04-11 12:12:01 +02:00
Johannes Meyer
513a8f9eb6 module.info: Raise version 2024-04-11 12:06:14 +02:00
Johannes Meyer
9ce265e921 Update CHANGELOG.md 2024-04-11 12:06:14 +02:00
Johannes Meyer
4c335d250f
Account Redis' trademark policy (#1008)
See https://redis.io/legal/trademark-policy/
2024-04-11 11:49:32 +02:00
Eric Lippmann
11ce7495db Don't speak of Icinga (DB) Redis
The use of registered trademarks in this way is not allowed.
2024-04-11 10:09:21 +02:00
Eric Lippmann
70ced42454 Docs: Account Redis' trademark policy
See https://redis.io/legal/trademark-policy/
2024-04-11 10:09:21 +02:00
Johannes Meyer
787649f433
Fix missing name_ci filter during global group search (#1003)
fixes #954

this is is a follow-up from #994
2024-04-09 11:27:09 +02:00
Johannes Meyer
d4fcb48f0c Servicegroupsummary: Add name_ci as search column 2024-04-09 11:24:39 +02:00
Johannes Meyer
d747780a6d Hostgroupsummary: Add name_ci as search column 2024-04-09 11:24:39 +02:00
Johannes Meyer
68d5227300
php: Split phpstan tests into a separate workflow (#1004) 2024-04-09 11:22:03 +02:00
Johannes Meyer
57b80ab22d phpstan: Add separate workflow 2024-04-09 11:16:44 +02:00
Johannes Meyer
b3ddd5fa44 php: Remove phpstan and upgrade actions/checkout 2024-04-09 11:16:22 +02:00
Johannes Meyer
e2abb5cb64
Fix broken command transport fallback handling (#983)
fixes #950
2024-04-08 12:17:59 +02:00
Johannes Meyer
e924ab8764 phpstan: Update baselines 2024-04-08 09:17:04 +02:00
Johannes Meyer
ac6273be73 ObjectsCommand: Don't accept generators anymore 2024-04-08 09:17:04 +02:00
Johannes Meyer
d5b4087a50 CommandForm: Don't pass generators to commands 2024-04-08 09:17:04 +02:00
Johannes Meyer
bcdbda1e40 CommandForm: Expect Iterator in method getCommands() 2024-03-26 17:05:32 +01:00
Johannes Meyer
435a58b4f6 CommandForm: Ensure getCommands() is passed an Iterator 2024-03-26 17:05:32 +01:00
Johannes Meyer
a0bb146790 test: Command transmission fallback handling
refs #950
2024-03-26 17:05:32 +01:00
Johannes Meyer
83af168936 FlattenedObjectVars: Force processing to finish early
fixes #1001
2024-03-26 17:04:36 +01:00
Johannes Meyer
06da58c7b5
Fix history exports (#985)
fixes #955
2024-03-22 15:48:08 +01:00
Johannes Meyer
95849d9614 Update phpstan baselines 2024-03-22 15:42:00 +01:00
Johannes Meyer
9de4e33f94 CsvResultSetUtils: Query results in bulk..
..if there's no limit imposed. PDO runs queries in buffered mode
by default. Fetching without a limit needlessly increases the risk
to require more memory than available.
2024-03-22 15:30:17 +01:00
Johannes Meyer
84735b67b7 JsonResultSetUtils: Query results in bulk..
..if there's no limit imposed. PDO runs queries in buffered mode
by default. Fetching without a limit needlessly increases the risk
to require more memory than available.
2024-03-22 15:30:17 +01:00
Johannes Meyer
0240cc437d Controller: Properly reset the default query limit during exports 2024-03-22 15:05:25 +01:00
Johannes Meyer
e311d8b9a9 Use separate result sets when exporting hosts/services 2024-03-22 15:05:25 +01:00
Johannes Meyer
0148984646 Transfer implementation of JsonResultSet and CsvResultSet to separate traits 2024-03-22 15:05:25 +01:00
Johannes Meyer
018d45f629 Transform custom variable filters as late as possible
fixes #865
2024-03-22 15:04:32 +01:00
Johannes Meyer
91827cb4d0 ui: Do not show okay states as handled if the object is unreachable
fixes #993
2024-03-22 14:36:49 +01:00
Johannes Meyer
fbc37786ed Controller: Serve JSON if accepted
fixes #988
2024-03-22 14:30:13 +01:00
Johannes Meyer
02fb8574e8 configuration.php: Only provide permitted search urls
fixes #976
2024-03-22 14:03:24 +01:00
Johannes Meyer
1230fae575
Fix broken host and servicegroup quick search (#994)
fixes #936
2024-03-22 13:56:04 +01:00
Johannes Meyer
e04e6ebeab ServicegroupSummary: Support name_ci in quick searches 2024-03-22 13:53:27 +01:00
Johannes Meyer
fd18583799 Hostgroupsummary: Support name_ci in quick searches 2024-03-22 13:53:27 +01:00
Johannes Meyer
8c13f5bfb0 ProblemsBadge: Don't return a string where only integers are expected
fixes #948
2024-03-22 13:52:20 +01:00