5272 Commits

Author SHA1 Message Date
Markus Frosch
cb08b25e17 Remove executable flags from some PHP libraries
Note: dompdf.php is actually a CLI script, but has no shebang and is not used
in Icingaweb2.

Fixes #8345
2015-02-03 10:50:50 +01:00
Johannes Meyer
7989b48248 Fix ldap auth when the userNameAttribute holds multiple values
fixes #8246
2015-02-03 10:15:54 +01:00
Thomas Gelf
f6fc592b91 events.js: reduce logging noise
Form submission by pressing return is not an error, and debug level
should suffice for the other button-related notices too.
2015-02-02 21:56:14 +01:00
Thomas Gelf
a705e03aff HostController: fix merge BS 2015-02-02 18:21:01 +01:00
Thomas Gelf
b54a12c2d5 HostActionsHook: document the new hook 2015-02-02 18:17:30 +01:00
Thomas Gelf
ac7ffc757f Merge branch 'feature/hostactions-hook-8208' of git.icinga.org:icingaweb2 into feature/hostactions-hook-8208
Manually merged diverged tab activation

Conflicts:
	modules/monitoring/application/controllers/HostController.php
2015-02-02 17:48:40 +01:00
Thomas Gelf
b4c47c51e7 components/actions: show links if available
Now we show links regardless of whether we have host actions, there
might be hook-provided links only. Renamed "Foreign URLs" to "Actions"
and made it translatable.
2015-02-02 17:46:40 +01:00
Thomas Gelf
3038de5ad0 components/actions: show host action urls if given 2015-02-02 17:46:40 +01:00
Thomas Gelf
6c8808875a host/show: show action urls above perfdata 2015-02-02 17:46:40 +01:00
Thomas Gelf
67e935557e HostController: use host actions hook
refs #8208
2015-02-02 17:46:39 +01:00
Thomas Gelf
45bf071db6 HostActionsHook: initial very simple implementation
refs #8208
2015-02-02 17:44:29 +01:00
Thomas Gelf
f8c5bf6819 Web\Hook: support hook base classes in modules
refs #8207
2015-02-02 17:44:29 +01:00
Eric Lippmann
61fde8b359 monitoring: Prefix tooltips in the service groups overview with "List ..."
refs #8110
2015-02-02 17:29:30 +01:00
Eric Lippmann
a8de3c093a monitoring/host: Add tooltip for the unhandled services link to the link
refs #8110
2015-02-02 17:27:59 +01:00
Thomas Gelf
3596e7ce62 FilterEditor: use preserved params
fixes #7904
2015-02-02 17:07:54 +01:00
Eric Lippmann
2722463372 Prefix tooltips in the host groups overview with "List ..."
refs #8110
2015-02-02 17:06:32 +01:00
Johannes Meyer
c4c6d36b00 setup: Clarify that the db user's credentials may be insufficient as well 2015-02-02 16:55:31 +01:00
Johannes Meyer
8bb0e4e0a0 Failure requests: Fix auto refresh and history II
Allow to change url's in history and stop auto auto refresh if
the container URL is not up to date.

