Commit Graph

7709 Commits

Author SHA1 Message Date
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
Eric Lippmann 7cfc78558d Merge branch 'master' into feature/secure-modules-9644
Conflicts:
	library/Icinga/Exception/IcingaException.php
2015-07-28 13:42:02 +02:00
Eric Lippmann 0d2f73668d Merge branch 'bugfix/non-compound-9449'
fixes #9449
2015-07-28 13:37:39 +02:00
Eric Lippmann a8765bc4ea monitoring: Remove unnecessary use in StatehistoryForm
refs #9449
2015-07-28 13:36:51 +02:00
Eric Lippmann 7df1b3aa0f monitoring: Fix use statements in EventOverviewForm
refs #9449
2015-07-28 13:35:52 +02:00
Eric Lippmann 0a01eb66b1 monitoring: Remove unnecessary use w/ backslash in DeleteDowntimesCommandForm
refs #9449
2015-07-28 13:34:39 +02:00
Eric Lippmann 919c7c52cf monitoring: Fix PHPDoc in DeleteDowntimeCommand 2015-07-28 13:33:56 +02:00
Eric Lippmann dd7d078704 monitoring: Fix PHPDoc in DeleteCommentCommand 2015-07-28 13:33:56 +02:00
Eric Lippmann 5d01dca291 monitoring: Fix PHPDoc in DeleteDowntimesCommandForm 2015-07-28 13:33:56 +02:00
Eric Lippmann 72c3337be8 monitoring: Use @inheritdoc in DeleteDowntimeCommandForm 2015-07-28 13:33:56 +02:00
Eric Lippmann 455d2cee69 monitoring: Use @inheritdoc in DeleteCommentCommandForm 2015-07-28 13:33:56 +02:00
Eric Lippmann 9bd31f70e2 monitoring: Remove unnecessary use w/ backlash in DeleteDowntimeCommandForm
refs #9449
2015-07-28 12:44:27 +02:00
Matthias Jentsch c8d065b3e0 Accept DbUserBackends with only one single user
fixes #9739
2015-07-28 12:41:08 +02:00
Eric Lippmann f6ec028627 monitoring: Fix PHPDoc in DeleteCommentsCommandForm 2015-07-28 12:32:19 +02:00