Commit Graph

439 Commits

Author SHA1 Message Date
Alexander A. Klimov f8501aa80d setup/AdminAccountPage: respect previously configured envvar when suggesting admin username
refs #12164
2016-10-18 15:38:03 +02:00
Alexander A. Klimov d6ac6c8374 setup/AuthenticationPage: don't show the warning about external backend configuration if REDIRECT_REMOTE_USER is set
refs #12164
2016-10-18 15:19:13 +02:00
Alexander A. Klimov 29c221418b External authentication: respect REDIRECT_REMOTE_USER as well
refs #12164
2016-10-17 16:19:26 +02:00
Eric Lippmann fc5ed3feb1 Bump version to 2.3.4 2016-06-23 14:09:55 +02:00
Eric Lippmann d4b9b6d303 Bump version to 2.3.3 2016-06-07 15:15:01 +02:00
Johannes Meyer 1feeef1020 ResourceStep: Show encryption settings
refs #11115
2016-05-27 15:46:17 +02:00
Johannes Meyer b759ab6f5a DbResourceForm: Don't show SSL form elements by default
Addded additionally a check for PHP 5.4 so that these elements
are not shown for earlier versions.

refs #11115
2016-05-27 15:45:22 +02:00
Lee Clemens 87e774cb88 Add SSL Support to MySQL resources
Signed-off-by: Johannes Meyer <johannes.meyer@netways.de>
2016-05-27 13:15:48 +02:00
Alexander A. Klimov 21e4ba5680 Icinga Web 2.3.2 2016-04-28 14:56:31 +02:00
Eric Lippmann fdbcc6af8e Bump version to 2.3.1 2016-04-18 01:10:20 +02:00
Eric Lippmann 773c3cc88e Bump version to 2.3.0 2016-04-13 16:23:38 +02:00
Marius Hein 609b2da565 Update module versions 2016-02-29 22:49:40 +01:00
Johannes Meyer 67b1309834 LdapDiscoveryPage: Show errors if they occur... 2016-02-12 14:19:45 +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 353b9da8a5 Bump version to 2.1.2 2015-12-23 14:21:56 +01:00
Eric Lippmann 23b51e8b52 Re-introduce getValues() override for subform values in wizard pages
Wizard pages don't subclass ConfigForm for which the patch was intended. Sorry for the bug.

refs #10905
2015-12-23 14:07:19 +01:00
Eric Lippmann 405b768dc2 Bump version to 2.1.1 2015-12-22 14:50:13 +01:00
Eric Lippmann f843ef2a47 Autofocus the setup token input
refs #10671
2015-12-21 13:05:57 +01:00
Eric Lippmann ed5c2c4190 Merge branch 'bugfix/setup-config-directory-config-should-use-mkdir-p-instead-of-mkdir-10126'
fixes #10126
2015-12-21 11:13:13 +01:00
Eric Lippmann a14481a96b CLI: Use a more restrict mode when creating the config directory resursively
refs #10126
2015-12-21 11:12:06 +01:00
Eric Lippmann 594eb366f2 setup: Remove MakeDirStep
Not in use.
2015-12-21 11:10:28 +01:00
Alexander A. Klimov fd2901c4cc Setup: create config directory recursively like mkdir -p
refs #10126
2015-12-18 16:45:39 +01:00
Alexander A. Klimov fc8873ec0a Use getenv() instead of $_SERVER to get REMOTE_USER
refs #10488
2015-12-18 13:46:34 +01:00
Eric Lippmann 8006090108 Merge branch 'feature/theming-10705'
resolves #10705
2015-12-16 12:49:11 +01:00
Alexander A. Klimov 7983a87f52 Setup wizard: don't display the OS' default webserver user if the actual one is available 2015-12-14 11:29:03 +01:00
Eric Lippmann a1bb4bb695 Merge branch 'master' into feature/theming-10705 2015-12-07 14:17:57 +01:00
Eric Lippmann 6065e21e3a Remove ConfigForm::getValues() overrides where subform values are extracted manually 2015-11-26 15:40:10 +01:00
Davide Demuru 24eab867e5 Add Italian translation for the setup module
Signed-off-by: Eric Lippmann <eric.lippmann@netways.de>
2015-11-26 12:33:14 +01:00
Eric Lippmann fad52e0929 Update version 2015-11-16 15:34:47 +01:00
Johannes Meyer bf5f9f038c setup module: Translate a single string
Wohooo! (..)
2015-10-02 12:11:18 +02:00
Eric Lippmann 54bb99a96d Merge branch 'feature/dope-layout-5543'
refs #5543
2015-10-02 11:16:35 +02:00
Eric Lippmann 359dde708c Prepare 2.0.0 release 2015-10-01 23:39:27 +02:00
Eric Lippmann 3d2521abf0 Merge branch 'master' into feature/dope-layout-5543 2015-10-01 17:42:24 +02:00
Johannes Meyer 57f30b1f92 Do not apply server side sorting for paged search requests
Revert this prior start working on #10147

