Commit Graph

11129 Commits

Author SHA1 Message Date
Markus Frosch 1d06d4e3c4 Form/Element/Number: The field should be valid when empty 2017-08-17 13:20:51 +02:00
lippserd b7639651e8 Merge pull request #2904 from naisanza/bugs/typos
icingaweb2/setup typo on page
2017-08-11 15:40:28 +02:00
lippserd b9ce8c3135 Merge pull request #2919 from Icinga/bugfix/module-config-caching
Config: Fix cached loading of module config
2017-08-11 15:39:58 +02:00
lippserd 9572f77895 Merge pull request #2913 from Icinga/fix/setup-wizard-mysql-debian
Setup Wizard: Fix error code on Debian; Docs: Revamp and split
2017-08-11 15:36:12 +02:00
Michael Friedrich 661014747d Docs: Split installation into basic; create advanced topics, upgrading, troubleshooting 2017-08-11 15:30:28 +02:00
Michael Friedrich 9e6e39f795 Docs: Add required database/user details for Debian and web setup
refs #2909
2017-08-11 15:30:22 +02:00
Markus Frosch 7da7c0f6c7 Config: Fix cached loading of module config
Since the module copied the array to a local variable, the loaded
Config object never got saved to self::$modules
2017-08-11 08:35:34 +02:00
lippserd 16f9fa35c9 Merge pull request #2914 from Icinga/fix/api-command-ack-wo-expire
API Commands: Only send acknowledgement expire time if not null
2017-08-09 13:29:10 +02:00
Florian Strohmaier 75b6d5009a Provide Pinned Tab Icon for Safari
refs #2853
2017-08-09 11:13:10 +02:00
Michael Friedrich 2c312adf94 API Commands: Only send acknowledgement expire time if not null
Icinga 2 v2.7.0 is more strict with the `expiry` attribute if sent
(cannot be null, or in the past).

While acknowledgments with expire time worked well (and do so with this patch),
the command renderer did not check whether the value is actually not null
before setting it into the data form. The boolean value from the checkbox is
not available in the command renderer unfortunately.

@lippserd: Verified working with and without expire time inside the Vagrant boxes.

fixes #2911
2017-08-08 12:53:39 +02:00
Michael Friedrich 1078b7de1a Setup Wizard: Fix missing MySQL error code 1698 handling
refs #2909
2017-08-07 15:14:20 +02:00
lippserd 72dfa6d8c0 Merge pull request #2912 from Icinga/doc/release-rpm
doc: Update Icinga repository release rpm location
2017-08-04 16:40:30 +02:00
Markus Frosch 6e61f0f17d doc: Update Icinga repository release rpm location 2017-08-04 16:37:57 +02:00
lippserd 7e3c7c11ee Merge pull request #2910 from Icinga/fix/install-docs-repos
Docs: Update to Debian stretch & use icinga-rpm-release
2017-08-04 09:58:52 +02:00
Michael Friedrich 9a3d71f379 Fix Debian Stretch description 2017-08-04 09:33:58 +02:00
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 Jaw 07cea541eb icingaweb2/setup typo on page
don' ==> don't
2017-07-28 16:02:23 -04: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