Commit Graph

10429 Commits

Author SHA1 Message Date
Eric Lippmann c83659eff7 Sometimes you just herp the derp so hard it herpderps 2016-09-29 16:19:41 +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
Eric Lippmann a5da4afb5c doc: Mention FreeBSD and Gentoo packages 2016-09-05 11:26:19 +02:00
Eric Lippmann c09c96677c Update 02-Installation.md 2016-09-05 11:00:53 +02:00
Alexander A. Klimov cf5e26c56c Avoid local variable name `self' in ui.js
refs #10703
2016-09-01 16:32:31 +02:00
Alexander A. Klimov 4f52beb32a Avoid local variable name `self' in module.js
refs #10703
2016-09-01 16:30:01 +02:00
Alexander A. Klimov 56c10ffdd5 Avoid local variable name `self' in loader.js
refs #10703
2016-09-01 16:28:57 +02:00
Alexander A. Klimov e726f10e68 Avoid local variable name `self' in history.js and timer.js
refs #10703
2016-09-01 16:16:55 +02:00
Alexander A. Klimov 3c43d38171 Avoid local variable name `self' in events.js
refs #10703
2016-09-01 16:16:55 +02:00
Alexander A. Klimov 4e2c626ae0 Avoid local variable name `self' in eventlistener.js
refs #10703
2016-09-01 16:16:49 +02:00
Alexander A. Klimov 060a82fa4a Avoid local variable name `self' in tooltip.js and tristate.js
refs #10703
2016-09-01 15:58:32 +02:00
Alexander A. Klimov 0d7f8148de Avoid local variable name `self' in navigation.js
refs #10703
2016-09-01 15:49:39 +02:00
Alexander A. Klimov 0059622bba Avoid local variable name `self' in form.js
refs #10703
2016-09-01 15:42:54 +02:00
Alexander A. Klimov 311fd36326 Avoid local variable name `self' in actiontable.js
refs #10703
2016-09-01 15:21:45 +02:00
Alexander A. Klimov f72411c628 Avoid local variable name `self' in icinga.js
refs #10703
2016-09-01 15:09:50 +02:00
Eric Lippmann c322077aed Fix code block related syntax issues in markdown files 2016-09-01 14:32:23 +02:00
Eric Lippmann 2d32f4a3be Fix markdown table syntax 2016-09-01 14:32:23 +02:00
Heike Jurzik cbf55ffbf1 Fix some syntax bugs in markdown files
Signed-off-by: Eric Lippmann <eric.lippmann@netways.de>
2016-09-01 14:32:20 +02:00
Chris Reeves 8e40d3cc25 doc: document 'encryption' directive for LDAP
Signed-off-by: Eric Lippmann <eric.lippmann@netways.de>
2016-09-01 11:33:55 +02:00
Eric Lippmann f05d22a39d Fix image in the documentation of the monitoring module 2016-09-01 11:30:58 +02:00
Eric Lippmann ddd42e044a Fix images in the documentation of the translation module 2016-09-01 11:30:17 +02:00
Eric Lippmann 9237350405 Compile translation for colon 2016-09-01 11:30:16 +02:00
Ken Jungclaus c559055b9d Fix translation for colon
Colon is no comma... gave me a short headache. :)

Signed-off-by: Eric Lippmann <eric.lippmann@netways.de>
2016-09-01 11:30:07 +02:00
Eric Lippmann 18d2084924 Disable broadcast option for send custom notification if backend is Icinga 2 2016-09-01 10:51:04 +02:00
Eric Lippmann 8c079d1db8 Merge branch 'feature/api-command-transport-11398'
resolves #11398
2016-09-01 10:50:50 +02:00
Eric Lippmann 64b3811ab0 Display transport type from config in the config overview
refs #11398
2016-09-01 10:49:56 +02:00
Eric Lippmann 440a3f5fdd Respect API transport in the command transport factory
refs #11398
2016-09-01 10:49:08 +02:00