Commit graph

395 commits

Author SHA1 Message Date
Eric Lippmann
80308bbd75 Migrate Less compilation to ipl\Web\Less
Replace the in-tree `Icinga\Less\` visitor layer with its equivalents
from `ipl\Web\Less`, where the same color-variable and light-mode
functionality is maintained as a shared library.

`LessCompiler` is updated to delegate to `WikimediaLessCompiler`,
assembling source via `@import (less)` directives and accepting a
`$minify` flag directly on `render()` rather than through a separate
`compress()` call.
2026-04-27 16:24:51 +02:00
Sukhwinder Dhillon
821f6a4775 doc: Remove monitoring module references
Some checks failed
L10n Update / update (push) Has been cancelled
CI / PHP (push) Has been cancelled
The `monitoring` module was removed in v2.13.0 and its references
remained in the docs. Remove these references and replace them with
`icingadb` where appropriate.
2026-04-24 10:00:09 +02:00
Johannes Meyer
d75a83e013 doc: Mention relative time changes in the upgrading section 2026-04-21 10:01:39 +02:00
Johannes Meyer
b7e01023ab Update required icinga-php-library version 2026-04-17 15:40:21 +02:00
Johannes Meyer
1d6fa0aabd doc: Mention monitoring removal in upgrading section
Some checks failed
L10n Update / update (push) Has been cancelled
CI / PHP (push) Has been cancelled
2026-04-02 14:41:02 +02:00
Eric Lippmann
b474b4347d Raise version to 2.13 2026-03-26 21:31:28 +01:00
Eric Lippmann
298f52456f Use Pdo\Mysql driver-specific constants
Replace deprecated `PDO::MYSQL_*` constant usage with the driver-specific
`Pdo\Mysql::ATTR_*` constants introduced in PHP 8.4.

This prepares the code for PHP 8.5, where accessing MySQL driver constants
through the generic `PDO` class is deprecated.

This change requires a compatibility shim on older PHP versions to provide
`Pdo\Mysql` for runtimes that do not expose the driver-specific class yet.  The
shim is provided in `ipl-sql`. As a consequence, the required version of the
Icinga PHP library has been raised.
2026-03-19 22:27:45 +01:00
Johannes Meyer
bfbab2120e modules: Remove test module
Some checks failed
L10n Update / update (push) Has been cancelled
CI / PHP (push) Has been cancelled
Just run `phpunit` in the repo's base, please
2026-02-26 16:14:10 +01:00
jrauh01
33f0c4eba3
Use NotWritableError for ini config (#5404)
Replaced the unused `Zend_Config_Exception` with a more appropriate
`NotWritableError` in `IniWriter::write()`.

- The old `Zend_Config_Exception` was never caught anywhere in the
codebase.
- Changed to `NotWritableError` to better reflect file permission and
write issues.
- Added `@` suppression to the `file_put_contents()` call so that the
method can throw `NotWritableError` instead of crashing on PHP warnings.
2026-02-26 12:33:54 +01:00
Alexander A. Klimov
23288ce749 Require PHP 8.2 2025-11-06 10:28:51 +01:00
Markus Opolka
d658c73c73 doc: Add vSphere CSP support release 2025-09-09 10:09:59 +02:00
Alexander Aleksandrovič Klimov
16f9c82860 Doc: fix over-escaping 2025-08-22 10:46:30 +02:00
Sukhwinder Dhillon
0eea5cae51 ServicestatusQuery: Add missing support for relative time filter for (host|service)_last_time_* columns 2025-05-07 10:35:47 +02:00
Johannes Meyer
53fa6d57e1 Raise ipl requirement 2025-03-26 10:35:11 +01:00
Blerim Sheqa
79971cb1a6 Fix broken links 2025-01-14 11:14:02 +01:00
Tobias Bauriedel
4baf630156
Add hint for comments in ini files (#5250)
Adds a small hint about comments in .ini files.

---------

Co-authored-by: Johannes Meyer <johannes.meyer@icinga.com>
2024-11-06 14:08:39 +01:00
Alexander Aleksandrovič Klimov
2221b27371 Don't rpm --import https://packages.icinga.com/icinga.key
for the same security reasons we don't use apt-key add anymore for: https://blog.cloudflare.com/dont-use-apt-key

Our repos already reference https://packages.icinga.com/icinga.key and both RPM distro families properly handle that.
2024-11-04 14:19:03 +01:00
Alexander Aleksandrovič Klimov
605b3568d2 .deb: let user install icinga-archive-keyring package 2024-11-04 14:02:35 +01:00
log1-c
2864e60d78
Corrected kiosk mode config (#5281) 2024-10-30 11:25:54 +01:00
moreamazingnick
bc47867f20
Fix PluginOutputHookImplementation gets called twice #5271 (#5272) 2024-10-08 09:25:02 +02:00
Robert Silén
c4b6e4bdda
add MariaDB to installation doc (#5247)
as discussed in https://github.com/Icinga/icingaweb2/issues/5237
2024-08-15 16:43:58 +02:00
Markus Opolka
66fb1ea57d
Add Icinga Director to list of components capable of strict CSP (#5226)
Hi, 

I updated the docs for the Content Security Policy (CSP). The Director
was missing from the list.

Was implemented in
https://github.com/Icinga/icingaweb2-module-director/pull/2857

Edit: I also added a hint about how to enable CSP in Icinga Web.

Cheers
Markus
2024-08-08 11:20:54 +02:00
Johannes Meyer
ab3c9f326d Require ipl version which provides i18n v0.2.2 2024-08-07 13:19:11 +02:00
Johannes Meyer
e4e23a3abc doc: Fix link pointing to graphite's CSP support release 2023-10-27 10:15:21 +02:00
Johannes Meyer
2432d055e6 Raise library requirements 2023-09-21 16:35:31 +02:00
Johannes Meyer
9036c37679 Use main instead of master as default branch name 2023-09-21 16:35:08 +02:00
Yonas Habteab
501ab81416 docs: Add missing grants in MYSQL manual setup examples 2023-09-19 14:37:55 +02:00
Yonas Habteab
ce2073d7bf Add 2.12 database upgrade docs 2023-09-19 14:37:55 +02:00
Tobias Tiederle
e66f76e881 configure landing page using environment variable 2023-09-07 08:49:21 +02:00
raviks789
ac928387e6 Fix CSP link in configuration documentation 2023-09-04 12:09:39 +02:00
Yonas Habteab
6f39194b0c Add CSP documentation 2023-08-28 16:01:52 +02:00
Bernd Arnold
7da8431c7c Fix documentation format (kiosk mode)
The text for the ini file was all shown in one line.
It's formatted properly now.
2023-08-21 11:26:14 +02:00
Sukhwinder Dhillon
59fc7dd745 Fix installation doc for centOS 2023-06-22 15:10:05 +02:00
Eric Lippmann
03e3cf9c82 doc: No longer offer manual steps to install SELinux policy
The policy will be moved to the packaging repository and all RPM-based
distributions will provide the policy package.
2023-01-09 16:14:15 +01:00
Eric Lippmann
d41ebeb6bc Schema path is now always /usr/share/icingaweb2/schema 2023-01-09 16:14:15 +01:00
Eric Lippmann
aa8c944d49 Docs: Fix Upgrading
Our icinga.com/docs tooling does not render the previous state
correctly.
2022-07-05 15:43:21 +02:00
Johannes Meyer
069f249372 doc: Add v2.11.x upgrading notes 2022-06-30 13:47:07 +02:00
Eric Lippmann
8e64c0b239
Update docs (#4838) 2022-06-29 10:08:45 +02:00
Sukhwinder Dhillon
f780cc15a1 Update 80-Upgrading.md doc 2022-06-14 14:24:30 +02:00
Sukhwinder Dhillon
4ab79a6758 DataView: Remove not in use method applyUrlFilter() 2022-06-14 14:24:30 +02:00
Sukhwinder Dhillon
3b04a0489e Replace class Backend use with MonitoringBackend and remove class Backend 2022-06-14 14:24:30 +02:00
Sukhwinder Dhillon
0db42b32e6 Remove not in use class Icinga\Module\Monitoring\Environment.php 2022-06-14 14:24:30 +02:00
Johannes Meyer
0490a2dfe4 Drop class Icinga\Web\Hook\GrapherHook 2022-06-14 14:24:30 +02:00
Johannes Meyer
d25854ebce Drop class Icinga\Web\Hook\TicketHook 2022-06-14 14:24:30 +02:00
Johannes Meyer
f8e1137060 Remove restriction macro user:local_name 2022-06-14 14:24:30 +02:00
Johannes Meyer
46a21d9709 Drop method DbQuery::whereToSql()
It's been used by `DbQuery::renderFilter()` rather
exclusively. So if removing one, both need to go.
2022-06-14 14:24:30 +02:00
Sukhwinder Dhillon
e179f9cf3f Update 80-Upgrading.md 2022-06-14 14:24:30 +02:00
Johannes Meyer
a29159a0a1 Remove remaining IE adjustments 2022-06-13 16:41:15 +02:00
Johannes Meyer
5619d8f13d doc: Mention IE11 compat drop in upgrading chapter 2022-06-13 16:31:20 +02:00
Sukhwinder Dhillon
41a23c3eb3 Update doc 2022-05-27 14:02:11 +02:00