Commit graph

468 commits

Author SHA1 Message Date
Johannes Meyer
b7e01023ab Update required icinga-php-library version 2026-04-17 15:40:21 +02:00
Eric Lippmann
b474b4347d Raise version to 2.13 2026-03-26 21:31:28 +01:00
Eric Lippmann
662de28f85 License source files as GPL-3.0-or-later
Add SPDX license headers and mark source files as GPL-3.0-or-later to
preserve the option to relicense under later GPL versions.
2026-03-26 17:49:26 +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
Bastian Lederer
ea0ce32bc9 Change implicit nullable type declaration to explicit
Since PHP 8.4 implicitly nullable parameter types are deprecated.

Normalize scoped PHPDoc for nullable-parameter updates: use `?Type` instead of
`Type|null`, remove column alignment, and indent continuation lines with 2
spaces.

Co-authored-by: "Eric Lippmann <eric.lippmann@icinga.com>"
2026-03-10 16:40:27 +01:00
Eric Lippmann
cda8fc28a0
Require PHP 8.2 (#5444)
Some checks failed
L10n Update / update (push) Has been cancelled
CI / PHP (push) Has been cancelled
2026-01-07 13:37:54 +01:00
Johannes Meyer
94561159a4 Raise version to 2.12.6 2025-11-18 17:35:08 +01:00
Alexander A. Klimov
23288ce749 Require PHP 8.2 2025-11-06 10:28:51 +01:00
Jan Schuppik
73c813eded
Fix/icingacli setup fpm flag (#5411)
resolves #5409

Only use default value for --fpm-url if neither --fpm-url or
--fpm-socket-path is set.
2025-08-20 09:27:31 +02:00
Johannes Meyer
0070c807a7
Release v2.12.5 (#5391) 2025-07-16 10:30:33 +02:00
Johannes Meyer
5f602113ee Raise version to v2.12.5 2025-07-14 13:35:37 +02:00
Johannes Meyer
122ac8f600 setup: Warn users about wildcards in their database name 2025-07-14 11:32:18 +02:00
Jan Schuppik
85621487e8
Fix: split fpm-uri flag in socket and url flag (#5364)
fixes #5249
2025-05-06 11:35:10 +02:00
Johannes Meyer
e98a776509 Raise version to 2.12.4 2025-03-26 16:41:23 +01:00
Johannes Meyer
53fa6d57e1 Raise ipl requirement 2025-03-26 10:35:11 +01:00
Johannes Meyer
01fb35dd4a Raise version to 2.12.3 2025-03-26 10:31:04 +01:00
Johannes Meyer
b403918cc1 Raise version to 2.12.2 2024-11-13 09:59:05 +01:00
Johannes Meyer
781b97fc41
removed gendered language (#5169) 2024-08-07 14:40:32 +02:00
Sukhwinder Dhillon
62cae50f1e DbResourcePage: Warn the user if Icinga DB is used as configuration database 2024-08-07 14:23:13 +02:00
Johannes Meyer
ab3c9f326d Require ipl version which provides i18n v0.2.2 2024-08-07 13:19:11 +02:00
alyxbb
5c94bf7bae
removed gendered languaged 2024-01-08 23:55:09 +00:00
Johannes Meyer
b23cbd796f Raise version to 2.12.1 2023-11-15 12:22:46 +01:00
Yonas Habteab
ae9575e7e4 DbResourcePage: Don't fail validation if connecting to pgsql wasn't successfull 2023-10-26 17:07:17 +02:00
Yonas Habteab
329fd9e316 DbTool: Enhance issuing and verifying pgsql privileges 2023-10-26 17:07:17 +02:00
Yonas Habteab
a99f685d15 Add missing pgsql USAGE privilege 2023-10-26 17:07:17 +02:00
raviks789
610bc5a4fe AdminAccountPage: Fix LDAP setup error 2023-09-28 10:35:03 +02:00
Johannes Meyer
2432d055e6 Raise library requirements 2023-09-21 16:35:31 +02:00
Johannes Meyer
21d631ad7e Raise version to 2.12.0 2023-09-21 16:35:31 +02:00
Johannes Meyer
8a1c224461 WebWizard: Grant permission for DDL statements by default 2023-09-19 14:37:55 +02:00
Johannes Meyer
c170727fc3 WebWizard: Define icingaweb_schema as database table
fixes #5112
2023-09-14 13:12:29 +02:00
Sukhwinder Dhillon
8739a9da73
Fix setup wizard (#5094) 2023-09-07 13:37:10 +02:00
raviks789
33a5f765b9 Use style element to create css class for dynamic inline style
The `style` element with `nonce` attribute is used to create css classes for
inline styles that are not static. This prevents Content-Security-Policy violations.
2023-08-28 16:40:33 +02:00
raviks789
459f4198c3 Replace static inline styles with css class
The static inline styles are replaced with css class to avoid Content-Security-Policy violations.
2023-08-28 16:30:12 +02:00
Sukhwinder Dhillon
5d5b767afe Setup Module (finish.phtml): Add empty array if $report is null 2023-08-23 10:53:15 +02:00
Sukhwinder Dhillon
ee9d139a3a PhpDoc: Fix incorrect @param and @return type hints 2023-08-23 10:53:15 +02:00
Sukhwinder Dhillon
8960324fcd ResourceStep: Fix Variable '$dbHtml, $ldapHtml' are probably undefined 2023-08-23 10:53:14 +02:00
Sukhwinder Dhillon
e5981ed2b5 GeneralConfigStep: Fix Variable '$typeDescription, $typeSpecificHtml' are probably undefined 2023-08-23 10:53:14 +02:00
Sukhwinder Dhillon
07e272f3cc RequirementsRenderer: Add $tags explicitly as non-dynamic property 2023-08-23 10:53:14 +02:00
Sukhwinder Dhillon
8cfc40affe RequirementSet: Fix sprintf args 2023-08-23 10:53:14 +02:00
Sukhwinder Dhillon
b755650256 Requirement: Fix exception throw 2023-08-23 10:53:14 +02:00
Sukhwinder Dhillon
dae38414f8 AuthBackendPage: Fix Variable '$backendForm' is probably undefined 2023-08-23 10:53:14 +02:00
Sukhwinder Dhillon
01352cf6c2 AdminAccountPage: Fix Variable '$groups, $users' are probably undefined 2023-08-23 10:53:14 +02:00
Sukhwinder Dhillon
d1bfde0dc5 ConfigCommand: Fix Variable '$webserver' is probably undefined and import missing Exception class 2023-08-23 10:53:14 +02:00
raviks789
209bf62a56 DbTool: Import class Zend_Db_Adapter_Pdo_Abstract
Since `DbTool::zendconn` is of type `Zend_Db_Adapter_Pdo_Abstract`, it has to be imported.
2023-08-23 10:53:13 +02:00
raviks789
baeba7c27a AdminAccountPage: Cast $query to LdapQuery using inline @var 2023-08-23 10:53:13 +02:00
raviks789
9e0c8ef76a RequirementsRenderer: Cast $currentSet to RequirementSet in beginChildren() using inline @var 2023-08-23 10:53:13 +02:00
raviks789
7677a0bc4e WebWizard: Access Form::getName() with correct name case in getNewPage() 2023-08-23 10:53:13 +02:00
raviks789
ea2166be6d WebWizard: Import exception InvalidArgumentException 2023-08-23 10:53:13 +02:00
raviks789
fc321ddc49 WebWizard: Use inline @var to cast setup pages to correct type 2023-08-23 10:53:13 +02:00
raviks789
aa5da53c9d Webserver: Fix name case of return type for createInstance() method 2023-08-23 10:53:13 +02:00