7617 Commits

Author SHA1 Message Date
Johannes Meyer
449a19c3a3 Session: Be less error-prone while calling array_search 2015-07-31 11:04:43 +02:00
Johannes Meyer
24cb123f47 Tabs: Be less error-prone while calling array_search 2015-07-31 11:04:36 +02:00
Johannes Meyer
073c61903a DatabaseStep: Be less error-prone while calling array_search 2015-07-31 11:04:26 +02:00
Johannes Meyer
7305edc74c DbTool: Be less error-prone while calling array_search 2015-07-31 11:04:17 +02:00
Johannes Meyer
b8293b1fdd WebWizard: Be less error-prone while calling array_search 2015-07-31 11:04:00 +02:00
Johannes Meyer
c32b749701 DatabaseStep: Fix schema checks
The step to setup the database considered any table of foreign schemas
as one of our own schema, causing it to never create our schema for
non-empty databases.

fixes #9799
2015-07-31 11:03:12 +02:00
Johannes Meyer
9b051cd7ce reorder-authbackend.phtml: Fix hover styles of icon-only buttons 2015-07-31 08:29:59 +02:00
Johannes Meyer
eeff0dbfa5 Merge branch 'bugfix/allow-to-configure-how-to-manage-groups-9609'
fixes #9609
2015-07-30 16:16:24 +02:00
Johannes Meyer
316a4d8b82 Merge branch 'master' into bugfix/allow-to-configure-how-to-manage-groups-9609 2015-07-30 16:16:04 +02:00
Johannes Meyer
c57bc30e67 AuthBackendPage: Don't crash while validating an external backend's config 2015-07-30 16:00:04 +02:00
Johannes Meyer
a8415caf24 AuthenticationPage: Show the external-auth note as info form-notification 2015-07-30 15:57:06 +02:00
Johannes Meyer
16a964cb20 UserGroupStep: Do not produce invalid HTML
refs #9609
2015-07-30 15:51:07 +02:00
Johannes Meyer
5ca0e981c4 UserGroupBackendPage: Ensure that all required fields exist
refs #9609
2015-07-30 15:49:04 +02:00
Johannes Meyer
9cd419d330 UserGroupBackendPage: Add missing page description
refs #9609
2015-07-30 15:28:13 +02:00
Johannes Meyer
171be7a436 AuthenticationStep: Fix that the backend type 'msldap' is shown as external 2015-07-30 15:05:19 +02:00
Eric Lippmann
a234852f32 Merge branch 'feature/basic-auth-9660'
resolves #9660
2015-07-30 15:05:07 +02:00
Johannes Meyer
87deda86be AuthBackendPage: Fix that re-populating the chosen LDAP type has no effect
...
2015-07-30 14:51:51 +02:00
Eric Lippmann
feed927fd2 Let external auth win over session auth and session auth over http auth
refs #9660
2015-07-30 14:50:05 +02:00
Johannes Meyer
eb4e56fbc0 AuthenticationStep: Do not report a success if nothing has changed 2015-07-30 14:14:43 +02:00
Johannes Meyer
0155599a1a Wizard: Use <pre> instead of <textarea> for displaying the setup's log 2015-07-30 14:13:52 +02:00
Johannes Meyer
8c71d56050 forms.less: Fix link-like styles for buttons and inputs, again 2015-07-30 14:13:06 +02:00
Eric Lippmann
9060e8a034 lib: Only call Icinga::app()->getRequest() for getting the request outside of a controller
Saves a call to getFrontController().

refs #9660
2015-07-30 14:02:44 +02:00
Eric Lippmann
55ad2dd65f Don't fail if password contains a colon on basic auth
refs #9660
2015-07-30 13:59:47 +02:00
Eric Lippmann
c594d6db33 Challenge client on invalid basic access auth credentials
refs #9660
2015-07-30 13:59:18 +02:00
Johannes Meyer
6c086951dd forms.less: Place button-like styles before link-like styles 2015-07-30 13:52:36 +02:00
Johannes Meyer
1479cb4956 setup.less: Reduce button style complexity and remove unecessary styles 2015-07-30 13:51:43 +02:00
Eric Lippmann
42d698a6b3 lib: Add Web::getResponse()
Use this method for retrieving the response object outside a controller.

refs #9660
2015-07-30 13:47:54 +02:00
Eric Lippmann
81aad9d6a6 Rename Notifiation::getMessages() to popMessages()
Because the call to popMessages()--before getMessages()--automatically resets the notification messages on the instance, popMessages() is a much better name for the method.

refs #9660
2015-07-30 13:45:39 +02:00
Eric Lippmann
d545e1f7d1 lib: Don't write the empty notifications array into the session
I combined this w/ introducing some constants for notification types and PHPDoc.

refs #9660
2015-07-30 13:42:59 +02:00
Johannes Meyer
f3a8981aa3 UserGroupStep: Fix c&p mistake
refs #9609
2015-07-30 13:31:23 +02:00
Johannes Meyer
47079b723d Wizard: Apply user group backend configuration
refs #9609
2015-07-30 13:22:51 +02:00
Eric Lippmann
9aa1599a18 Form: Disable CSRF counter measure only on API requests
refs #9660
2015-07-30 12:04:22 +02:00
Eric Lippmann
c23c7a5fa9 lib: Add Request::getIsApiRequest()
If the Accept header is set to application/json it's an API request.

refs #9660
2015-07-30 12:03:33 +02:00
Eric Lippmann
3aae37aff3 Don't redirect on external auth
refs #9660
2015-07-30 12:02:42 +02:00
Johannes Meyer
c5761243c1 Wizard: Apply initial administrative rights for groups
refs #9609
2015-07-30 11:35:28 +02:00
Eric Lippmann
db505281ee lib: Disable CSRF token on HTTP authenticated users and not XHR
refs #9660
2015-07-30 09:33:04 +02:00
Eric Lippmann
36ff2d8914 lib: Set User::$isHttpUser in Auth
refs #9660
2015-07-30 09:32:24 +02:00
Eric Lippmann
775f8cced6 lib: Introduce User::$isHttpUser
refs #9660
2015-07-30 09:31:58 +02:00
Eric Lippmann
9f0e48a0a1 Don't send the X-Icinga-Module header more than once
fixes #9349
2015-07-30 09:28:05 +02:00
Johannes Meyer
ff5142896b AuthenticationStep: We're creating the roles.ini, ultimately 2015-07-30 09:04:33 +02:00
Matthias Jentsch
20aa17c831 Merge branch 'bugfix/selected-row-lost-after-autorefresh-8623'
fixes #8623
2015-07-29 17:30:45 +02:00
Eric Lippmann
cf8c680482 lib: Add basic access authentication (WIP)
refs #9660
2015-07-29 17:22:55 +02:00
Eric Lippmann
ce2a196c4a lib/Web: Set up request before setting up the user
refs #9660
2015-07-29 17:22:10 +02:00
Matthias Jentsch
3e7cc299ec Fix issue that caused the refresh button to remove side bar
Do not apply base target globally for all toolbar elements, but specifically for those that should remove side-bars.

refs #8623
refs #6436
2015-07-29 17:18:52 +02:00
Johannes Meyer
9858d79aaa AdminAccountPage: Do not allow to choose a group..
Does not work currently :(

refs #9609
refs #9772
2015-07-29 17:18:41 +02:00
Thomas Gelf
ba906d2fca FilterEditor: allow to set custom filter columns 2015-07-29 17:13:18 +02:00
Johannes Meyer
ba8d05af85 Wizard: Allow to choose a group for initial administrative access
refs #9609
2015-07-29 17:13:06 +02:00
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