926 Commits

Author SHA1 Message Date
Matthias Jentsch
aa409bda72 Fix formatting of js error log entries generated from responses
Replace multiple whitespace characters with a single one and remove linebreaks.

refs #8711
2015-04-16 12:15:59 +02:00
Eric Lippmann
796cbffbd7 Merge branch 'master' into bugfix/time-formatting-6778
Conflicts:
	modules/monitoring/application/views/scripts/show/components/notifications.phtml
2015-04-15 15:43:39 +02:00
Johannes Meyer
be05d3a73a Fix dashboard header handling
refs #7876
2015-04-15 13:23:34 +02:00
Matthias Jentsch
1f0940c8e8 Remove all selections closing the detail area
fixes #8781
2015-04-13 17:55:41 +02:00
Matthias Jentsch
f4c0b35eff Remove unused code 2015-04-13 17:55:41 +02:00
Matthias Jentsch
16b9c73436 Do not destroy all global on mailto link clicks
Only call the cleanup code on the unload event, beforeunload is only for asking for confirmation.

fixes #7759
2015-04-13 17:55:41 +02:00
Eric Lippmann
0baeb32751 Temporary disable timesince ui counter
refs #6778
2015-04-09 12:05:45 +02:00
Eric Lippmann
0de2dbd626 Temporary disable timeuntil ui counter
refs #6778
2015-04-08 15:23:00 +02:00
Johannes Meyer
d6e5afa6d5 Fix that a menu section is not expanded in a popup when hovered
fixes #8695
2015-03-13 15:01:47 +01:00
Eric Lippmann
2e1ae185fb Retain detail URL if the layout is rerendered after a redirect
refs #8605
2015-03-13 04:04:58 +01:00
Eric Lippmann
1bd2e7cb84 Submit forms to the container's target URL if the form's action is not set
refs #8605
2015-03-13 04:02:42 +01:00
Eric Lippmann
b5abff0313 Fix that the detail URL is no longer appended to the redirect URL on login
JavaScript relied on #redirect but we now protect IDs which make them unusable
for JS and CSS.

refs #8728
2015-03-13 03:48:46 +01:00
Eric Lippmann
29d5fd351b Merge branch 'bugfix/logout-external-8626'
fixes #8626
2015-03-12 16:47:49 +01:00
Eric Lippmann
8b7250bfa6 JS: Focus the element referenced by the anchor on anchor navigation ...
... instead of looking for any heading.
2015-03-12 16:08:47 +01:00
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