Commit Graph

183 Commits

Author SHA1 Message Date
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 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
Alexander A. Klimov 0031108160 icingacli setup config webserver apache: add trailing / to Alias dir
if the Alias URI (e.g. /) has a trailing /. Otherwise Apache says 403.
2023-01-18 13:55:45 +01:00
Eric Lippmann d41ebeb6bc Schema path is now always /usr/share/icingaweb2/schema 2023-01-09 16:14:15 +01:00
Sukhwinder Dhillon aad2419545 Remove obsolete `config_backend` option and not required code
The user preferences backend is now always a `db`.
2022-05-27 14:02:11 +02:00
Sukhwinder Dhillon 48e96ba301 RequirementSet: Fix null returned instead int exception
fixes #4767
2022-05-03 14:08:16 +02:00
Johannes Meyer d63f645bd8 Update requirements for PHP 8.1 2022-03-24 15:46:26 +01:00
Johannes Meyer c038e84fc2 Ensure Return Type Compatibility with Internal Classes 2022-03-24 12:29:06 +01:00
Johannes Meyer 523bdfec5e Require PHP 7.2+ 2022-03-24 12:29:05 +01:00
Johannes Meyer 01f67a78c6 Increase required version of the icinga-php-library 2022-03-23 11:49:06 +01:00
Johannes Meyer 253fee0054 WebWizard: Ensure to properly setup table `icingaweb_rememberme`
fixes #4434
2021-07-21 17:42:59 +02:00
Johannes Meyer 1ed1bfe4b9 WebWizard: Update php module requirements 2021-07-21 17:38:59 +02:00
Johannes Meyer da950c8559 WebWizard: Remove line break from a requirement message 2021-07-01 13:01:38 +02:00
Johannes Meyer 53c0d6de86 Wizard: Transform emtpy page data values to null
Previously the wizard wrote empty strings to config files.
2021-06-30 18:53:41 +02:00
Johannes Meyer c5cb9dc34e Raise minimum required PHP version to 7.3 2021-06-22 12:57:08 +02:00
Johannes Meyer fa602c3525 WebWizard: Require our new libraries 2021-06-22 12:35:22 +02:00
Johannes Meyer 3b3eca934f WebWizard: Remove Zend_Db_* class requirements
All of our packages (even debian) roll out our own
bundled fork, which containes these classes.
2021-06-22 12:33:15 +02:00
Johannes Meyer f72a5fbe89 WebWizard: Require storage directory 2021-06-22 12:11:10 +02:00
Johannes Meyer 1a5cedfee1 setup: Skip browser validation when validating a form manually
fixes #4291
2021-04-13 16:57:03 +02:00
sukhwinder33445 ab97b6fdf0
Enforce database as configuration backend (#4135) 2021-02-18 12:31:21 +01:00
Johannes Meyer 01a08d60e1 setup: Don't fail if only a module couldn't be enabled 2020-11-18 13:21:34 +01:00
Johannes Meyer 335dde7b68 WebModuleRequirement: Strip leading `v` from a module's version 2020-05-05 16:26:39 +02:00
Johannes Meyer d585a37641 setup: Introduce class `WebModuleRequirement` 2020-04-30 16:43:24 +02:00
Johannes Meyer f581c67aeb WebWizard: Allow config validation also for icingadb pages 2020-04-20 14:26:18 +02:00
Johannes Meyer ef470b3c1d
Merge pull request #3655 from Icinga/bugfix/setup-cli-webserver-config-fpm-enabled
Setup: Allow to enable FPM
2019-05-08 09:29:13 +02:00
Johannes Meyer 81bb5272b5
Merge pull request #3680 from Icinga/feature/date-timezone-3626
Setup: don't require date.timezone
2019-04-18 14:20:47 +02:00
Alexander A. Klimov 5a0434431f Setup: don't require date.timezone
refs #3626
2019-04-18 11:31:37 +02:00
Michael Friedrich f7248324f4 Setup: Remove fcgi from apache URL 2019-01-08 11:38:51 +01:00
Michael Friedrich 26c6ce3e55 Setup: Add --enable-fpm flag 2018-12-21 15:29:06 +01:00
Marian Rainer-Harbach 5e40405a12 Allow disabling MySQL server certificate validation by setting ssl_do_not_verify_server_cert
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2018-07-16 11:41:13 +02:00
Eric Lippmann 8990d6f46e Drop support for PHP < 5.6 2018-07-03 13:11:36 +02:00
Alexander A. Klimov fc1f6e13ab Drop PHP 5.3 support 2018-05-07 11:36:54 +02:00
Michael T. DeGuzis 91678eec83
protocol is wrong, fcgi, not fgci 2018-02-11 18:04:19 -05:00
Johannes Meyer 2a959af9c2 ConfigCommand: Add fpm socket commandline switch
Allows to pass a different socket path than the default
when generating a webserver's configuration.

refs #2862
2018-01-19 10:15:22 +01:00
Markus Frosch 93464f5cd0 apache: Make sure to forward authentication credentials to FPM
This is needed for basic authentication against the Icinga Web 2 API.
2017-12-04 14:16:34 +01:00
Markus Frosch eff3b7758c apache: Include FPM comments in regular Apache config 2017-12-04 14:14:34 +01:00
Eric Lippmann 754963ac11 Support FPM config for Apache < 2.4 generated via icingacli 2017-11-29 14:31:47 +01:00
Johannes Meyer e4fd8d5124 Setup: Only allow to validate the API transport configuration
refs #3101
2017-11-21 13:48:29 +01:00
Markus Frosch 22c6bf75e7 Setup: Fix that the API transport validation does not work
refs #3101
2017-11-21 13:48:17 +01:00
Markus Frosch 0a3ab14ca4 Fix ErrorDocument prefix for the Apache webserver 2017-11-17 11:41:04 +01:00
Markus Frosch 032622a4dc php-fpm: Add config file examples and templates 2017-11-17 11:37:36 +01:00
Alexander Aleksandrovič Klimov 29df5464cb Fix error "Undefined index: logging_file" (#3013)
fixes #3007
2017-10-11 15:09:22 +02:00
Alexander A. Klimov de53925c7c Provide suggestions for AuthBackendPage as element defaults
refs #2990
2017-10-06 11:12:11 +02:00
Alexander A. Klimov a0ffdb0f7c Populate LdapBackendForm with suggestions only on the first access
refs #2990
2017-10-05 14:53:14 +02:00
Michael Friedrich 1078b7de1a Setup Wizard: Fix missing MySQL error code 1698 handling
refs #2909
2017-08-07 15:14:20 +02:00
Johannes Meyer 181e2ef05c Swag: Fix swag (aka a whole bunch of code style issues..) 2017-01-27 14:48:59 +01:00