Commit graph

553 commits

Author SHA1 Message Date
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
7cb26a0d34 History grid CSS 2014-03-06 10:30:52 +00:00
Thomas Gelf
18baf35020 Title and container for state history summary 2014-03-06 10:09:16 +00:00
Thomas Gelf
5dbf1e48a7 Allow format=sql to everybody right now
* we have no "devel" environment any more
* we might allow this based on permissions
2014-03-06 09:17:55 +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
Thomas Gelf
573bd1bde1 Fix comment query. Service comments only right now 2014-03-04 14:14:42 +00:00
Thomas Gelf
e99bb57c63 Merge branch 'feature/master-1' of git.icinga.org:icingaweb2 into feature/master-1 2014-03-04 14:10:31 +00:00
Thomas Gelf
7d22994d80 Dudes need better error messages 2014-03-04 14:08:44 +00: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
23daa39205 Ugly temporary fix for Monitoring\Object problems 2014-03-04 12:59:26 +00:00
Thomas Gelf
8ccd748310 Allow "better" join for comments 2014-03-04 12:57:40 +00:00
Thomas Gelf
0e50547a01 Perfdata and PluginOutput helpers, output slightly changed 2014-03-04 12:54:23 +00:00
Thomas Gelf
b09ea7c690 Sample ticket hook 2014-03-04 12:50:49 +00:00
Thomas Gelf
edb7ea076e Prevent CommentQuery from doing nonsense Joins, may break some views 2014-03-04 12:43:44 +00:00
Thomas Gelf
9cc3bb75ca Improved severity column, still subject to changes 2014-03-04 12:33:54 +00:00
Thomas Gelf
0f0e4883d1 autorefreshIntervals and titles 2014-03-04 12:33:02 +00:00
Thomas Gelf
f5d796255c Allow Ido Queries to define conflicts 2014-03-04 12:31:20 +00:00
Thomas Gelf
c2213e7b71 Merge branch 'feature/tactical-overview-3782' into feature/master-1 2014-03-04 10:26:51 +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
Johannes Meyer
3e495b6eaf Refactor view so that it applies to the new design
refs #3782
2014-03-04 09:39:00 +01: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
Johannes Meyer
ba45d64891 Extend StatusSummaryQuery and its view
refs #3782
2014-03-03 09:03:07 +01:00
Alexander Klimov
b8efe1a93c Collect some garbage in the source code 2014-02-28 08:48:34 +01:00
Alexander Klimov
0e0672e0c1 Add tactical overview (WIP)
refs #3782
2014-02-28 08:48:34 +01:00
Johannes Meyer
3555e66018 Make IcingaWeb using the new log wrapper
refs #5683
2014-02-26 11:19:52 +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
23cbb8c9b8 New route for event history summary prototype 2014-02-21 14:05:28 +00:00
Thomas Gelf
d1dc4f10f7 Reasonable sort default for downtimes, should be placed into DataView 2014-02-21 14:05:28 +00:00
Thomas Gelf
ad6498900b Using title tabs for some more actions 2014-02-21 14:05:28 +00:00
Thomas Gelf
154b4722f5 Helper function for "title tabs", still unhappy with this solution 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
02f16a90f7 Don't prefetch downtimes and don't fetch hostgroups for service objects 2014-02-21 14:05:27 +00:00
Thomas Gelf
3fa5ef0ea2 We want to sort by raw timestamps, we don't want to fetch them 2014-02-21 14:05:27 +00:00
Thomas Gelf
859d964d6b Don't show empty pies 2014-02-21 14:04:40 +00:00
Thomas Gelf
948af6a194 We need service perfdata for inline pies 2014-02-21 14:04:40 +00:00
Thomas Gelf
8ef6cc79cc Allow to sort contact groups by alias name 2014-02-21 14:04:39 +00:00
Thomas Gelf
55df4831d7 Monitoring backends are not allowed to return non-unixtime timestamps 2014-02-21 14:03:50 +00:00
Thomas Gelf
9ac77de47c Some more HTML fixes 2014-02-21 14:03:49 +00:00
Thomas Gelf
77dada8318 A few small backend changes 2014-02-21 14:03:49 +00:00
Thomas Gelf
249018808b Added missing columns to the groupsummary queries 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
158b137cdb Monitoring ShowController changed:
* removed tab classes, added icons
* ugly temp-fix for broken tab activation
2014-02-21 14:03:49 +00:00
Thomas Gelf
dc529fb0ba Different monitoring list controller changes:
* Temporary fix for evil performance problems
* Re-enabled export links (even if missing)
* Extended hostgroup columns to fetch missing information
* Added title-like tabs, quick and dirty
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
cae1734d1d Remove test code
refs #5679
2014-02-19 19:01:21 +01: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
Matthias Jentsch
c17cd2df34 Fix layout of GridChart
Introduce diagonal layout for x-axis, use bigger fonts and set the bar-rendering
to use a bigger default-width

