Commit Graph

120 Commits

Author SHA1 Message Date
Johannes Meyer a6bacd0dc3 ModulePage: Select icingadb by default if installed 2020-04-20 11:16:38 +02:00
Johannes Meyer e01852f34b Update `required` attribute of all forms
Some were missing it, some were adding it unnecessarily.
Since it's now displayed what's required this needed to
be streamlined.
2020-04-09 14:39:52 +02:00
Johannes Meyer b8f8187762 AuthBackendPage: Fix crash when external authentication is chosen
Only occurred due to PHP 7.4
2019-12-06 15:34:56 +01: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
Markus Frosch 2493cb8d63 Fix incorrect uses of translation around sprintf 2017-11-21 15:47:46 +01:00
Alexander A. Klimov d13856eb39 Wizard: show LDAP connection settings discovery failure reasons
refs #2865
2017-10-26 10:25:37 +02:00
Alexander A. Klimov 4b9a30755f Suggest LDAP backend type based on the discovery (if any)
refs #3004
2017-10-09 13:00:05 +02:00
Alexander A. Klimov 5ef8be2031 LdapBackendForm: move discovery from createElements() to isValidPartial()
refs #2997
2017-10-06 16:16:12 +02:00
Alexander A. Klimov b7b7796e34 AuthBackendPage: set the subform's defaults before creating it
refs #2990
2017-10-06 13:26:21 +02:00
Alexander A. Klimov 4603f0657d Respect suggestions only for the LDAP backend type
refs #2990
2017-10-06 12:04:30 +02:00
Alexander A. Klimov de53925c7c Provide suggestions for AuthBackendPage as element defaults
refs #2990
2017-10-06 11:12:11 +02:00
Eric Jaw 07cea541eb icingaweb2/setup typo on page
don' ==> don't
2017-07-28 16:02:23 -04:00
Alexander A. Klimov fa5bc6c1ae Wizard: make LDAP domain discovery working again
refs #2153
2017-06-20 15:46:31 +02:00
Alexander A. Klimov 0b8e4d4b5c LDAP user backend form: discover and store the LDAP server's domains
refs #2153
2017-06-07 10:19:52 +02:00
Johannes Meyer 2c817215cb ExternalBackendForm: Remove option to configure where to fetch a remote user
refs #12164
2016-11-16 12:06:58 +01:00
Alexander A. Klimov d9330486e9 Replace ExternalBackend::getRemoteUserEnvvars() with an attribute
refs #12164
2016-11-04 17:27:36 +01:00
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
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 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 f843ef2a47 Autofocus the setup token input
refs #10671
2015-12-21 13:05:57 +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 6065e21e3a Remove ConfigForm::getValues() overrides where subform values are extracted manually 2015-11-26 15:40:10 +01: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 ded6666897 wizard: Show a warning if the IDO is used for the internal database
resolves #9653
2015-08-28 15:25:40 +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 35ea3cc9ee Wizard: Make it unambiguous what the first database configuration is for
fixes #9654
2015-08-05 16:20:03 +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 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 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 87deda86be AuthBackendPage: Fix that re-populating the chosen LDAP type has no effect
...
2015-07-30 14:51:51 +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 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 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 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 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