7543 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Eric Lippmann
36a5ec3e17 monitoring: Fix PHPDoc in CommandForm 2015-07-28 12:32:19 +02:00
Eric Lippmann
901e6754eb monitoring: Define CommandTransportInterface::send() 2015-07-28 12:32:19 +02:00
Eric Lippmann
b2fb0a836f monitoring: Move CommandTransportException to the monitoring's exception namespace 2015-07-28 12:32:19 +02:00
Eric Lippmann
4536eacd66 monitoring: Rename TransportException to CommandTransportException 2015-07-28 12:32:19 +02:00
Johannes Meyer
e15cd65ed4 Merge branch 'bugfix/respect-default-sort-rules-6644'
fixes #6644
2015-07-28 12:14:00 +02:00
Johannes Meyer
e231ef8061 SortBox: Fix some documenation and code style issues 2015-07-28 12:04:16 +02:00
Johannes Meyer
f7b35b04f4 SortBox: Properly apply sort rules and show the user the default
refs #6644
2015-07-28 12:03:50 +02:00
Eric Lippmann
ec07da6c5e monitoring: Remove unnecessary use w/ backlash in DeleteCommentsCommandForm
refs #9449
2015-07-28 11:56:48 +02:00
Eric Lippmann
d850cffa42 doc: Remove unnecessary use in SearchController
refs #9449
2015-07-28 11:55:27 +02:00
Eric Lippmann
b3f463a7a5 doc: Remove unnecessary use in ModuleController
refs #9449
2015-07-28 11:54:55 +02:00
Eric Lippmann
e70fb76d31 doc: Remove unnecessary use in IcingawebController
refs #9449
2015-07-28 11:54:00 +02:00
Eric Lippmann
d40c3f0a29 Remove unnecessary use in FormTriStateCheckbox
refs #9449
2015-07-28 11:49:18 +02:00
Johannes Meyer
d56b31fe5e DataView\Eventhistory: Fix sort rules
refs #6644
2015-07-28 11:42:55 +02:00
Johannes Meyer
247c0f3952 DataView\Customvar: Fix sort rules
refs #6644
2015-07-28 11:42:40 +02:00