fixes #5672
2014-02-18 18:44:42 +01:00
Markus Frosch
971a87c608 Fixed executable flags on normal files.
Refs #5040
2014-02-18 09:42:13 +01:00
Thomas Gelf
7dbede12fb Remove obsolete register script traces 2014-02-14 13:37:45 +00: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
Matthias Jentsch
db0f61fff1 Convert the opened view to pdf
refs #4356
2014-02-12 12:11:49 +01:00
Matthias Jentsch
80488644d4 Add pdf export functions
refs #4356
2014-02-12 12:09:33 +01:00
Marius Hein
1a6d1a20fb Fix: Simplify TopBar hook
refs #5597
2014-02-12 09:58:59 +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
Marius Hein
7b55f3a2bd Implement register and run php scripts for modules
refs #5597
2014-02-11 17:12:17 +01:00
Eric Lippmann
5a913881a6 Modules/Doc: Add Syntax highlighting for PHP code
refs #4820
2014-02-11 17:04:58 +01:00
Eric Lippmann
7f099b211b Fix documentation
refs #4820
2014-02-11 16:35:36 +01:00
Eric Lippmann
1caacbf20f Modules/Doc: Set rel="nofollow" on header links missing a user-specified id
refs #4820
2014-02-11 15:27:42 +01:00
Eric Lippmann
f96974fc79 Modules/Doc: Use Icinga\Web\Menu for the toc
refs #4820
2014-02-11 15:13:18 +01:00
Eric Lippmann
88e13c378d Modules/Doc: Add doc display per module
refs #4820
2014-02-11 15:09:04 +01:00
Eric Lippmann
75577cec51 Modules/doc: Replace Michelf/Markdown with Parsedown
refs #4820
2014-02-11 15:09:03 +01:00
Eric Lippmann
af33599e19 Add doc module (WIP)
refs #4820
2014-02-11 15:09:03 +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
Alexander Klimov
4923f8f322 Fix charts color being black in Firefox
Hex colors missed the hash prefix
2014-01-31 10:46:09 +01:00
Johannes Meyer
005c52bb4a Refactor translation cli commands and implement po-file compilation
refs #5533
2014-01-30 10:51:10 +01:00
Johannes Meyer
ac0b041523 Remove session handling from the authentication manager
refs #5510
2014-01-24 14:44:19 +01:00
Thomas Gelf
e037716585 Restriction example in the monitoring module configuration script 2014-01-22 16:25:24 +00:00
Thomas Gelf
6d59f242a7 Apply restrictions example extended to hostgroup view 2014-01-22 16:19:15 +00:00
Thomas Gelf
6ef87f4644 Example showing restriction usage in the monitoring module
fixes #4108
2014-01-22 13:34:39 +00:00
Thomas Gelf
c29e742570 Module configuration script can provide restrictions and permissions
Extended the module, created CLI commands showing available permissions
and restrictions, added a sample configuration.php to the monitoring
module.

refs #4108
2014-01-22 10:26:18 +00:00
Matthias Jentsch
cd0194e20f Fetch and clean user messages lazily, to ensure that only shown messages are removed
This will make the code of the ConfigController way easier, as messages can be
send from everywhere and there is no need to consider consquences of
redirections.

refs #5100
2013-11-26 10:41:51 +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
Matthias Jentsch
59d4baff0b Fix remaining references to DbUserBackend and refresh the documentation.
refs #4786
2013-11-06 13:31:07 +01:00
Matthias Jentsch
ad08691362 Extend resources.ini to contain all resources, including ldap
Remove the old calls to DbAdapterFactory and use ResourceFactory instead. Remove
the DbAdapterFactory and fix all unit tests that have been broken due to the changes.
Change the functionality of the ResourceFactory to also handle LdapConnections

