Thomas Gelf
cf6f1f8bf4
icinga/loader.js: play nice with invalid responses
...
Even responses with no HTML or no root node or similar must be rendered
successfully to their containers.
2014-05-28 15:59:42 +00:00
Thomas Gelf
886c8b1231
js/notifications: fixed target=ignore notification
...
Ongoing error handling cleanup silently dropped notifications for
requests with "invalid" target (e.g. commands not redirecting after
submission - they should not exist, but they do).
This is redundant code, but that's ok for now - response handling will
be restructured.
fixes #6327
refs #6280
2014-05-27 10:54:44 +00:00
Thomas Gelf
70ba36aad6
notifications: improve client- and serverside
...
This is just a first step, trying to catch a few gotchas:
* it doesn't send notifications to the browser when issueing a redirect
as redirects can currently not be catched in jQuery response handlers
* it tries to find a better notification handling place in the response
handler (JS) - still imperfect
* it explicitely stores sessions once modified by notifications. Still
need to crosscheck whether this is really needed and how we can get
rid of this.
refs #6280
2014-05-26 14:41:47 +00:00
Thomas Gelf
ce220c5ea7
sidebar/menu: menu should be scrollable
...
This allows us to scroll menus not fitting into available screen height.
Plays nice with menu hovering, however once you scroll down your menu
you'll temporarily disable the hover-menu-feature.
fixes #6283
2014-05-26 08:18:47 +00:00
Thomas Gelf
f32eab627a
js/forms: treat buttons like input-buttons
...
This fixes a few autosubmission-detection woes.
2014-05-20 23:55:18 +00:00
Thomas Gelf
194914917a
js/events: initialize only existing search field
...
Formlerly JS failed on layouts without menu, should be fixed now.
2014-05-20 21:55:32 +00:00
Thomas Gelf
ad91c420a0
js/loader + css: highlight containers loading slow
...
I missused the "impact" CSS class for this as it perfectly fit's this
use case. A container loading slow IS an impact. Added CSS transitions,
this way it feels better on modern browsers. The longer it takes to
load a page the darker will get it's background.
2014-05-20 14:58:58 +00:00
Thomas Gelf
de0b97b4ca
js/events: improve search field change detection
...
This used to be nasty since "search" is the field with the initial
focus. Right now we detect "real" changes, this might be implemented
in a more generic way for all autocompleting fields later on.
2014-05-20 14:07:19 +00:00
Thomas Gelf
67144407e6
js/events: do temporarily not respect tab focus
...
This has been added for keyboard navigation but caused some trouble.
Postponed for now.
2014-05-20 14:05:30 +00:00
Thomas Gelf
79d3f18b66
js/ui: remove hardcoded/duplicated with/height
2014-05-20 14:03:33 +00:00
Thomas Gelf
03e8ba88e4
Restore click behaviour for table links and rows
...
Multiselect handlers should influence only multiselect tables. Still
unhappy with current behaviour, but links should work fine right now.
refs #6162
2014-05-09 14:53:34 +00:00
Thomas Gelf
cf82ac68cc
Improve console log message on errors like 404
...
Former '404 Not found' plus weird HTML snippet is now: '404 Not Found:
Page not found. Enabling the "bpapp" module might help!'
2014-05-09 12:08:38 +00:00
Thomas Gelf
19220a5a44
Initial "click" handling for dropdown tabs
...
Still uncomplete, there are a number of edge cases that need to be
handled. Keyboard navigation is one of them, hover/click distinction
is another one.
refs #6167
2014-05-09 11:49:15 +00:00
Thomas Gelf
23679c0078
Completely ignore remote links
...
There are no issues with "returning true" so this should be the
preferred way. No need to fall back on "window.open" here.
fixes #6159
2014-05-09 11:41:18 +00:00
Thomas Gelf
e70ca26427
Detect and handle remote links
...
Currently they trigger XHR requests if not given a special target.
fixes #6159
2014-05-09 11:04:00 +00:00
Thomas Gelf
2a28e60bb7
Do not change browser title on autorefresh
...
fixes #6168
2014-05-09 10:13:49 +00:00
Matthias Jentsch
d0c56126b8
Fix inline pie reload.
...
refs #6124
2014-05-07 17:03:27 +02:00
Johannes Meyer
c711e3405d
Fix cli default log configuration and js-loader debug message
2014-05-05 16:17:21 +02:00
Johannes Meyer
08260866df
Fix navigating by anchor results in an empty detail view being opened
...
fixes #5871
2014-04-28 16:06:03 +02:00
Matthias Jentsch
661dbea740
Fix query that finds the nearest container of a table row and stores it.
2014-04-28 09:48:06 +02:00
Matthias Jentsch
c641988233
Preserve multiselection during refresh
...
refs #5765
2014-04-28 09:48:06 +02:00
Matthias Jentsch
b791883fa8
Fix configuration checkboxes and colors in piecharts
...
refs #5765
2014-04-28 09:48:06 +02:00
Matthias Jentsch
b16c6efa05
Add PieChart to display hosts and services, improve layout and fix flag
...
checkboxes
refs #5765
2014-04-28 09:48:06 +02:00
Matthias Jentsch
081b5072a6
Fix layout of MultiController views
...
refs #5765
2014-04-28 09:48:06 +02:00
Matthias Jentsch
cb630d45ad
Fix issues issues with javascript multiselection
...
refs #5765
2014-04-28 09:48:05 +02:00
Matthias Jentsch
3b2bb3c4fc
Move functions to perform single, multi and range-selection into the ui module
...
refs #5765
2014-04-28 09:48:05 +02:00
Matthias Jentsch
6d303f1c42
Add abillity for multi and range-selection to events.js
...
Add the abillity to select multiple rows, with a multi-selection using the
CTRL-key or a range-selection using the shift-key. Also fix several issues in
the Multi-Controller of the Backend.
refs #5765
2014-04-28 09:48:05 +02:00
Thomas Gelf
649ebef287
One thing less TODO, had already been fixed two lines below
2014-04-17 16:24:40 +00:00
Johannes Meyer
80b4e3bf33
Add infinite scrolling to the timeline
...
refs #4190
2014-04-01 11:46:44 +02:00
Johannes Meyer
7440d61189
Allow target being extended by Icinga.Loader.loadUrl
2014-04-01 11:46:44 +02:00
Johannes Meyer
758fd06cfe
Trigger 'rendered' event also on page loads
2014-04-01 11:46:44 +02:00
Thomas Gelf
9b79a8280f
Blacklist special params in history and do not trigger change on page load
2014-03-31 16:24:29 +00:00
Thomas Gelf
d0fd25d4ef
Extend module event handler capabilities, allow for easier use
...
* introduce 'rendered' event for modules
* use this.module.on() instead of registerEventHandlers()
* no CSS filter creates event handlers on module containers
2014-03-31 08:38:00 +00:00
Thomas Gelf
afc905f090
Improve class handling on container module switch
2014-03-28 19:57:24 +00:00
Thomas Gelf
ce1e4a73eb
Remove hove menu slightly faster
2014-03-28 19:57:04 +00:00
Thomas Gelf
234bdbd46b
Remove siblings hover-menu when moving over active entry
2014-03-28 15:34:08 +00:00
Thomas Gelf
a5e41f6c08
Detect form button in JS form submission handler
2014-03-28 14:53:37 +00:00
Thomas Gelf
0c9695992f
Fine-tune hoverable menu
2014-03-27 19:55:19 +00:00
Thomas Gelf
fa903e10b6
Add menu hover support
2014-03-27 19:39:04 +00:00
Thomas Gelf
fdc39189aa
Fix naming error in last commit
2014-03-26 18:18:00 +00:00
Thomas Gelf
1f6616e7d7
Remove autorefresh data flag for containers no longer refreshing
2014-03-26 18:14:29 +00:00
Thomas Gelf
4b47841dc2
I hate flickering search result, fixed one more time
2014-03-26 18:01:20 +00:00
Matthias Jentsch
15723f088b
Include SVG piecharts in perfData helpers
...
When no JavaScript is available, SVG piecharts will be shown instead of the
jQuery sparklines.
fixes #5865
2014-03-26 14:56:35 +01:00
Thomas Gelf
8d888b3396
Do not hammer web server on auto-refreshing failures
2014-03-26 10:35:45 +00:00
Thomas Gelf
632616671d
Log jQuery info at startup, fix JS reload
2014-03-26 10:30:45 +00:00
Thomas Gelf
e4c268ca92
Add legacy jQuery, we need it for IE8
2014-03-26 10:29:20 +00:00
Thomas Gelf
965ae4e5bb
Initial commit of icinga.reload, this allows as to replace JS at runtime
...
* Works only with minified JS right now as it loads only a single file file
2014-03-26 09:28:03 +00:00
Thomas Gelf
6e9ea3a5d1
Avoid flickering when replacing CSS
2014-03-26 09:26:37 +00:00
Thomas Gelf
070573b9c0
Fix event handler declaration accessing global icinga object
2014-03-26 09:25:57 +00:00
Thomas Gelf
c846c7c3f8
Check for constructor before trying to load module JS
2014-03-26 09:25:31 +00:00