Johannes Meyer
2c4b6eb915
ResourceConfigForm: Replace isValid- with inspectResource()
...
refs #7588
2015-07-24 14:24:11 +02:00
Matthias Jentsch
f4054d575b
Add Inspection API to db connection
...
refs #9641
2015-07-16 15:29:45 +02:00
Matthias Jentsch
cf8b760ade
Use Inspection API in LdapResourceForm
...
refs #9630
2015-07-15 19:33:47 +02:00
Johannes Meyer
a8ac420897
LdapConnection: Establish a connection lazily
2015-07-10 09:51:39 +02:00
Johannes Meyer
c3ad7b211a
Ldap\Connection: Rename to LdapConnection
...
refs #8954
2015-06-24 09:05:29 +02:00
Johannes Meyer
5fd2eb639a
LdapResourceForm: Display exact error messages to the user
2015-06-23 14:08:50 +02:00
Matthias Jentsch
42de13a2b9
Merge branch 'feature/ssh-remote-connection-resource-configuration-7595'
...
resolves #7595
2015-06-15 17:30:42 +02:00
Alexander Fuhr
49589128ef
Rename identity_key with private_key in ssh resource
...
refs #7595
2015-05-28 14:09:13 +02:00
Alexander Fuhr
bf21f55656
Add a new ssh resource form
...
refs #7595
2015-05-28 10:44:58 +02:00
Eric Lippmann
250f863faa
Allow anonymous LDAP binding
...
fixes #9224
2015-05-22 14:15:59 +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
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
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
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
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
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
7621f6642d
Adjust usages of Icinga\Application\Config
...
refs #7147
2014-11-18 13:11:52 +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
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
7b99b74ae1
Prefer Icinga\Application\Config instead of Zend_Config
...
refs #7147
2014-11-07 13:53:03 +01:00
Matthias Jentsch
e3164a275f
Clarify the new meaning of an ldap resource's `root_dn' directive
2014-10-09 10:13:26 +02:00
Johannes Meyer
1cbe2451a8
Merge branch 'master' into feature/setup-wizard-7163
...
Conflicts:
application/forms/Config/Resource/StatusdatResourceForm.php
2014-10-08 16:34:31 +02:00
Eric Lippmann
1b23fd7fbe
monitoring: Don't support status.dat as backend
...
Icinga Web 2 will not support status.dat for now and maybe forever.
2014-10-07 13:22:07 +02:00
Johannes Meyer
ab93969944
Add missing platform checks to DbResourceForm
2014-09-29 14:46:27 +02:00
Johannes Meyer
2c44fe34a7
Fix that ldap auth validation does not send a BIND request
2014-09-29 11:22:43 +02:00
Johannes Meyer
380ffe45b9
Add some redundancy to get more implicitness
...
Although this commit does not seem reasonable
at first the "big" picture proves its necessity!
refs #7163
2014-09-29 11:20:39 +02:00
Johannes Meyer
0e92e333aa
Make isValid* calls of configuration forms being static
...
This allows a more flexible usage as there is no need to access instance
formdata when validating such configuration.
2014-09-29 11:02:45 +02:00
Johannes Meyer
54a834266c
Form::createElements() should add elements instead of returning them
...
In case createElements() would still return the elements while requiring
the caller to add them to the form all form dependent configurations get
lost. (displaygroups, belongTo, ...) Wizards or parent forms can still
retrieve only input relevant fields by just calling createElements() and
getElements().
refs #5525
2014-09-03 12:21:31 +02:00
Johannes Meyer
5ce9bef689
Replace usages of the `helptext' form element option with `description'
...
refs #5525
2014-09-02 17:03:51 +02:00
Johannes Meyer
95c839a8bd
Remove remaining usages of the ElementWrapper- and HelpText-Decorator
...
refs #5525
2014-09-02 16:50:59 +02:00
Johannes Meyer
2d86e6ba3b
Rename ResourceForm and make it use handleRequest() & Co.
...
refs #5525
2014-09-02 16:25:03 +02:00
Johannes Meyer
a5faa8bf25
Fix ResourceForm
...
refs #6038
2014-04-30 10:16:20 +02:00