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
Thomas Gelf
e28f7a05eb
Pass jQuery object to icinga/utils.js
2014-03-26 09:25:01 +00:00
Thomas Gelf
b54326bf5d
Improve form submission, make use of serializeObject
2014-03-26 07:48:22 +00:00
Thomas Gelf
8dbf7b0729
Allow IcingaWeb to trigger a browser-side CSS reload
2014-03-26 07:41:23 +00:00
Thomas Gelf
48913767d3
Add a serializeObject jQuery funtion
2014-03-26 07:40:41 +00:00
Thomas Gelf
ac90ccfd22
Activate menu search form on URL path match and ignore params
2014-03-25 12:30:05 +00:00
Thomas Gelf
36f31f9f02
Fix search form autosubmission and response handling
2014-03-25 12:13:42 +00:00
Thomas Gelf
e36fb2558e
Add JS helper extending url params
2014-03-25 12:11:39 +00:00
Thomas Gelf
d8c758056f
Fix UI controls AFTER detecting a layout change
2014-03-25 07:51:33 +00:00
Thomas Gelf
ff3d351c8f
Fix all ampersands before XHR-submitting a form
2014-03-25 07:44:24 +00:00
Thomas Gelf
4ce35b5b95
Delay tab dropdown disappearance
2014-03-24 09:22:20 +00:00
Thomas Gelf
01f94c574d
Handle window-id requests, allowing us to identify distinct windows
2014-03-21 13:27:44 +00:00
Thomas Gelf
8a7ac587d9
Get rid of hardcoded target for action-tables
2014-03-21 10:27:46 +00:00
Thomas Gelf
e8a783a44a
Better JS link target detection, fix a few edge cases
2014-03-20 15:41:36 +00:00
Thomas Gelf
e1de4e384a
Rudimentary anchor name escaping
2014-03-20 14:07:43 +00:00
Thomas Gelf
edc3deeec8
Handle anchors in links
2014-03-20 11:25:10 +00:00
Thomas Gelf
9561096f4a
Take care of module JS respecting recent module container changes
...
* Also improves generic tree behaviour
2014-03-20 09:58:28 +00:00
Thomas Gelf
77e88b24dd
Merged old bug, sorry
2014-03-17 16:34:37 +00:00
Thomas Gelf
a8cecfa162
Shorten tree-specific event handler
2014-03-17 16:17:10 +00:00
Thomas Gelf
e0c93d6ca7
JS cleanup
...
* Precedence rules: skip autorefresh if click is pending
* Clean up the attr VS data mess
* More steps towards a column-count-ignorant GUI
2014-03-17 17:10:03 +01:00
Thomas Gelf
2febbdd7d5
One more safety measure for IEs weird way of providing a JS console
2014-03-17 17:06:31 +01:00
Thomas Gelf
f1f1813b04
Activate only the first match if multiple menu items carry the same URL
2014-03-12 00:44:30 +01:00
Thomas Gelf
e0be89a1dc
Apply history also on page load
2014-03-10 14:48:40 +00:00
Thomas Gelf
347186e282
No automagic button for autosubmitted form
2014-03-09 23:38:55 +01:00
Thomas Gelf
fcd05dfe81
Improve click/site behaviour
2014-03-09 23:30:37 +01:00
Michael Friedrich
0598930b09
Fix minus null minutes again.
2014-03-09 22:27:36 +01:00
Michael Friedrich
ef73bb13d3
Refactor timeUntil for negative values.
2014-03-09 22:19:05 +01:00
Thomas Gelf
ee01b28646
Replace tabs with whitespaces
2014-03-09 21:16:56 +01:00
Michael Friedrich
2883fa0bd0
Fix JS Time unless counter.
...
There is still a small glitch with the global refresh of 10s
sometimes setting an empty string for next_check.
Try check_interval = 5s with Icinga 2.
2014-03-09 20:27:10 +01:00
Thomas Gelf
bd0c36ad7a
Allow to enable / disable running counters with a simple JS call
2014-03-09 18:02:12 +01:00
Thomas Gelf
f31e697d72
Handle _blank and similar links in JS as 'return true' seems unreliable
2014-03-09 00:58:49 +01:00
Thomas Gelf
959967c646
Fix logout button "sometimes not working" and similar
2014-03-08 23:58:19 +01:00
Thomas Gelf
a03f24b7ed
Temporary fix for 1px issue with controls header on FF
2014-03-08 20:07:00 +01:00
Thomas Gelf
09e2055df4
Lower history API log level as it works fine right now
2014-03-08 18:36:15 +01:00
Thomas Gelf
485222492b
Removed on noisy chatter from JS debug
2014-03-08 17:21:39 +01:00
Thomas Gelf
ac0980b111
Just comments
2014-03-08 16:20:30 +01:00
Thomas Gelf
227b65558c
Move link / form action target detection to one central place
2014-03-08 15:25:10 +01:00
Thomas Gelf
8de42139d3
Move layout functions to ui.js
2014-03-08 15:08:03 +01:00
Thomas Gelf
7e2d6cd5c2
ui.js indentation
2014-03-08 15:04:09 +01:00
Thomas Gelf
415193f9de
Just a comment
2014-03-08 15:01:57 +01:00
Thomas Gelf
62dd827ce2
Cleanup, shorten and document the onClick event handler
2014-03-08 14:53:17 +01:00
Thomas Gelf
d1c5e6da14
Sorry, no default values for JS functions
2014-03-08 12:17:56 +01:00
Thomas Gelf
71aea4dfc7
Responses with not output (container: ignore) must of course be handled in JS
2014-03-08 12:07:49 +01:00
Thomas Gelf
269b93432d
Clean up button click handler on JS destroy
2014-03-07 23:39:06 +00:00
Thomas Gelf
d21a356a0b
Handle notifications on client side (JS)
2014-03-07 23:19:02 +00:00
Thomas Gelf
d60d3d4193
Event handler for form buttons, overrides table actions etc
2014-03-07 17:12:44 +00:00
Thomas Gelf
097d3a94a4
JS "impact" handling needs improvement, first step here
2014-03-06 18:53:31 +00:00
Thomas Gelf
833bf69e6d
UI: Right column cleanup on layout switch
2014-03-06 15:06:58 +00:00
Alexander Klimov
1ef5d5adaf
JS hotfix
2014-03-06 13:36:27 +01:00
Alexander Klimov
b410ebeed6
Remove unnecessary spaces at end of line
2014-03-06 13:08:11 +01:00
Alexander Klimov
a3ce5f2e52
JS hotfix
2014-03-06 13:01:52 +01:00
Alexander Klimov
d2ec3c9509
Re-design configuration interface
...
Conflicts:
public/js/icinga/events.js
2014-03-06 12:32:55 +01:00
Thomas Gelf
6286e15441
HistoryColorGrid events should be "live"
2014-03-06 09:47:53 +00:00
Thomas Gelf
f8540d079c
Relax hardcoded link target detection, more TBD
2014-03-06 09:42:29 +00:00
Thomas Gelf
25032204ee
Reorder history logic
2014-03-06 09:41:22 +00:00
Thomas Gelf
3ad869ff23
Forgot to remove obsolete line in last commit
2014-03-06 09:39:51 +00:00
Thomas Gelf
180db36e6c
timeSince timer should always be on
2014-03-06 09:25:32 +00:00
Matthias Jentsch
819e7e9806
Implement Widget to display problems as matrix over time
...
refs #5703
2014-03-05 20:19:09 +01:00
Thomas Gelf
144a250954
Switch to jQuery 2.1. Fallback for IE8 is missing right now
2014-03-04 13:10:39 +00:00
Thomas Gelf
9a485df81a
Lot's of JS changes
2014-03-04 13:08:29 +00:00
Thomas Gelf
9531dbb869
$.classes helper function
2014-03-04 13:07:28 +00:00
Thomas Gelf
090974401c
Workaround for apply missing in IE console (native object vs function)
2014-03-04 13:06:12 +00:00
Thomas Gelf
927b0a7ae7
Less global stuff in helpers.js
2014-03-04 13:05:42 +00:00
Thomas Gelf
3cac42161b
History API, initial implementation
2014-03-04 13:05:01 +00:00
Thomas Gelf
57caacb93f
Merge branch 'feature/fanzzzy-5481' into feature/master-1
...
Conflicts:
application/controllers/AuthenticationController.php
application/controllers/ErrorController.php
application/views/scripts/authentication/login.phtml
library/Icinga/Application/ApplicationBootstrap.php
library/Icinga/Web/Controller/ActionController.php
library/Icinga/Web/Hook.php
library/Icinga/Web/Widget/Dashboard.php
2014-03-04 09:42:25 +00:00
Eric Lippmann
07d04628cf
Merge branch 'feature/installation-and-configuration-cleanup-5638'
...
Conflicts:
config/config.ini.in
library/Icinga/Application/ApplicationBootstrap.php
library/Icinga/Application/Cli.php
library/Icinga/Application/EmbeddedWeb.php
library/Icinga/Application/Logger.php
library/Icinga/Application/Modules/Manager.php
library/Icinga/Application/Web.php
library/Icinga/Authentication/Backend/DbUserBackend.php
library/Icinga/Authentication/Manager.php
library/Icinga/User/Preferences/IniStore.php
test/php/library/Icinga/Application/LoggerTest.php
2014-03-03 19:03:39 +01:00
Thomas Gelf
1d278617ab
Whatever your browser prefers, we want to unload Icinga if you leave
2014-02-21 14:05:28 +00:00
Thomas Gelf
a0e6a73ecc
Added sparkline support
2014-02-21 14:03:50 +00:00
Thomas Gelf
f20f27927d
Window unload event support for most browsers
...
* Also fixes "Webserver gone away" sometimes appearing on page reload
2014-02-21 14:03:50 +00:00
Thomas Gelf
072eda70c4
Better link target discovery, support _blank
2014-02-21 14:03:49 +00:00
Eric Lippmann
8f4d062cbc
JS/Dashboard: Initial XHRs must not push the URL loaded to the browser's history stack
2014-02-21 14:03:49 +00:00
Thomas Gelf
ed2b330843
A few JS files where missing
2014-02-21 14:03:49 +00:00
Thomas Gelf
c8c580bea0
Light new JS implementation, initial commit
2014-02-21 14:03:48 +00:00
Thomas Gelf
86ede29644
Removed URI.js, we will use a lighter implementation
2014-02-21 14:03:48 +00:00
Thomas Gelf
81444bdd3a
Removed freetile.js, history.js, html5shiv, scrollto, require.js, less
2014-02-21 14:03:48 +00:00
Thomas Gelf
c0a740ca9e
Removed legacy icinga JS
2014-02-21 14:03:48 +00:00
Thomas Gelf
a38a126d42
imagesLoaded is not used
2014-02-21 14:03:48 +00:00
Thomas Gelf
d33473134f
Removed modernizr
2014-02-21 14:03:48 +00:00
Thomas Gelf
88c172b33a
We no longer need bootstrap
2014-02-21 14:03:48 +00:00
Matthias Jentsch
a2baf4217b
Add php script to render dynamic svgs of inline charts
...
Add a php script to render dynamic SVGs as a fallback and add a widget to draw
inline charts.
refs #5679
2014-02-19 18:29:59 +01:00
Markus Frosch
971a87c608
Fixed executable flags on normal files.
...
Refs #5040
2014-02-18 09:42:13 +01:00
Alexander Klimov
2ecf1a99a6
Show load indicator after 500 ms
...
fixes #5540
2014-02-03 11:10:36 +01:00
Johannes Meyer
1b5b26c2bb
Add window awareness
...
refs #5510
2014-01-24 14:44:19 +01:00