Alexander Klimov
4c415aac5c
Make contacts' view look more like contactgroups' view
2014-07-15 16:17:02 +02:00
Johannes Meyer
3105c2059e
Remove license headers from all files
...
refs #6309
2014-07-15 13:43:52 +02:00
Alexander Klimov
d021ddebee
Make contacts' view work like the downtimes' one
...
fixes #6513
2014-07-15 10:47:12 +02:00
Johannes Meyer
bacea36ad9
Improve piechart limitation and show non-piechart perfdata as well
...
The perfdata helper did an improper limitation as it might have skipped
valid values due to applying the limit before the filter. When not in compact
view the helper now also shows non-piechart values by using their raw
representation.
refs #6515
2014-07-14 13:48:30 +02:00
Johannes Meyer
5908e9fc70
Do not show pie charts for perfdata values when no percentage is available
...
refs #6515
2014-07-11 16:32:05 +02:00
Johannes Meyer
ec2d1daa6b
Perfdata plugin should also have a knowledge about labels
...
Prior to this change the PerfdataSet only knew the labels of a performance
data value which prevented the Perfdata object from being used
individually.
refs #6515
2014-07-11 16:31:00 +02:00
Johannes Meyer
53f3d74103
Fix word wrapping in perfdata labels and values
...
fixes #6377
2014-07-10 14:54:53 +02:00
Thomas Gelf
9a6821c860
monitoring/list/hosts: restore page behaviour
...
The problem here was that an accidentally removed closing div tag in
15325949
caused the application to missbehave badly. Host details where
rendered below the list in some scenarios and the whole multicolumn
thingy started to feel broken.
2014-07-08 15:17:00 +02:00
Thomas Gelf
e3b2f15863
list/hosts: show unhandled services righthand
...
This way we automagically fix the problem with the wrong row links.
I guess we should re-introduce the "row-action" class allowing "precedence"
rules, so also a link not being the first one in a row could act as "row-link".
Changed formatting / text output a little bit, IMO even more cure is needed.
fixes #6645
2014-07-04 18:13:44 +02:00
Matthias Jentsch
d2098be625
Only display header when not in compact mode
...
fixes #6508
2014-07-04 12:45:17 +02:00
Johannes Meyer
7eb0f3c472
Remove @codingStandardsIgnoreStart/-Stop annotations
...
refs #6091
2014-06-30 13:59:58 +02:00
Matthias Jentsch
9a1b7179e1
Fix violations of coding guidelines
2014-06-30 12:33:51 +02:00
Matthias Jentsch
7fe056d03a
Display note when host and service is not found
...
When the show/host and show/service views do not find a host or service,
don't show a non-working view, but display a error message
fixes #6469
2014-06-30 12:33:51 +02:00
Matthias Jentsch
a2fa5c055c
Display a message when a list view is empty
...
fixes #6469
2014-06-30 12:33:51 +02:00
Alexander Klimov
1532594948
Deduplicate code: lists/hosts.phtml VS lists/hosts-compact.phtml
...
fixes #6541
2014-06-27 11:53:08 +02:00
Thomas Gelf
c85a0ac11e
list/limits: special treatment for 0 only, not null
2014-06-26 00:39:10 +02:00
Thomas Gelf
d44f89f287
list/hosts: fix downtime icon
...
I re-enabled host list icons, they have been missing for a while. The
downtime icon logic used to be inverted, this fixes it. Also showing
acknowledgements now even if object is in downtime.
2014-06-25 21:46:03 +02:00
Thomas Gelf
ff9c29472e
monitoring/status: re-introduce comments, problems
...
This re-introduces expensive columns been disabled time ago and adds
even more to it. We are now showing last comment, last ack comment and
service problem count on hosts in list views.
It still costs performance, but seems that we can stand it. I'd like
to add more like this to the host view.
2014-06-25 21:42:24 +02:00
Thomas Gelf
86f70e0a4f
list/services: don't count with no limit
...
This is a performance evaluation right now, we might delegate such
logic to paginator later on. Cuts load time for lists and/or dashlets
with complicated filters by 50% - only for those with limit=0 of course.
2014-06-25 20:45:08 +02:00
Matthias Jentsch
7b19bd1d99
Improve interface of InlinePie
...
Method setLabel can also accept a simple string and title is mandatory in constructor
2014-06-25 15:21:12 +02:00
Matthias Jentsch
ae4aa9c182
Fix violations of coding guidelines
2014-06-25 15:07:39 +02:00
Matthias Jentsch
85aed364b7
Fix typing error in 'threshold'
2014-06-25 15:02:04 +02:00
Matthias Jentsch
35a5431512
Revert "Refractor InlinePie and Perfdata helper"
...
This reverts commit f003c38abd
.
2014-06-25 14:29:17 +02:00
Matthias Jentsch
f003c38abd
Refractor InlinePie and Perfdata helper
...
Refractor InlinePie methods for better usability, fix several coding guideline
issues and fix some typos
2014-06-25 12:41:17 +02:00
Thomas Gelf
532ab60b36
monitoring/show/history: fix html on empty list
...
This view script used to render broken HTML on empty result
2014-06-24 21:23:51 +02:00
Thomas Gelf
51c57520ad
iconSubmitForm: replace with labelSubmitForm
...
There is no way in ZF to have an input[type=submit] with an unescaped
label ( = value). I temporarily replaced all iconSubmitForms with
inputs labelled with "X" - as all we used them for were delete
operations.
2014-06-23 14:42:26 +02:00
Matthias Jentsch
010466f8f9
Replace sizeof with count
...
Do not use sizeof to get the length of an array, as the function name 'sizeof'
is misleading
2014-06-23 14:19:55 +02:00
Thomas Gelf
d199a8b036
CommandForm: input[type=submit] instead of button
...
No need for a "button" here. As they have been broken in ZF for
a long while we should better stay with input[type=submit]
fixes #5978
2014-06-23 14:10:15 +02:00
Matthias Jentsch
bde6e29c61
Display a message instead of empty service matrix
...
refs #6535
2014-06-23 12:24:27 +02:00
Thomas Gelf
0efd44e1b0
CommandForm: don't clear class
...
autosubmit class got cleared for no reason after enabling autosubmission.
Please note that the fact that their submission leads to a new form is
another issue.
fixes #6540
2014-06-23 11:27:06 +02:00
Thomas Gelf
b03307196a
monitoring/list/services: hardcode margin once again
2014-06-21 05:27:10 +02:00
Thomas Gelf
7f53ba11cf
Hook\Grapher: use it in monitoring/show
2014-06-21 04:13:14 +02:00
Thomas Gelf
2ab75e1433
SelectionToolbar: temporarily disabled
...
Doesn't work as multiselect doesn't understand all filters
2014-06-21 03:33:16 +02:00
Thomas Gelf
7b5d7bdbcf
monitoring/statehistorysummary: filter fixes
...
Slightly adjusted filter string to fit new filters, fixed an issue
with 'object_type' column in virtual eventhistory table.
2014-06-21 03:18:00 +02:00
Thomas Gelf
b3cdeee35d
monitoring/timeline: should benefit from new filter
...
Different changes have been applied:
* Allow integer unix timestamps as parameters for timestamp columns
* Remove alias-rewriting from Url class
* Remove all traces of raw_timestamp
* Use new filters
2014-06-21 03:09:40 +02:00
Thomas Gelf
c0c7a815f8
Merge remote-tracking branch 'origin/master' into feature/query-interfaces-6018
2014-06-20 19:18:38 +02:00
Thomas Gelf
6d7a1cfe08
list/services: remove hardcoded margin
2014-06-20 19:12:46 +02:00
Thomas Gelf
127b728a4c
list/notifications: fix query, select columns, style
2014-06-20 19:12:10 +02:00
Thomas Gelf
e170c889d2
monitoring/CommandForm: remove obsolete classes
2014-06-20 14:24:32 +02:00
Thomas Gelf
4821c6e3e5
monitoring/show/history: use limiter, nicer output
2014-06-20 14:02:03 +02:00
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
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
0642c9d33c
monitoring/list/hosts: filter-related cleanup
2014-06-20 13:24:32 +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
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
Thomas Gelf
21febddad2
Widget\Filter*: rudimentary filter widgets
...
Initial implementation, more to come
2014-06-17 14:00:38 +00:00
Thomas Gelf
1a91f0369e
list/servicematrix: adjust URLs to fit new filters
2014-06-17 13:37:29 +00:00
Thomas Gelf
ef4403f204
monitoring/show/history: make it look better
...
Supporting newly implemented history states (comment removal...),
prepare for translation, better styling.
2014-06-17 13:32:12 +00:00
Thomas Gelf
517894d86f
show/header.phtml: try to look like other states
2014-06-17 13:22:52 +00:00
Thomas Gelf
c592236258
vendorlibs: library/vendor to libary/IcingaVendor
...
This doesn't make it much better but allows to build a package
libicinga-vendor-php placing those files to /usr/share/php/IcingaVendor
or similar.
refs #4075
2014-06-05 00:10:49 +00:00
Gunnar Beutner
a66a1a4729
Refactor the timeSincePrefix and timeUntilPrefix functions
...
Instead of having two separate functions to get the prefix
and the formatted time interval the new functions return
both the prefix and the time interval.
refs #5981
2014-05-29 13:03:10 +02:00
Gunnar Beutner
7b0a48bef5
Rename timeUnless to timeUntil
...
refs #5981
2014-05-29 12:38:59 +02:00
Gunnar Beutner
d01a98b7e6
Fix some of the time-related grammar mistakes
...
This updates some of the messages to use "For"
instead of "Since" where appropriate.
fixes #5981
2014-05-29 11:30:08 +02:00
Thomas Gelf
f790e0c323
Translation: keep translation domain with partial
...
We should try to avoid partial and pass translation domain where forced
to use it.
refs #6338
2014-05-27 22:20:21 +00:00
Thomas Gelf
7b58134378
show/history: sorry, typo
2014-05-27 22:16:45 +00:00
Thomas Gelf
b47cec3e02
Translation: use translation for monitoring/views
...
Just a bunch of translation-helper calls
refs #6339
2014-05-27 21:44:02 +00:00
Thomas Gelf
40e45a2a39
monitoring/lists: Don't render unexistant controls
...
Even PHP code in HTML comments will be executed. As the filter object
sometimes failes, this can result in an invisible "breaking" exception.
refs #6031
2014-05-26 14:57:18 +00:00
Thomas Gelf
79f3b32474
monitoring/viewscripts: avoid errors in comments
...
PHP code may cause errors even if sitting in HTML comments. Also fixed a
HTML nesting error in list/servicematrix and reduced indentation.
2014-05-20 22:26:21 +00:00
Michael Friedrich
d155c7a3fc
Fix checks for empty check source attribute
...
refs ##5814
2014-05-20 23:46:33 +02:00
Michael Friedrich
ef2ac077c8
Fix typo in flapping note
2014-05-20 23:45:48 +02:00
Thomas Gelf
941ff2a980
monitoring/show: remove CheckSource helper
...
It isn't doing anything but escape, so we can safely skip it.
2014-05-20 20:39:02 +00:00
Michael Friedrich
9fbdb65a4b
Add check source to host/service details
...
refs #5814
2014-05-20 20:07:09 +02:00
Thomas Gelf
8f77ce607e
show/services: don't navigate to the right
...
When using list/services for show/services (services for a single host)
we us an ugly PREG-based hack fixing the base link target. This got
broken by the multiselect feature, now it's working again. We need a
better solution for this.
2014-05-20 13:53:36 +00:00
Thomas Gelf
33e326a232
list/services: ignore broken service image hacks
...
People used to configure something like "dot.png'> <img ..." as their
service image icon. Those hacks will no longer work as we correctly
escape everything. This fix hinders Icingaweb from even trying to load
them.
2014-05-20 13:31:13 +00:00
Thomas Gelf
d93c060e6a
Upgrade htmlpurifier to 4.6.0
...
refs #6165
2014-05-09 10:41:20 +00:00
Matthias Jentsch
d0c56126b8
Fix inline pie reload.
...
refs #6124
2014-05-07 17:03:27 +02:00
Johannes Meyer
0627d954ac
Fix usages of Icinga\Module\Monitoring\Plugin\*
...
refs #5973
2014-05-05 16:16:45 +02:00
Gunnar Beutner
b7f4fa4a29
Fix deprecation warning in Perfdata.php
...
fixes #6076
2014-04-29 12:00:34 +02:00
Johannes Meyer
290fe9eeb5
Rewrite test for Icinga\Web\Hook
...
refs #6011
2014-04-28 14:06:40 +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
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
Johannes Meyer
21b9c1f4af
Fix that filters are not preserved on timeline element urls
...
refs #4190
2014-04-01 14:26:10 +02:00
Johannes Meyer
2049e42988
Show a horizontal line when the timeline switches its context
...
refs #4190
2014-04-01 11:46:44 +02:00
Johannes Meyer
80b4e3bf33
Add infinite scrolling to the timeline
...
refs #4190
2014-04-01 11:46:44 +02:00
Johannes Meyer
c94cd40b92
Center timeframe elements vertically
...
refs #4190
2014-04-01 11:46:44 +02:00
Johannes Meyer
e3be5dd255
Restructure timeline layout and styles
...
refs #4190
2014-04-01 11:46:44 +02:00
Johannes Meyer
8e7d1dd8f6
Improve timeline style
...
refs #4190
2014-04-01 11:46:44 +02:00
Johannes Meyer
f5e4331d71
Add timeline view script and styles
...
refs #4190
2014-04-01 11:46:43 +02:00
Johannes Meyer
18b5f715c5
Refactor timeline components
...
refs #4190
2014-04-01 11:44:25 +02:00
Johannes Meyer
b22f3f6b47
The timeline object is NOT a form
...
refs #4190
2014-04-01 11:44:24 +02:00
Johannes Meyer
5e945e3194
Make interval selection being a widget
...
refs #4190
2014-04-01 11:44:24 +02:00
Johannes Meyer
f93d67dfa3
Add timeline controller
...
refs #4190
2014-04-01 11:44:23 +02:00
Thomas Gelf
41617e8119
Change forgotten title
2014-03-27 11:16:43 +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
04cab7e0f8
Fix action target for downtime removal
2014-03-25 08:45:51 +00:00
Thomas Gelf
851bea0725
One more _self-targetting form
2014-03-25 08:03:12 +00:00
Thomas Gelf
d4ccc68eab
Remove sample graphite preview, should not have been pushed to master
2014-03-25 07:21:46 +00:00
Thomas Gelf
b5b4d276d1
Add more structure to host and service details
2014-03-21 18:56:55 +00:00
Thomas Gelf
f24e5eaa8a
Stay on the same column when switching between services of the same host
2014-03-21 10:30:12 +00:00
Thomas Gelf
8a7ac587d9
Get rid of hardcoded target for action-tables
2014-03-21 10:27:46 +00:00
Thomas Gelf
4378282e9f
Show additional custom columns in services list
2014-03-21 10:25:48 +00:00
Thomas Gelf
9517824b41
Better form target settings for more comfort
2014-03-20 16:33:06 +00:00
Thomas Gelf
3be2834af7
"Check now" should stay in the same container
2014-03-20 15:42:24 +00:00
Johannes Meyer
bf717654f0
Add more consistency to the servicematrix when switching pages
2014-03-20 11:30:55 +01:00
Johannes Meyer
aa6d6b1d41
Make servicematrix x-axis header titles linking to filtered servicelist
2014-03-20 09:41:41 +01:00
Johannes Meyer
44950ea570
Fix servicematrix styling issues in firefox and ie
2014-03-20 09:22:29 +01:00
Johannes Meyer
e9ec87b0e3
Refine styling of the servicematrix
...
refs #4180
2014-03-19 09:11:25 +01:00
Johannes Meyer
0227c6a49d
Fix hosts without services being displayed in the servicematrix
...
refs #4180
2014-03-19 09:11:25 +01:00
Johannes Meyer
c73928d7a8
Add pagination control to the servicematrix
...
refs #4180
2014-03-19 09:11:25 +01:00
Johannes Meyer
617b6822d7
Add pagination support to the servicematrix
...
refs #4180
2014-03-19 09:11:24 +01:00
Johannes Meyer
13b509bf4b
Do not display hosts without any services in the servicematrix
...
refs #4180
2014-03-19 09:11:24 +01:00
Johannes Meyer
71f4b6960b
Add servicematrix view
...
refs #4180
2014-03-19 09:11:24 +01:00
Thomas Gelf
5dd06d8132
Host detail view should also point to _next
2014-03-17 16:36:38 +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
47eff0e365
Removing luckily unused output-buffering trim helper
2014-03-17 16:26:52 +01:00
Alexander Klimov
5c3df3db15
Handle not readable monitoring config files more intelligent
2014-03-13 15:54:27 +01:00
Alexander Klimov
fbd354fa55
Small view changes
2014-03-12 11:22:20 +01:00
Alexander Klimov
5c0441bc06
Re-design configuration interface
2014-03-11 17:13:42 +01:00
Johannes Meyer
e291974e55
Refine tactical overview style
2014-03-10 15:09:53 +01:00
Thomas Gelf
448d7c1a8d
Fix PDF output wherever it works, disable dead filter control
2014-03-10 01:24:45 +01:00
Thomas Gelf
e54c91c2f7
Restyle process info and shorten performance info
2014-03-10 00:49:21 +01:00
Thomas Gelf
5962fd71d0
Fix erranous table row title
2014-03-10 00:48:23 +01:00
Thomas Gelf
62ff31d4ee
Downtimes could look better, HTML still missing
2014-03-09 22:59:49 +01:00
Thomas Gelf
88859cb838
The next fat package: downtimes, everywhere
2014-03-09 21:58:01 +01:00
Thomas Gelf
2f8c6a37d3
Spacing, quick and dirty
2014-03-09 20:09:26 +01:00
Thomas Gelf
63fd074a4f
Comments are still messy, clean up and fix adding / removing them
2014-03-09 19:29:23 +01:00
Thomas Gelf
c7d3b38739
Comment list style
2014-03-09 18:02:12 +01:00
Michael Friedrich
e947b4363b
System->Performance: Add RuntimeVariables view helper for 'average_{,scheduled_}services_per_host' calculation.
2014-03-09 16:38:55 +01:00
Thomas Gelf
54162d9538
Fine-tune commment list
2014-03-09 13:41:31 +01:00
Thomas Gelf
6bea9e8b43
Style comment list
2014-03-09 12:10:05 +01:00
Thomas Gelf
7202e13837
Link to filtered contact group list unless we have show/contactgroup
2014-03-09 11:26:57 +01:00
Thomas Gelf
4d48f4fb0e
Filter form restyle dirty preview
2014-03-09 02:03:06 +01:00
Thomas Gelf
e6fc6375b5
Refactor acknowledgements, finally get rid of status component
2014-03-08 21:28:32 +01:00
Thomas Gelf
a87925bbf6
Refactored notifications for object detail view
2014-03-08 21:02:22 +01:00
Thomas Gelf
c41160405d
Dedicated view script for object actions
2014-03-08 19:49:57 +01:00
Thomas Gelf
b4aff8f39b
Small HTML fix
2014-03-08 19:48:47 +01:00
Thomas Gelf
07f76a631a
AVP table should not influence perfdata table sitting there
2014-03-08 19:48:07 +01:00
Thomas Gelf
20c89bddf2
Perfdata experiments
2014-03-08 19:42:03 +01:00
Thomas Gelf
6ebd3e7b0f
Perfdata is not always a table
2014-03-08 19:39:28 +01:00
Thomas Gelf
e2955c5af2
Remove obsolete files
2014-03-08 18:55:09 +01:00
Thomas Gelf
740df4ccac
Cleaning up object downtimes. What a mess... :(
2014-03-08 18:28:19 +01:00
Thomas Gelf
8e44c66850
Style comment removal. Did it ever work? It doesn't...
2014-03-08 17:16:42 +01:00
Thomas Gelf
dc865df3c4
Restyle "Check now"
2014-03-08 17:02:14 +01:00
Thomas Gelf
eb517f0a40
Make command forms "inline", remove missing icon
2014-03-08 17:01:27 +01:00
Thomas Gelf
235d655808
One more #col2
2014-03-08 15:01:00 +01:00
Thomas Gelf
73a8e13fc8
Remove #col2 traces in the application code
2014-03-08 15:00:23 +01:00
Thomas Gelf
e8118f9116
Host grid links should point to host view
2014-03-08 12:58:32 +01:00
Thomas Gelf
3f6e5e65d1
Fix HTML on no host found
2014-03-08 12:55:17 +01:00
Thomas Gelf
79fe20a95c
No (row) links back in object history, as we are already there
2014-03-08 12:38:31 +01:00
Thomas Gelf
b8f4ae17de
Ooops, helper vs form
2014-03-08 10:01:38 +00:00
Thomas Gelf
63caf15494
Improve output styling, still inline
2014-03-08 08:29:39 +00:00
Thomas Gelf
69b91adedb
Ouch
2014-03-08 08:24:58 +00:00
Thomas Gelf
3e09931f2c
Restyle object flags
2014-03-08 08:23:48 +00:00
Thomas Gelf
d234a87e84
Introduce new detail section headers fitting the rest of the layout
2014-03-08 00:17:42 +00:00
Thomas Gelf
d53573ede2
Host services view
2014-03-08 00:00:21 +00:00
Thomas Gelf
30c03b5f23
Host base target should fit service base target
2014-03-07 23:19:27 +00:00
Marius Hein
2b1c967364
Reorganized comment list columns
2014-03-07 18:13:54 +01:00
Johannes Meyer
e8a626e896
Change the way how boxed status information is presented to the user
2014-03-07 16:43:41 +01:00
Alexander Klimov
45520fe2d6
Remove hardcoded filter in state history summary query
2014-03-07 15:04:43 +01:00
Johannes Meyer
25979f44e3
Refine box styles
2014-03-07 13:15:26 +01:00
Thomas Gelf
6be6cabb9f
Notification view cleanup, first steps
2014-03-07 11:26:26 +00:00
Thomas Gelf
04d968b4bf
There IS a reason why I WANT this space to be there. REALLY!
2014-03-07 10:50:06 +00:00
Alexander Klimov
75096dd65b
PHTML hotfix
2014-03-07 11:30:23 +01:00
Alexander Klimov
a64168a42d
Service groups at tactical overview
2014-03-07 11:14:19 +01:00
Alexander Klimov
a4ed32d357
Using new PHP icon helper
2014-03-07 10:54:39 +01:00
Johannes Meyer
49127e3ac8
Fix contactgroups overview style
2014-03-07 10:35:21 +01:00
Johannes Meyer
067fa02263
Split and merge status summary in tactical overview
2014-03-07 08:59:20 +01:00
Thomas Gelf
717d80807e
Remove flapping icons, that's already handled
2014-03-06 19:51:03 +00:00
Thomas Gelf
f929b15651
Object comment snippet now fits the other components
2014-03-06 19:06:14 +00:00
Thomas Gelf
ef71f22b7f
Reorder detail view components, use new snippets - still unfinished
2014-03-06 19:03:21 +00:00
Thomas Gelf
edafcc5f68
Start fading out components/status.phtml in favour of dedicated snippets
2014-03-06 19:02:36 +00:00
Thomas Gelf
ddf834d922
Single host services tabs now fit the layout
2014-03-06 19:01:40 +00:00
Thomas Gelf
8b40413406
Object history cleanup, fix timestamp and others glitches
2014-03-06 19:00:53 +00:00
Thomas Gelf
da5f3c191c
statusIcons cleanup, this file will probably fade out
2014-03-06 19:00:10 +00:00
Thomas Gelf
3da5c3f064
Temporarily add icon overview to detail header
2014-03-06 18:59:37 +00:00
Thomas Gelf
4961bbd8d1
Object detail component cleanup, less HTML
2014-03-06 18:57:21 +00:00
Thomas Gelf
25f1034c15
New object detail snippets
2014-03-06 18:36:26 +00:00
Thomas Gelf
c36b1d7d84
Icon helper for our services list
2014-03-06 16:33:27 +00:00
Thomas Gelf
c295a14d0d
Just a space
2014-03-06 16:16:29 +00:00
Thomas Gelf
980ddbc8a9
Start with command form cleanup
2014-03-06 13:47:26 +00:00
Johannes Meyer
1b503fd187
Clean up StatusSummary query
2014-03-06 14:29:50 +01:00
Thomas Gelf
d1026c240b
Unify detail header, fit new layout
2014-03-06 13:20:34 +00:00
Thomas Gelf
eaa3de4549
Remove obsolete services-compact.phtml
2014-03-06 13:12:30 +00:00
Thomas Gelf
13c5ebffd8
Don't right-align service list icons
2014-03-06 13:12:30 +00:00
Alexander Klimov
b410ebeed6
Remove unnecessary spaces at end of line
2014-03-06 13:08:11 +01:00
Alexander Klimov
2f8160d020
Re-design configuration interface
...
refs #5705
2014-03-06 12:32:55 +01:00
Johannes Meyer
3692993d20
Refactor tactical overview style
2014-03-06 10:54:10 +00:00
Johannes Meyer
bd7ce10efc
Refactor hostgroup overview style
2014-03-06 10:53:57 +00:00
Thomas Gelf
b61a732eaa
Clean up service list view script, obsolete compact variant
2014-03-06 10:35:11 +00:00
Thomas Gelf
18baf35020
Title and container for state history summary
2014-03-06 10:09:16 +00:00
Matthias Jentsch
819e7e9806
Implement Widget to display problems as matrix over time
...
refs #5703
2014-03-05 20:19:09 +01:00
Johannes Meyer
57942c8dbf
Fix style information for tactical overview
...
refs #3782
2014-03-04 16:25:11 +01:00
Johannes Meyer
8abefaee3c
Add style information for tactical overview
...
refs #3782
2014-03-04 14:48:53 +01:00
Thomas Gelf
bb9bc39522
Remove obsolete th
2014-03-04 13:48:14 +00:00
Thomas Gelf
85c0325ee2
Statehistory summary example should fit current controller
2014-03-04 13:44:53 +00:00
Thomas Gelf
d0b54ea46e
One less colon
2014-03-04 13:31:08 +00:00
Thomas Gelf
1db2a7a8a0
No title for compact hosts and services, add piecharts
2014-03-04 13:30:29 +00:00
Thomas Gelf
522e9de2e3
No header for compact hostgroups
2014-03-04 13:29:46 +00:00
Thomas Gelf
5c5268651c
Reorganised eventhistory view script, still far from being perfect
2014-03-04 13:29:02 +00:00
Thomas Gelf
0e50547a01
Perfdata and PluginOutput helpers, output slightly changed
2014-03-04 12:54:23 +00:00
Thomas Gelf
c2213e7b71
Merge branch 'feature/tactical-overview-3782' into feature/master-1
2014-03-04 10:26:51 +00:00
Johannes Meyer
3e495b6eaf
Refactor view so that it applies to the new design
...
refs #3782
2014-03-04 09:39:00 +01:00
Alexander Klimov
0e0672e0c1
Add tactical overview (WIP)
...
refs #3782
2014-02-28 08:48:34 +01:00
Thomas Gelf
24a32905f7
Pie spacing
2014-02-21 14:05:28 +00:00
Thomas Gelf
b74e4cb3fd
One less partial
2014-02-21 14:05:28 +00:00
Thomas Gelf
20b7b4bbf7
List view script adjustments
2014-02-21 14:05:28 +00:00
Thomas Gelf
1634fcd662
New contactgroups overview layout prototype
2014-02-21 14:05:28 +00:00
Thomas Gelf
7ff4f55737
Quick & dirty proposal for new grouped history overviews
2014-02-21 14:05:28 +00:00
Thomas Gelf
859d964d6b
Don't show empty pies
2014-02-21 14:04:40 +00:00
Thomas Gelf
9ac77de47c
Some more HTML fixes
2014-02-21 14:03:49 +00:00
Thomas Gelf
0942a94958
HTML changes in the monitoring module
2014-02-21 14:03:49 +00:00
Thomas Gelf
914806e229
Replaced a few icons with imgs
2014-02-21 14:03:47 +00:00
Johannes Meyer
c89f3b6140
Add filter functionality to eventhistory view and fix default order direction
...
refs #5589
2014-02-21 12:59:32 +01:00
Matthias Jentsch
4e5569371f
Show only mainDetailGrid in pdf and move css fixes to less-directory
...
refs #4356
2014-02-12 12:11:49 +01:00
Marius Hein
51188daa45
Implenent TopBar hook and status summary as hook in monitoring
...
refs #5597
2014-02-11 17:12:17 +01:00
Johannes Meyer
4aed7468b7
Add view helper to resolve host-/servicemacros as well as customvars
...
refs #4490
2014-01-31 15:57:53 +01:00
Johannes Meyer
de546858c2
Add missing fetch routine for customvars in AbstractObject
...
refs #4490
2014-01-31 15:57:53 +01:00
Chris Rüll
e56056e950
makro resolver
...
add view helper "this->makroresolver()" to replace makros.
refs #4490
2014-01-31 15:57:53 +01:00
Matthias Jentsch
2a0add3ec3
Fix messages in ConfigController
...
Store messages in the current user session to be able to fetch messages from
other controllers, so that the use can be redirected back to the index, instead
of staying in the original action
refs #5100
2013-11-20 19:10:38 +01:00
Marius Hein
58b4674f58
Fix removeacknowledge command in multi select view
2013-10-23 15:56:42 +02:00
Eric Lippmann
bf0a9c9e5a
Monitoring/List/Multiselect: Fix schedule downtime command
2013-10-23 15:47:08 +02:00
Eric Lippmann
ca1d50ae53
Rename Icinga 2 Web to Icinga Web 2
2013-10-23 15:11:06 +02:00
Jannis Moßhammer
1a95e48deb
Fix row style, add dashboard as default route
2013-10-23 14:20:32 +02:00
Jannis Moßhammer
8eea09ab53
Add default dashboard, fix componentLoader issue introduced before
2013-10-23 13:06:09 +02:00
Matthias Jentsch
f5e4831bef
Fix layout of multi-detail view
2013-10-23 12:58:15 +02:00
Marius Hein
685976bb6c
Add icons to command form template
2013-10-23 11:56:01 +02:00
Matthias Jentsch
e19a6ace75
Add missing tooltips and fix typos
...
fixes #4921 #4920
2013-10-23 11:33:15 +02:00
Marius Hein
2142bb59d1
Add services to command controller
...
Move resource parameters for commands to get params.
2013-10-23 11:29:50 +02:00
Matthias Jentsch
51909ce60c
Change the state indicator of the eventhistory view to match the other views
2013-10-23 10:45:13 +02:00
Matthias Jentsch
eaa3c81f7a
Fix bug that caused the detail view to stay open, even when nothing was selected
...
fixes #4749
2013-10-22 17:06:05 +02:00
Jannis Moßhammer
16124989dd
Various style fixes, changed icon size, fixed show/service
2013-10-22 15:58:24 +02:00
Eric Lippmann
46569bad32
Monitoring: Fix group and state summaries for IDO and Stadusdat
2013-10-22 15:11:07 +02:00
Eric Lippmann
c5bed8ad00
Monitoring: Add host and service unhandled column; remove s from host- and servicegroups
2013-10-22 15:11:07 +02:00
Jannis Moßhammer
f7c0eaa7c4
Fix/Reimplement dashboard
...
refs #4532
2013-10-22 12:10:12 +02:00
Matthias Jentsch
7614dcbbe8
Improve layout of comment view
...
Change each table row layout to display the data in horizontal rows instead of
single columns
fixes #4934
2013-10-22 10:42:40 +02:00
Matthias Jentsch
9e9142055f
Fix the layout errors
...
Pull all containers in the host and service view to the left site. Change the
layout of the comments view to display the comments properly.
fixes #4934
2013-10-22 10:36:29 +02:00
Jannis Moßhammer
cc5fa0a7b4
Fix suburls in grids not being recognized
2013-10-21 17:57:29 +02:00
Eric Lippmann
36e9cdb549
Monitoring/register: Add status summary to the top bar
2013-10-20 16:08:53 +02:00
Jannis Moßhammer
278f975c48
Fix downtime query and schedule downtime
2013-10-20 16:00:56 +02:00
Jannis Moßhammer
f3bbf09bae
Status.dat query fixes and documentation after rebase
...
refs #3801
2013-10-20 15:16:44 +02:00
Jannis Moßhammer
f350011028
Add Status.dat backend
...
refs #3801
2013-10-20 15:16:44 +02:00
Marius Hein
5a1a738ce7
Add form to configure objects
...
refs #4924
2013-10-20 13:15:11 +02:00
Eric Lippmann
652df9fd66
Monitoring/Downtimes: Wrap information in a two column view
2013-10-19 17:24:28 +02:00
Marius Hein
53ab6dbbf1
Implement global command toggle form in process view
...
refs #4918
2013-10-19 15:28:51 +02:00
Eric Lippmann
06158aa4ea
Monitoring/Notifications: Wrap information in a two column view
2013-10-19 13:13:56 +02:00
Matthias Jentsch
3f48a29c05
Fix problems caused by rebasing
...
refs #3788
2013-10-18 16:44:03 +02:00
Matthias Jentsch
4f3f5c3aad
Clean up old and unused command classes
...
refs #3788
2013-10-18 16:44:03 +02:00
Matthias Jentsch
4836035437
Change multi-view style to match the look of the show views
2013-10-18 16:44:03 +02:00
Matthias Jentsch
9cba03b017
Add actual links and buttons to the multi-views
...
refs #3788
2013-10-18 16:44:03 +02:00
Matthias Jentsch
4133d0093d
Add support for different selection modes, using a data attribute in the mainDetailGrid
...
Add code to handle single, multi and no selection. Add the class 'hover' to
table rows, that are selectable to indicate when a row is selectable.
refs #3788
2013-10-18 16:44:03 +02:00
Matthias Jentsch
1d07a766d9
Add form classes to handle the configuration
...
Add a tri-state form element to handle the configuration flags and add the form
to the controllers
refs #3788
2013-10-18 16:44:02 +02:00
Matthias Jentsch
df0cb01a27
Change Multi-Views to a new layout
...
Add more detailed information about the current selection
refs #3788
2013-10-18 16:44:02 +02:00
Matthias Jentsch
8c416a51ce
Add views and behaviour to MultiController
...
Add views for every possible action, fix some bugs in the JavaScript multi selection,
make selection hrefs in the list controllers unique to be able to handle the selection
properly
refs #3788
2013-10-18 16:44:02 +02:00
Matthias Jentsch
b911e8c56b
Add multi-object detail views
...
Add the controller to handle requests to the multi-detail view and fix some
bugs in the multiselection of the mainDetailGrid component
refs #3788
2013-10-18 16:44:02 +02:00
Marius Hein
c805550662
Performance overview
...
resolves #4189
resolves #4136
2013-10-18 11:32:53 +02:00
Jannis Moßhammer
4a95ba3468
Change url handling to detail on hashtag, add service filter
...
The url is now
http://%mainUrl%#%anchor%!detail=%detailUrl%
which allows us to better support IE and prevents
the detail url from appearing on the server side.
refs #4868
2013-10-17 19:55:00 +02:00
Jannis Moßhammer
44be5e85da
Refactoring and Query and IDO code,
...
the Monitoring/View code was completly dropped in favor of
the DataView implementations, as new Backends otherwise
would require to implement two seperate query logics
refs #3801
2013-10-17 19:54:58 +02:00
Jannis Moßhammer
d33cec78de
Semantic search implementation
...
- Only implemented for hosts as an example
- URL behaviour still has to be normalized
refs #4469
2013-10-17 19:52:52 +02:00
Eric Lippmann
74624601f7
Monitoring/History: Fix grouping w/ PostgreSQL
...
refs #4765
2013-10-17 16:18:34 +02:00
Eric Lippmann
676f9e5f72
Monitoring/History: Show icons and color for state changes
...
refs #4765
2013-10-17 16:18:34 +02:00
Eric Lippmann
bb8cad2a85
Add event history list view (WIP)
...
refs #4765
2013-10-17 16:18:34 +02:00
Marius Hein
7a406b313f
Adjusted buttons and a tags
...
refs #4869
2013-10-15 18:10:36 +02:00
Marius Hein
6f51f40fc0
Add real command button to detail panel
...
refs #4869
2013-10-15 18:10:36 +02:00
Marius Hein
d0fe1be7f7
Add command form helper for buttons with icons or labels
...
refs #4869
2013-10-15 18:10:36 +02:00
Marius Hein
d6fd3350e0
Apply style to detail
...
refs #4869
2013-10-15 18:10:36 +02:00
Marius Hein
a69c7498ec
Style comments, cowntimes, properties, flags in detail pane [WIP]
...
refs #4869
2013-10-15 18:10:36 +02:00
Eric Lippmann
a730713c0a
Add sort control to hostgroup summary and fix sort rules for the generic group summary
...
refs #4185
2013-10-15 15:33:53 +02:00
Eric Lippmann
f8938b34a4
Add yet hidden hostgroup summary w/ hostgroup overview rendered to detail
...
refs #4186
refs #4184
2013-10-15 15:13:49 +02:00
Eric Lippmann
2291e73c4c
Servicegroup Summary: Add sort control
...
refs #4185
2013-10-15 15:13:48 +02:00
Eric Lippmann
1f571589de
Add yet hidden servicegroup summary w/ servicegroup overview rendered to detail
...
refs #4185
refs #4183
2013-10-15 15:13:48 +02:00
Eric Lippmann
ac2201c3bc
Monitoring/List/Services: Fix select missing columns
...
refs #4824
2013-10-14 13:36:59 +02:00
Marius Hein
31555fdb6b
Detail pane [WIP]
...
refs #4824
2013-10-14 13:30:01 +02:00
Marius Hein
c02c18b23f
Add logo and remove old struct survivors
...
refs #4824
2013-10-14 13:28:16 +02:00
Marius Hein
15f0f1aa59
Status view and icons
...
refs #4824
2013-10-14 13:27:43 +02:00
Marius Hein
fe4ed3476f
Design: Host and service list
...
Fix: Command controller and downtimes
refs #4824
2013-10-14 13:05:38 +02:00
Marius Hein
7e396fdf3f
Implement hosts view
...
refs #4824
2013-10-14 13:02:41 +02:00
Eric Lippmann
408f369e45
Host/Detail: List properties explicitly, not with view helper
...
refs #4823
2013-10-14 12:57:26 +02:00
Eric Lippmann
9120cb3d99
Add show services view script
...
refs #4823
2013-10-14 12:57:26 +02:00
Eric Lippmann
907b7f24cc
Monitoring/Show actions: Readd tabs
...
refs #4823
2013-10-14 12:57:26 +02:00
Marius Hein
53d2e34e23
Finish comment view
...
refs #4714
2013-10-09 09:35:32 +02:00
Marius Hein
0626bb19cb
Implement a simple configurable command
...
resolves #4769
2013-10-09 09:35:32 +02:00
Marius Hein
d7f6dcb3ce
Comment Overview: Implement delete comment inline command [wip]
...
refs #4714
2013-10-09 09:35:32 +02:00
Marius Hein
d109f370cd
ellipsisText: Implement ellipsis component for text content
...
Use by comment overview.
refs #4714
2013-10-09 09:35:32 +02:00
Marius Hein
1eef471bc2
Comment overview: Basic implementation
...
refs #4714
2013-10-09 09:35:32 +02:00
Eric Lippmann
d599030579
Contacts: Remove class active from tr, still buggy though
...
refs #4713
2013-10-09 09:32:21 +02:00
Matthias Jentsch
5d4533a6ad
Add contact and contactgroup views
...
Create the new views, extend backend queries to fetch timeperiods and add
navigation bar entries
refs #4713
2013-10-09 09:32:21 +02:00
Eric Lippmann
a42668edb8
Fix tests
...
refs #4663
2013-10-09 09:20:17 +02:00
Eric Lippmann
281626555b
Hosts: Fix link to unhandled services
...
refs #4663
2013-10-09 09:20:17 +02:00
Eric Lippmann
5d0eaa5cd3
List host event history when showing a host
...
refs #4663
2013-10-09 09:20:17 +02:00
Eric Lippmann
18bd1c3221
List service event history when showing a service
...
refs #4663
2013-10-09 09:20:17 +02:00
Eric Lippmann
61bfcd495b
Add more information to host and service list
2013-10-09 09:20:17 +02:00
Eric Lippmann
b89d61add3
Monitoring: Refactor data views (WIP)
...
refs #4663
2013-10-09 09:20:16 +02:00
Eric Lippmann
45bf37b085
Add library/Icinga/Chart skeleton
...
refs #4614
2013-09-25 14:24:26 +02:00
Jannis Moßhammer
376dc8cd0f
Document form and container behaviour and simplify
...
Now the whole page gets refreshed on container changes, if
we encounter issues with that we can improve it afterwards
or roll back some cahnges already made in previous commits
refs #4611
2013-09-23 13:56:59 +02:00
Jannis Moßhammer
6d26240d6d
Add Main detail state to url, renderhelper, container tests
...
- The ActionController is now able to render a seperate detail view
- All list scripts select the currently active row from the detail view with
the 'active' class
- Autosubmit is now again attached to the onchange attribute (to prevent issues
when js can't load correctly)
- Logout is now recognized and causes a page refresh (will be made more generic)
- Add history mock for testing url changes
- Update all grids to implement the app/mainDetailGrid component
refs #4611
2013-09-23 13:56:57 +02:00
Eric Lippmann
c09dad98f9
Views: Remove $trimArea since it's not used
2013-09-06 16:39:47 +02:00
Eric Lippmann
c47778f10e
Capitalize monitoring properties, e.g. Current Attempt
2013-09-05 14:49:37 +02:00
Eric Lippmann
a5908c9553
CS: Replace multiple empty lines with one
...
find application/ library/Icinga/ test/ modules/ -name *.php | xargs sed -i '/^$/N;/^\n$/D'
2013-09-04 18:36:10 +02:00
Eric Lippmann
35fd9fd391
CS: Remove whitespaces at end of line
...
find application/ library/ test/ modules/ -name *.php | xargs sed -i 's/\s\+$//'
2013-09-04 18:27:16 +02:00
Jannis Moßhammer
e915119845
Fix grid styling and add links for hosts and service
...
refs #4601
2013-09-04 15:22:01 +02:00
Jannis Moßhammer
57e66c247a
Add sort widget, change js path from module to app, small style fixes
...
refs #4601
2013-09-04 15:22:00 +02:00
Eric Lippmann
1b858cbdb4
Monitoring: Fix remaining usages of namespace Monitoring without Icinga\Module prefix
...
refs #4586
2013-09-04 11:21:12 +02:00
Eric Lippmann
c86874d4ba
Rename namespace Monitoring to Icingæ\Module\Monitoring
...
refs #4586
2013-09-04 11:21:11 +02:00
Jannis Moßhammer
d0ac97f335
Configure fixes, regression test for 4606
...
The configure routine still has to be improved, right now unused
authentication backends are commented out
refs #4491
refs #4606
refs #4640
2013-08-29 11:48:32 +02:00
Jannis Moßhammer
b5812fd56c
Fix installation via configure/make
...
The installation routine uses the .htaccess file right now, as
this is used in the 'dump' /var/www installation.
refs #4491
2013-08-29 11:47:10 +02:00
Marius Hein
2f610b70ac
Fix icon identifer and capitalization
...
refs #4550
refs #4584
2013-08-23 10:58:58 +02:00
Jannis Moßhammer
895976550c
Fix templates, capitalization and icons in php files
...
refs #4550
refs #4584
2013-08-23 10:28:48 +02:00
Jannis Moßhammer
015a914aab
Fix template code style, use Bootstrap 3, remove icons
...
- Icons have now the {{XY_ICON}} format
- custom classes are removed
- A few typos are fixed
- Capitalization
refs #4550
refs #4621
refs #4584
2013-08-23 10:28:48 +02:00
Jannis Moßhammer
872fa2ac6c
HTML Style fixes and class removals
...
refs #4550
2013-08-23 10:28:47 +02:00
Jannis Moßhammer
bff45a1eb2
Template cleanup and validation part 1
...
refs #4550
2013-08-23 10:27:16 +02:00
Jannis Moßhammer
1378ca9844
Remove and reorganize stylesheets, add boostrap 3
...
refs #4550
2013-08-23 10:27:16 +02:00
Eric Lippmann
585f69fe8f
Monitoring/Configuration: Show ido, Ido as IDO
...
refs #3776
2013-08-21 14:22:30 +02:00
Jannis Moßhammer
cd1fb2e4b5
Capitalization, smaleler codestyle fixes
...
refs #3776
2013-08-21 14:22:30 +02:00
Jannis Moßhammer
83d053965f
Implement monitoring instance and backend configuration forms
...
refs #3776
2013-08-21 14:22:30 +02:00
Jannis Moßhammer
d7358c65be
Remove QUrl and QLink, add Href
...
refs #4516
2013-08-21 09:44:01 +02:00
Marius Hein
df864d2738
Remove unused summary components
...
refs #4583
2013-08-20 15:38:00 +02:00
Eric Lippmann
ff1ed128ef
Remove filter boxes from monitoring' list views since they're not working
...
refs #4583
2013-08-20 15:14:58 +02:00
Eric Lippmann
ad84e9e9cf
Remove unimplemented list views (concat-, host-, and servicegroups)
...
refs #4583
2013-08-20 15:14:57 +02:00
Eric Lippmann
83fb198cd2
CS: Fix violations in MonitoringProperties, NotificationView and StatusQuery
...
refs #4187
2013-08-16 16:32:31 +02:00
Jannis Moßhammer
3c56f5c53a
Remove qUrl, use ListController::query, proper default sorting
...
refs #4187
2013-08-16 16:23:15 +02:00
Johannes Meyer
baaf5b81d9
Add mouse-over effect and host/service detail popup
...
refs #4187
2013-08-16 16:23:14 +02:00
Johannes Meyer
f89d641b06
Add notification queries and display notification details
...
The notification queries to fetch all required details are now implemented
and are used to display data in the overview. Still missing is the host/service
detail popup and some quicklinks. (Contact, Notification command)
refs #4187
2013-08-16 16:23:14 +02:00
Johannes Meyer
3c2122515a
Basic structure for the notification overview
...
refs #4187
2013-08-16 16:23:14 +02:00
Jannis Moßhammer
237f7f1e60
Fix service compact view, remove dashboard.ini trash
...
refs #4192
2013-08-08 16:33:42 +02:00
Jannis Moßhammer
2a2966fc56
Fix Config.php relocation, fix header.phtml crashing due to old tab rendering
...
refs #4192
2013-08-07 17:51:52 +02:00
Jannis Moßhammer
488310df37
Fix style and docstrings, exception when removing the last tab
...
refs #4192
2013-08-07 17:45:09 +02:00
Jannis Moßhammer
f8bb478f0e
Update dashboard implementation
...
fix javascript naming (icinga-url to icingaurl), fix add form, add remove
button, code style changes
refs #4192
2013-08-07 17:43:37 +02:00
Jannis Moßhammer
b3e0d5e8ce
Remove AbstractWidget and make Widget an interface
...
As Widget's already denote an abstract concept, the name
'AbstractWidget' is redundant. Also this class didn't do anything except
fetching a view via a singleton (which is now injected into the render method)
and bypassing the PHP class properties by creating a 'properties' array which is
filled with magic getters and setters (which now are simply php class properties)
Further changes:
- toString is removed, as this incorporated a lot of
application logic which would cause unrecoverable
errors when throwing exceptions
- renderToHtml is now just render and the view dependency must be
passed, as a widget shouldn't be responsible for getting
view instance (this means that <?= $this->tabs ?> is now
<?= $this->tabs->render($this); ?> in the templates
- Controllers don't have $this->widget anymore as Widgets are
directly instanciated with their class, allowing better code completion
and avoiding hidden dependencies, also Widget::create is now removed
in favor of direct instanciation.
refs #4192
2013-08-07 17:41:43 +02:00
Eric Lippmann
290c8c5225
CC: Add newline to end of file where missing
...
Following command was used:
$ find application/ library/Icinga/ modules/ -name *.php | xargs sed -i -e :a -e '/./,$!d;/^\n*$/{$d;N;};/\n$/ba;$a\'
2013-08-07 10:27:50 +02:00
Jannis Moßhammer
81c2f3b9de
Add list of objects that are affected by a command
...
refs #4441
2013-08-06 09:27:37 +02:00
Jannis Moßhammer
2091f63c3b
Implement first commands, fix obsessing state
...
refs #4441
2013-08-06 09:27:37 +02:00
Matthias Jentsch
e47954b471
dd downtime overview
...
Add the downtime overview view, add the downtimes controller action, fix issues
with the the DowntimeQuery and add the new fields to the DowntimeView. Fix
issues in the ShowController that occur due to the changes in the DowntimeQuery.
refs #4188
2013-08-02 14:48:16 +02:00
Jannis Moßhammer
6900507ebc
Merge branch 'feature/command-masks-4355' of ssh://git.icinga.org/icinga2-web
2013-07-24 12:49:43 +02:00
Jannis Mosshammer
e8204f4755
Merge branch 'feature/service-detail-view-4181' of ssh://git.icinga.org/icinga2-web
...
Conflicts:
library/Icinga/Application/Logger.php
library/Icinga/Application/Web.php
library/Icinga/Authentication/Backend/LdapUserBackend.php
library/Icinga/Authentication/Credentials.php
library/Icinga/Authentication/Manager.php
library/Icinga/Authentication/PhpSession.php
library/Icinga/Authentication/Session.php
library/Icinga/Authentication/User.php
library/Icinga/Authentication/UserBackend.php
library/Icinga/Backend/AbstractBackend.php
library/Icinga/Backend/DataView/ObjectRemappingView.php
library/Icinga/Backend/Query.php
library/Icinga/Backend/Statusdat/DataView/StatusdatHostView.php
library/Icinga/Backend/Statusdat/HostgroupsummaryQuery.php
library/Icinga/Backend/Statusdat/HostlistQuery.php
library/Icinga/Backend/Statusdat/ServicegroupsummaryQuery.php
library/Icinga/Backend/Statusdat/ServicelistQuery.php
library/Icinga/Exception/ConfigurationError.php
library/Icinga/Exception/MissingParameterException.php
library/Icinga/Exception/NotImplementedError.php
library/Icinga/Exception/ProgrammingError.php
library/Icinga/Exception/SystemPermissionException.php
library/Icinga/Protocol/AbstractQuery.php
library/Icinga/Protocol/Commandpipe/Acknowledgement.php
library/Icinga/Protocol/Commandpipe/CommandPipe.php
library/Icinga/Protocol/Commandpipe/Comment.php
library/Icinga/Protocol/Commandpipe/Downtime.php
library/Icinga/Protocol/Commandpipe/Exception/InvalidCommandException.php
library/Icinga/Protocol/Commandpipe/IComment.php
library/Icinga/Protocol/Commandpipe/PropertyModifier.php
library/Icinga/Protocol/Ldap/Connection.php
library/Icinga/Protocol/Ldap/Exception.php
library/Icinga/Protocol/Ldap/LdapUtils.php
library/Icinga/Protocol/Ldap/Node.php
library/Icinga/Protocol/Ldap/Query.php
library/Icinga/Protocol/Ldap/Root.php
library/Icinga/Protocol/Statusdat/Exception/ParsingException.php
library/Icinga/Protocol/Statusdat/IReader.php
library/Icinga/Protocol/Statusdat/ObjectContainer.php
library/Icinga/Protocol/Statusdat/Parser.php
library/Icinga/Protocol/Statusdat/Query.php
library/Icinga/Protocol/Statusdat/Query/Expression.php
library/Icinga/Protocol/Statusdat/Query/Group.php
library/Icinga/Protocol/Statusdat/Query/IQueryPart.php
library/Icinga/Protocol/Statusdat/Reader.php
library/Icinga/Protocol/Statusdat/RuntimeStateContainer.php
library/Icinga/Protocol/Statusdat/View/AccessorStrategy.php
library/Icinga/Web/ActionController.php
library/Icinga/Web/Form.php
library/Icinga/Web/Hook/Configuration/ConfigurationTab.php
library/Icinga/Web/Hook/Configuration/ConfigurationTabBuilder.php
library/Icinga/Web/Hook/Configuration/ConfigurationTabInterface.php
library/Icinga/Web/Hook/Grapher.php
library/Icinga/Web/Hook/Toptray.php
library/Icinga/Web/ModuleActionController.php
library/Icinga/Web/Notification.php
library/Icinga/Web/Paginator/Adapter/QueryAdapter.php
library/Icinga/Web/Paginator/ScrollingStyle/SlidingWithBorder.php
library/Icinga/Web/Widget.php
modules/monitoring/application/views/helpers/MonitoringCommands.php
modules/monitoring/application/views/helpers/MonitoringFlags.php
modules/monitoring/application/views/helpers/MonitoringProperties.php
modules/monitoring/application/views/scripts/show/components/comments.phtml
modules/monitoring/application/views/scripts/show/components/downtime.phtml
modules/monitoring/application/views/scripts/show/components/flags.phtml
modules/monitoring/application/views/scripts/show/components/properties.phtml
modules/monitoring/application/views/scripts/show/header.phtml
modules/monitoring/application/views/scripts/show/host.phtml
modules/monitoring/application/views/scripts/show/service.phtml
modules/monitoring/library/Monitoring/Backend/AbstractBackend.php
modules/monitoring/library/Monitoring/Backend/Ido/Query/DowntimeQuery.php
modules/monitoring/library/Monitoring/Backend/Ido/Query/StatusQuery.php
modules/monitoring/library/Monitoring/Backend/Statusdat.php
modules/monitoring/library/Monitoring/Backend/Statusdat/Criteria/Order.php
modules/monitoring/library/Monitoring/Backend/Statusdat/DataView/StatusdatServiceView.php
modules/monitoring/library/Monitoring/Backend/Statusdat/Query/GroupsummaryQuery.php
modules/monitoring/library/Monitoring/Backend/Statusdat/Query/Query.php
modules/monitoring/library/Monitoring/Command/Meta.php
modules/monitoring/library/Monitoring/View/DowntimeView.php
modules/monitoring/test/php/application/views/helpers/MonitoringCommandsTest.php
modules/monitoring/test/php/application/views/helpers/MonitoringPropertiesTest.php
modules/monitoring/test/php/library/Command/MetaTest.php
2013-07-23 16:33:07 +02:00
Marius Hein
c6ebe85782
Command masks: Implement list over all implemented commands [WIP]
...
refs #4355
2013-07-23 14:47:40 +02:00
Marius Hein
0de38c25eb
Command masks: Refactor and implement masks
...
refs #4355
2013-07-23 14:47:40 +02:00
Johannes Meyer
b3c1a7a1ed
Implement command to add/delete comments
...
refs #4355
2013-07-23 14:46:25 +02:00
Johannes Meyer
f102f75eb9
Implement command to delay notifications
...
Added command and mask to delay notifications
for hosts/services.
refs #4355
2013-07-23 14:46:25 +02:00
Johannes Meyer
72efe7e8a0
Implement command to send custom notifications
...
Added command and mask to send custom
notifications for hosts/services.
refs #4355
2013-07-23 14:46:25 +02:00
Johannes Meyer
101a1f093f
Implement command to submit passive check results
...
Added command and mask to submit passive check
results for hosts/services.
refs #4355
2013-07-23 14:46:25 +02:00
Johannes Meyer
23f19da02b
Implement acknowledgement commands for hosts/services
...
Added "placeacknowledgement" and "deleteacknowledgement" actions.
refs #4355
2013-07-23 14:46:24 +02:00
Johannes Meyer
9b858b9a82
Implement start/stop obsessing hosts/services
...
Added action and mask to start/stop obsessing
over hosts and services.
refs #4355
2013-07-23 14:46:24 +02:00
Johannes Meyer
3f88e3322b
Implement enable/disable passive checks for hosts/services
...
Added action and mask to enable/disable passive checks for
hosts and services.
refs #4355
2013-07-23 14:46:24 +02:00
Johannes Meyer
1138afd5fb
Implement enable/disable flap detection for hosts/services
...
Added action and mask for enabling/disabling flap detection
for hosts and services.
refs #4355
2013-07-23 14:46:24 +02:00
Johannes Meyer
fe0d000a02
Implement enable/disable event handling for hosts/services
...
Added action and mask for enabling/disabling event handling
of hosts and services.
refs #4355
2013-07-23 14:46:24 +02:00
Johannes Meyer
1c7a90e79f
Implement enable/disable notifications for hosts/services
...
Added action and mask for enabling/disabling notifications
of hosts and services.
refs #4355
2013-07-23 14:46:24 +02:00
Johannes Meyer
387811c4a2
Implement enable/disable active checks for hosts/services
...
Added action and mask for enabling/disabling active checks
of hosts and services.
refs #4355
2013-07-23 14:46:24 +02:00
Johannes Meyer
15ab7f188a
Implement schedule host/service check action
...
Refactored existing schedule action and fixed selectCommandTargets.
refs #4355
2013-07-23 14:46:24 +02:00
Johannes Meyer
abda65f4bd
Refactor command controller and implement restart action.
...
Refactored existing command controller so that it reflects the
correct coding style, rewritten the icinga restart command and
added a very simple form for it.
refs #4355
2013-07-23 14:46:24 +02:00
Marius Hein
1492245788
Service detail view: Template fixes
...
refs #4181
2013-07-23 14:03:32 +02:00
Marius Hein
8d3ff94696
Remove php strict errors
...
refs #4448
2013-07-23 12:18:27 +02:00
Jannis Moßhammer
4ededd5179
Add servicegroup and icon image to service overview
...
Add icon images for hosts and services, notes and action url
for hosts
refs #4181
2013-07-22 17:10:43 +02:00
Jannis Moßhammer
a0839ea0da
Add service detail view
...
refs #4181
2013-07-22 16:03:36 +02:00