Johannes Meyer
2dd04bb6c9
LdapUserGroupBackendForm: Do not disable `user_filter' and `group_filter'
...
refs #7343
2015-06-05 17:24:03 +02:00
Johannes Meyer
e66f8731af
UserBackendConfigForm: Allow to configure user backends of type msldap
...
fixes #9355
2015-06-05 17:20:31 +02:00
Johannes Meyer
c800f1e6aa
UserGroupBackendForm: Do not translate LDAP and ActiveDirectory
...
refs #7343
2015-06-05 16:40:17 +02:00
Johannes Meyer
840069b436
LdapUserGroupBackendForm: Do not persist default values
...
...
refs #7343
2015-06-05 16:34:28 +02:00
Johannes Meyer
e910a5a254
LdapUserGroupBackendForm: Do not disable `base_dn' and `user_base_dn'
...
refs #7343
2015-06-05 16:16:35 +02:00
Johannes Meyer
797e9de629
LdapUserGroupBackendForm: Do not disable group configuration..
...
..when no user backend has been linked and it's not a ActiveDirectory.
refs #7343
2015-06-05 16:07:27 +02:00
Johannes Meyer
975edbe548
UserGroupBackendForm: Do not persist null values, really
...
Revert this once #9376 has been fixed.
refs #9376
2015-06-05 15:45:33 +02:00
Johannes Meyer
e9e97cb1b3
UserGroupBackendForm: Unset the `name' property, always
...
refs #7343
2015-06-05 15:41:24 +02:00
Johannes Meyer
5688f0cb85
Allow to configure user group backends of type LDAP
...
refs #7343
2015-06-05 14:53:29 +02:00
Johannes Meyer
447088af22
Introduce form LdapUserGroupBackendForm
...
refs #7343
2015-06-05 14:52:46 +02:00
Johannes Meyer
7ebf185036
UserGroupBackendForm: Fix that autosubmit do not have any effect
...
refs #7343
2015-06-05 13:07:16 +02:00
Johannes Meyer
cd0c418854
Merge branch 'master' into feature/user-and-group-management-8826
2015-06-02 10:44:13 +02:00
Johannes Meyer
2490d0ae67
ConfigController: We're configuring user backends from now on
...
refs #8826
2015-06-02 09:58:57 +02:00
Johannes Meyer
4bd36bc500
UserGroupForm: Notify the user that memberships will be cleared...
...
...when removing a group.
refs #8826
2015-06-01 14:25:29 +02:00
Johannes Meyer
04835db13e
Introduce form UserGroupBackendForm
...
refs #8826
2015-05-29 16:34:34 +02:00
Johannes Meyer
cb4d6f013a
GroupController: Properly handle 404's when handling group members
...
refs #8826
2015-05-29 12:57:39 +02:00
Alexander Fuhr
49589128ef
Rename identity_key with private_key in ssh resource
...
refs #7595
2015-05-28 14:09:13 +02:00
Eric Lippmann
8b07a0e29a
Add missing return argument in the ResourceConfigForm
2015-05-28 13:17:00 +02:00
Alexander Fuhr
558120e23b
Add resource ssh usage to resources and instances
...
refs #7595
2015-05-28 10:50:13 +02:00
Alexander Fuhr
bf21f55656
Add a new ssh resource form
...
refs #7595
2015-05-28 10:44:58 +02:00
Johannes Meyer
170379b743
CreateMembershipForm: Properly handle errors when fetching groups
...
refs #8826
2015-05-27 08:55:53 +02:00
Johannes Meyer
a75c74eae1
Introduce form CreateMembershipForm
...
refs #8826
2015-05-26 17:02:27 +02:00
Johannes Meyer
86146b8048
Introduce form AddMemberForm
...
refs #8826
2015-05-26 14:30:55 +02:00
Johannes Meyer
75c5aa2869
Move UserGroupForm to the Icinga\Forms\Config\UserGroup namespace
...
refs #8826
2015-05-26 10:24:13 +02:00
Johannes Meyer
e2c250ca77
Move UserForm to the Icinga\Forms\Config\User namespace
...
refs #8826
2015-05-26 10:23:40 +02:00
Johannes Meyer
ec556edc65
Merge branch 'master' into feature/user-and-group-management-8826
2015-05-26 09:28:35 +02:00
Johannes Meyer
f3124ffd59
UserGroupForm: Fix redirect when renaming a group
...
refs #8826
2015-05-22 17:03:02 +02:00
Johannes Meyer
18e413d15a
UserForm: Fix redirect when renaming a user
...
refs #8826
2015-05-22 17:01:34 +02:00
Eric Lippmann
250f863faa
Allow anonymous LDAP binding
...
fixes #9224
2015-05-22 14:15:59 +02:00
Johannes Meyer
9c6a8898fd
Introduce class UserGroupForm
...
refs #8826
2015-05-20 11:53:04 +02:00
Johannes Meyer
32d1569520
Introduce class UserForm
...
refs #8826
2015-05-20 10:54:06 +02:00
Johannes Meyer
c441117324
LdapUserBackend: Extend Repository and implement UserBackendInterface
...
refs #8826
2015-05-04 12:18:25 +02:00
Johannes Meyer
99ac0b78ea
DbUserBackend: Extend DbRepository and implement UserBackendInterface
...
refs #8826
2015-05-04 12:15:05 +02:00
Johannes Meyer
d09ea2845d
Merge branch 'master' into feature/user-and-group-management-8826
2015-04-30 15:20:40 +02:00
Alexander A. Klimov
c839cc0b08
Remove exclamation mark from the notification "Authentication order updated!"
...
resolves #8960
2015-04-27 13:16:54 +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
62bb35a71e
Fix that the ldap port does not change when updating the encryption to use
...
fixes #8958
2015-04-07 15:07:36 +02:00
Johannes Meyer
dc4d1246a9
Fix that the sql port does not change when updating the type of the database
...
fixes #7491
2015-04-07 15:07:36 +02:00
Alexander Klimov
967a2e82dc
Use (only) "@return $this" in fluent interfaces' documentation
2015-04-07 14:24:11 +02:00
Johannes Meyer
a3f2d7de7e
LdapResourceForm: Translate "None" with a context as it's ambiguous
2015-03-13 08:53:08 +01:00
Eric Lippmann
9f0af662a7
Write none instead of plaintext for unencrypted LDAP resources
2015-03-13 00:47:23 +01:00
Eric Lippmann
020329d201
List STARTTLS before LDAPS ...
...
... when choosing encryption for a LDAP resource.
2015-03-13 00:03:01 +01:00
Eric Lippmann
708f08302f
Use encryption instead of connection for the encryption setting of a LDAP resource
2015-03-13 00:02:18 +01:00
Eric Lippmann
61e01a4439
Fix SSL, TLS vs LDAPS, STARTTLS in the LDAP resource form
2015-03-13 00:00:21 +01:00
Eric Lippmann
86f3ce9133
Rename Ldap\Connetion::SSL to ::LDAPS
...
The SSL constant was used to denote LDAP over TLS/SSL. In fact both STARTTLS and LDAPS use encrypted TLS/SSL communication
w/ STARTTLS upgrading a plain text connection and LDAPS using a separate port. Thus speaking of SSL only for LDAPS and TLS only for STARTTLS
is not correct.
2015-03-12 23:56:08 +01:00
Johannes Meyer
1b440a4f1b
Make SSL/TLS configurable for LDAP resources
...
refs #7771
2015-03-12 15:17:19 +01:00
Johannes Meyer
4a982a382e
Show exception message when LDAP connection validation fails, if any
2015-03-12 14:45:16 +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
2cf09ebc48
Revert "LdapResourceForm: Validate the host field and do not require a port"
...
This reverts commit a34d6026b3
.
refs #7990
2015-03-11 08:00:20 +01:00
Johannes Meyer
a34d6026b3
LdapResourceForm: Validate the host field and do not require a port
...
fixes #7990
2015-03-10 15:03:48 +01:00
Johannes Meyer
886cc863f0
Add form element value expectation descriptions where required
...
I did not adjust the DateTimePicker element as the sent format is
controlled by the useragent due to either the datetime-local input
type or a javascript datetimepicker. (which does not exist yet, though)
Mentioning the RFC 3339 format such a picker expects is very likely
going to lead to confusion on an end user's side otherwise.
refs #7947
2015-03-06 09:49:15 +01:00
Johannes Meyer
4ba281e7e8
Config: Use native form title and description support where appropriate
...
refs #7947
refs #7976
2015-03-02 18:40:47 +01:00
Johannes Meyer
c06f015210
Ensure that all utilized form validators can be translated
...
refs #8415
2015-02-12 09:11:02 +01:00
Johannes Meyer
6c70a53309
Avoid to instantiate custom form element validators directly
...
refs #8415
2015-02-12 09:11:02 +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
50fc85d7ff
Rename authentication type "autologin" to "external"
...
refs #8274
2015-01-27 09:49:36 +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
2d957205ef
Using $this when not in object context, doesn't work.
...
refs #7551
2015-01-19 13:47:53 +01:00
Johannes Meyer
dbd69ba693
Replace t() and mt() with translate() in the application's forms
...
refs #7551
2015-01-19 11:26:23 +01:00
Eric Lippmann
f0fe6246ac
Use '/var/log/icingaweb2/icingaweb2.log' as default path when logging to file
2014-12-29 16:02:40 +01:00
Eric Lippmann
5bc2144b18
Use 'icingaweb2' as default application prefix for logging to syslog
2014-12-29 16:01:07 +01:00
Eric Lippmann
cfb52eeadb
Do not use a default regular expression for stripping off parts of a username when configuring an auto-login backend
...
There's no safe default for this.
2014-12-29 15:56:32 +01:00
Eric Lippmann
e1bedc9afe
Use Icinga 2's default Livestatus socket path as default when configuring a livestatus resource
2014-12-29 15:55:57 +01:00
Johannes Meyer
ebf908b1b5
Make db requirement checks more sensitive
...
fixes #7837
2014-12-01 15:38:10 +01:00
Johannes Meyer
1cbdd2b51c
Fix that hidden elements are getting ovewritten when validating a form
...
This works by "disabling" hidden elements which causes the browser not
to submit them. Due to a bug in Zend we need to manually ensure that
Form::isValid does not overwrite the value of disabled elements with null.
fixes #7717
2014-11-18 15:06:46 +01:00
Johannes Meyer
7621f6642d
Adjust usages of Icinga\Application\Config
...
refs #7147
2014-11-18 13:11:52 +01:00
Johannes Meyer
812f9af949
Change modulePath setting to module_path
...
fixes #7694
2014-11-17 10:10:08 +01:00
Johannes Meyer
ddf2ef5cc9
Remove $request parameter from Form::onSuccess and Form::onRequest
...
fixes #7552
2014-11-14 14:59:29 +01:00
Johannes Meyer
775c20d9ad
Rename namespace Icinga\Form to Icinga\Forms
...
refs #7553
2014-11-14 10:57:14 +01:00
Johannes Meyer
1c4a5ce86f
Leave it up to Icinga\Web\Form to instantiate our own form elements
2014-11-14 10:15:27 +01:00
Eric Lippmann
ac2ec83852
Merge branch 'master' into feature/localization-form-6073
...
Conflicts:
library/Icinga/Application/ApplicationBootstrap.php
test/php/library/Icinga/User/Store/DbStoreTest.php
2014-11-13 17:03:41 +01:00
Eric Lippmann
bfa834fc3b
Remove constant ICINGAWEB_APPDIR
...
We should avoid use of constants.
2014-11-13 09:33:31 +01:00
Alexander Fuhr
8d4e56a1fe
Remove timezone element from the ApplicationConfigForm
2014-11-12 12:09:47 +01:00
Johannes Meyer
c3e28a42fb
Remove configuration option for setting the access mode on new files
2014-11-12 09:40:07 +01:00
Johannes Meyer
af99f62843
Prefer Icinga\Application\Config over Zend_Config
...
refs #7163
2014-11-11 12:11:14 +01:00
Johannes Meyer
9d292269b1
Merge branch 'master' into feature/setup-wizard-7163
...
Conflicts:
application/forms/Config/Resource/LdapResourceForm.php
test/php/application/forms/Config/Authentication/LdapBackendFormTest.php
2014-11-11 09:44:11 +01:00
Johannes Meyer
9a5d01b3fd
Check the mysql or pgsql extension instead of just pdo, really
2014-11-07 14:31:20 +01:00
Johannes Meyer
7b99b74ae1
Prefer Icinga\Application\Config instead of Zend_Config
...
refs #7147
2014-11-07 13:53:03 +01:00
Alexander Fuhr
2e24c53224
Merge branch 'master' into feature/localization-form-6073
...
Conflicts:
application/forms/Config/GeneralForm.php
application/forms/Preference/GeneralForm.php
library/Icinga/Application/Web.php
2014-11-05 13:27:45 +01:00
Johannes Meyer
5a169ee656
Fix "PreservingIniWriter not found"
...
The class was renamed a few commits ago to "IniWriter"
2014-11-04 14:35:57 +01:00
Johannes Meyer
170ded6510
Merge branch 'master' into feature/setup-wizard-7163
...
Conflicts:
library/Icinga/Authentication/Backend/LdapUserBackend.php
library/Icinga/File/Ini/IniWriter.php
2014-11-04 14:22:53 +01:00
Eric Lippmann
16352fc10c
Move Logger to the Application namespace
...
fixes #7148
2014-10-31 10:27:17 +01:00
Johannes Meyer
f5c4708ae2
Add a default file mode for new configuration files
...
The file mode which can be configured in the general configuration is now
used when creating new configuration files with the PreservingIniWriter.
2014-10-21 17:02:21 +02:00
Johannes Meyer
3a3d29ea4f
Add more detailed explanations when configuring authentication backends
...
refs #7163
fixes #7411
2014-10-21 16:15:04 +02:00
Johannes Meyer
8c62c66a4e
Make regular expression pattern in autologin backend being fully optional
2014-10-20 15:14:14 +02:00
Johannes Meyer
768d8da4f8
Fix that syslog or file config elements are not shown in case of no default
2014-10-17 13:11:25 +02:00
Johannes Meyer
9f127be1dc
Merge branch 'master' into feature/setup-wizard-7163
...
Conflicts:
application/forms/Config/General/LoggingConfigForm.php
2014-10-17 13:04:59 +02:00
Eric Lippmann
5ca97c14d6
logging config: Support 'log' 'none'
2014-10-16 16:13:00 +02:00
Eric Lippmann
f9e7e6d888
general config: Don't keep unused configuration directives
2014-10-16 11:20:16 +02:00
Johannes Meyer
1daeaef1c5
Fix that it is not possible to create an autologin auth backend
...
Occured only when no database resource nor a ldap resource exists.
2014-10-15 10:51:18 +02:00
Johannes Meyer
00ffb34829
Fix incorrect form fields being displayed when no database resource exists
2014-10-15 10:48:50 +02:00
Johannes Meyer
94f8745fc0
Fix authentication backend validation
2014-10-15 10:46:40 +02:00
Johannes Meyer
8f7348b823
Revert "Fix backend validation of LdapBackendForm"
...
This reverts commit 0777848a84
.
2014-10-15 08:49:17 +02:00
Matthias Jentsch
0777848a84
Fix backend validation of LdapBackendForm
2014-10-14 14:44:51 +02:00