10471 Commits

Author SHA1 Message Date
Alexander A. Klimov
647c0b4354 ResourceConfigForm: if the resource being used as config backend gets renamed, update the global config
refs #9804
2016-10-19 14:09:06 +02:00
Alexander A. Klimov
00880710ed Navigation::fromArray(): pass $name only as string to addItem()
fixes #12923
2016-10-18 18:06:51 +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
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
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
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
Alexander A. Klimov
e2f6c81bfa Remove obsolete workarounds
refs #11743
2016-10-17 15:00:43 +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
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
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 2e24833d7cb474ec9614f44496bcf3e589f386af.
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
Alexander A. Klimov
58b2e6c00f Add unit tests for the fixed IniWriter implementation
refs #11743
2016-10-12 13:41:42 +02:00
Jennifer Mourek
d98732f663 ErrorController: Don't log exceptions other than HTTP 500
fixes #12760
2016-10-12 12:17:29 +02:00
Alexander A. Klimov
014e7c136a Revert "UserGroupBackendForm: Do not persist null values, really"
This reverts commit 975edbe548ecacabee22fb871e21dd2b8312dc19.

refs #11743
2016-10-12 11:07:21 +02:00
Alexander A. Klimov
9bb798c18b IniWriter: don't persist a section key if the value is null
refs #11743
2016-10-12 11:06:04 +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