lippserd
27867494ff
Merge pull request #2798 from towolf/suspend-autorefresh-when-invisible
...
Disable auto-refresh when page is not visible
2017-11-06 09:48:31 +01:00
Jennifer Mourek
3a8ba39abd
Disable auto-refresh when page is not visible
...
credits to @towolf
Icinga offers the user to enable or disable 'auto-refresh' with a
static preference.
But 'auto-refresh' is the default and our users often have dozens of
Icinga tabs open in their browser, which they are not looking at.
The background tabs lead to significant load on the database to to
repeated queries to keep the invisible UI fresh.
This change adds a visibility listener, which disables auto-refresh when the
page is not visible.
refs #2761
2017-10-26 13:53:25 +02:00
Florian Strohmaier
aab32214d6
JS: Close menu correctly after searching on iOS
...
fixes #2922
2017-09-21 17:52:51 +02:00
Eric Lippmann
fe12ed05e3
Fix menu height when switching back from mobile layout
...
Fixes #2841
2017-07-28 13:44:21 +02:00
Alexander A. Klimov
cb2093513a
Icinga.Timer: use setTimeout() instead of setInterval()
...
refs #11693
2017-02-10 10:14:14 +01:00
Michael Friedrich
08a82daea3
Update to icinga.com
...
refs #2687
2017-01-18 12:04:43 +01:00
Florian Strohmaier
e56b568050
Merge branch 'master' of git.icinga.org:icingaweb2
2016-12-13 13:53:53 +01:00
Florian Strohmaier
14b325aff4
Fix header height when announces shown
2016-12-13 13:53:23 +01:00
Eric Lippmann
08571ce01c
Fix exception in navigation.js
2016-12-13 13:31:46 +01:00
Florian Strohmaier
f0bc12d2c0
Fix jumping header when reloading
...
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2016-12-13 12:14:01 +01:00
Eric Lippmann
e030229d7f
Fix CSS issues when rerendering the layout
...
fixes #13467
2016-12-12 15:02:51 +01:00
Eric Lippmann
67e41af308
Fix navigation behavior not clearing active items properly
2016-12-12 15:02:28 +01:00
Eric Lippmann
aa559c4636
Merge branch 'bugfix/actiontable-row-handling-13115'
...
fixes #13115
2016-12-09 13:49:27 +01:00
Eric Lippmann
626afbd5ec
Merge branch 'bugfix/always-use-the-jquery-find-method-w/-node-context-10704'
...
fixes #10704
2016-12-08 17:15:02 +01:00
Eric Lippmann
177d4c770d
JS: Optimize navigation behavior by using the #menu selector for the onRendered event
...
refs #10704
2016-12-08 16:56:25 +01:00
Eric Lippmann
eef982f3c3
Don't stop auto-refresh when a form button has focus
2016-12-08 10:40:22 +01:00
Eric Lippmann
39c7451664
Implement announcements
...
refs #11198
2016-11-29 15:24:34 +01:00
Eric Lippmann
e9e66930d5
Remove obsolete dropdown methods from the navigation behavior
2016-11-28 12:13:10 +01:00
Florian Strohmaier
bd5a2ebaa3
Move status summary in the host and service list views to the bottom of the page
...
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2016-11-24 10:42:14 +01:00
Eric Lippmann
875d42c0a6
Revert "Merge branch 'bugfix/always-use-the-jquery-find-method-w/-node-context-10704'"
...
This reverts commit f517c62fde
, reversing
changes made to d1fd7e4be7
.
refs #10704
2016-11-21 14:34:58 +01:00
Eric Lippmann
f517c62fde
Merge branch 'bugfix/always-use-the-jquery-find-method-w/-node-context-10704'
...
fixes #10704
2016-11-21 14:33:43 +01:00
Thomas Gelf
d1fd7e4be7
loader.js: place focus at the end of text inputs
2016-11-21 11:39:03 +00:00
Alexander A. Klimov
3363e6795f
JS: use $(parent).find(child) instead of $(child, parent)
...
refs #10704
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2016-11-21 10:46:31 +01:00
Thomas Gelf
ce6fa235cb
js/loader: do not steal focus placed by module
2016-11-16 10:49:28 +00:00
Thomas Gelf
0f58776b4e
actiontable: gracefully clear and improve...
...
...state preservation
refs #13115
2016-11-16 09:38:44 +00:00
Jennifer Mourek
3338040952
actiontable.js: Update row counter when detail area is closed
...
refs #10691
2016-10-28 08:08:42 +02:00
Eric Lippmann
118c435bc5
JS: Fix usage of global variable self used to reference icinga in events.js
...
refs #10703
2016-09-09 13:22:10 +02:00
Eric Lippmann
7e47a2965c
JS: Fix usage of global variable self used to reference icinga in loader.js::onComplete()
...
refs #10703
2016-09-09 13:22:08 +02:00
Alexander A. Klimov
cf5e26c56c
Avoid local variable name `self' in ui.js
...
refs #10703
2016-09-01 16:32:31 +02:00
Alexander A. Klimov
4f52beb32a
Avoid local variable name `self' in module.js
...
refs #10703
2016-09-01 16:30:01 +02:00
Alexander A. Klimov
56c10ffdd5
Avoid local variable name `self' in loader.js
...
refs #10703
2016-09-01 16:28:57 +02:00
Alexander A. Klimov
e726f10e68
Avoid local variable name `self' in history.js and timer.js
...
refs #10703
2016-09-01 16:16:55 +02:00
Alexander A. Klimov
3c43d38171
Avoid local variable name `self' in events.js
...
refs #10703
2016-09-01 16:16:55 +02:00
Alexander A. Klimov
4e2c626ae0
Avoid local variable name `self' in eventlistener.js
...
refs #10703
2016-09-01 16:16:49 +02:00
Alexander A. Klimov
060a82fa4a
Avoid local variable name `self' in tooltip.js and tristate.js
...
refs #10703
2016-09-01 15:58:32 +02:00
Alexander A. Klimov
0d7f8148de
Avoid local variable name `self' in navigation.js
...
refs #10703
2016-09-01 15:49:39 +02:00
Alexander A. Klimov
0059622bba
Avoid local variable name `self' in form.js
...
refs #10703
2016-09-01 15:42:54 +02:00
Alexander A. Klimov
311fd36326
Avoid local variable name `self' in actiontable.js
...
refs #10703
2016-09-01 15:21:45 +02:00
Alexander A. Klimov
f72411c628
Avoid local variable name `self' in icinga.js
...
refs #10703
2016-09-01 15:09:50 +02:00
Johannes Meyer
1993ae2ed2
js: Fix that the menu is not reloaded in case no search is available
...
fixes #12541
2016-08-25 08:54:04 +02:00
Eric Lippmann
cefdc496ef
Forms: Remember submit from click event before
...
This helps Safari to determine the correct clicked or pressed submit button in case the form has more than one.
2016-06-27 10:41:16 +02:00
Alexander A. Klimov
4a78fa6a66
List views: handle clicks on mailto: and http:// links as expected
...
refs #11267
2016-06-02 10:43:34 +02:00
Marc DeTrano
621c0dbcad
Support data URIs in href
...
resolves #11495
Signed-off-by: Eric Lippmann <eric.lippmann@netways.de>
2016-04-13 12:59:09 +02:00
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