refs #10147
2015-10-01 15:47:11 +02:00
Johannes Meyer 195f2d2f2e setup: Fix button style of the finish
refs #5543
2015-10-01 14:30:23 +02:00
Johannes Meyer b81e767b7a setup: Fix button layout of the summary page
refs #5543
2015-10-01 14:13:45 +02:00
Johannes Meyer 4dfe6dec3a setup: Use h2 instead of h3 for a requirement's title
refs #5543
2015-10-01 13:34:16 +02:00
Johannes Meyer c9475807f6 setup: Fix css class on the requirement's refresh button
refs #5543
2015-10-01 13:34:16 +02:00
Eric Lippmann e416a445a3 Wizard: Rerender layout on login
fixes #9789
2015-09-29 19:37:18 +02:00
Johannes Meyer 2e7f3b941c LdapUserGroupBackendForm: Add missing form field..
..to configure the group_member_attribute option.

fixes #9903
2015-08-31 14:02:16 +02:00
Johannes Meyer ded6666897 wizard: Show a warning if the IDO is used for the internal database
resolves #9653
2015-08-28 15:25:40 +02:00
Eric Lippmann 85a4c67705 Merge branch 'feature/namespaced-controllers-5786'
resolves #5786
2015-08-28 15:09:49 +02:00
Johannes Meyer 6d77ade6ac setup: Ensure that the next-button double is always shown
fixes #9245
2015-08-28 10:49:26 +02:00
Eric Lippmann 4070f6c75b Merge branch 'master' into feature/namespaced-controllers-5786 2015-08-27 15:05:44 +02:00
Eric Lippmann ee7e0e80d2 setup: Namespace the IndexController
refs #5786
2015-08-27 14:21:29 +02:00
Eric Lippmann 1888f1a0a4 setup: Optimize imports in the IndexController 2015-08-27 14:20:53 +02:00
Johannes Meyer 0c47aececc Allow to disable stack traces globally
refs #9113
2015-08-24 14:44:54 +02:00
Johannes Meyer c395dbd813 Wizard: Add missing progress element to custom form scripts
refs #8369
2015-08-21 10:35:10 +02:00
Johannes Meyer 5602d57d0b Indicate that the configuration is being validated
refs #8369
2015-08-20 15:48:41 +02:00
Johannes Meyer b7a389601d IdoResourcePage: Validate the version of a PostgreSQL server
refs #9460
2015-08-19 14:42:18 +02:00
Johannes Meyer b7ee867239 DbResourcePage: Validate the version of a PostgreSQL server
refs #9460
2015-08-18 16:20:25 +02:00
Johannes Meyer e7cfc25b04 DbTool: Add method getServerVersion()
refs #9460
2015-08-18 16:19:01 +02:00
Johannes Meyer 41ebb49c58 DbTool: Add method isConnected()
refs #9460
2015-08-18 16:18:25 +02:00
Johannes Meyer a0fce449a9 Wizard: Fix that the sidebar and default header is shown 2015-08-18 14:56:25 +02:00
Johannes Meyer 2a1f0132bc Wizard: Properly process automatic submissions of the general config page
fixes #9855
2015-08-06 15:40:20 +02:00
Johannes Meyer 4c00d5effc Wizard: Fix invalid call to self::translate()
refs #9654
2015-08-06 13:21:50 +02:00
Johannes Meyer 35ea3cc9ee Wizard: Make it unambiguous what the first database configuration is for
fixes #9654
2015-08-05 16:20:03 +02:00
Johannes Meyer e2e1692462 Wizard: Use IcingaException::describe() in the finish's log where appropriate
fixes #9791
2015-08-05 15:54:45 +02:00
Johannes Meyer dafa722cec Hide non-essential form fields when configuring LDAP user group backends
resolves #9780
2015-07-31 15:56:13 +02:00
Johannes Meyer c5b5d3c9c3 SetupException: Provide a default exception message 2015-07-31 11:06:01 +02:00
Johannes Meyer 073c61903a DatabaseStep: Be less error-prone while calling array_search 2015-07-31 11:04:26 +02:00
Johannes Meyer 7305edc74c DbTool: Be less error-prone while calling array_search 2015-07-31 11:04:17 +02:00
Johannes Meyer b8293b1fdd WebWizard: Be less error-prone while calling array_search 2015-07-31 11:04:00 +02:00
Johannes Meyer c32b749701 DatabaseStep: Fix schema checks
The step to setup the database considered any table of foreign schemas
as one of our own schema, causing it to never create our schema for
non-empty databases.

