Eric Lippmann
93b50fe484
Refresh menu but keep search text if not focused
...
fixes #11128
2016-04-11 14:24:23 +02:00
Eric Lippmann
31adfb8a9f
Don't add the port twice when reloading CSS
2016-04-06 12:09:49 +02:00
Florian Strohmaier
9e0bee5006
Fix mispositioned mobile menu icon
...
fixes #11099
2016-03-31 14:00:27 +02:00
Thomas Gelf
b6fd4f5584
events.js: do not apply event handlers without...
...
...an Icinga object. Added a log line, eventually we'll catch this one
far day :)
2016-02-29 22:11:30 +01:00
Thomas Gelf
28204762ab
js: fix urls for dynamic css/js reloads
2016-02-29 21:40:48 +01:00
Thomas Gelf
96f50c5dfa
loader.js: fix JS error on IE
2016-02-29 21:18:46 +01:00
Thomas Gelf
29eedc1d4a
navigation.js: remove forgotten console.log
2016-02-29 21:08:26 +01:00
Florian Strohmaier
0c34c20640
Prepare close-container for behavior implementation
...
refs #8590
2016-02-27 15:07:10 +01:00
Alexander A. Klimov
af18334e3e
Cookie icingaweb2-tzo: use `-' as separator
...
fixes #11126
2016-02-25 13:21:34 +01:00
Alexander A. Klimov
a2a96be8c9
Display ISO date and time when a connection was lost
...
refs #10625
2016-02-22 11:24:19 +01:00
Alexander A. Klimov
c4a69191a3
JS: implement Icinga.Utils.padString()
...
refs #10625
2016-02-22 11:14:41 +01:00
Alexander A. Klimov
dc6ea11415
JS: Encode URLs shown in responsive debug element
2016-02-19 14:27:14 +01:00
Alexander A. Klimov
11ea7d99d7
Escape messages of notifications loaded by JavaScript
2016-02-19 14:10:58 +01:00
Alexander A. Klimov
a493c3469c
JS: implement Icinga.Utils.escape()
2016-02-19 14:05:05 +01:00
Alexander A. Klimov
474803fee4
Change all license headers to only reflect a file's year of creation
...
refs #11000
2016-02-08 15:41:00 +01:00
Eric Lippmann
e468329051
JS: Keep search field focus
...
fixes #11029
2016-02-02 08:40:35 +01:00
Eric Lippmann
b5cbf49433
JS: Fix login autofocus
2016-01-28 12:29:42 +01:00
Eric Lippmann
41c942d197
JS: Maintain auto-refresh interval over redirects
...
This is far from beautiful. But JS needs a revamp anyway.
Request should be an object and should be passed from function to function in order to maintain state.
2016-01-27 09:19:12 +01:00
Eric Lippmann
c963ee23ff
JS: Ignore autosubmit elements in the form behavior
2016-01-27 09:12:42 +01:00
Eric Lippmann
7ede8124cb
Pagination: Focus active after next or prev exceeded
...
I'd like to see behaviors for components instead of patching loader/events all the time.
2016-01-25 07:23:12 +01:00
Eric Lippmann
4c4e8e4ac2
monitoring: Re-focus check now and alike
2016-01-22 13:33:59 +01:00
Eric Lippmann
2f9ffa65d7
JS: Ignore ids forms and form controls in getCSSPath()
...
Id generation is unreliable.
refs #10992
2016-01-20 18:10:04 +01:00
Eric Lippmann
e1eb505986
JS: Maintain autosubmit focus
2016-01-18 13:28:36 +01:00
Eric Lippmann
ebab4e8473
JS: Ignore ids startings w/ form_ in getCSSPath
...
protectId makes ids change over subsequent requests.
2016-01-18 13:27:02 +01:00
Eric Lippmann
7a6d61ceaa
JS: Re-focus visible elements only
...
Don't try to re-focus links from dropdown tabs example because they're no longer visible if the page has been loaded.
2016-01-18 12:50:27 +01:00
Eric Lippmann
3ab5b5b721
Fix skip to content jump link
2016-01-18 12:50:27 +01:00
Eric Lippmann
81d73bb5e4
JS: Try to maintain focus
2016-01-18 12:50:27 +01:00
Eric Lippmann
b515eaa076
JS: Introduce getCSSPath
...
getCSSPath returns the CSS path to a given jQuery element. We have getDomPath which is not robust enough and
getElementByDomPath which makes no sense because getDomPath could already return a selector suitable for jQuery.
getCSSPath is meant to replace both of them.
The function is far from perfect, as its lacking class consideration and optimization.
2016-01-18 12:50:27 +01:00
Eric Lippmann
a262d13f86
Interpret onload ajax requests for the detail column as auto-refresh
...
This is a preperation for programmatically focusing the target container of a followed link for accessibility reasons.
Automated focusing of the target container must not happen if the request is a auto-refreshing one. Thus onload requests
are now flagged as auto-refresh.
2016-01-18 12:50:27 +01:00
Eric Lippmann
66c4b9a3da
Fix dropdown losing focus when navigating w/ the keyboard
2016-01-12 08:52:30 +01:00
Eric Lippmann
7c1ccc685f
Rename close-toggle to close-container-control
2016-01-12 08:52:30 +01:00
Eric Lippmann
267aa0d3a2
Remove forgotten console.log from ui.js
2016-01-12 08:52:30 +01:00
Eric Lippmann
b1049f2aed
Prepare .controls for removing padding
...
refs #10871
2016-01-12 08:52:30 +01:00
Eric Lippmann
1c5ada2531
Remove hover effects from mobile menu
2015-12-22 14:32:04 +01:00
Eric Lippmann
447ebeb0b6
JS: Optimize mobile menu code
2015-12-22 14:01:45 +01:00
Eric Lippmann
887a688781
Quick-fix mobile menu
...
Will be reworked asap.
2015-12-21 14:06:42 +01:00
Eric Lippmann
1b196e61a6
Ignore application-state requests on setup
2015-12-21 13:03:58 +01:00
Eric Lippmann
6e9b9cb8d6
JS: Add autofocus behavior
...
refs #10671
2015-12-21 13:03:08 +01:00
Eric Lippmann
f5dac49330
Don't fire application-state requests if not authenticated
...
fixes #10749
2015-12-16 12:55:41 +01:00
Eric Lippmann
8006090108
Merge branch 'feature/theming-10705'
...
resolves #10705
2015-12-16 12:49:11 +01:00
Eric Lippmann
30124f384e
JS: Improve selector used in the selectable behavior
2015-12-16 12:48:02 +01:00
Eric Lippmann
755f361e4c
Add behavior for dropdown navigation items
...
Dropdown navigation is not yet accessible. The added behavior listens for activity on dropdown-navigation-item for toggling the CSS class active.
2015-12-16 12:48:02 +01:00
Eric Lippmann
12a39568b7
JS: Remove unused variable in sparkline behavior
2015-12-16 12:48:02 +01:00
Eric Lippmann
99f0a348c5
Disable transitions on page load
2015-12-15 13:29:30 +01:00
Eric Lippmann
5b898d5f3b
JS: Don't activate a menu item if only a part of the current URL matches
...
Else, navigating to user -> preferences -> navigation activates configuration -> shared navigation for example.
2015-11-20 09:39:53 +01:00
Eric Lippmann
583a4985c0
Add mobile menu
...
fixes #8999
2015-11-16 14:21:08 +01:00
Eric Lippmann
0cc54ce34b
Refresh session every 10 minutes
...
Quick and dirty fix.
fixes #10229
2015-11-16 14:19:33 +01:00
Eric Lippmann
fefdfe3d7b
JS: Reduce code for the sparkline behavior
...
refs #5543
2015-11-11 15:23:45 +01:00
Eric Lippmann
e1e1a535ee
JS: Remove unnecessary space in Navigation::onRendererd()
...
refs #5543
2015-11-10 09:31:52 +01:00
Eric Lippmann
68777b2b6a
JS: Don't use deprecated jQuery function size() in navigation.js
...
refs #5543
2015-11-09 16:44:37 +01:00
Eric Lippmann
70d7f7f669
JS: Fix doc of navigation::onRendered()
...
refs #5543
2015-11-09 16:44:19 +01:00
Eric Lippmann
bb432fcc68
JS: Use _this when saving a reference to this in Navigation::onRendered()
...
There a tons of places where we use self instead of _this. self is a global variable in modern browsers.
refs #5543
2015-11-09 15:55:23 +01:00
Thomas Gelf
ed69bd5d99
Tables: rename action-table to table-row-selectable
2015-11-04 15:39:35 +01:00
Johannes Meyer
68297f0630
Revert "loader.js: Do not push redirects to history"
...
This reverts commit e99cdb66ef
.
2015-10-02 11:46:44 +02:00
Johannes Meyer
8e94f3e58e
Revert "Revert "Fix logout loop (testing), #2""
...
This reverts commit 967c3552e5
.
2015-10-02 11:46:44 +02:00
Johannes Meyer
967c3552e5
Revert "Fix logout loop (testing), #2"
...
This reverts commit 6affad6895
.
2015-10-02 11:36:06 +02:00
Johannes Meyer
e99cdb66ef
loader.js: Do not push redirects to history
2015-10-02 11:36:06 +02:00
Matthias Jentsch
1c38fdd9c8
Fix control width
...
refs #5543
2015-10-01 18:24:51 +02:00
Eric Lippmann
3d2521abf0
Merge branch 'master' into feature/dope-layout-5543
2015-10-01 17:42:24 +02:00
Thomas Gelf
50e66810bf
events.js: do not disable inputs targetting...
...
...foreign containers. Otherwise they will remain unusable. A better
solution might be tracking source containers, but that would involve
some more work
fixes #10263
2015-10-01 15:10:01 +02:00
Matthias Jentsch
cb81916a2c
Support defining row actions that do not show up in any of the links
2015-10-01 14:54:01 +02:00
Eric Lippmann
6affad6895
Fix logout loop (testing), #2
...
Quick and dirty fix.
2015-10-01 10:50:33 +02:00
Eric Lippmann
5f7f0a9e89
Fix logout loop (testing)
...
If this commit breaks anyhting, feel free to revert it.
2015-10-01 10:30:18 +02:00
Eric Lippmann
51d6c61bf7
CSS: Re-add spinner for autosubmit
...
refs #5543
2015-10-01 01:59:56 +02:00
Eric Lippmann
231c63b703
Merge branch 'master' into feature/dope-layout-5543
2015-09-30 18:52:52 +02:00
Eric Lippmann
a932bad2dc
JS: Support rowaction on action-table
...
refs #5543
2015-09-29 18:05:49 +02:00
Eric Lippmann
301b0a8cc9
JS: Support actiontable behavior for action-table too
...
refs #5543
2015-09-28 17:27:33 +02:00
Eric Lippmann
d03647f2e6
JS: Rename dblclickselect to selectable
...
refs #9826
2015-09-28 15:44:25 +02:00
Eric Lippmann
2ff822c2ac
Merge branch 'master' into feature/ipv6-addresses-9645-9826
2015-09-28 13:09:30 +02:00
Johannes Meyer
a55cced039
Merge branch 'master' into feature/custom-menu-items-5600
...
Conflicts:
modules/monitoring/application/views/scripts/list/comments.phtml
modules/monitoring/application/views/scripts/list/downtimes.phtml
2015-09-25 14:12:43 +02:00
Johannes Meyer
f17c185aed
js: Improve logging when pushing history states
2015-09-25 14:08:10 +02:00
Johannes Meyer
67a28a4b47
js: Do not re-open the detail url if it's the origin of a redirect
...
refs #5600
2015-09-25 13:58:52 +02:00
Matthias Jentsch
1b6f5861b7
Highlight selected table rows in related actions
...
Allow declaring related controllers for action tables and highlight table rows based on the queries in links pointing to those actions.
fixes #10155
2015-09-16 15:31:53 +02:00
Matthias Jentsch
d00e854f4b
Remove unused code from old Chrome history workaround
...
refs #6277
2015-09-10 17:33:11 +02:00
Matthias Jentsch
a93481c362
Add missing documentation
2015-09-10 17:03:58 +02:00
Matthias Jentsch
8e554684af
Fix multi-selection in combination with anchors
...
refs #9844
2015-09-10 16:49:18 +02:00
Matthias Jentsch
a5351933fc
Merge branch 'master' into bugfix/url-anchors-not-working-9844
2015-09-07 16:11:36 +02:00
Matthias Jentsch
ef6debfa32
Allow selecting form elements in action table rows
...
fixes #10045
2015-09-07 11:27:46 +02:00
Matthias Jentsch
4e2595c09b
Fix history breaking on autorefresh
2015-08-28 16:06:07 +02:00
Matthias Jentsch
55521bf880
Add support for anchors in the main url
...
refs #9844
2015-08-28 14:16:27 +02:00
Johannes Meyer
31903b8da9
Revert "js: Use the last button instead of the first one for form submits"
...
This reverts commit fedda16bd4
.
fixes #10025
2015-08-28 10:28:55 +02:00
Matthias Jentsch
ef8ee3302b
Improve JS error handling
...
Refresh URL after loading erroring containers, when the user refreshes he expects to reload the page he just loaded and not the previous one.
2015-08-26 15:23:58 +02:00
Matthias Jentsch
53bc494c46
Prevent JS crashes in case of empty history
2015-08-26 11:50:04 +02:00
Matthias Jentsch
d88336dc39
Fix activating search items in navigation
...
Support activating search input fields in navigation.js,
improve setActiveByUrl to recognize search input urls.
refs #9761
2015-08-26 11:49:50 +02:00
Matthias Jentsch
6a43dd9e0e
Improve comments and clean up
2015-08-26 11:38:12 +02:00
Matthias Jentsch
a7a93803ee
Cleanup and conform to coding guidelines
2015-08-25 16:58:14 +02:00
Matthias Jentsch
96e3845f46
Improve handling of navigation on link closes
...
Do not drop active menu when closing the left column, unless there is a different active menu that matches the current state.
fixes #9761
2015-08-25 16:55:10 +02:00
Matthias Jentsch
47d8b45e6a
Store active menu item as HTML5 history state information
...
Introduce new interface to allow behaviors to handle state in the HTML5 history and adapt the behavior implementation.
refs #9761
2015-08-25 16:51:55 +02:00
Johannes Meyer
9ca278d7b2
Merge branch 'master' into feature/activity-indicators-for-form-submits-8369
2015-08-21 13:37:54 +02:00
Johannes Meyer
08aefe0b25
js: Allow buttons to animate themself
...
refs #8369
2015-08-21 13:28:35 +02:00
Johannes Meyer
d9855d8273
js: Fix that the fallback spinner is not utilized for auto submits
...
refs #8369
2015-08-20 16:55:03 +02:00
Johannes Meyer
736d715d8c
js: Allow to provide a fallback spinner for forms
...
refs #8369
2015-08-20 16:13:12 +02:00
Johannes Meyer
3f4221b249
js: Use a fixed with for form buttons once a form submit is ongoing
...
...and a progress label is set.
refs #8369
2015-08-20 15:32:31 +02:00
Johannes Meyer
7da8ad4e44
js: Show activity indicators for form submits
...
refs #8369
2015-08-20 14:44:49 +02:00
Johannes Meyer
fedda16bd4
js: Use the last button instead of the first one for form submits
...
refs #8369
fixes #9245
2015-08-20 14:40:05 +02:00
Johannes Meyer
e3d99cb00d
loader.js: Add support for ajax progress timer
...
refs #8369
refs #8848
2015-08-20 14:38:03 +02:00
Johannes Meyer
2fe3c6e5cf
events.js: Properly handle the default for param `autosubmit'
...
refs #8369
2015-08-20 14:36:55 +02:00
Matthias Jentsch
41d68f6a74
Fix delete comments and downtimes button
...
Fix faulty target names and add additional error checking in case the target DOM Element is not present.
fixes #9330
2015-08-19 16:36:47 +02:00
Matthias Jentsch
34bf6bb11e
Stop refresh on any error unless its an auto-refresh
...
Links with the same URL may still be user-triggered actions, which should cause the auto-refresh to be stalled. The old implementation assumed that user-triggered requests always have a different URL.
fixes #8975
2015-08-18 16:47:45 +02:00
Matthias Jentsch
0c2afe3c3b
Clean up and conform to coding guidelines
2015-08-18 16:47:45 +02:00
Matthias Jentsch
7c7881659d
Always replace requests in loader by non-GET requests
...
Fix issue that caused form submits to be aborted when there's already a pending autosubmit for the same url.
fixes #9024
2015-08-18 11:42:43 +02:00
Matthias Jentsch
2541b0eba4
Restore hover menu on reload
...
Remember the hovered menu and restore it on each reload.
fixes #8969
2015-08-18 11:42:42 +02:00
Johannes Meyer
a6fb3d59f8
js: Disable text selection for multiselect tables only
2015-08-17 16:06:23 +02:00
Matthias Jentsch
6ba86619bc
Assure that the history is updated when calling 'rendered'
...
fixes #9819
2015-08-11 17:41:24 +02:00
Matthias Jentsch
737521e921
Fix browser history hanging when both panes are pointing to the same site
...
fixes #9040
2015-08-11 14:14:05 +02:00
Johannes Meyer
0468bddc83
js: Ensure that rendered events of modules are called on page-load
...
fixes #9869
2015-08-10 14:46:58 +02:00
Johannes Meyer
6d24e09479
events.js: Some code style fixes in function applyHandlers
...
refs #9869
2015-08-10 13:24:59 +02:00
Johannes Meyer
d09ad2641f
Remove CSS rule for class "timesince"
...
It's not used anywhere.
2015-08-10 13:22:05 +02:00
Johannes Meyer
b8b649f179
js: Require a container in ui.focusElement()
...
refs #8615
2015-08-06 13:08:36 +02:00
Johannes Meyer
153f3ba2f9
js: Drop function events.handleAnchor() and ui.scrollContainerToAnchor()
...
There is ui.focusElement() now which handles ids as well.
refs #8615
2015-08-06 11:51:57 +02:00
Johannes Meyer
bdc61a5f62
js: Introduce new function ui.focusElement()
...
refs #8615
2015-08-06 11:49:16 +02:00
Johannes Meyer
5c80486b23
js: Properly handle anchor tags with names
...
refs #8615
2015-08-06 10:58:15 +02:00
Johannes Meyer
de24f5f4b6
Revert "js: Do not handle anchor jumps, the browser is able to do it by itself"
...
This reverts commit 5ccd4a9ef8
.
refs #8615
2015-08-06 10:57:41 +02:00
Johannes Meyer
5ccd4a9ef8
js: Do not handle anchor jumps, the browser is able to do it by itself
...
refs #8615
2015-08-06 10:24:56 +02:00
Alexander Fuhr
3d846ea270
js/actiontable: Fix the wrong parentheses encoding in multiselect
...
fixes #9347
2015-08-04 16:49:35 +02:00
Alexander Fuhr
ebd103f7ee
js/icinga/utils: Implement fixedEncodeURIComponent method
...
* FYI: https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/encodeURIComponent
refs #9347
2015-08-04 16:49:35 +02:00
Markus Frosch
083900dae0
Implement DblClickSelect as a Icinga Behavior
...
refs #9826
2015-08-04 14:06:33 +02:00
Matthias Jentsch
6db79a72d5
Display the rows in the auth backend configuration as active without any delay
...
refs #8623
2015-07-29 15:21:29 +02:00
Matthias Jentsch
3a85dc7f39
Display the table on single-selection rows as active without any delay
...
refs #8623
2015-07-29 14:32:26 +02:00
Matthias Jentsch
84f35bc79a
Fix last push url in history
...
Fix issue in history that caused some states to be swallowed by pushUrl, after going back and then trying to update to the previous state.
2015-07-29 12:34:49 +02:00
Matthias Jentsch
ecdc03a2d7
Fix selection lost after pushing refresh
...
Remove old row action code that interfered with action table behavior.
refs #8623
2015-07-29 11:41:53 +02:00
Matthias Jentsch
1de1f119d6
Fix range selection in IE
...
Cancel selectstart event on all selectable rows in the action table.
fixes #8768
2015-07-28 17:54:08 +02:00
Matthias Jentsch
cbb9ef10a2
Remove single selections correctly when going back in the history
2015-07-28 15:21:14 +02:00
Matthias Jentsch
8dbd671b0d
Conform to coding guidelines, update docstrings and cleanup unused code
...
refs #8623
2015-07-28 15:21:02 +02:00
Matthias Jentsch
f2d253f508
Assure that rows are refreshed correctly on reload
...
Assure that all links are initialized when the selection is applied after a request. Move action table code into the actiontable behavior.
refs #8623
2015-07-27 10:34:17 +02:00
Johannes Meyer
0f2351ff1d
js: Fix XHR loading of URLs in case window.FormData is not supported
...
refs #8758
2015-07-22 13:29:44 +02:00
Johannes Meyer
5e1ea958b4
js: Correctly process the redirectUrl-meta tag for successful frame uploads
...
refs #8758
2015-07-21 16:38:52 +02:00
Johannes Meyer
93fbb0231c
loader.js: Split processRedirectHeader() to allow partly reuse
...
refs #8758
2015-07-21 16:37:21 +02:00
Johannes Meyer
9471c3c574
js: Make use of the _frameUpload parameter when submitting a form..
...
..to an iframe. This ensures that stuff like notifications are immediately
visible to the user after successful form submission.
refs #8758
2015-07-21 15:43:47 +02:00
Johannes Meyer
570dada0d8
js: Manually submit the form if it's being automatically submitted...
...
...in case we're submitting a multipart/form-data form using the iframe
fallback. The form wouldn't be submitted otherwise.
refs #8758
2015-07-21 14:15:12 +02:00
Johannes Meyer
37b87eb284
js: Add fallback in case XHR file uploads are not possible
...
refs #8758
2015-07-20 10:52:28 +02:00
Johannes Meyer
95bcb95cb5
events.js: Prevent default form submission as late as possible
2015-07-20 10:13:48 +02:00
Johannes Meyer
6d4d99aa62
js: Use window.FormData instead of just FormData
...
refs #8758
2015-07-15 15:49:34 +02:00
Johannes Meyer
c1d9cde312
js: Properly submit multipart/form-data
...
This is not IE <10 compatible. Fix follows. ;-)
refs #8758
2015-07-15 15:25:40 +02:00
Johannes Meyer
3098c21c17
loader.js: Push failed requests to history
...
The commit ae68e8aec4
reverted
earlier seems to be supposed to do exactly what this one does now.
Prior, the commits ae68e8aec4
and
8bb0e4e0a0
were effectively
neutralizing each other. Quick tests of how Web 2 handles failing
requests while interacting with the browser's history were successful.
If this change breaks something else (again?), leave me a note and do
*not* fix it straight away..
2015-07-06 16:56:44 +02:00
Johannes Meyer
b4fe91bb2f
Revert "Ajax onFailure: Write component URL to container"
...
This reverts commit ae68e8aec4
.
fixes #9042
fixes #9544
2015-07-06 16:43:49 +02:00
Matthias Jentsch
aecfb2eb97
Merge branch 'bugfix/multiselection-not-visible-9054'
...
fixes #9054
fixes #9346
2015-06-30 14:08:19 +02:00
Matthias Jentsch
6a7e3fe440
Document multi selection and use clearer names
...
refs #9054
2015-06-30 13:03:41 +02:00
Matthias Jentsch
975a834bd4
Remove unused code and clean up
2015-06-30 12:28:41 +02:00
Matthias Jentsch
e0d588cda3
Fix look and feel of row selection
...
Always refresh all tables on render and click events, to display or remove active rows without any delay.
refs #9054
refs #9346
2015-06-30 11:53:38 +02:00
Matthias Jentsch
96677fb6c7
Fix selection when clicking on regular links
...
refs #9054
refs #9346
2015-06-29 18:51:32 +02:00
Matthias Jentsch
aec59d9941
Use current filter to highlight active rows instead of storing active rows in JS
...
Clean up selection code and move it into separate behavior and parse filter query to fetch selectable rows.
refs #9054
refs #9346
2015-06-29 18:48:42 +02:00
Johannes Meyer
ebe144c16a
Form: Do not encode actions twice
2015-06-24 16:15:45 +02:00
Thomas Gelf
cd70c27519
Merge remote-tracking branch 'origin/master' into feature/refine-ui-for-rc1-9361
2015-06-18 15:18:42 +02:00
Thomas Gelf
7ee192e774
fullscreen: no more fixes controls and padding
2015-06-18 13:41:12 +02:00
Thomas Gelf
2f62a4383a
Layout: add showFullscreen parameter
...
refs #6729
2015-06-18 13:41:12 +02:00
Thomas Gelf
55dd3747f7
notifications: remove on click
...
This allows one to get rid of them faster in case access to the
underlying content is needed
2015-06-18 13:29:47 +02:00
Thomas Gelf
09c0ebcacd
list/services: flip host/service for readability
...
Re-allow table.action to manually choose row action link if it should not
be the first one. This existed once but got lost.
2015-06-16 02:36:53 +02:00
Johannes Meyer
cd0c418854
Merge branch 'master' into feature/user-and-group-management-8826
2015-06-02 10:44:13 +02:00
Eric Lippmann
1bfbce98ac
Disable all form controls on submit to prevent resubmission
...
fixes #7151
2015-05-28 13:17:00 +02:00
Johannes Meyer
ec556edc65
Merge branch 'master' into feature/user-and-group-management-8826
2015-05-26 09:28:35 +02:00
Johannes Meyer
88f5bb8368
js: Relax check whether to switch to single column layout upon redirect
...
This fixes the problem when redirecting from a form using the same route
as in the leftmost column but with a different querystring, that one gets
the same route shown twice.
2015-05-22 16:54:59 +02:00
Eric Lippmann
54577d04bd
Merge branch 'master' into bugfix/time-formatting-6778
...
Conflicts:
modules/monitoring/application/views/scripts/list/comments.phtml
modules/monitoring/application/views/scripts/list/hostgroups.phtml
modules/monitoring/application/views/scripts/process/info.phtml
modules/monitoring/application/views/scripts/show/components/downtime.phtml
modules/monitoring/application/views/scripts/show/components/notifications.phtml
modules/monitoring/public/css/module.less
2015-05-21 14:57:01 +02:00
Eric Lippmann
1e9337846a
ui: Fix refreshing partial time counters
...
refs #6778
2015-05-21 10:16:54 +02:00
Matthias Jentsch
54207d3427
Revert "Abort pending AJAX requests before page unload"
...
This reverts commit 94bdb8b4b0
. After the patch, Firefox shows an error message on each reload for an unknown reason.
refs #7759
2015-05-19 17:06:22 +02:00
Matthias Jentsch
94bdb8b4b0
Abort pending AJAX requests before page unload
...
Abort all pending requests before the page unload, to avoid confusing error messages during page reloads. Avoid rendering the site unusable in cases where the site is still being used after the beforeunload event.
fixes #7759
2015-05-19 16:35:44 +02:00
Matthias Jentsch
7c8ff44fd1
Fix comment and downtime list inline forms
...
refs #8903
refs #8902
2015-05-07 10:59:37 +02:00
Johannes Meyer
da7aa23820
Merge branch 'master' into bugfix/make-all-views-dashboard-compliant-7876
2015-04-20 15:20:23 +02:00
Johannes Meyer
5196f16bde
Do not forcibly hide controls in the dashboard
...
Our views respect view=compact now entirely so there is no need for such
a generic "solution" since it also prevents some views from being
completely displayed in the dashboard such as the host, service and
contact detail view.
refs #7876
2015-04-20 13:06:45 +02:00
Matthias Jentsch
ce6be0cc0f
Only use JS tooltips when non-native tooltip behavior is required
...
Only display JS tooltips when there are specific requirements for delay, there is a specific alignment or HTML markup can be rendered in the tooltip.
fixes #9025
2015-04-20 11:21:10 +02:00
Johannes Meyer
54a370ca22
Merge branch 'master' into bugfix/make-all-views-dashboard-compliant-7876
2015-04-20 11:15:04 +02:00
Thomas Gelf
ae7d679a6a
Revert "Do not destroy all global on mailto link clicks"
...
This reverts commit 16b9c73436
.
As I already mentioned, this re-introduces the problem that you'll
get ugly "lost connection to web server" notifications. Easiest way
to reproduce this: click your browsers reload button while a request
is pending - or just click reload a couple of times while showing the
dashboard.
refs #7759
2015-04-16 21:01:08 +02:00
Matthias Jentsch
6898a4e0d5
Display icon tooltips without delay
...
Original functionality was broken when changing the icon library.
2015-04-16 18:32:47 +02:00
Matthias Jentsch
f07c0d83e8
Add option to change tooltip settings from data attributes
...
refs #9025
2015-04-16 18:32:47 +02:00
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 ea2a17a76c
, reversing
changes made to e72de8dfe1
.
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 338d067aba
.
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 8c758a9f12
.
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 618ab4f4b9
.
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 d1f13819e4
.
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 c0c0e7d9e5
.
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
Marius Hein
6ec2ee753d
Render error messages in the container itself
...
fixes #6280
2015-01-30 14:50:25 +01:00
Marius Hein
4abb30e55b
Merge branch 'master' into bugfix/ie8-fixes-6417
2015-01-28 17:08:56 +01:00
Johannes Meyer
618ab4f4b9
Introduce link target "_right" to keep a column with tabs rightmost
...
I'd have liked to get it to work that in case the tab control is not in the
rightmost column a "go back" in the history is being simulated causing
the preceding leftmost column(s) to be restored and the rightmost one
set to the one containing the tab control. But the history api does not
seem to support any read operations except for the current state..
refs #6436
2015-01-28 14:21:06 +01:00
Marius Hein
7ef86ddf49
Navigation: Bypass error-prone hover selector for IE8
...
refs #6417
2015-01-28 13:19:49 +01:00
Matthias Jentsch
3d07049fbf
Re-render menu item after setting class to active
...
Force the browser to re-render the menu item, to update the link layout immediately
by recreting the content html.
fixes #7897
2014-12-29 16:21:10 +01:00
Matthias Jentsch
cda5a6a903
Streamline chart implementation
...
Define sparkline layout through CSS class and remove label/tooltip formatting.
fixes #7077
2014-12-23 15:26:45 +01:00
Matthias Jentsch
64a2acd12e
Do not display labels for single data sets in perfdata piecharts
...
Display generic chart titles for the whole piechart that only contain title and percentage and don't style perfdata piecharts using HTML properties.
refs #7077
refs #6200
refs #7304
2014-12-23 15:14:17 +01:00
Marius Hein
b0382da5fe
JS/submitForm: Choosing the right submit button in FF
...
refs #7751
2014-11-20 11:07:10 +01:00
Johannes Meyer
f64b3c1439
Fix that the current page of our list view pagination is not being highlighted
...
fixes #7492
2014-11-14 11:58:29 +01:00
Alexander Fuhr
6ee0c218e9
Remove debug `console.log()' from `provideSelectionCount()'
...
refs #7654
2014-11-14 10:18:47 +01:00
Alexander Fuhr
540a8c7aa4
Fix hint counter on unselect the last row
...
refs #7654
2014-11-14 10:17:23 +01:00
Alexander Fuhr
46df428e28
Add selection count hint in grids with help for hosts and services
...
refs #7654
2014-11-13 12:50:39 +01:00
Johannes Meyer
f7d168c80f
Fix that FireFox < v33 is unable to find the button that got the focus
2014-11-07 14:22:03 +01:00
Johannes Meyer
170ded6510
Merge branch 'master' into feature/setup-wizard-7163
...
Conflicts:
library/Icinga/Authentication/Backend/LdapUserBackend.php
library/Icinga/File/Ini/IniWriter.php
2014-11-04 14:22:53 +01:00
Thomas Gelf
95f9bebdc5
js/loader: support multi-container redirection
...
Redirections to #!-separated URLs (multiple containers) should also
work when not re-rendering the whole layout.
2014-11-01 01:23:55 +01:00
Thomas Gelf
6298d303c4
js/loader: trigger 'beforerender' container event
2014-11-01 01:12:59 +01:00
Thomas Gelf
f25f4f06d8
js/loader: disable click handler block on refresh
...
This used to be ways too slow when many elements where involved. Left
the old code there as a reminder. In case we really need it we should
use something faster like an overlay or so.
2014-11-01 01:11:12 +01:00
Johannes Meyer
9f127be1dc
Merge branch 'master' into feature/setup-wizard-7163
...
Conflicts:
application/forms/Config/General/LoggingConfigForm.php
2014-10-17 13:04:59 +02:00
Matthias Jentsch
6124f984ee
Adjust scroll position on container after triggering the 'rendered' event
...
Prevent behaviors from altering the current scroll-position on page reload when refreshing or changing the focus.
fixes #7269
2014-10-14 15:50:15 +02:00
Johannes Meyer
62544111ff
Fix that when pushing ENTER in a form with just <buttons> no button is sent
2014-10-09 13:42:15 +02:00
Matthias Jentsch
ee63dfd310
Update navigation when the url of the main column changes
2014-10-01 17:47:21 +02:00
Matthias Jentsch
ec9e9e8dfb
Get correct navigation link id on first render
2014-10-01 16:49:30 +02:00