Commit graph

567 commits

Author SHA1 Message Date
Eric Lippmann
5f6714b3e8
Support PHP 8.5 (#343)
Some checks failed
L10n Update / update (push) Has been cancelled
CI / PHP (push) Has been cancelled
PHP 8.4:

- Function parameters that are null by default must be declared nullable.

No further changes are required to support PHP 8.5.
2026-01-09 13:16:40 +01:00
Sukhwinder Dhillon
c2b0ed94c9 PHP 8.4: Change implicit nullable type declaration to explicit
Since PHP 8.4 implicitly nullable parameter types are deprecated.
2026-01-07 17:00:41 +01:00
Eric Lippmann
e4ce6a009d
GitHub Actions: Use new PHP workflow (#344)
Some checks failed
L10n Update / update (push) Has been cancelled
CI / PHP (push) Has been cancelled
This PR switches to the new PHP workflow, which combines linting, static
analysis, and unit testing. `phpcs.xml` file has been removed because
the new workflow provides a default config for it and the file did not
contain any special configurations anyway. Code style corrections were
made to comply with the latest PSR coding standards. In addition, allow
GitHub Actions workflow to run for every pull request instead of only
main-based pull requests.
2026-01-07 13:29:57 +01:00
Sukhwinder Dhillon
bcac72e60e Align coding style to comply with latest PSR 2025-12-15 15:16:43 +01:00
Sukhwinder Dhillon
554ecd9967 GitHub Actions: Run in any pull request
Allow GitHub Actions to run for every pull request instead of only main-based pull requests
2025-12-15 14:19:54 +01:00
Sukhwinder Dhillon
59bb74a539 Remove phpcs.xml
Use default from new workflow.
2025-12-15 14:19:36 +01:00
Sukhwinder Dhillon
ce02160fae GitHub Actions: Use new PHP workflow
- Remove obsolete workflow trigger for `release/*` branch pushes
- Run workflow on push to branch `support/*`
2025-12-15 14:18:53 +01:00
Johannes Meyer
563b322420
Release version 1.2.5 (#336) 2025-07-01 15:33:33 +02:00
Johannes Meyer
cc92accd4b README.md: Drop PHP support badge 2025-07-01 15:13:51 +02:00
Johannes Meyer
3196d0c542 Drop CHANGELOG.md
It has not been maintained anyway.
2025-07-01 15:13:51 +02:00
Sukhwinder Dhillon
e87544892d module.info: Raise version to 1.2.5 2025-07-01 15:13:51 +02:00
Markus Opolka
cc8690fdda Shift graph_debug URL parameter in graphs overview
- This also adds the InternalProcessTracker to all the graphs in the overview
2025-07-01 14:47:21 +02:00
Johannes Meyer
f3252bbee7 L10n-update: Use template from github-actions 2025-06-03 16:19:58 +02:00
Sukhwinder Dhillon
bc4360edf1 Templates: Set yUnitSystem to msec 2025-01-16 09:21:49 +01:00
Sukhwinder Dhillon
566ea12fad Update templates for Icinga Powershell plugins 2025-01-16 09:21:35 +01:00
Sukhwinder Dhillon
48151b3f0e Template: Fix multi template graphs 2025-01-16 09:21:01 +01:00
Blerim Sheqa
8b6ea11fc0 Fix broken link 2025-01-13 10:53:50 +01:00
Sukhwinder Dhillon
2f675e7ebf
php: Split phpstan tests into a separate workflow (#325) 2024-04-09 14:57:00 +02:00
Sukhwinder Dhillon
f806671de3 Separate phpstan baselines by php version 2024-04-09 14:15:40 +02:00
Sukhwinder Dhillon
90e2be2348 php: Split phpstan tests into a separate workflow 2024-04-09 14:15:24 +02:00
Adam James
5e0d57cce0 Add Graphite Web HTTP request timeout option
If the Graphite Web server is unreachable, all requests for frontend
pages containing graphs hang until the backend HTTP request times out,
resulting in a very poor UX.

The Guzzle documentation states that the default behaviour is to wait
indefinitely, however in our testing the cURL handler has an internal
default of 30 seconds:

https://docs.guzzlephp.org/en/stable/request-options.html#timeout

This commit makes the HTTP request timeout configurable and sets a
reasonable default of 10 seconds.
2024-02-20 15:43:34 +01:00
Johannes Meyer
f4cdeee6f0 GraphingTrait: Define config value type 2024-02-15 14:43:06 +01:00
Johannes Meyer
254ff35b31
Release v1.2.4 (#317) 2023-09-21 13:41:07 +02:00
Johannes Meyer
3798d9ff0d module.info: Raise version to 1.2.4 2023-09-21 13:36:05 +02:00
Johannes Meyer
344def7639 Require icinga-php-thirdparty in version 0.12.0 2023-09-21 13:36:05 +02:00
Johannes Meyer
f113713032 Require icinga-php-library in version 0.13.0 2023-09-21 13:36:05 +02:00
Johannes Meyer
6e11b725a3 IcingadbGraphs: Use ipl\Web\Widget\EmptyState instead 2023-09-21 13:35:36 +02:00
Johannes Meyer
eaa88c83f2
Utilize ipl\Web\Url::setFilter() where applicable (#315) 2023-09-01 17:27:07 +02:00
Johannes Meyer
c1aec7d28e phpstan-baseline: Remove obsolete error pattern 2023-09-01 17:24:30 +02:00
Johannes Meyer
4a7dc5af90 Utilize ipl\Web\Url::setFilter() where applicable 2023-09-01 17:23:51 +02:00
Sukhwinder Dhillon
bf9270a76f
Preserve format reqeust param (#310)
fixes #311
2023-09-01 13:37:00 +02:00
Yonas Habteab
828171cf03 Preserve format reqeust param 2023-09-01 13:20:12 +02:00
Yonas Habteab
6291ab680b
Remove custom {sort,pagination,limit}Control methods (#295) 2023-09-01 13:07:23 +02:00
raviks789
afa2044f9c Update ipl requirement 2023-09-01 13:02:28 +02:00
raviks789
bfb6e75e51 Remove IcingadbGraphiteController::createSortControl, createLimitControl and createPaginationControl methods 2023-09-01 13:02:25 +02:00
Johannes Meyer
7169d19e8c
PHP 8.2 support (#313) 2023-08-30 16:59:14 +02:00
Sukhwinder Dhillon
a5e579de66 Github Actions: Do not cancel further tests if one fails 2023-08-30 15:30:25 +02:00
Yonas Habteab
f56b4aaf0f Add common ignore errors pattern to phpstan config 2023-08-30 13:33:36 +02:00
Yonas Habteab
96cf175cc3 Add phpstan baseline config 2023-08-30 13:33:36 +02:00
Yonas Habteab
7de29c7597 Cast args explicitly to int 2023-08-30 13:33:36 +02:00
Yonas Habteab
d3553d557d Cast args explicitly to string 2023-08-30 13:33:36 +02:00
Yonas Habteab
8de35ac903 Fix can't perform numeric operation with non-numeric type 2023-08-30 13:33:36 +02:00
Yonas Habteab
29a9f3523c Remove unnecessary error message formats 2023-08-30 13:33:36 +02:00
Yonas Habteab
12b90876db MetricsQuery: Rethrow exceptions properly 2023-08-30 13:33:36 +02:00
Yonas Habteab
2dfc9c2a63 Raise phpstan level to max 2023-08-30 13:33:01 +02:00
Yonas Habteab
7ba1aa7a6b Fix trying to load vendor loaders that don't exists 2023-08-25 13:42:45 +02:00
Yonas Habteab
ee6e3cbdea
Drop custom vendors (#312) 2023-08-21 16:07:01 +02:00
Yonas Habteab
fd186df6f0 Drop superfluous ignored error that doesn't match any reported errors 2023-08-21 16:00:57 +02:00
Yonas Habteab
8b805da534 Drop custom vendors 2023-08-21 16:00:57 +02:00
Yonas Habteab
b5006894a3 GraphiteWebClient: Replace custom vendors with Guzzle\Http 2023-08-21 16:00:33 +02:00