fixes #9799
2015-07-31 11:03:12 +02:00
Johannes Meyer 316a4d8b82 Merge branch 'master' into bugfix/allow-to-configure-how-to-manage-groups-9609 2015-07-30 16:16:04 +02:00
Johannes Meyer c57bc30e67 AuthBackendPage: Don't crash while validating an external backend's config 2015-07-30 16:00:04 +02:00
Johannes Meyer a8415caf24 AuthenticationPage: Show the external-auth note as info form-notification 2015-07-30 15:57:06 +02:00
Johannes Meyer 16a964cb20 UserGroupStep: Do not produce invalid HTML
refs #9609
2015-07-30 15:51:07 +02:00
Johannes Meyer 5ca0e981c4 UserGroupBackendPage: Ensure that all required fields exist
refs #9609
2015-07-30 15:49:04 +02:00
Johannes Meyer 9cd419d330 UserGroupBackendPage: Add missing page description
refs #9609
2015-07-30 15:28:13 +02:00
Johannes Meyer 171be7a436 AuthenticationStep: Fix that the backend type 'msldap' is shown as external 2015-07-30 15:05:19 +02:00
Eric Lippmann a234852f32 Merge branch 'feature/basic-auth-9660'
resolves #9660
2015-07-30 15:05:07 +02:00
Johannes Meyer 87deda86be AuthBackendPage: Fix that re-populating the chosen LDAP type has no effect
...
2015-07-30 14:51:51 +02:00
Johannes Meyer eb4e56fbc0 AuthenticationStep: Do not report a success if nothing has changed 2015-07-30 14:14:43 +02:00
Johannes Meyer 0155599a1a Wizard: Use <pre> instead of <textarea> for displaying the setup's log 2015-07-30 14:13:52 +02:00
Eric Lippmann 81aad9d6a6 Rename Notifiation::getMessages() to popMessages()
Because the call to popMessages()--before getMessages()--automatically resets the notification messages on the instance, popMessages() is a much better name for the method.

