Commit graph

2613 commits

Author SHA1 Message Date
Sukhwinder Dhillon
9cabfd5968
ContinueWith: Disable button if the query with filter returns no results (#1300)
Some checks failed
L10n Update / update (push) Has been cancelled
CI / PHP (push) Has been cancelled
fixes #1299 

requires https://github.com/Icinga/ipl-web/pull/334
2026-01-22 14:40:57 +01:00
Johannes Meyer
f70f60bf66 VolatileStateResults: Fetch individual redis results for the actual current item
Some checks are pending
L10n Update / update (push) Waiting to run
CI / PHP (push) Waiting to run
Previously, only the second and other subsequent item was updated with redis
results. Not sure why this wasn't discovered until recently, as the issue
was already part of the initial fix meant for a very similar issue, affecting
*all* items. Hell, maybe because my initial analysis this time also led me
into the wrong direction, so when reviewing this, proper testing and result
verification is key!

fixes #1318
2026-01-21 13:59:34 +01:00
Gabriele Bocchi
54765ed17a Add hostgroup filtering support for SLA history
Some checks are pending
L10n Update / update (push) Waiting to run
CI / PHP (push) Waiting to run
2026-01-21 09:28:51 +01:00
Eric Lippmann
bf431dc690
GitHub Actions: Use new PHP workflow (#1251)
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. In addition,
code style corrections were made to comply with the latest PSR coding
standards. References to removed PHP files have been cleaned up from the
phpstan baseline.
2026-01-16 09:06:20 +01:00
Sukhwinder Dhillon
01b5312833 Phpstan Baseline: Cleanup references of removed php files 2026-01-15 08:48:34 +01:00
Sukhwinder Dhillon
279839d9da Align coding style to comply with latest PSR 2025-12-15 16:06:44 +01:00
Sukhwinder Dhillon
93ff449fde Remove phpunit.xml and phpcs.xml
Use defaults from new workflows.
2025-12-15 14:21:56 +01:00
Sukhwinder Dhillon
5425933405 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:21:44 +01:00
Johannes Meyer
0589146756
Release 1.3.0 (#1308)
Some checks failed
L10n Update / update (push) Has been cancelled
PHP Tests / Static analysis for php 8.2 on ubuntu-latest (push) Has been cancelled
PHP Tests / Static analysis for php 8.3 on ubuntu-latest (push) Has been cancelled
PHP Tests / Static analysis for php 8.4 on ubuntu-latest (push) Has been cancelled
PHP Tests / Unit tests with php 8.2 on ubuntu-latest (push) Has been cancelled
PHP Tests / Unit tests with php 8.3 on ubuntu-latest (push) Has been cancelled
PHP Tests / Unit tests with php 8.4 on ubuntu-latest (push) Has been cancelled
2025-11-19 13:03:54 +01:00
Johannes Meyer
d8ec34ccaf module.info: Raise version to 1.3.0 2025-11-19 12:28:43 +01:00
Johannes Meyer
e582f3b091 Update CHANGELOG.md 2025-11-19 12:28:32 +01:00
Johannes Meyer
23be2afd00 Raise dependencies 2025-11-19 12:28:22 +01:00
Johannes Meyer
b13cd53b8e Release 1.2.4 (#1307)
(cherry picked from commit edfa225f4d)
2025-11-19 11:59:44 +01:00
Bastian Lederer
3c130b73a7
Only include requested columns in CSV/JSON exports when using ?columns=… (#1301)
resolves: #1011
2025-11-19 11:40:44 +01:00
Johannes Meyer
2590556303 Auth: Merge variable denylists and protections from multiple roles 2025-11-19 08:50:39 +01:00
Johannes Meyer
b8c33d6a32 Require Icinga Web 2.12 as minimum now
Some checks failed
L10n Update / update (push) Has been cancelled
PHP Tests / Static analysis for php 8.2 on ubuntu-latest (push) Has been cancelled
PHP Tests / Static analysis for php 8.3 on ubuntu-latest (push) Has been cancelled
PHP Tests / Static analysis for php 8.4 on ubuntu-latest (push) Has been cancelled
PHP Tests / Unit tests with php 8.2 on ubuntu-latest (push) Has been cancelled
PHP Tests / Unit tests with php 8.3 on ubuntu-latest (push) Has been cancelled
PHP Tests / Unit tests with php 8.4 on ubuntu-latest (push) Has been cancelled
We were somewhat *compatible* with 2.9. Though, our packages
never allowed to install Icinga Web < 2.12 together with
Icinga DB Web >= 1.2. The latter requires PHP 8.2 as a minimum
and only Icinga Web 2.12 is compatible with it. It's now time
to hard require Icinga Web 2.12, althoug you might argue that
we should have done that already with v1.2…
2025-11-17 15:46:00 +01:00
Johannes Meyer
601753a76b Drop user, users, usergroup and usergroups endpoints 2025-11-17 13:21:32 +01:00
Johannes Meyer
555f1417bd Drop class Icinga\Module\Icingadb\Model\Behavior\BoolCast 2025-11-17 13:20:36 +01:00
jrauh01
3c7228686c
Print redis config file if saving failed (#1272)
If saving the Redis settings fails due to a write error, the desired
configuration file content is now displayed so that the user can deploy
it manually (Same behavior as with database configuration).

For that a catch block is introduced on the `NotWritableError` that is
added to `IniWriter::write()` in
https://github.com/Icinga/icingaweb2/pull/5404.

Refs https://github.com/Icinga/icingaweb2/pull/5404
Resolves #1269
2025-11-17 13:19:13 +01:00
Jan Schuppik
c7cc328bf2
Enhancement/improve column opening behaviour (#1293)
Some checks failed
L10n Update / update (push) Has been cancelled
PHP Tests / Static analysis for php 8.2 on ubuntu-latest (push) Has been cancelled
PHP Tests / Static analysis for php 8.3 on ubuntu-latest (push) Has been cancelled
PHP Tests / Static analysis for php 8.4 on ubuntu-latest (push) Has been cancelled
PHP Tests / Unit tests with php 8.2 on ubuntu-latest (push) Has been cancelled
PHP Tests / Unit tests with php 8.3 on ubuntu-latest (push) Has been cancelled
PHP Tests / Unit tests with php 8.4 on ubuntu-latest (push) Has been cancelled
This PR improves the UX in the IcingaDB Web interface by:
- Enhancing the page opening behavior in column views for smoother
navigation.
- Adding a search bar to the tabs Host Services, Host History and
Service History

## Resolves
- #981
- #1288
2025-11-14 12:36:11 +01:00
Sukhwinder Dhillon
6f6c5700a9 Hide list selection-count and action list hint in minimal layout
Some checks failed
L10n Update / update (push) Has been cancelled
PHP Tests / Static analysis for php 8.2 on ubuntu-latest (push) Has been cancelled
PHP Tests / Static analysis for php 8.3 on ubuntu-latest (push) Has been cancelled
PHP Tests / Static analysis for php 8.4 on ubuntu-latest (push) Has been cancelled
PHP Tests / Unit tests with php 8.2 on ubuntu-latest (push) Has been cancelled
PHP Tests / Unit tests with php 8.3 on ubuntu-latest (push) Has been cancelled
PHP Tests / Unit tests with php 8.4 on ubuntu-latest (push) Has been cancelled
- Mobile only supports single-column layouts, so multiple selection and navigation are not available.
2025-11-13 09:10:12 +01:00
Johannes Meyer
cb5dd3f417
Fix failover handling of chunked api commands (#1295)
Some checks are pending
L10n Update / update (push) Waiting to run
PHP Tests / Static analysis for php 8.2 on ubuntu-latest (push) Waiting to run
PHP Tests / Static analysis for php 8.3 on ubuntu-latest (push) Waiting to run
PHP Tests / Static analysis for php 8.4 on ubuntu-latest (push) Waiting to run
PHP Tests / Unit tests with php 8.2 on ubuntu-latest (push) Waiting to run
PHP Tests / Unit tests with php 8.3 on ubuntu-latest (push) Waiting to run
PHP Tests / Unit tests with php 8.4 on ubuntu-latest (push) Waiting to run
fixes #1292
2025-11-12 15:29:13 +01:00
Johannes Meyer
f2da48219c tests: Enhance command transport tests 2025-11-12 15:15:10 +01:00
Johannes Meyer
6af3c7e595 CommandTransport: Implement chunked transmission handling
Previously, command forms were responsible for this. But they
don't have any notion of fallback handling and are unable to
ensure proper re-submission of failed batches.
2025-11-12 15:15:10 +01:00
Johannes Meyer
d5b1ba7f33 CommandTransport: Do not render failed commands again
Rendering may only be possible once, depending on the
command type.
2025-11-12 15:15:10 +01:00
Johannes Meyer
27f0d0f680 CommandTransportException: Allow to attach the failed command 2025-11-12 15:15:10 +01:00
Johannes Meyer
17b4d96744 ObjectsCommand: Introduce property $chunkSize 2025-11-07 15:12:12 +01:00
Johannes Meyer
2c1b4dd5db ObjectsCommand: Expect instances of Iterator as objects 2025-11-07 14:34:26 +01:00
Johannes Meyer
f88b6449b7 migrate: Drop search migration
Some checks failed
L10n Update / update (push) Has been cancelled
PHP Tests / Static analysis for php 8.2 on ubuntu-latest (push) Has been cancelled
PHP Tests / Static analysis for php 8.3 on ubuntu-latest (push) Has been cancelled
PHP Tests / Static analysis for php 8.4 on ubuntu-latest (push) Has been cancelled
PHP Tests / Unit tests with php 8.2 on ubuntu-latest (push) Has been cancelled
PHP Tests / Unit tests with php 8.3 on ubuntu-latest (push) Has been cancelled
PHP Tests / Unit tests with php 8.4 on ubuntu-latest (push) Has been cancelled
2025-11-06 09:44:32 +01:00
Johannes Meyer
f23525a4e5
Remove migration assistance (#1275)
It's time to get rid of this. Anyone who didn't migrate yet won't be
convinced by this anymore either.
2025-11-06 09:37:05 +01:00
Johannes Meyer
6c31feb523 doc: Mention migration removal 2025-11-06 09:04:46 +01:00
Johannes Meyer
5d068666d3 migrate: Drop monitoring url preview 2025-11-06 09:04:46 +01:00
Johannes Meyer
c2543454b1 migrate: Drop backend selection 2025-11-06 09:04:46 +01:00
Johannes Meyer
0d414c2f4f
Provide integration for Icinga Notifications Web (#1289)
Some checks failed
L10n Update / update (push) Has been cancelled
PHP Tests / Static analysis for php 8.2 on ubuntu-latest (push) Has been cancelled
PHP Tests / Static analysis for php 8.3 on ubuntu-latest (push) Has been cancelled
PHP Tests / Static analysis for php 8.4 on ubuntu-latest (push) Has been cancelled
PHP Tests / Unit tests with php 8.2 on ubuntu-latest (push) Has been cancelled
PHP Tests / Unit tests with php 8.3 on ubuntu-latest (push) Has been cancelled
PHP Tests / Unit tests with php 8.4 on ubuntu-latest (push) Has been cancelled
The supplement to
https://github.com/Icinga/icinga-notifications-web/pull/373
2025-10-28 15:09:46 +01:00
Johannes Meyer
a0c9f03a78 Provide integration for Icinga Notifications Web 2025-10-27 11:11:23 +01:00
Johannes Meyer
0a3b0b9afb Introduce new route icingadb/suggest/restriction-column 2025-10-27 11:11:23 +01:00
Johannes Meyer
e906b1d632 ObjectSuggestions: Allow to use a fixed set of columns 2025-10-27 11:11:23 +01:00
Johannes Meyer
eb85337fc7
Release v1.2.3
Some checks failed
L10n Update / update (push) Has been cancelled
PHP Tests / Static analysis for php 8.2 on ubuntu-latest (push) Has been cancelled
PHP Tests / Static analysis for php 8.3 on ubuntu-latest (push) Has been cancelled
PHP Tests / Static analysis for php 8.4 on ubuntu-latest (push) Has been cancelled
PHP Tests / Unit tests with php 8.2 on ubuntu-latest (push) Has been cancelled
PHP Tests / Unit tests with php 8.3 on ubuntu-latest (push) Has been cancelled
PHP Tests / Unit tests with php 8.4 on ubuntu-latest (push) Has been cancelled
2025-10-16 09:34:27 +02:00
Johannes Meyer
3a77af6df4 module.info: Raise version to 1.2.3 2025-10-16 08:45:10 +02:00
Johannes Meyer
5fb51de64b Update CHANGELOG.md 2025-10-16 08:45:10 +02:00
Johannes Meyer
ab4dafe4f2 module.info: Raise ipl requirement 2025-10-16 08:45:10 +02:00
Johannes Meyer
5e982dad40
Merge commit from fork
* Auth: Add method `assertColumnRestrictions`

* ObjectSuggestions: Do not suggest protected variables

`assertColumnRestrictions` does not allow to use them
anymore, hence we should not suggest them in searches
as well to not to let the user run into an error by
accepting a suggestion. Though, when fetching values
as well, we still have to obfuscate, otherwise protected
vars won't show up in details anymore.

* Introduce Icinga\Module\Icingadb\Common\Model

Must be used as base for all models, to ensure
column restrictions are asserted on filters.

* Utilize `Icinga\Module\Icingadb\Common\Model` where applicable
2025-10-16 08:42:51 +02:00
Johannes Meyer
cb98b042c0
Fix automation documentation (#1286)
Some checks are pending
L10n Update / update (push) Waiting to run
PHP Tests / Static analysis for php 8.2 on ubuntu-latest (push) Waiting to run
PHP Tests / Static analysis for php 8.3 on ubuntu-latest (push) Waiting to run
PHP Tests / Static analysis for php 8.4 on ubuntu-latest (push) Waiting to run
PHP Tests / Unit tests with php 8.2 on ubuntu-latest (push) Waiting to run
PHP Tests / Unit tests with php 8.3 on ubuntu-latest (push) Waiting to run
PHP Tests / Unit tests with php 8.4 on ubuntu-latest (push) Waiting to run
fixes #1283
2025-10-15 10:43:17 +02:00
Johannes Rauh
def4dce4e3 Move problem toggle above shifting params
If the problem toggle is created after the params are shifted, it
redirects to the page without them. To solve this I simply moved
the problem toggle before shifting the params.
2025-10-15 10:30:45 +02:00
Lorenz Kästle
b5eed40255
Add notice about HTTP method POST to the HTTP API documentation (#1274)
The HTTP API documentation omits the fact, that the HTTP method `POST`
is required
for all endpoints which change things.
This PR aims to mention that explicitely to ease API adaption.
2025-08-28 08:57:58 +02:00
Johannes Meyer
fa23e86ae7
Release v1.2.2 (#1255) 2025-07-16 10:11:26 +02:00
Johannes Meyer
9f1ddf7536 module.info: Raise version to 1.2.2 2025-07-16 10:05:36 +02:00
Johannes Meyer
44eb8f5f67 Update CHANGELOG.md 2025-07-16 10:05:36 +02:00
Copilot
54702e1271
Fix multiple downtime deletion permission issue (#1257) 2025-07-15 16:00:33 +02:00
Johannes Meyer
93869319b3 Auth: Apply filter/hosts and filter/services to dependency queries
refs #1242
2025-07-14 15:49:14 +02:00