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
Noah Hilverling
c3276d4341
Response: Remove empty line after method getContentType
...
refs #12161
2016-10-17 16:03:33 +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
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
Jennifer Mourek
c5c10adf75
MonitoredObject: Delete fallback for protected custom variables
...
fixes #12848
2016-10-13 08:54:30 +02:00
Jennifer Mourek
d98732f663
ErrorController: Don't log exceptions other than HTTP 500
...
fixes #12760
2016-10-12 12:17:29 +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
Eric Lippmann
118c435bc5
JS: Fix usage of global variable self used to reference icinga in events.js
...
refs #10703
2016-09-09 13:22:10 +02:00
Eric Lippmann
7e47a2965c
JS: Fix usage of global variable self used to reference icinga in loader.js::onComplete()
...
refs #10703
2016-09-09 13:22:08 +02:00
Eric Lippmann
fc086adf21
Document how to use the Icinga 2 API for transmitting external commands
2016-09-08 16:10:01 +02:00
Eric Lippmann
33506b2965
Fix send custom notification command form if backend is Icinga 2
2016-09-08 15:49:39 +02:00
Eric Lippmann
067de6b7f4
Set comment and downtime name in the detail views
2016-09-08 15:15:53 +02:00
Eric Lippmann
01bee4641d
Fix missing comment and downtime name in the object detail views
2016-09-08 15:03:45 +02:00
Eric Lippmann
9402c1ffa6
Add debug info to commands sent over Icinga 2's API
2016-09-08 09:23:49 +02:00