refs #9660
2015-07-30 13:45:39 +02:00
Johannes Meyer f3a8981aa3 UserGroupStep: Fix c&p mistake
refs #9609
2015-07-30 13:31:23 +02:00
Johannes Meyer 47079b723d Wizard: Apply user group backend configuration
refs #9609
2015-07-30 13:22:51 +02:00
Johannes Meyer c5761243c1 Wizard: Apply initial administrative rights for groups
refs #9609
2015-07-30 11:35:28 +02:00
Johannes Meyer ff5142896b AuthenticationStep: We're creating the roles.ini, ultimately 2015-07-30 09:04:33 +02:00
Johannes Meyer 9858d79aaa AdminAccountPage: Do not allow to choose a group..
Does not work currently :(

refs #9609
refs #9772
2015-07-29 17:18:41 +02:00
Johannes Meyer ba8d05af85 Wizard: Allow to choose a group for initial administrative access
refs #9609
2015-07-29 17:13:06 +02:00
Johannes Meyer 226caac4f9 Wizard: Clear user group stage data on a auth backend type switch as well
refs #9609
2015-07-29 16:28:41 +02:00
Johannes Meyer a159e8195f Wizard: Fix that auto-submitting a form does not have any effect
I already said it's a mess...
2015-07-29 16:17:14 +02:00
Johannes Meyer 4cc95c91ef AdminAccountPage: Fix user backend creation
Missed to adjust this as part of 83aafe8c
2015-07-29 15:07:41 +02:00
Johannes Meyer 3f7081296b Merge branch 'master' into bugfix/allow-to-configure-how-to-manage-groups-9609 2015-07-29 15:02:20 +02:00
Johannes Meyer f72304a2fa Wizard: Allow to configure a user group backend for LDAP user backends
refs #9609
2015-07-29 14:44:28 +02:00
Johannes Meyer 4dab67ef5b Introduce wizard page UserGroupBackendPage
refs #9609
2015-07-29 14:44:09 +02:00
Johannes Meyer 57bdd2686e AuthBackendPage: Fix that the chosen LDAP type is not re-populated 2015-07-29 14:18:43 +02:00
Johannes Meyer 22bcc790ef Wizard: Prevent the width of header steps from exceeding 100% in total 2015-07-29 12:30:39 +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 83aafe8cda Allow to discover LDAP connections in the wizard as well
...
2015-07-29 09:26:53 +02:00
Johannes Meyer 2c4b6eb915 ResourceConfigForm: Replace isValid- with inspectResource()
refs #7588
2015-07-24 14:24:11 +02:00
Johannes Meyer b3e6b2755c UserBackendConfigForm: Replace isValid- with inspectUserBackend()
refs #7588
2015-07-24 11:45:49 +02:00
Johannes Meyer 4e3da3a6eb UserBackendConfigForm: Adjust how to process requests...
...and use sub-forms, finally.

refs #9602
2015-07-23 16:18:09 +02:00
Johannes Meyer 47fbc24f17 Merge branch 'master' into bugfix/improve-form-notifications-8983
Conflicts:
	library/Icinga/Web/Form.php
	modules/setup/application/forms/AdminAccountPage.php
2015-07-20 15:52:10 +02:00
Johannes Meyer 107c9ff533 Wizard: Use a unordered list to show requirements instead of nested tables
fixes #9533
2015-07-06 13:37:37 +02:00
Johannes Meyer c8c0e13184 Wizard: Show a textarea on the finish page instead of multiple paragraphs
refs #7911
2015-07-03 16:31:11 +02:00
Johannes Meyer 56c4fdf8a1 Wizard: Fix db privilege checks, again
The wizard were not able to verify privileges if some or even all
privileges were granted on database level causing it to grant
redundant privileges on table level.
2015-07-03 10:28:09 +02:00
Johannes Meyer 3aae1acc97 WebWizard: Validate the db schema correctly
This was being validated successfully no matter whether the
schema actually existed or not...
2015-07-02 17:02:12 +02:00
Johannes Meyer 49d4be79ef DbTool: Some coding style fixes 2015-07-02 17:00:04 +02:00
Johannes Meyer 0c1365753e DbTool: Properly escape database wildcards when checking privileges
fixes #9543
2015-07-02 16:58:37 +02:00
Johannes Meyer 2f05ca6332 Wizard: Re-render passwords on the admin account and db creation page
That's not placeholders, actually, but this will be solved in a
different issue. (in a more generic way)

fixes #9545
2015-07-02 11:50:23 +02:00
Johannes Meyer 9feb29d99b LdapDiscoveryPage: Prefer our form error implementation 2015-07-02 11:19:08 +02:00
Johannes Meyer f8034cfb9d DbResourcePage: Prefer our form error implementation 2015-07-02 11:18:45 +02:00
Johannes Meyer 2b11168673 DatabaseCreationPage: Prefer our form error implementation 2015-07-02 11:18:29 +02:00
Johannes Meyer e43abd37a1 DbResourcePage: Drop hidden element `prefix'
That's not a valid configuration option anymore.
2015-07-02 10:31:03 +02:00
Johannes Meyer 3e69ef7e9e WebWizard: Fix condition for page `setup_config_db_resource'
refs #8709
2015-07-02 10:23:27 +02:00
Johannes Meyer f0d7629209 AuthBackendPage: Do only create a resource config if necessary 2015-07-02 10:18:37 +02:00
Johannes Meyer ac78661943 WebWizard: Fix documentation 2015-07-02 09:23:09 +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 87cdd49b1c AdminAccountPage: Fix username validation 2015-07-01 14:25:43 +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 0dc604029a AdminAccountPage: Do not put an element's description at the top of the form 2015-06-30 15:10:17 +02:00
Johannes Meyer 2dcbee27bc AdminAccountPage: Add missing form title
refs #8704
2015-06-30 11:38:59 +02:00
Johannes Meyer ae9fa38ac4 AdminAccountPage: Drop unused view script
refs #8704
2015-06-30 11:38:40 +02:00
Johannes Meyer c787eadcfe AdminAccountPage: Use a select input to choose how to define a user
refs #8704
2015-06-30 10:58:17 +02:00
Johannes Meyer 3ea9e50c02 AdminAccountPage: Fetch the entire set of users only if necessary
refs #8704
2015-06-30 09:20:52 +02:00
Johannes Meyer 4fc7b3eb1b Setup: Fix the sorting of existing LDAP users 2015-06-25 15:52:09 +02:00
Johannes Meyer 39ea81ac7b Setup: Also list existing accounts for ActiveDirectory auth backends
fixes #9511
2015-06-25 15:26:56 +02:00
Johannes Meyer 3dddee8b7d Setup: Fix authentication backend validation
This is a ridiculous dirty fix. We'll definitely need to
improve how we create authentication backends...

fixes #9509
2015-06-25 14:36:51 +02:00
Johannes Meyer d95874b84c Setup: Provide a default user filter for ActiveDirectory backends
fixes #8703
2015-06-25 14:22:50 +02:00
Johannes Meyer f5e30a84f1 Improve the look of headings in the setup wizard 2015-06-19 15:44:43 +02:00
Alexander A. Klimov 98b2699e35 Documentation: use command line arguments in the format --arg=<value>
refs #8472
2015-06-10 17:20:27 +02:00
Alexander A. Klimov ad643e3aa5 Improve the setup module's description
refs #7651
2015-06-09 10:39:32 +02:00
Alexander A. Klimov e9d308eb62 Setup: add module.info
refs #7651
2015-06-08 13:26:30 +02:00
Alexander A. Klimov 6a914dc25b Merge branch 'bugfix/Show-all-shell-commands-required-to-get-ready-in-the-setup-wizard-8705'
fixes #8705
2015-06-05 18:40:07 +02:00
Johannes Meyer 2490d0ae67 ConfigController: We're configuring user backends from now on
refs #8826
2015-06-02 09:58:57 +02:00
Alexander A. Klimov 38cecdb724 Setup Wizard: show how to add a system group "icingaweb2" and how to add the webserver's user to it
refs #8705
2015-05-27 11:39:13 +02:00
Johannes Meyer 399bbf0795 AuthenticationStep: Adjust usage of a DbUserBackend's insert capability
refs #8826
2015-05-11 16:01:20 +02:00
Johannes Meyer 437090d2b1 AdminAccountPage: Backends do provide a unified interface now, use it
refs #8826
refs #7693
2015-05-04 12:21:17 +02:00
Johannes Meyer c441117324 LdapUserBackend: Extend Repository and implement UserBackendInterface
refs #8826
2015-05-04 12:18:25 +02:00
Johannes Meyer 3da144f199 Revert "Sort LDAP user list"
This reverts commit d4dc0177c0.
2015-04-28 15:57:33 +02:00
Johannes Meyer 6ca68f438d Move concrete UserBackend classes to Icinga\Authentication\User
refs #8826
2015-04-21 12:51:31 +02:00
Johannes Meyer d02c078e4a Wizard: Ensure that privileges are checked only once
Another entry in the "The provided credentials cannot be
used to create the database and/or the user" story...
2015-04-15 09:26:39 +02:00
Johannes Meyer a21d54460d DbTool: Fix that all mysql privileges were checked regardless of their context
refs #8707
2015-04-13 14:17:18 +02:00
Johannes Meyer e0891aedca DbTool: Add mysql context identifiers for the REFERENCES privilege
Though this privilege is not in use until mysql version 5.7.6 it is registered
as privilege in the privilege tables in earlier versions.

refs #8707
2015-04-13 14:13:02 +02:00
Johannes Meyer d038a2795d Wizard: Differentiate between privileges required to create and setup a db
Fixes the bug that if a database and a login are already existing and only
the schema needs to be set up, which is possible using the resource's login,
the user is required to provide another login with the seemingly missing
privileges.

refs #8707
2015-04-13 14:10:24 +02:00
Johannes Meyer 5c61405a9a Revert "Setup: Fix that the mysql privilege checks are not working in the wizard"
This reverts commit 1835479738.
Operator precedence is a damn useful thing, if known by the developer...
2015-04-13 10:27:10 +02:00
Alexander A. Klimov 20b09d3bda Inherit from Icinga\Web\Controller rather than from Icinga\Web\Controller\ModuleActionController 2015-04-08 15:13:59 +02:00
Johannes Meyer 1835479738 Setup: Fix that the mysql privilege checks are not working in the wizard
Missed to commit this yesterday as part of the fix for #8929

refs #8929
2015-04-08 08:55:08 +02:00
Johannes Meyer 2882e2fd5e Setup: Fix that not any privilege checks are working in the wizard
fixes #8929
2015-04-07 16:14:03 +02:00
Alexander Klimov 967a2e82dc Use (only) "@return $this" in fluent interfaces' documentation 2015-04-07 14:24:11 +02:00
Johannes Meyer b37757ca6e Disable the LdapDiscoveryConfirmPage
As long as the discovery code does not report multiple results, as it should,
actually, it's useless to demand the user to confirm the result.

resolves #8602
refs #8725
refs #8708
2015-03-12 16:14:58 +01:00
Johannes Meyer 39a74c4f3d LDAP-Auth backend config: Add support for custom LDAP filter rules
refs #8365
2015-03-11 09:52:14 +01:00
Johannes Meyer e4e6c1cb28 Wizard: Fix that the wrong form element is used in case a user already exists
fixes #8678
2015-03-11 07:59:04 +01:00
Johannes Meyer f87a43b9d3 Catch errors occuring on ldap discoveries
fixes #8656
2015-03-10 13:24:54 +01:00
Johannes Meyer 59f43a0f5e Show module requirements as a separate table
refs #8508
2015-03-10 10:56:05 +01:00
Johannes Meyer c44d5d2a73 Use a custom RecursiveIteratorIterator to render a RequirementSet
refs #8508
2015-03-10 09:31:57 +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 4badbc660b Merge branch 'master' into feature/conditional-requirements-8508 2015-03-09 08:51:03 +01:00
Louis Sautier 003a9be43d Fix external authentication with nginx
fixes #8634

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
2015-03-08 15:32:34 +01:00
Johannes Meyer cddcde9494 Setup: Automatically check the respective admin account type selection
resolves #8603
2015-03-06 15:41:25 +01:00
Johannes Meyer 31560c9249 Wizard: Explain that the webserver user must be in the group "icingaweb2"
resolves #8491
2015-03-05 10:30:06 +01:00
Johannes Meyer 642fa44fce Move a form's title into the markup of its form 2015-03-03 09:53:25 +01:00
Johannes Meyer 2af83e7d72 Installation: Use native form title and description support where appropriate
refs #7947
refs #7976
2015-03-02 18:40:47 +01:00
Johannes Meyer d3f9bd633c Installation: Hide the required cue when choosing the preference backend
refs #7934
2015-03-02 18:40:46 +01:00
Johannes Meyer d714c4323c Installation: Remove required cue from the token input
refs #7934
2015-03-02 18:40:46 +01:00
Johannes Meyer e9bae08a6e Fix that one can't advance the wizard when skipping the ldap discovery
fixes #8506
2015-03-02 18:40:46 +01:00
Johannes Meyer d0a8dd8973 Requirements: Do not implement ArrayIterator but RecursiveIterator
refs #8508
2015-02-26 10:52:39 +01:00
Johannes Meyer 87fe9bd2ff Adjust the web wizard so that all database dependencies are grouped
refs #8508
2015-02-26 10:50:05 +01:00
Johannes Meyer 8ed4a943f7 Add support for nested requirement sets
This allows now to link requirements by an OR condition as well and to nest
such grouped requirements in other sets of type AND, and vice versa.

refs #8508
2015-02-26 10:49:03 +01:00
Johannes Meyer 04630a20be Implement all known requirements as object
refs #8508
2015-02-25 13:39:59 +01:00
Johannes Meyer 24d0999fa4 Register requirements as objects
This neutralizes the need for a unique name per requirement as
requirements are now compared based on their type and condition.
It also allows to implement a solution to add simple conditional
requirements.

refs #8508
2015-02-25 13:38:38 +01:00
Matthias Jentsch d4dc0177c0 Sort LDAP user list
fixes #7693
2015-02-24 12:50:57 +01:00
Johannes Meyer e6957967f9 Wizard: Add proper titles to the button-like links on the last page
refs #8458
2015-02-23 17:33:23 +01:00
Johannes Meyer 60a9d1f224 Wizard: Add proper title to the refresh button of the requirements page
refs #8458
2015-02-23 17:32:55 +01:00
Johannes Meyer 5321c2f9e5 Mute icons properly using the new automatic mechanisms of our view helpers
refs #8360
2015-02-16 10:52:42 +01:00
Johannes Meyer 437050430f Make sure that the admin wizard-step provides the required-HTML markup
refs #8349
2015-02-05 13:18:21 +01:00
Johannes Meyer a8e0b7effc Fix usage of the PostgreSQL system function has_database/table_privilege
On PostgreSQL < 8.4 the system functions has_database_privilege() and
has_table_privilege() do no support comma separated privilege types.

fixes #8354
2015-02-04 13:20:41 +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
Johannes Meyer b712d9453b It's not the "permissions.ini" but the "roles.ini" that holds the role settings 2015-02-03 16:38:32 +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 c4c6d36b00 setup: Clarify that the db user's credentials may be insufficient as well 2015-02-02 16:55:31 +01:00
Johannes Meyer f5a651664c Create the enabledModules directory when necessary only as well
refs #8219
2015-01-30 16:16:12 +01:00
Johannes Meyer a95fd561cd Revert "setup: Convert octal directory mode to decimal notation"
This reverts commit e93e8f6330.
2015-01-30 15:47:21 +01:00
Johannes Meyer d2dd66c9fd Revert "setup: Fix octdec for directory modes"
This reverts commit c0444a81b2.
2015-01-30 15:47:11 +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 63305fdf9a Add Icinga\Application\Config::saveIni()
Simplifies saving INI files. Icinga\File\Ini\IniWriter does already require an
instance of Icinga\Application\Config so it's obvious to give "Config" the
task to initialize the writer.. We do also have a central place to handle
creating missing ancestor directories now.

refs #8219
2015-01-30 09:32:08 +01:00
Johannes Meyer 78f5bf4f3d Phrase external auth warnings more neutral
refs #8274
2015-01-28 16:22:20 +01:00
Johannes Meyer 23c36898da Rename css class "info" to "info-box" and add it as generic box
refs #8274
2015-01-27 14:05:41 +01:00
Johannes Meyer afd4a9a134 There will be '.. users create' instead of '.. setup config webserver --with..'
refs #8274
2015-01-27 10:54:33 +01:00
Johannes Meyer 50fc85d7ff Rename authentication type "autologin" to "external"
refs #8274
2015-01-27 09:49:36 +01:00
Johannes Meyer 0fa133abfb setup: Display a note in case autologin is chosen while not being logged in
In case the user chooses to use autologin as authentication while not being
externally authenticated a note is displayed indicating that it is necessary
to set up the webserver's authentication to be able to login once the wizard
is complete.

refs #8274
2015-01-26 16:58:40 +01:00
Johannes Meyer 45408e45af Relax database permission checks in the setup wizard
The wizard considered all permissions being exclusively associated to their
most important context, which is, in the most common case, incorrect.
Permissions assigned on database level do not need to be assigned on
table level as well.

refs #8267
2015-01-26 15:51:47 +01:00
Johannes Meyer 7006bbf8b2 Suggest "icingaweb2" as group instead of the webserver's user
..and note that it is necessary to create this group.
2015-01-26 14:13:10 +01:00
Johannes Meyer 0b73dbdd6d Fix exception "Undefined index: type" in the WebWizard's page logic
refs #8275
2015-01-26 10:32:33 +01:00
Johannes Meyer fb97e74453 Use the correct element identifier for the preference storage type selection
Used to be `type' but has changed to `store'
to get a more clear INI structure.

fixes #8275
2015-01-26 07:39:31 +01:00
Johannes Meyer 359336243c Save "none" instead of "null" when choosing to not to store preferences
refs #8234
2015-01-23 16:25:24 +01:00
Johannes Meyer 2a543bb5ae Rename the preference setting `type' to `store'
refs #8234
2015-01-23 16:25:23 +01:00
Johannes Meyer 14a4aaeb77 Revert "Fix that when chosing to not to store preferences an invalid config is created"
This reverts commit 6284da451e.
2015-01-23 15:23:43 +01:00
Johannes Meyer 6284da451e Fix that when chosing to not to store preferences an invalid config is created
fixes #8234
2015-01-23 14:42:09 +01:00
Johannes Meyer 3040116c12 Combine duplicate requirements
refs #8191
2015-01-22 12:47:18 +01:00
Johannes Meyer c4c248cbb7 Make the ModulePage's design more appealing
refs #8191
2015-01-22 10:57:41 +01:00
Johannes Meyer 1ee873adfc Remove the "old" ModulePage view script
refs #8191
2015-01-21 17:00:30 +01:00
Johannes Meyer 71fd1036de Pre-select the monitoring module in the setup wizard
It's TEH module!!1

refs #8191
2015-01-21 16:57:08 +01:00