10461 Commits

Author SHA1 Message Date
Noah Hilverling
2fd1a957a8 Url: Add basePath to baseUrl in method getBaseUrl
refs #12133
2016-10-19 09:40:08 +02:00
Noah Hilverling
13827c79e4 Url: Improve documentation of method setHost
refs #12133
2016-10-19 09:35:40 +02:00
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
Noah Hilverling
011bce0909 UrlTest: Use getBasePath instead of getBaseUrl
refs #12133
2016-10-18 14:12:38 +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
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
Noah Hilverling
2439460371 Url: Fix incorrect line indentation in method getAbsoluteUrl
refs #12133
2016-10-17 10:16:03 +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
Noah Hilverling
f557b89aea Url: Add support for username and password
fixes #12133
2016-10-13 11:01:39 +02:00
Noah Hilverling
c868789472 Url: Add alternative attributes for baseUrl
refs #12133
2016-10-13 11:01:10 +02:00
Eric Lippmann
4b0e90cf23 Disable zero width spaces for the moment
refs #12774
2016-10-11 15:20:20 +02:00
Alexander A. Klimov
8bc7d47a62 Merge branch 'bugfix/preserve-http-response-code-in-rest-error-responses-12583'
fixes #12583
2016-10-11 10:46:20 +02:00
Alexander A. Klimov
bf3cfda209 Response: rename setMetaDataFrom() to copyMetaDataFrom()
refs #12583
2016-10-11 10:45:15 +02:00
Alexander A. Klimov
2d0f81c035 Merge branch 'bugfix/permission-application-log-is-not-configurable-12655'
fixes #12655
2016-10-11 10:42:08 +02:00
Eric Lippmann
529ba8ed8a Use the query's iterator instead fetchAll() on CSV export
fixes #12723
2016-10-11 09:53:21 +02:00
Eric Lippmann
14cb499c1b Change default for sticky option of acknowledgements from true to false
resolves #12873
2016-10-07 14:48:34 +02:00
Eric Lippmann
213804401c Fix Web 2's remove-downtime API actions not selecting the downtime name
refs #11398
2016-10-07 14:44:08 +02:00
Eric Lippmann
246ad7b4d3 Remove ChartController
fixes #10019
2016-10-05 09:57:00 +02:00
Eric Lippmann
c83659eff7 Sometimes you just herp the derp so hard it herpderps 2016-09-29 16:19:41 +02:00
Alexander A. Klimov
4d16656100 Preserve status code and headers in JSON responses
refs #12583
2016-09-27 13:26:20 +02:00
Alexander A. Klimov
5576e00a01 Fix missing translation
refs #12655
2016-09-27 11:22:18 +02:00
Alexander A. Klimov
b3a3db6382 Make permission application/log configurable
refs #12655
2016-09-27 11:08:34 +02:00
Johannes Meyer
7ed3acbbd8 Module: Check a menu item's permission and don't overwrite its label
This allows now totally different values for an item's name and label
and fixes the bug that permissions declared in the configuration.php
were not evaluated for menu items.

fixes #11431
2016-09-26 11:01:26 +02:00
Johannes Meyer
5b875f3749 JsonResponse: Allow to output the "data" key in case of an error
As stated by the JSend specification this key is optional for error responses.
2016-09-21 15:58:59 +02:00
Eric Lippmann
c547f4c17f Fix error in the contact detail view introduced by changes to the notification queries 2016-09-15 14:07:19 +02:00
Eric Lippmann
fd6ae75803 IDO: Improve notification view performance 2016-09-14 16:18:41 +02:00
Noah Hilverling
e0d59ded2d vagrant: Add missing icinga2 constants
fixes #12717
2016-09-13 13:55:47 +02:00
Eric Lippmann
1ed2ebc191 IDO: Add config option to use the customvariables table for fetching custom vars
Icinga 1.x has the option to not dump the icinga_customvariablestatus table:

dump_customvar_status=0

With this setting applied, Web 2 will never show custom variables because Web 2 relies on the customvariablestatus table.
This commit introduces a config option to use the customvariables table instead:

/etc/icingaweb2/modules/monitoring/config.ini

[ido]
use_customvar_status_table = 0
2016-09-12 15:52:07 +02:00
Eric Lippmann
65d7c18c31 Merge branch 'bugfix/contact-service-filter-12019'
fixes #12019
2016-09-12 12:30:34 +02:00
Eric Lippmann
3fdba713ed Merge branch 'bugfix/handle-recoverable-error-10361'
fixes #10361
2016-09-12 08:29:40 +02:00
Eric Lippmann
11edc55c78 Merge branch 'bugfix/copy-paste-plugin-output-12134'
fixes #12134
2016-09-12 08:20:54 +02:00
Alexander A. Klimov
c8b1693fdc Fix Controller::assertPermission() allowing everything for unauthenticated requests
fixes #12108
2016-09-12 08:18:36 +02:00
Eric Lippmann
4398267db5 Merge branch 'bugfix/wrong-url-makes-whole-dashboard-unusable-11920'
fixes #11920
2016-09-09 15:22:48 +02:00
Eric Lippmann
ef7be98e0c Simplify InternalUrlValidator::isValid()
refs #11920
2016-09-09 15:22:24 +02:00
Eric Lippmann
1f980f92f2 Optimize imports in InternalUrlValidator
refs #11920
2016-09-09 15:21:06 +02:00
Eric Lippmann
5845d6c0cb Optimize imports in DashletForm
refs #11920
2016-09-09 15:20:45 +02:00
Eric Lippmann
eafb689136 Merge branch 'feature/show-git-head-for-modules-11664'
resolves #11664
2016-09-09 14:23:39 +02:00
Eric Lippmann
576640e661 Simplify Version::getGitHead()
refs #11664
2016-09-09 14:19:32 +02:00
Eric Lippmann
972358532d Merge branch 'bugfix/js-don-t-use-var-self-this-10703'
fixes #10703
2016-09-09 13:26:18 +02:00