resolves #4587
2013-11-06 10:20:15 +01:00
Eric Lippmann
c9db103384 Monitoring/Statusdat: Fix filter by handled/unhandled
refs #3801
2013-10-25 13:52:51 +02:00
Marius Hein
58b4674f58 Fix removeacknowledge command in multi select view 2013-10-23 15:56:42 +02:00
Eric Lippmann
ec42ddde12 Landing Page: Show unhandled host and service problems 2013-10-23 15:55:53 +02:00
Eric Lippmann
bf0a9c9e5a Monitoring/List/Multiselect: Fix schedule downtime command 2013-10-23 15:47:08 +02:00
Eric Lippmann
e48afa762c Monitoring/Controller: Move property compactView to base controller class 2013-10-23 15:38:06 +02:00
Eric Lippmann
1229eae0bf Monitoring/Perfdata: Fix throwing an exception when perfdata is a number with an exponential base 2013-10-23 15:26:51 +02:00
Eric Lippmann
4e9e5ca2dc Monitoring/Ido/Service Status: Add unhandled, handled and problems columns 2013-10-23 15:13:02 +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
74461e7cb2 Add icons to config forms 2013-10-23 12:25:51 +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
Jannis Moßhammer
dc5182d4bf CommandHandler now uses Status/HostView, fix sql IN-Query bug 2013-10-23 10:19:55 +02:00
Thomas Gelf
9a8ae4c92a Make sure backend configs will not be missing at backend creation time 2013-10-22 20:46:55 +00:00
Thomas Gelf
385488c5df Blinking conference command 2013-10-22 20:39:54 +00:00
Thomas Gelf
7893572319 Added perfdata to CLI monitoring list command, still disabled 2013-10-22 20:38:16 +00:00
Thomas Gelf
3ac869981a Small perfdata improvements 2013-10-22 20:35:18 +00:00
Marius Hein
bd6c1c7864 Merge branch 'bugfix/installation-fixes-4941'
Important vagrant changes:
    - Drop databases and users for icingaweb
    - Run vagrant provision to apply changes

fixes #4941
2013-10-22 17:55:15 +02:00
Thomas Gelf
c820336df8 The amazing monitoring conference command 2013-10-22 15:52:51 +00:00
Marius Hein
b9f03e27b7 Fix backend configuration while installation
refs #4941
2013-10-22 17:50:21 +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
Thomas Gelf
f2be16621b Move list documentation to default action unless help supports default 2013-10-22 13:53:58 +00: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
Thomas Gelf
a25cd80ec0 CLI interface: initial import 2013-10-22 12:26:45 +00:00
Thomas Gelf
d1e61a1826 Skip web stuff when registering monitoring module on CLI 2013-10-22 12:24:46 +00:00
Thomas Gelf
b1ba67bca9 Bugfix: in_downtime for pending services 2013-10-22 12:22:20 +00:00
Marius Hein
80fefe27dc Fixes create backend php strict notice
fixes #4940
2013-10-22 12:31:28 +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
Jannis Moßhammer
b553b4b61e Fix tests reflecting removed 'OR' queries and array operator 2013-10-21 17:15:39 +02:00
Jannis Moßhammer
c4f3e78c02 Fix filter behaviour, fix statusdat filter
refs #4469
2013-10-21 17:04:39 +02:00
Marius Hein
a49691068e Add datepicker
refs #4929
2013-10-21 10:32:53 +02:00
Jannis Moßhammer
513b50dba5 Fix downtime query and schedule downtime 2013-10-20 16:11:39 +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
Eric Lippmann
33ecaaa52b Monitoring/Schedule Downtime: Fix form always creating type flexible 2013-10-20 15:56:09 +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
Eric Lippmann
d9afd06701 Monitoring/Summaries: Fix summary query wrest handled and unhandled 2013-10-19 17:22:25 +02:00
Marius Hein
53ab6dbbf1 Implement global command toggle form in process view
refs #4918
2013-10-19 15:28:51 +02:00
Marius Hein
73e8d60060 Implement global commands
resolves #4142
2013-10-19 13:25:18 +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
ab2bbcd6dd Fix issue that prevented old form values from getting populated
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