Thomas Gelf
65db5c4acc
list/services: move filterEditor to content
...
As it may occupy quite some space it is better having it scrollable
2014-06-20 13:50:25 +02:00
Thomas Gelf
1bddcd7282
list/hosts,services: use limiter widget
2014-06-20 13:49:50 +02:00
Thomas Gelf
27e7839d1b
Widget\Limiter: initial commit
...
This allows one to easily switch row count shown on a single page
2014-06-20 13:48:17 +02:00
Thomas Gelf
f4b7075293
monitoring/multi: view script cleanup
...
They now play fine with new filters, tried to improve usability
2014-06-20 13:46:09 +02:00
Thomas Gelf
76219b025b
js/events: multiple multiselect fixes
...
* Removed obsolete checks (event is only triggered for multiselect tables)
* allows deselecting last row, closing "detail view"
* fix bug when unselecting one of two rows, it used to keep the wrong one
* play nice with other involved non-row-level links
2014-06-20 13:43:18 +02:00
Thomas Gelf
f98d8f7fc5
JS/ui: create new simple filter URLs
2014-06-20 13:40:41 +02:00
Thomas Gelf
f2c67ea047
MultiControllers: use new filters
...
This makes things easier, no more nested lists - just filters easy
to read and understand
2014-06-20 13:38:58 +02:00
Thomas Gelf
255accb215
monitoring/MultiController: use correct controller
2014-06-20 13:35:25 +02:00
Thomas Gelf
68a90b8de8
JS/ui: separate closeContainer logic
2014-06-20 13:33:19 +02:00
Thomas Gelf
371b66bd8b
monitoring\ListController: handle filter editing
...
Handle filter modifications in one place. We still should try to
abstract this on step farther.
2014-06-20 13:26:10 +02:00
Thomas Gelf
0642c9d33c
monitoring/list/hosts: filter-related cleanup
2014-06-20 13:24:32 +02:00
Thomas Gelf
28c61c2595
JS/XHR: last commit was missing the JS part
2014-06-20 13:22:53 +02:00
Thomas Gelf
07134cf931
JS/XHR: handle multiple notifications
...
As there seems to be problems with sending the same header multiple
times we put multiple notifications in one header.
2014-06-20 13:20:20 +02:00
Thomas Gelf
617741c62f
helpers/widget: options are opional
2014-06-20 13:18:52 +02:00
Thomas Gelf
dbf03ee647
ActionController: refine url handling on redirect
2014-06-20 13:18:03 +02:00
Thomas Gelf
7cad4de3be
ActionController: allow to disable autorefresh
2014-06-20 13:17:11 +02:00
Thomas Gelf
a622f34be6
authentication/login: add missing alt tag
2014-06-20 13:15:13 +02:00
Thomas Gelf
0225461d3e
layout: add lang to HTML element
2014-06-20 13:14:14 +02:00
Thomas Gelf
262dcff3a5
Util\Translator: tell us current locale and lang
2014-06-20 13:12:23 +02:00
Thomas Gelf
ecbdb07bea
FilterQueryString: fix handling encoded <> signs
...
Those signs are URL-encoded and therefore not "seen" before decoding
the "key" part when the sit in front of the = sign. Same goes for
standalone ones. Fixed.
2014-06-20 13:06:07 +02:00
Thomas Gelf
f2605b89ff
FilterQueryString: fix parsing expression lists
...
The parser sometimes failed when reaching a=b&b=(c|d|e) - fixed.
2014-06-20 13:04:53 +02:00
Thomas Gelf
1ea15e1f66
FilterQueryString: fix sub-expression parsing
...
In a string like !(b=c)&a=d the parser used to fail once it reached
the &, fixed now.
2014-06-20 13:02:02 +02:00
Thomas Gelf
a3a2e97f18
FilterQueryString: just cleaning up a little bit
2014-06-20 13:01:10 +02:00
Thomas Gelf
4bada86731
Authentication\Manager: fix fromRemoteUser boolean
...
This used to be always true in case an autologin backend was enabled.
We only have a REMOTE_USER if there is such.
2014-06-20 12:58:17 +02:00
Thomas Gelf
559457f730
Bootstrap/timezone: do not enforce config
...
The current way forces people running a correctly configured PHP
to configure timezone once again in Icinga Web. We want LESS config,
so this tries to fix this.
2014-06-20 12:54:37 +02:00
Thomas Gelf
f498cd0c81
Web\Url: small fixes, allow override queryString
2014-06-20 12:41:16 +02:00
Thomas Gelf
5dfd4aedac
monitoring/downtime: add missing ticket hook
...
We used to have this when showing comments, but not for downtimes.
2014-06-20 12:37:09 +02:00
Thomas Gelf
596e7f6533
CSS: fix cursor size in chrome
...
This has been introduced by fixing IE8, line-hight==input-heigt looks
ugly on chrome.
2014-06-20 12:36:41 +02:00
Thomas Gelf
d4cc8f6dd6
CSS: Show filterEditor as a tree
2014-06-20 12:33:37 +02:00
Thomas Gelf
680832a5db
CSS/tree: add CSS support for simple tree views
...
Not sure whether we should replace this with a "flat" one, it should
do the job right now.
2014-06-20 12:32:19 +02:00
Thomas Gelf
d504c27641
timeUntil/timeSince: add timestamp hover title
...
It's sometimes easier to read "full" timestamps.
2014-06-20 12:28:55 +02:00
Thomas Gelf
ccb01aa152
Monitoring\Controller: add $url to all views
...
There are too many view scripts fiddling with namespaces. There is
still the url helper, not sure why it's not going to be used. I may
roll this back one far day...
2014-06-20 12:26:00 +02:00
Thomas Gelf
ecf84077e5
Ido\CommentQuery: add host/service shortcut column
2014-06-20 12:23:23 +02:00
Thomas Gelf
317094aed3
Widget\FilterWidget: ui cleanup
2014-06-20 12:16:33 +02:00
Thomas Gelf
644dd5e33e
Widget\FilterEditor: improve the filter editor
...
This adds quite a bunch of changes. Part of the filter-modifying
complexity has been moved to the filter, the editor widget itself
now makes use of new filter capabilities such as changing operator
or expression type.
2014-06-20 12:03:22 +02:00
Thomas Gelf
1bfc4058f2
Data\Filter: automagically handle hierarchy
...
This adds a few more functions assisting filters in replacing
themselves or subnodes. Introducing Filter::chain().
2014-06-20 12:00:29 +02:00
Thomas Gelf
18e49f6b9a
Data\Filter: add setters for all properties
...
To keep our filter editor simple we want our filters to handle also
operations replacing themselves.
2014-06-20 11:57:31 +02:00
Thomas Gelf
97f88bf636
Data\Filter: clean up a few things
...
* throw useful exceptions
* our "id" should always be treated as a string
2014-06-20 11:55:27 +02:00
Matthias Jentsch
aae49ce0c0
Do not show tooltips for piechart areas that indicate empty or free areas
...
refs #6117
2014-06-18 17:38:25 +02:00
Matthias Jentsch
6555d347a7
Escape InlinePie html and adjust chart size
...
fixes #6117
2014-06-18 14:43:14 +02:00
Matthias Jentsch
be0c5d4b23
Add more meaningful tooltip labels to InlinePies
...
Show current title, a well-formated value and a label for each area in a
tooltip and add the ability to customize tooltip labels of InlinePies
refs #6117
2014-06-18 14:43:14 +02:00
Matthias Jentsch
521cc0cac4
Refactor Ldap and Dns utility functions and conform to coding guidelines
...
refs #6507
2014-06-18 14:38:44 +02:00
Michael Friedrich
76b5901cb6
Vagrant: assign 1024mb ram to the vm
2014-06-18 14:14:31 +02:00
Thomas Gelf
b7cdff6fa5
js/history: do not remove special params
...
We used to do this to blacklist certain parameters to not trigger
heavvy actions twice when navigating through history. We also do
never want to see such parameters in our address bar.
This conflicts with our slightly more complicated new filter URLs,
unless we are able to handle them on client side this is disabled
for now. IMO it should be handled server-side and eventually invol-
ving one more redirect.
2014-06-17 14:21:28 +00:00
Thomas Gelf
0b9850edc2
CSS/avp-table: reduce font sice, might look better
2014-06-17 14:11:25 +00:00
Thomas Gelf
8185f8b8a9
Ido\EventHistoryQuery: fix it to fit new filters
...
Works for single objects, still some work required for "generic"
history.
2014-06-17 14:02:54 +00:00
Thomas Gelf
21febddad2
Widget\Filter*: rudimentary filter widgets
...
Initial implementation, more to come
2014-06-17 14:00:38 +00:00
Thomas Gelf
54e97f114d
Widget\SortBox: hardcode element width
...
Temporarily added inline CSS, shall be removed soon
2014-06-17 13:54:32 +00:00
Thomas Gelf
d63d8fe451
view/helpers: add $this->widget()
2014-06-17 13:53:05 +00:00
Thomas Gelf
a53f589a6b
monitoring/controllers: filter-related cleanup
2014-06-17 13:48:26 +00:00