Commit graph

1172 commits

Author SHA1 Message Date
Eric Lippmann
b4b41f7c6b
GitHub Actions: Use new PHP workflows (#487)
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` and `phpunit.xml` have been
removed, as the new workflow provides sane defaults for both and the
files did not contain any special configurations anyway. Since the new
workflow uses the latest PHPUnit version by default, deprecated PHPUnit
features have been migrated. In addition, code style corrections were
made to comply with the latest PSR coding standards.
2025-12-15 09:29:04 +01:00
Eric Lippmann
c85b9d98fe Align coding style to comply with latest PSR 2025-12-12 12:44:49 +01:00
Eric Lippmann
079654b59c Remove phpcs.xml
Use defaults from new workflow.
2025-12-12 12:13:14 +01:00
Eric Lippmann
a2a1e4f034 Remove unnecessary method call 2025-12-12 12:13:14 +01:00
Eric Lippmann
4c430f6424 Remove phpunit.xml
Use defaults from new workflows.
2025-12-12 12:13:14 +01:00
Eric Lippmann
e7f0b449bb Migrate deprecated @codingStandards syntax 2025-12-12 12:13:14 +01:00
Eric Lippmann
96a8f00609 GitHub Actions: Use new PHP workflows 2025-12-12 12:13:14 +01:00
mdetrano
2111103957
Implement feature requests #455 and #477. Custom var enhancement (#478)
Custom variables used in Detail View Extension can be read from the host
if not present on the service, and can be customized, if desired, in the
config.ini for this module
2025-08-05 10:25:39 +02:00
Johannes Meyer
ba7043d14b
Release v2.5.2 (#476) 2025-07-02 10:46:59 +02:00
Johannes Meyer
52c4a6832a module.info: Raise version to 2.5.2 2025-07-01 16:59:29 +02:00
Johannes Meyer
7e5ff4a43f README.md: Drop PHP support badge 2025-07-01 16:59:11 +02:00
Johannes Meyer
cda66ca82e menu: Only count the worst states in badges
fixes #365
2025-07-01 16:53:18 +02:00
Johannes Meyer
a6033491f4 Do not break sidebar if processes cannot be loaded
fixes #466
2025-07-01 14:24:58 +02:00
Johannes Meyer
ccf2ba4c66 IcingaDbState: Correctly determine ack and downtime flags
fixes #469
2025-06-30 17:08:47 +02:00
Johannes Meyer
d88a7dd752 Node: Rename in_acknowledged to is_acknowledged
refs #461
2025-06-30 12:11:15 +02:00
Johannes Meyer
4d0dc0c91f process/show: Hide sort control in fullscreen or compact view
fixes #462
2025-06-30 10:58:49 +02:00
Johannes Meyer
726cab5851 process/show: Only show cleanup links in edit mode
fixes #464
2025-06-30 10:58:29 +02:00
Johannes Meyer
fd7fd71bb7 Correctly determine node states in sidebar
fixes #467
2025-06-30 10:58:06 +02:00
Jáchym Holeček
f12b2d744a
Add is_acknowledged property to Node class (#461)
This pull request introduces an `is_acknowledged` property to the `Node`
class in the Business Process library to enhance JSON output.
2025-06-30 10:47:56 +02:00
Johannes Meyer
575fb964d0 php: Run on support branches 2025-06-30 09:22:37 +02:00
Johannes Meyer
fe8c0d4b34 php: Don't run on legacy PHP versions 2025-06-30 09:20:30 +02:00
Johannes Meyer
9f91b911bb L10n-udpate: Use template from github-actions 2025-06-03 16:14:28 +02:00
Navid Sassan
35218f72fc Add showFullscreen and showCompact for dashboard 2025-05-07 10:28:54 +02:00
Johannes Meyer
71e957dc5e Ensure compatiblity with https://github.com/Icinga/ipl-web/pull/258 2025-04-01 11:34:25 +02:00
Sukhwinder Dhillon
3403b605e4 module.info: Raise version to 2.5.1 2024-04-23 15:46:44 +02:00
Sukhwinder Dhillon
4c2246a7e0 AddNodeForm: Add missing getLabel() call 2024-04-23 15:45:21 +02:00
moreamazingnick
e9a551e581
Fix indistinguishable suggestions for nodes (#433)
refs #427
2024-04-23 15:38:48 +02:00
Johannes Meyer
3a0b40a91f Fix that handled nodes are not handled 2024-04-22 14:06:57 +02:00
Johannes Meyer
4df9f52535 js: Remove instructions regarding fixed control layout
That's not fixed since a long time now.
2024-04-22 10:51:43 +02:00
Sukhwinder Dhillon
c43128be3e
Correct notification messages and add missing translations (#444)
fixes #405
2024-04-22 10:51:06 +02:00
Johannes Meyer
1c38d23d3a
phpstan: Fix generic type errors (#446) 2024-04-22 10:48:39 +02:00
Sukhwinder Dhillon
980ea85e61 Sort: Remove var type hint change
This should be fixed in ipl/stdlib
2024-04-19 12:54:16 +02:00
Sukhwinder Dhillon
ca620814c3 Storage: Define type of generic class ConfigObject 2024-04-19 12:54:16 +02:00
Sukhwinder Dhillon
77d5af43de module.less: Fix align of action-bar and sort control
Use regular font-size (1em) for action-bar
2024-04-19 12:27:53 +02:00
Yonas Habteab
3fa0983c58 Remove empty init files 2024-04-19 12:15:04 +02:00
Sukhwinder Dhillon
b672c28888
ProcessCommand: Fix false positive condition for ServiceNode (#445)
fixes #440
2024-04-19 11:53:05 +02:00
Sukhwinder Dhillon
c29512890d phpstan: Separate workflow 2024-04-19 11:26:56 +02:00
Johannes Meyer
c4ca750eb1
Fix: Switching to the icingadb backend and searching host/service node in add/edit form throws an error (#443)
`HostServiceTermValidator`: `$testConfig` requires backend for
`MonitoringState::apply()` call.

If the `$testConfig` has no backend set and icingadb is in use,
`MonitoringState::__construct($config) => $config->getBackend()` returns
an icingadb backend that is not suitable for the `MonitoringState`
class.

fixes
https://github.com/Icinga/icingaweb2-module-businessprocess/issues/430
2024-04-19 10:20:53 +02:00
Sukhwinder Dhillon
ad3c38eba4 Update phpstan baseline 2024-03-27 09:00:35 +01:00
Sukhwinder Dhillon
f4d704fbd5 Fix: Switching to the icingadb backend and searching host/service node in add/edit form throws an error
`HostServiceTermValidator`: `$testConfig` requires backend for `MonitoringState::apply()` call.

If the `$testConfig` has no backend set and icingadb is in use, `MonitoringState::__construct($config) => $config->getBackend()` returns an icingadb backend that is not suitable for the `MonitoringState` class.
2024-03-27 08:47:02 +01:00
Sukhwinder Dhillon
4428d78da9
phpstan: Streamline vendor file location with local dev-env (#442) 2024-03-26 15:55:47 +01:00
Sukhwinder Dhillon
087b1b6c8e phpstan: Separate baseline by php version 2024-03-26 13:02:39 +01:00
Sukhwinder Dhillon
1f8d74a612 Sort: Fix var type error 2024-03-26 12:50:08 +01:00
Sukhwinder Dhillon
004044a22a GithubActions: Add checks for php 8.3 2024-03-26 11:43:24 +01:00
Sukhwinder Dhillon
b2362f2079 phpstan: Streamline vendor file location with local dev-env
phpstan is not run with an action anymore, as the action runs
it its own docker container and hence has no access to files
outside the repository root. A side-effect of this is, that
phpstan now **really** runs with the php version set up by
the matrix.
2024-03-26 11:38:26 +01:00
Johannes Meyer
7eaad11e37
Release v2.5.0 (#425) 2023-10-12 09:23:57 +02:00
Johannes Meyer
6804abc375 module.info: Raise version to 2.5.0 2023-10-12 09:21:12 +02:00
Johannes Meyer
fcf8f1dd39 Raise required library versions 2023-10-12 09:21:12 +02:00
Johannes Meyer
d49a15065d README.md: Update tag badge link 2023-10-12 09:21:12 +02:00
Johannes Meyer
355123157c Drop obsolete packaging files 2023-10-12 09:20:02 +02:00