Commit Graph

10901 Commits

Author SHA1 Message Date
Noah Hilverling 3b6b0b8d4b Url: Build full urlString instead of path if username is set
refs #12133
2016-10-18 16:19:24 +02:00
Noah Hilverling a952a400ca Url: Add username and password to method getBaseUrl
refs #12133
2016-10-18 16:16:13 +02:00
Noah Hilverling 9fcc39e0ba Url: Add use of method setBasePath in method setBaseUrl
refs #12133
2016-10-18 16:15:14 +02:00
Noah Hilverling 08719b0522 Url: Do not try to set attributes in method fromPath if not needed
refs #12133
2016-10-18 16:13:37 +02:00
Noah Hilverling b4aca4737b Url: Cut of "/" and spaces at the end of basePath in setBasePath
refs #12133
2016-10-18 16:08:34 +02:00
Noah Hilverling 1c55351460 Url: Remove "/" in front of path if the url has a user parameter
refs #12133
2016-10-18 16:07:13 +02:00
Noah Hilverling dda7311226 Url: Improve documentation
refs #12133
2016-10-18 16:03:31 +02:00
Noah Hilverling 4e64c02078 Url: Remove attribute baseUrl
refs #12133
2016-10-18 16:01:23 +02:00
Alexander A. Klimov f8501aa80d setup/AdminAccountPage: respect previously configured envvar when suggesting admin username
refs #12164
2016-10-18 15:38:03 +02:00
Alexander A. Klimov d6ac6c8374 setup/AuthenticationPage: don't show the warning about external backend configuration if REDIRECT_REMOTE_USER is set
refs #12164
2016-10-18 15:19:13 +02:00
Alexander A. Klimov be4a31c8e1 ExternalBackendForm: suggest REDIRECT_REMOTE_USER as username variable if set
refs #12164
2016-10-18 15:05:57 +02:00
Alexander A. Klimov b16c64443b Merge branch 'bugfix/ini-writer-must-not-persist-section-keys-with-a-null-value-11743'
fixes #11743
2016-10-18 14:21:24 +02:00
Noah Hilverling 011bce0909 UrlTest: Use getBasePath instead of getBaseUrl
refs #12133
2016-10-18 14:12:38 +02:00
Alexander A. Klimov 790d83cb72 ExternalBackendForm: make the variable a webserver assigns a username to configurable
refs #12164
2016-10-18 13:44:01 +02:00
Noah Hilverling 4dd9c05882 Url: Return basePath in method getBaseUrl if url is internal
refs #12133
2016-10-18 12:57:02 +02:00
Noah Hilverling f6f90822d6 Url: Set basePath correctly in methods fromRequest and fromPath
refs #12133
2016-10-18 12:57:02 +02:00
Noah Hilverling 6a6d354539 Merge branch 'bugfix/icinga-web-2-doesn't-set-content-type-12161'
fixes #12161
2016-10-18 11:10:37 +02:00
Noah Hilverling 888ac98007 Response: Improve documentation for method getHeader
refs #12161
2016-10-18 11:07:24 +02:00
Alexander A. Klimov 4d6160d987 ExternalBackend::getRemoteUser(): restore previous default behavior
refs #12164
2016-10-18 10:22:06 +02:00
Alexander A. Klimov ab01d2f915 ExternalBackend: don't reference more than necessary from the config
refs #12164
2016-10-18 10:17:21 +02:00
Noah Hilverling e5c736aab4 Response: Use method getHeader to check if Content-Type is set already
refs #12161
2016-10-18 10:13:58 +02:00
Noah Hilverling f95c789353 Response: Add method getHeader
refs #12161
2016-10-18 09:58:33 +02:00
Alexander A. Klimov ce951295d3 ExternalBackend: make the variable a webserver assigns a username to configurable
refs #12164
2016-10-17 18:46:00 +02:00
Noah Hilverling c927c32442 Response: Only set header Content-Type in method prepare if not already set
refs #12161
2016-10-17 16:34:07 +02:00
Noah Hilverling 703561f874 JsonResponse: Set content type at initialization and not at sendHeaders
refs #12161
2016-10-17 16:33:51 +02:00
Alexander A. Klimov 29c221418b External authentication: respect REDIRECT_REMOTE_USER as well
refs #12164
2016-10-17 16:19:26 +02:00
Noah Hilverling c3276d4341 Response: Remove empty line after method getContentType
refs #12161
2016-10-17 16:03:33 +02:00
Alexander A. Klimov e2f6c81bfa Remove obsolete workarounds
refs #11743
2016-10-17 15:00:43 +02:00
Jennifer Mourek 7df6e6cb63 UrlTest: Fix method name and PSR issue
refs #12133
2016-10-17 14:57:30 +02:00
Jennifer Mourek d0b93b064c UrlTest: Test whether getAbsoluteUrl returns the given username and password
refs #12133
2016-10-17 14:46:58 +02:00
Alexander A. Klimov 3caffb0026 Merge branch 'bugfix/timeline-broken-12889'
fixes #12889
2016-10-17 14:07:40 +02:00
Alexander A. Klimov 99866bfdbe IniWriterTest: make recently added tests more expressive
refs #11743
2016-10-17 13:51:58 +02:00
Alexander A. Klimov a0a203c875 Make timeline working again
refs #12889
2016-10-17 12:44:05 +02:00
Jennifer Mourek c57a636290 MonitoredObject: Fix incorrect line indentation in method fetchCustomvars 2016-10-17 10:28:50 +02:00
Noah Hilverling 2439460371 Url: Fix incorrect line indentation in method getAbsoluteUrl
refs #12133
2016-10-17 10:16:03 +02:00
Jennifer Mourek 5c2711872a StatehistoryForm: Remove autoupdate on clicking the select-boxes
refs #7755
2016-10-17 09:46:21 +02:00
Noah Hilverling 9ec471d349 DataView: Apply object restrictions to dynamic filter columns
fixes #9993
2016-10-17 09:17:49 +02:00
Noah Hilverling 4df9696ed9 StyleSheet: Modify send method to use setContentType of Response class
refs #12161
2016-10-17 08:29:51 +02:00
Noah Hilverling af5c578adf Response: Set header Content-Type for every response by default
refs #12161
2016-10-14 16:16:13 +02:00
Noah Hilverling 7cf6b860b5 Response: Add contentType attribute
refs #12161
2016-10-14 16:12:47 +02:00
Noah Hilverling 9439dfa8f3 Url: Fix path handling for internal urls
refs #12133
2016-10-14 15:05:34 +02:00
Noah Hilverling ef359aa686 Url: Improve documentation
refs #12133
2016-10-14 15:04:03 +02:00
Noah Hilverling 3e2f3c8467 Url: Add basePath attribute
refs #12133
2016-10-14 15:01:03 +02:00
Jennifer Mourek 1e09f68ad2 Merge branch 'bugfix/switching-to-Icinga-theme-floods-error-log-12660'
fixes #12660
2016-10-14 13:33:47 +02:00
Jennifer Mourek 0cd2d98f71 StyleSheet: Don't try to load the icinga default theme
refs #12660
2016-10-14 13:24:17 +02:00
Jennifer Mourek 8294471253 Revert "LessCompiler: Remove error message when switching to Icinga theme"
This reverts commit 2e24833d7c.
2016-10-14 09:39:24 +02:00
Jennifer Mourek 2e24833d7c LessCompiler: Remove error message when switching to Icinga theme
fixes #12660
2016-10-14 08:06:05 +02:00
Eric Lippmann e4695b6937 Doc: Mention PHP cURL extension requirement for using the Icinga 2 API
refs #11398
2016-10-13 12:08:40 +02:00
Johannes Meyer 0fd5e8e4e8 ErrorController: Log the full stacktrace in case of unhandled exceptions 2016-10-13 12:06:23 +02:00
Noah Hilverling f557b89aea Url: Add support for username and password
fixes #12133
2016-10-13 11:01:39 +02:00