Commit Graph

45 Commits

Author SHA1 Message Date
raviks789 3d61fe6bf2 `MonitoringWizard`: Fix type for parameter `$page` of method `setupPage()`
The `$page` parameter for `Icinga\Module\Monitoring\MonitoringWizard::setupPage()` can also be
`Icinga\Module\Setup\Forms\RequirementsPage` or `Icinga\Module\Setup\Forms\SummaryPage`.
2023-08-23 10:53:13 +02:00
Johannes Meyer 37c982a044 MonitoringWizard: Remove redundant requirements and steps 2021-06-30 18:54:47 +02:00
Johannes Meyer 1a5cedfee1 setup: Skip browser validation when validating a form manually
fixes #4291
2021-04-13 16:57:03 +02:00
Johannes Meyer 7b488d7f93 swag: Fix violations of PSR-12
PSR-2 has been deprecated and phpcs v3.5.3
now checks for the successor PSR-12
2019-12-04 11:28:08 +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
Michael Friedrich ab364e0fc7 Remove unsupported livestatus functionality
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2017-09-29 10:33:55 +02:00
Johannes Meyer 35ba15a7a6 monitoring: Don't offer the Icinga 2 API as transport if cURL is missing
fixes #2661
2017-02-01 15:37:52 +01:00
Johannes Meyer 181e2ef05c Swag: Fix swag (aka a whole bunch of code style issues..) 2017-01-27 14:48:59 +01:00
Alexander A. Klimov 474803fee4 Change all license headers to only reflect a file's year of creation
refs #11000
2016-02-08 15:41:00 +01:00
Eric Lippmann 32f87284ad PHP7: Fix MySQL and PostgreSQL PDO extension checks
refs #10251
2016-01-28 13:52:31 +01:00
Eric Lippmann 2e1e0bb89f Setup/Monitoring: Remove obsolete sockets requirement
fixes #10805
2016-01-25 07:32:18 +01:00
Johannes Meyer 8c887ee450 monitoring: Rename all command transport related classes
refs #9651
2015-08-26 15:52:36 +02:00
Johannes Meyer ec8567cbbf monitoring: It's now a command transport, not an instance anymore
refs #9651
2015-08-26 15:43:30 +02:00
Johannes Meyer 5602d57d0b Indicate that the configuration is being validated
refs #8369
2015-08-20 15:48:41 +02:00
Johannes Meyer e8af4295b1 Allow to manually validate the configuration in the wizard as well
It's a mess...
2015-07-29 10:52:32 +02:00
Johannes Meyer 3b63868ed9 MonitoringWizard: Prefer our form error implementation 2015-07-02 09:45:00 +02:00
Johannes Meyer d69ab427a6 MonitoringWizard: Fix documentation 2015-07-02 09:42:59 +02:00
Johannes Meyer 7795ad4f95 WebWizard: Drop preferences page and include ApplicationConfigForm instead
refs #8709
2015-07-01 16:02:40 +02:00
Johannes Meyer f615db01fe WebWizard: Show db resource config right after choosing db as auth type
refs #8709
2015-07-01 14:24:48 +02:00
Johannes Meyer f4446cbade Add todo to the MonitoringWizard related to the livestatus backend type
The requirement should be added to the OR-set that has currently both
ido requirement sets so that livestatus may the only choice again.

refs #8254
2015-03-10 11:00:51 +01:00
Johannes Meyer bc450c573d Refactor and fix requirement evaluation
refs #8508
2015-03-10 09:12:06 +01:00
Johannes Meyer e80786d63d Rename Requirements to RequirementSet
refs #8508
2015-03-09 09:05:56 +01:00
Johannes Meyer 551207b5b8 Add grouped database dependencies to the monitoring wizard
refs #8508
2015-02-26 10:50:45 +01:00
Johannes Meyer 04630a20be Implement all known requirements as object
refs #8508
2015-02-25 13:39:59 +01:00
Eric Lippmann 6bae2e0a53 Note that our license is GPL v2 or any later version in our license header instead of pointing to the license's URL 2015-02-04 10:52:27 +01:00
Eric Lippmann 5b4fab0750 Add license header
This time without syntax errors hopefully :)
2015-02-03 16:27:59 +01:00
Eric Lippmann 5fa2e3cfdc Revert "Add license header"
This reverts commit 338d067aba.
2015-02-03 16:16:26 +01:00
Eric Lippmann 338d067aba Add license header
fixes #7788
2015-02-03 15:51:04 +01:00
Johannes Meyer bf470125c3 Merge branch 'master' into feature/create-missing-directories-when-creating-inis-8219
Conflicts:
	modules/monitoring/library/Monitoring/MonitoringWizard.php
2015-01-30 16:21:42 +01:00
Johannes Meyer 6416fc421c Do not create directories which are created automatically if necessary
refs #8219
2015-01-30 15:43:39 +01:00
Johannes Meyer e8619686ae Add the sockets module as optional requirement of the monitoring module 2015-01-30 13:01:51 +01:00
Johannes Meyer a07bff490f Fix that the monitoring module's config directory is not being created
Forgot to re-add this when reverting a temporary change while adjusting
the module installation as part of #8191.
2015-01-23 15:31:45 +01:00
Johannes Meyer 96390d34bf Enable modules as part of the main installation routine
refs #8191
2015-01-21 15:03:34 +01:00
Johannes Meyer 1f6a81aefb Add Wizard::skipPage()
Required to not to duplicate code in custom wizards and to avoid errors
when detecting the direction.

refs #8191
2015-01-21 13:07:08 +01:00
Johannes Meyer 573c1046bb Ensure that the SummaryPage has a unique name when being utilized
refs #8191
2015-01-21 11:44:44 +01:00
Eric Lippmann 64d4bb089c monitoring/setup: Remove function for getting the configuration directory
Getting the config directory is not a task for module wizards.
2015-01-19 11:43:39 +01:00
Eric Lippmann abc74c7fb5 monitoring/setup: Fix directory mode of the monitoring configuration directory
We should introduce a CreateConfigDirectoryStep because module developers must not
provide a directory mode but use our default.
2015-01-19 11:43:38 +01:00
Johannes Meyer 3166c518e1 Rename Icinga\Module\Monitoring\Form to Icinga\Module\Moni...\Forms
refs #7553
2014-11-14 11:17:22 +01:00
Johannes Meyer d64ec0aa3c Rename Icinga\Module\Setup\Form to Icinga\Module\Setup\Forms
refs #7553
2014-11-14 11:01:16 +01:00
Johannes Meyer 4992140326 Hardcode the access mode to use when creating files
refs #7163
2014-11-12 09:39:18 +01:00
Johannes Meyer ca66480ba7 Hardcode the access mode to use when creating directories
refs #7163
2014-11-12 09:18:19 +01:00
Johannes Meyer 6b2f434f32 Do not use Installer anywhere. ²
"It's setup."

refs #7163
2014-11-10 16:53:28 +01:00
Johannes Meyer 21ed823da7 Adjust namespace declarations
refs #7163
2014-11-10 16:31:40 +01:00
Johannes Meyer 79493592bb Do not use Installer anywhere.
"It's setup."

refs #7163
2014-11-10 10:30:52 +01:00