Michael Friedrich
f9c5f91831
Docs: Update to Debian stretch & use icinga-rpm-release
...
Further add a note about EPEL setup how it is done in Icinga 2.
Minor formatting and wording.
2017-08-03 19:30:40 +02:00
Johannes Meyer
22feb4b3fd
User: Allow to unset an email and return $this in all setters
...
$email is optional in the constructor and so should be when
calling its setter.
2017-07-31 15:21:54 +02:00
Eric Lippmann
7d177d8712
Increase input fields size in the navigation item forms
...
Fixes #2872
2017-07-31 09:06:17 +02:00
Eric Lippmann
ab7fa9f925
Add domain part to user groups if the user group backend is reponsible for a domain
2017-07-31 09:03:40 +02:00
Eric Lippmann
fe12ed05e3
Fix menu height when switching back from mobile layout
...
Fixes #2841
2017-07-28 13:44:21 +02:00
Eric Lippmann
2b3853d01c
Doc: Relax Icinga 2 API user permissions
...
Fixes #2884
2017-07-28 11:28:35 +02:00
Eric Lippmann
c4e236cce9
Doc: Fix header anchor detection
2017-07-28 10:20:18 +02:00
Hector Sanjuan
0e480dd54a
Doc: Add automating Web 2 installation section
...
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
Closes #37
2017-07-28 10:17:03 +02:00
lippserd
d1debea048
Merge pull request #2856 from Icinga/bugfix/wrong-help-text-in-the-icingacli-2801
...
Correct CLI help text for modules
2017-07-28 09:19:32 +02:00
lippserd
7f90ae4d89
Merge pull request #2890 from bobapple/fix/docs-header
...
Update docs for better compatibility with mkdocs
2017-07-28 09:15:06 +02:00
lippserd
8a3b3eab66
Merge pull request #2902 from Icinga/fix/locale-de
...
Update locale de_DE
2017-07-28 09:10:52 +02:00
Eric Lippmann
adc2f90f74
Show DOWN hosts before UNREACHABLE when sorting by host_severity
...
refs #2034
2017-07-27 16:08:29 +02:00
Eric Lippmann
7c88ee70d2
Remove sort rules from Programstatus
...
Sort is not necessary here.
2017-07-27 15:03:12 +02:00
Eric Lippmann
1621755103
Don't call UNIX_TIMESTAMP when sorting by host_severity
2017-07-27 15:03:12 +02:00
Eric Lippmann
9b7a155db2
Don't call UNIX_TIMESTAMP when sorting by service_severity
2017-07-27 15:03:12 +02:00
Eric Lippmann
8a6240fe02
Reduce service_severity order by columns
...
Ordering by host and service display_name too here reduces performance and is not necessary.
2017-07-27 15:03:12 +02:00
Eric Lippmann
c5f2fc5aa5
Reduce service_display_names order by columns
...
Ordering by host_display_name too here reduces performance as it forces MySQL to use a temp table.
2017-07-27 15:03:12 +02:00
Eric Lippmann
ee429f54d0
Reduce host_severity order by columns
...
Ordering by host_display_name too here reduces performance and is not necessary.
2017-07-27 15:03:12 +02:00
Eric Lippmann
e7776d08a9
Don't call UNIX_TIMESTAMP when sorting by host_last_state_change
...
Else possible indices can't be used.
2017-07-27 15:03:12 +02:00
Eric Lippmann
3a1afb3511
Don't call UNIX_TIMESTAMP when sorting by service_last_state_change
...
Else possible indices can't be used.
2017-07-27 15:03:12 +02:00
Eric Lippmann
9b529bcd15
Flip base tables in HoststatusQuery
...
This has no performance impact but all our queries should start w/ select from icinga_objects.
2017-07-27 15:03:12 +02:00
Eric Lippmann
370d148072
Optimize imports in HoststatusQuery
2017-07-27 15:03:12 +02:00
Eric Lippmann
e42d86a4e1
Remove unncessary column definitions in the Hostgroupsummary and Servicegroupsummary data views
2017-07-27 15:03:12 +02:00
Eric Lippmann
0a3da99e7f
Reduce filter columns of the Hostgroup and Servicegroup data views
...
Its not necessary to expose those columns because these data views do not directly accept user input.
2017-07-27 15:03:12 +02:00
Eric Lippmann
44da318109
Remove no-op order columns Hosts Severiy and Services Severity from the host group and service group views
2017-07-27 15:03:12 +02:00
Eric Lippmann
b4df81e75a
Optimize queries used for fetching the service group summaries
2017-07-27 15:03:12 +02:00
Eric Lippmann
06cb980308
Don't add GROUP BY for unjoined tables
2017-07-27 15:03:12 +02:00
Markus Frosch
d8936fcd1e
Update locale de_DE
2017-07-27 13:57:43 +02:00
Eric Lippmann
30cc51a823
Optimize queries used for fetching the host group summaries
...
refs #1883
2017-07-27 11:43:13 +02:00
Eric Lippmann
f5a9016dea
Optimize queries for creating the host and service problem badges in the menu
...
We now use two fast count queries w/ an appropriate filter instead of fetching a whole bunch of unnecessary host and service counters.
2017-07-27 11:38:00 +02:00
Eric Lippmann
a9f3f99049
Don't hide errors in the BackendAvailabilityNavigationItemRenderer
...
If an exception occurs when fetching the dataview, we will now log the exception and display a badge in state unknown.
2017-07-27 11:35:40 +02:00
Eric Lippmann
439d78a982
Don't hide errors in the MonitoringBadgeNavigationItemRenderer
...
If an exception occurs when fetching the dataview, we will now log the exception and display a badge in state unknown.
2017-07-27 11:31:10 +02:00
Eric Lippmann
28790d254b
Remove caching form the MonitoringBadgeNavigationItemRenderer
...
Caching will be no longer necessary because we will replace the queries used to fetch the problem badges.
2017-07-27 11:29:57 +02:00
Eric Lippmann
c0d359fbbd
Fix base class of MonitoringBadgeNavigationItemRenderer
...
The MonitoringBadgeNavigationItemRenderer extended the SummaryNavigationItemRenderer before which does not make sense because they have nothing in common.
2017-07-27 09:33:44 +02:00
Blerim Sheqa
75516526b5
Update docs for better compatibility with mkdocs
...
* Move HTML links (<a>...</a>) to the end of the header lines
* This is necessary to allow mkdocs to parse headers correctly and display them in the TOC
* Following sed command was used: sed -i .bu 's/\(<a.*a>\) \(.*\)/\2 \1/g' $filename
2017-07-14 16:33:05 +02:00
Johannes Meyer
eb343009bb
Form: Don't prevent disabled elements from getting overwritten..
...
..if someone just utilizes populate() programatically.
refs #2509
2017-07-13 13:53:48 +02:00
Johannes Meyer
ed5ba14df2
Form: Register form notifications as custom error messages for API requests
...
I'd have liked to fix how we transmit validation messages in such cases,
but for compatibilty reasons this has to suffice..
2017-07-13 13:00:24 +02:00
Johannes Meyer
96c96df636
Form: Don't transmit duplicate error messages
...
Zend_Form::getMessages() already returns custom error messages,
if there are any
2017-07-13 12:59:23 +02:00
Johannes Meyer
b93dc06f5b
ActionController: Let the repsonse itself set its headers
...
The only header that is now set by the ActionController is X-Icinga-Title,
all others are delegated to Icinga\Web\Response.
2017-07-13 12:56:03 +02:00
Johannes Meyer
0d52bb421f
ActionController: Don't re-enable the layout when just setting XHR layout
...
In case someone doesn't want the layout, we should not force it, especially
not for XHR requests.
2017-07-12 16:54:52 +02:00
Johannes Meyer
73f254ff32
BaseHttpException: Don't return null in method getHeaders()
2017-07-12 16:54:52 +02:00
Eric Lippmann
f25420f458
DbConnection: Fix "Driver does not support setting attributes" for the pdolib extension
...
fixes #2545
2017-07-11 17:20:25 +02:00
Eric Lippmann
a9e6814785
Revert "DbConnection: Fix "Driver does not support setting attributes" for the pdolib extension"
...
This reverts commit 3e743a8799
.
Referenced the wrong issue number.
2017-07-11 17:19:16 +02:00
Eric Lippmann
3e743a8799
DbConnection: Fix "Driver does not support setting attributes" for the pdolib extension
...
fixes #12640
2017-07-11 17:17:48 +02:00
Eric Lippmann
f02d631aa1
DbConnection: Respect port settings for all database types and provide defaults
2017-07-11 17:11:44 +02:00
Eric Lippmann
b13c38b65b
Auth/Groups: Prefer the domain from the LDAP/MSAD user backend
...
If a LDAP/MSAD user group backend is linked w/ a user backend, the domain from the user backend is preferred over the domain configured for the user group backend.
2017-07-11 17:09:24 +02:00
Eric Lippmann
4b11afe7d5
Remove unused method LdapUserBackend::setConfig()
2017-07-11 17:08:16 +02:00
Eric Lippmann
bd23d008ca
Auth: Make sure to set the configured domain on LDAP/MSAD user backends
2017-07-11 17:02:32 +02:00
Eric Lippmann
cbde758fc6
Remove unused domain-aware auth related functions from UserBackend
...
These functions made it into the master branch accidentally.
2017-07-11 17:01:06 +02:00
Eric Lippmann
d05a262819
Auth: Protect User::setDomain() from empty strings
2017-07-11 16:56:35 +02:00