Use variable after ajax call and the check is more robust.
2015-02-02 16:52:36 +01:00
Eric Lippmann
4fc8850e25 Use transplatePlural for hosts in downtime and hosts having comments tooltips
refs #8110
2015-02-02 16:48:13 +01:00
Eric Lippmann
1d99780a61 Remove quotes from tooltip in the roles overview
refs #8110
2015-02-02 16:47:28 +01:00
Marius Hein
bc69a3b20f Revert "Failure requests: Fix auto refresh and history"
This reverts commit 8c758a9f126f81cc50fe290691d284947ec1804d.
2015-02-02 16:40:05 +01:00
Eric Lippmann
942d55c0d4 Merge branch 'master' into bugfix/Improve-tooltip-descriptions-8110 2015-02-02 16:37:03 +01:00
Johannes Meyer
a5fe9a1fe1 Revert "Introduce link target "_right" to keep a column with tabs rightmost"
This reverts commit 618ab4f4b9cdc3975cc096eaabfe04da70244fb0.
2015-02-02 16:34:29 +01:00
Johannes Meyer
9df2430cbe Remove redundant help message when scheduling host/service checks 2015-02-02 16:31:57 +01:00
Johannes Meyer
5382f73c53 Drop all old object- and command-view scripts 2015-02-02 16:31:25 +01:00
Johannes Meyer
8b377cd651 Use the new command-view scripts 2015-02-02 16:30:52 +01:00
Johannes Meyer
2e99e476fe Use the new object-view scripts 2015-02-02 16:28:35 +01:00
Johannes Meyer
afa3431aed Introduce new object- and command-view scripts
Represents how we plan to handle view scripts that are re-usable. Should
supersede all <action>/component/* view scripts in the upcoming future.
2015-02-02 16:26:55 +01:00
Marius Hein
67a426580d loader: Remove gray out on complete handler
A failure did not remove the impact class which colorize
the background gray.
2015-02-02 15:20:12 +01:00
Eric Lippmann
9d6906bd64 Save user dashboards to Icinga Web 2's configuration directory
fixes #8056
2015-02-02 15:06:29 +01:00
Marius Hein
6555a2ec0a Menu: Move request handling to complete
If a failure occur the menu is still working.
2015-02-02 15:03:36 +01:00
Eric Lippmann
bfb2f710a1 monitoring: Fix exception in the alert summary report when using the "One month" interval
fixes #8220
2015-02-02 14:28:47 +01:00
Eric Lippmann
52c40bdc5b lib/SimpleQuery: Increase default limit to 25
Please follow the referenced issues.

fixes #8337
refs #8339
2015-02-02 14:16:27 +01:00
Eric Lippmann
4bac5dfc37 security: Guard application and module configuration 2015-02-02 14:16:26 +01:00
Eric Lippmann
94193abdc0 lib: Fix User::can() 2015-02-02 14:16:26 +01:00
Eric Lippmann
9ac9342107 Revert "lib: Reduce else { if { to elseif { in User::can()"
This reverts commit e5b0b528747c2ff76b0568f8ca6929e61b072495.
2015-02-02 14:16:26 +01:00
Eric Lippmann
5a1ebf9c89 lib: Implement Tab::getUrl() 2015-02-02 14:16:26 +01:00
Eric Lippmann
7a81133ad3 security: Guard configuring roles 2015-02-02 14:16:26 +01:00
Eric Lippmann
53e7b44308 security: Provide a permission for module configuration 2015-02-02 14:16:26 +01:00
Marius Hein
8c758a9f12 Failure requests: Fix auto refresh and history
Allow to change url's in history and stop auto auto refresh if
the container URL is not up to date.
2015-02-02 13:32:40 +01:00
Marius Hein
8c24dde17b Error Controller: Move close tab creation to template 2015-02-02 12:08:20 +01:00
Marius Hein
190c1e8f04 Revert "Revert "Dashboard: Always replace title""
This reverts commit d1f13819e4e6e0a97b6dfed2c957f56c4ee1354a.

Please do not ask. This was no syntax error.
2015-02-02 12:04:28 +01:00
Marius Hein
d1f13819e4 Revert "Dashboard: Always replace title"
This reverts commit c0c0e7d9e53e1153e7ca7b873e8e39e9e2a37616.

Syntax error
2015-02-02 12:01:40 +01:00
Marius Hein
c0c0e7d9e5 Dashboard: Always replace title
This is needed if an error occurs and the exception title was rendered
into the container.
2015-02-02 12:00:08 +01:00
Eric Lippmann
f9047e85c5 monitoring: Fix wrong unhandled service problems count in the hosts overview
The query was missing the is_active = 1 condition. I'll open an issue for the other
affected queries.

fixes #8013
2015-02-02 11:12:27 +01:00
Eric Lippmann
d64ca3da99 Show close button when updating a role
fixes #8087
2015-02-02 11:09:13 +01:00
Eric Lippmann
3818f1faec Show close button when removing a role
refs #8087
2015-02-02 11:08:56 +01:00
Eric Lippmann
cfe6701a92 Show close button when creating a role
refs #8087
2015-02-02 11:08:27 +01:00
Eric Lippmann
cf944a7daf monitoring: Show close button when removing a backend 2015-02-02 11:07:01 +01:00
Eric Lippmann
a62acb4a82 monitoring: Show close button when updating a backend 2015-02-02 11:06:40 +01:00