7822 Commits

Author SHA1 Message Date
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
Eric Lippmann
db48a944e3 lib: Introduce Web::getRequest()
Basic auth will need the request before we set up the front controller.

refs #9660
2015-07-29 16:27:48 +02:00
Johannes Meyer
fb7666e6bd LdapUserGroupBackend: Adjust usage of LdapCapabilities::hasAdOid()
Usage search ftw..
2015-07-29 16:26:39 +02:00
Eric Lippmann
c3a057dbdb lib: Add AuthChain::setSkipExternalBackends() in favor of setIteratorMode()
There's only one mode.

refs #9660
2015-07-29 16:18:30 +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
Eric Lippmann
3ca85f9daa lib: Add Auth::getRequest()
Basic auth will require the request.

refs #9660
2015-07-29 15:56:45 +02:00
Eric Lippmann
96e3111f58 lib: Reorder functions in Auth
refs #9660
2015-07-29 15:52:56 +02:00
Eric Lippmann
e7c7486097 lib: Fix PHPDoc in User
refs #9660
2015-07-29 15:46:53 +02:00
Eric Lippmann
37ef87b9ab lib: Fix PHPDoc in ExternalBackend
refs #9660
2015-07-29 15:46:40 +02:00
Eric Lippmann
1b5c5deace lib: Rename remote user to external user
We renamed our backend. Code now reflects this.

refs #9660
2015-07-29 15:44:32 +02:00
Matthias Jentsch
6db79a72d5 Display the rows in the auth backend configuration as active without any delay
refs #8623
2015-07-29 15:21:29 +02:00
Eric Lippmann
257a9f9d1d Set Response::rerenderLayout() in the LoginForm
refs #9660
2015-07-29 15:09:29 +02:00
Eric Lippmann
432efcb089 lib: Handle Response::setRerenderLayout() correctly
The header is different if it's not a redirect.

refs #9660
2015-07-29 15:08:36 +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
Eric Lippmann
aaae7e03b4 lib: Introduce Response::setRerenderLayout()
Instead of handling response headers based on flags in our controllers, this should happen in the request for usage w/o controllers.

refs #9660
2015-07-29 14:39:45 +02:00
Matthias Jentsch
3a85dc7f39 Display the table on single-selection rows as active without any delay
refs #8623
2015-07-29 14:32:26 +02:00
Eric Lippmann
91720810cc lib: Document Response::redirectAndExit()
refs #9660
2015-07-29 14:22:45 +02:00
Eric Lippmann
a31c799043 lib: Introduce Response::getRequest()
refs #9660
2015-07-29 14:20:39 +02:00
Johannes Meyer
57bdd2686e AuthBackendPage: Fix that the chosen LDAP type is not re-populated 2015-07-29 14:18:43 +02:00
Eric Lippmann
23fcd39503 Relax auth controller complexity
refs #9660
2015-07-29 14:17:07 +02:00
Eric Lippmann
c5c7b40133 Remove info box about external auth requirement in the login view script
The LoginForm will add the info.

refs #9660
2015-07-29 14:16:14 +02:00
Eric Lippmann
db78f810ff lib: Add log in functionality to the LoginForm
refs #9660
2015-07-29 14:15:11 +02:00
Eric Lippmann
ae4b7144cd lib: Implement Auth::getAuthChain()
Saves one use statement for auth chain usages.

refs #9660
2015-07-29 14:14:19 +02:00
Eric Lippmann
745e30259d lib: Implement AuthChain::authenticate()
Right now the LoginController has all the authentication which is kind of a mess. Further, the upcoming basic access authentication has to reuse this code.
Thus AuthChain::authenticate() is introduced to handle both cases.

refs #9660
2015-07-29 14:11:54 +02:00
Johannes Meyer
155bcc5db7 LdapUserGroupBackendForm: Fetch config from the factory, not the app
refs #9609
2015-07-29 13:45:18 +02:00
Johannes Meyer
13edbf901d UserBackend: Implement interface ConfigAwareFactory
refs #9609
2015-07-29 13:44:26 +02:00
Matthias Jentsch
84f35bc79a Fix last push url in history
Fix issue in history that caused some states to be swallowed by pushUrl, after going back and then trying to update to the previous state.
2015-07-29 12:34:49 +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
Matthias Jentsch
ecdc03a2d7 Fix selection lost after pushing refresh
Remove old row action code that interfered with action table behavior.

refs #8623
2015-07-29 11:41:53 +02:00
Matthias Jentsch
2e8b7425a1 Make servicegroup table an action table
refs #8623
2015-07-29 11:41:17 +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
Eric Lippmann
4d44a0625c lib: Move UserBackendInterface::authenticate() to new interface Authenticatable
refs #9660
2015-07-29 09:25:14 +02:00
Eric Lippmann
2a4e614b5e Fix code style in AuthChain
refs #9660
2015-07-28 19:55:26 +02:00
Matthias Jentsch
1de1f119d6 Fix range selection in IE
Cancel selectstart event on all selectable rows in the action table.

fixes #8768
2015-07-28 17:54:08 +02:00
Eric Lippmann
07849e0fea lib: Rename Authentication/Manager to Authentication/Auth
refs #9660
2015-07-28 17:08:55 +02:00
Matthias Jentsch
40d31d02bd Merge branch 'bugfix/selected-row-lost-after-autorefresh-8623'
fixes #8623
2015-07-28 15:30:32 +02:00
Matthias Jentsch
cbb9ef10a2 Remove single selections correctly when going back in the history 2015-07-28 15:21:14 +02:00
Matthias Jentsch
8dbd671b0d Conform to coding guidelines, update docstrings and cleanup unused code
refs #8623
2015-07-28 15:21:02 +02:00
Johannes Meyer
5411efd546 LdapBackendForm: Fail gracefully if the discovery is not possible 2015-07-28 15:07:33 +02:00
Eric Lippmann
d2467fee16 Merge branch 'feature/secure-modules-9644'
resolves #9644
2015-07-28 14:00:27 +02:00
Eric Lippmann
5c5dea616d doc: Use Params::getRequired() in ModuleController
refs #9644
2015-07-28 13:59:59 +02:00
Eric Lippmann
794e4a1e1e doc: Use Params::getRequired() in IcingawebController
refs #9644
2015-07-28 13:59:39 +02:00
Eric Lippmann
47925d0fa0 lib: Make BaseTestCase abstract
Else phpunit tries to run the "test" though it shouldn't :)
2015-07-28 13:58:23 +02:00
Eric Lippmann
9a758f3ed9 doc: Use Controller::httpNotFound() in SearchController
refs #9644
2015-07-28 13:47:25 +02:00
Eric Lippmann
9846dfb2e2 doc: Use Controller:httpNotFound() in ModuleController
refs #9644
2015-07-28 13:47:06 +02:00
Eric Lippmann
fe73d6de83 Remove superfluous whitespaces in IcingaException
refs #9644
2015-07-28 13:46:32 +02:00