939 Commits

Author SHA1 Message Date
Eric Lippmann
77b99552a4 Add JSDoc to Icinga.Events.prototype.handleAnchor() 2015-03-12 16:08:47 +01:00
Eric Lippmann
90971f2caf Revert "Merge branch 'feature/organize-headings-7976'"
This reverts commit ea2a17a76c4c4b1a3df13c44016a009694026e00, reversing
changes made to e72de8dfe1456cbb50852d8b7910e0013cab3aaa.

refs #7976
fixes #8647
2015-03-12 16:08:34 +01:00
Thomas Gelf
5270acd645 events.js: correctly detect form target container
This is for forms with no submit button.

fixes #8710
2015-03-12 11:30:21 +01:00
Thomas Gelf
3af36015ff dashboard: do not fix and hide any controls
It would be better if view scripts would care about this, but as we
failed so many times this might be the better option.

fixes #8697
2015-03-12 10:04:19 +01:00
Eric Lippmann
7f94858b8d Add JSDoc to Icinga.Loader.prototype.processRedirectHeader()
refs #8626
2015-03-11 21:26:44 +01:00
Eric Lippmann
031f9ddc84 Don't always redirect to the current window's URL if the redirect URL is __SELF__
Please see code comments for an explanation.

refs #8626
2015-03-11 21:24:56 +01:00
Johannes Meyer
cddcde9494 Setup: Automatically check the respective admin account type selection
resolves #8603
2015-03-06 15:41:25 +01:00
Johannes Meyer
4351603243 Fix that editing an auth backend does not open the next column 2015-02-26 14:48:37 +01:00
Alexander Fuhr
16200417eb Add spinner active indicator for form submit buttons
refs #7968
2015-02-25 14:15:32 +01:00
Alexander Fuhr
4505718ecc Move spinner indicator functionality to linkClicked method
refs #7968
2015-02-25 12:10:08 +01:00
Alexander Fuhr
5297b15a61 Merge branch 'master' into feature/refresh-control-7968 2015-02-24 14:41:09 +01:00
Johannes Meyer
956efe5ef9 Merge branch 'master' into feature/link-labels-8458
Conflicts:
	application/views/scripts/config/application.phtml
	application/views/scripts/config/module.phtml
	application/views/scripts/config/modules.phtml
	library/Icinga/Web/Widget/Dashboard/Dashlet.php
	modules/monitoring/application/controllers/TimelineController.php
2015-02-24 08:42:36 +01:00
Alexander Fuhr
aa5c52dfdd Implement content refresh control next to dropdown tab
refs #7968
2015-02-23 17:02:44 +01:00
Johannes Meyer
04d2c78983 Allow to move content not wrapped by <div> to another container 2015-02-23 16:28:12 +01:00
Marius Hein
44019f4e67 Events: Quick fix for access the focusable element
refs #7976
2015-02-23 16:06:21 +01:00
Marius Hein
2dda3be87b Merge remote-tracking branch 'origin/master' into feature/organize-headings-7976 2015-02-23 14:28:48 +01:00
Matthias Jentsch
2992bf3445 Always display tooltips in all charts
Make information about data types available to colorblind, when hovering
over the displayed data set

fixes #8364
2015-02-18 13:21:42 +01:00
Marius Hein
d3c79dae32 Merge branch 'master' into feature/organize-headings-7976 2015-02-17 15:21:29 +01:00
Johannes Meyer
3dce0e434a Add more sophisticated fix for keeping the focus after an autorefresh
fixes #8350
2015-02-17 09:24:38 +01:00
Marius Hein
ea57e7a786 History: Do not write abort requests to browser history
Remove req.historyTriggered and introduce req.addToHistory.
2015-02-16 15:56:50 +01:00
Marius Hein
6cc428d0e1 History: Combined cleanup regular expression 2015-02-16 15:38:16 +01:00
Johannes Meyer
0c0478688e js: Fix that buttons with any DOM descendants are not ignored by linkClicked
fixes #8380
2015-02-16 15:07:31 +01:00
Marius Hein
2aca4dc6d5 History: Do not push same url twice 2015-02-16 14:11:23 +01:00
Marius Hein
ae68e8aec4 Ajax onFailure: Write component URL to container
This is needed that history can push the correct detail url
2015-02-16 14:11:11 +01:00
Marius Hein
cd11cf3469 Fix close button: Test the anchor if it belongs to us 2015-02-13 11:47:16 +01:00
Marius Hein
7ca2e1d282 Fix close button: Test the anchor if it belongs to us 2015-02-13 11:45:20 +01:00
Marius Hein
bcc03f8160 Focus: Set the focus to the next usable element
Fix copy and paste error and find h1 first.

refs #7976
2015-02-13 11:39:28 +01:00
Eric Lippmann
9bf8488f68 js: Remove out-commented function hrefIsHashtag from events.js 2015-02-13 09:59:34 +01:00
Marius Hein
f586714f02 Skip Links: Select a more useful object
Skip links can select a container and find a usable element inside. Adapt
project jquery variable style.

refs #7976
2015-02-12 16:34:50 +01:00
Marius Hein
53818f50c6 Skip Links: Add anchor handlint to events
refs #7933
2015-02-12 13:13:52 +01:00
Thomas Gelf
d10beb7604 js: no console.log. please! 2015-02-09 15:26:55 +01:00
Johannes Meyer
423025b3fe javascript: Do not bind the button click event
Catching form submit events is sufficient as catching the button click
event is not an option due to circumventing the browser's native form
validation logic otherwise.

refs #8349
2015-02-05 13:21:03 +01:00
Matthias Jentsch
b56eb7b669 Fix keyboard navigation
Store current focus position before reload and apply it after rendering.

fixes #8350
2015-02-04 18:01:06 +01:00
Eric Lippmann
6bae2e0a53 Note that our license is GPL v2 or any later version in our license header instead of pointing to the license's URL 2015-02-04 10:52:27 +01:00
Matthias Jentsch
2f254851e3 Fix pieChart layout and add indicator for truncated piecharts 2015-02-03 17:34:56 +01:00
Matthias Jentsch
e8466ec7be Fix inlinePie borders and SVG sizes
Add white border to inline piecharts in the list, to make them more visible on mouse hovering. Set a default image size for the loaded svg charts.
2015-02-03 16:46:12 +01:00
Eric Lippmann
5b4fab0750 Add license header
This time without syntax errors hopefully :)
2015-02-03 16:27:59 +01:00
Eric Lippmann
5fa2e3cfdc Revert "Add license header"
This reverts commit 338d067aba41dd6e9178cebec5433eecd614196e.
2015-02-03 16:16:26 +01:00
Eric Lippmann
338d067aba Add license header
fixes #7788
2015-02-03 15:51:04 +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
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
Marius Hein
bc69a3b20f Revert "Failure requests: Fix auto refresh and history"
This reverts commit 8c758a9f126f81cc50fe290691d284947ec1804d.
2015-02-02 16:40:05 +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
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
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
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
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
Marius Hein
7b8332ccd8 Notifications do not disappear after autorefresh
This is not affected anymore because the errors goes directly
into the container. But this commit fixes the codes if someone
use the notifications in the loader. Also remove unused
variable this.exception.

fixes #6278
2015-01-30 15:25:12 +01:00