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
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
Johannes Meyer
122ac8f600
setup: Warn users about wildcards in their database name
2025-07-14 11:32:18 +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
Yonas Habteab
ae9575e7e4
DbResourcePage: Don't fail validation if connecting to pgsql wasn't successfull
2023-10-26 17:07:17 +02:00
raviks789
610bc5a4fe
AdminAccountPage: Fix LDAP setup error
2023-09-28 10:35:03 +02:00
Sukhwinder Dhillon
8739a9da73
Fix setup wizard ( #5094 )
2023-09-07 13:37:10 +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
raviks789
baeba7c27a
AdminAccountPage: Cast $query to LdapQuery using inline @var
2023-08-23 10:53:13 +02:00
Sukhwinder Dhillon
a3091b3617
LdapDiscoveryPage::getValues(): Do not return null
2021-11-16 19:13:40 +01:00
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