Johannes Meyer
617b6822d7
Add pagination support to the servicematrix
...
refs #4180
2014-03-19 09:11:24 +01:00
Johannes Meyer
0a5c2c5bd7
Make filtering/sorting of the servicematrix work
...
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
Alexander Klimov
5c3df3db15
Handle not readable monitoring config files more intelligent
2014-03-13 15:54:27 +01:00
Alexander Klimov
f1dcc4c15e
Merge branch 'master' of git.icinga.org:icingaweb2
2014-03-11 15:44:08 +01:00
Alexander Klimov
7d08636af4
Handle missing config files more intelligent
2014-03-11 15:43:41 +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
e3fbacfc4a
Add missing command notifications
2014-03-10 00:56:55 +01:00
Thomas Gelf
e54c91c2f7
Restyle process info and shorten performance info
2014-03-10 00:49:21 +01:00
Thomas Gelf
ad432217b2
Fix downtime scheduled start/end sort error
2014-03-09 22:35:33 +01:00
Thomas Gelf
bf66271e49
Still downtimes
2014-03-09 22:32:40 +01:00
Thomas Gelf
88859cb838
The next fat package: downtimes, everywhere
2014-03-09 21:58:01 +01:00
Thomas Gelf
2f61075260
More comment query cleanup and fix a typo
2014-03-09 20:05:59 +01:00
Thomas Gelf
2c3da5969a
Great, sortControl is not alias-aware. Fix comment sort options
2014-03-09 19:39:32 +01:00
Thomas Gelf
a270eb2270
Autorefresh commments list
2014-03-09 19:31:59 +01:00
Thomas Gelf
63fd074a4f
Comments are still messy, clean up and fix adding / removing them
2014-03-09 19:29:23 +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
e6fc6375b5
Refactor acknowledgements, finally get rid of status component
2014-03-08 21:28:32 +01:00
Thomas Gelf
d13b89d611
ListController code cleanup
2014-03-08 18:49:31 +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
ba59d938a1
Show reschedule notice
2014-03-08 17:04:12 +01:00
Thomas Gelf
ca0fbedf0e
Notifications for enable/disable active checks
2014-03-08 12:33:04 +01:00
Thomas Gelf
2b19ba51a6
No output support for command forms. Doesn't fit all forms, more to come
2014-03-08 12:08:25 +01:00
Thomas Gelf
8c30fe0a53
ZF-like XHR check
2014-03-08 11:31:12 +01:00
Thomas Gelf
b9a563cc03
Add a few notifications
2014-03-08 08:34:59 +00:00
Thomas Gelf
c9af498d81
Apply temporary fix for the "thing" breaking Web\Request and dispatching
2014-03-08 00:47:35 +00:00
Thomas Gelf
d53573ede2
Host services view
2014-03-08 00:00:21 +00:00
Thomas Gelf
b1c77ea509
Chart colors should fix layout / monitoring state colors
2014-03-07 23:24:41 +00:00
Thomas Gelf
e2ecd35314
First sample notifications
2014-03-07 23:18:23 +00:00
Alexander Klimov
9963a21236
Raise error if a configuration file is missing
2014-03-07 17:28:36 +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
be43014e0c
Don't raise error if 'modules/monitoring/instances.ini' is missing
2014-03-07 16:08:54 +01:00
Johannes Meyer
25979f44e3
Refine box styles
2014-03-07 13:15:26 +01:00
Alexander Klimov
a64168a42d
Service groups at tactical overview
2014-03-07 11:14:19 +01:00
Johannes Meyer
49127e3ac8
Fix contactgroups overview style
2014-03-07 10:35:21 +01:00
Thomas Gelf
fc85dface1
Allow access to generated object history SQL query
2014-03-07 09:07:54 +00:00
Johannes Meyer
067fa02263
Split and merge status summary in tactical overview
2014-03-07 08:59:20 +01:00
Thomas Gelf
2dcc029e91
Two more title tabs for our command forms
2014-03-06 18:55:08 +00:00
Thomas Gelf
3a2b2339e8
Services tab header in detail view (still no services)
2014-03-06 18:54:38 +00:00
Thomas Gelf
1ffea41bed
Fix instance config error handling in CommandController
2014-03-06 18:35:44 +00:00
Thomas Gelf
5d20fb38e2
A few more command title tabs
2014-03-06 16:03:48 +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
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
Matthias Jentsch
819e7e9806
Implement Widget to display problems as matrix over time
...
refs #5703
2014-03-05 20:19:09 +01:00
Thomas Gelf
573bd1bde1
Fix comment query. Service comments only right now
2014-03-04 14:14:42 +00:00
Thomas Gelf
b09ea7c690
Sample ticket hook
2014-03-04 12:50:49 +00:00
Thomas Gelf
0f0e4883d1
autorefreshIntervals and titles
2014-03-04 12:33:02 +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
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
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
9ac77de47c
Some more HTML fixes
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
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
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
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
Alexander Klimov
4923f8f322
Fix charts color being black in Firefox
...
Hex colors missed the hash prefix
2014-01-31 10:46:09 +01: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
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
Eric Lippmann
e48afa762c
Monitoring/Controller: Move property compactView to base controller class
2013-10-23 15:38:06 +02:00
Eric Lippmann
ca1d50ae53
Rename Icinga 2 Web to Icinga Web 2
2013-10-23 15:11:06 +02:00
Jannis Moßhammer
8eea09ab53
Add default dashboard, fix componentLoader issue introduced before
2013-10-23 13:06:09 +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
Jannis Moßhammer
dc5182d4bf
CommandHandler now uses Status/HostView, fix sql IN-Query bug
2013-10-23 10:19:55 +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
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
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
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
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
7a7c10e8df
Fix EventHistory Query and tests
...
refs #4868
2013-10-17 20:53:11 +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
Jannis Moßhammer
24da98be83
Implement base filter library and tests
...
refs #4469
2013-10-17 19:52:25 +02:00
Eric Lippmann
68f20e6231
Monitoring/History: Add menu entry
...
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
6f26df60f3
Apply less mixins
...
refs #4895
2013-10-16 15:37:44 +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
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
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
1eef471bc2
Comment overview: Basic implementation
...
refs #4714
2013-10-09 09:35:32 +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
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
Marius Hein
e7696bec89
CS: Fixes for controllers: Static, Action, List and Show
...
refs #4611
2013-09-24 12:52:00 +02:00
Marius Hein
ff0760e507
MainDetail: Fix doc strings
...
refs #4611
2013-09-24 12:51:54 +02:00
Marius Hein
8bb89d7d34
Drop misleading secondary navigation and fix tab null return
...
refs #4611
2013-09-24 12:51:48 +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
24f64e6d30
Fix conflicts from rebase, using inet_aton with pgsql, PHP strict standards violations, CS compliance
...
refs #4255
2013-09-17 15:12:18 +02:00
Thomas Gelf
26be35d447
Reverting change, this breaks things. No chance to redirect after rendering.
2013-09-17 10:46:31 +02:00
Thomas Gelf
42e73b866b
Slight changes in the ListController... more tbd
2013-09-17 10:44:18 +02:00
Johannes Meyer
7045148f93
Adjust submitpassivecheckresult command handling
...
refs #4580
2013-09-16 13:14:29 +02:00
Johannes Meyer
fef8370d5f
Adjust reschedulecheck command handling
...
refs #4580
2013-09-16 13:14:28 +02:00
Johannes Meyer
e9dc895b37
Adjust delay notification handling
...
refs #4580
2013-09-16 13:14:28 +02:00
Johannes Meyer
36424b508b
Adjust custom notification handling
...
refs #4580
2013-09-16 13:14:28 +02:00
Johannes Meyer
ba7f455643
Adjust schedule downtime handling (WIP)
...
refs #4580
2013-09-16 13:14:28 +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
Johannes Meyer
b74e264f01
Refactor comment command handling
...
- Refactored Comment class
- Dropped IComment interface
- Added AddCommentCommand class
- Updated CommentForm
refs #4580
2013-09-04 18:08:00 +02:00
Johannes Meyer
1593406f31
Refactor Acknowledgement command handling
...
#refs 4580
2013-09-04 18:07:59 +02:00
Eric Lippmann
2b10782d6b
Fix use \Monitoring without Icinga\Module prefix
...
refs #4601
2013-09-04 16:08:20 +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
Johannes Meyer
23f0962da1
Adjust command forms and tests
...
Made those command forms using the DateTimePicker
element compatible with its new validation.
refs #4581
2013-09-03 09:27:02 +02:00
Jannis Moßhammer
9f923b4940
Fix pagination and remove ModuleController, rename handlesAuth
...
This commit introduces the following changes:
- Count is now performed after joins are added to the selection query,
therefore returning the correct number
- MonitoringControllerTest now needn't to mock ModuleActionController (which is now removed)
- handlesAuthentication is now requiresAuthentication
- Redirection to login is now directly handled in the ActionController constructor,
so we don't need to overwrite the preDispatch method
refs #4589
refs #4591
refs #4572
2013-09-02 18:42:05 +02:00
Johannes Meyer
24ecbb56d7
Fix incorrect checkresult type selection
...
When submitting a passive checkresult for hosts only their correct
result types are added to the selection.
refs #4600
2013-09-02 17:24:42 +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
895976550c
Fix templates, capitalization and icons in php files
...
refs #4550
refs #4584
2013-08-23 10:28:48 +02:00
Jannis Moßhammer
95ad8da2a3
Fix class not found exception when trying to send commands
...
This has already been fixed but got lost during a rebase,
so no ticket ref exists.
2013-08-21 16:48:12 +02:00
Eric Lippmann
edb06ea8ea
CS: Fix viloations for touched files in branch feature/backend-configuration-ui-3776
...
refs #3776
2013-08-21 14:22:31 +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
a6ff6ecadd
Fix Codestyle/PHPDoc, fix configPath being Overwritten
...
Also removed possibility to disable debugging as there's no use case for this
refs #4525
refs #4598
2013-08-21 14:22:30 +02:00
Jannis Moßhammer
26a5018d16
Add Forms and conditional hidden
...
refs #3777
2013-08-21 14:18:53 +02:00
Jannis Moßhammer
d7358c65be
Remove QUrl and QLink, add Href
...
refs #4516
2013-08-21 09:44:01 +02:00
Eric Lippmann
6765648380
Monitoring: Fix nonexistent Icinga\Backend usage in CommandController
2013-08-21 09:44:01 +02:00
Eric Lippmann
d574a26db3
Monitoring: Fix nonexistent Icinga\Backend usage in CommandController
2013-08-20 16:19:34 +02:00
Marius Hein
d1cc1fb61f
Codestyle and doc strings for list controller
...
refs #4583
2013-08-20 15:45:44 +02:00
Marius Hein
df864d2738
Remove unused summary components
...
refs #4583
2013-08-20 15:38:00 +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
207c47ae64
Nav: Remove tabs from ListController since their links are redundant to the main menu
...
refs #4583
2013-08-20 15:14:57 +02:00
Eric Lippmann
3d3fbb123d
Monitoring/Commands: Add help messages to the custom notification form
...
refs #4524
2013-08-16 17:38:50 +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
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
0b479e3796
Code style fixes, fix documentation, fix tab parameters not being overwritten
...
refs #4512
2013-08-16 15:08:28 +02:00
Jannis Moßhammer
b28c7f2f4c
Refactor test, tabs and controller
...
- Remove unused methods,
- Code style
- Documentation for widgets
- Tabextensions instead of hardcoded tab actions
- Add tests for tabs
- Add missing phpdoc for touched files
- Fix tests
refs #4512
refs #4541
refs #4540
2013-08-16 15:08:28 +02:00
Eric Lippmann
6d98b923ca
CS: Fix docstrings in Icinga/Application/Modules/Module.php and Manager.php
...
refs #4530
2013-08-14 16:08:15 +02:00
Jannis Moßhammer
392e568bf8
Code style fixes: License header, phpdoc tags, psr-2 compliance
...
refs #4530
2013-08-14 16:08:15 +02:00
Jannis Moßhammer
be29b8ff8f
Make ConfigController and PreferenceController extensible by convention
...
- Rename ConfigurationController to ConfigController
- ConfigController and PreferenceController are now subclasses of
BaseConfigController and BasePreferenceController
- Module and Application Config/Preference Tabs are detected via
the ControllerTabCollector
- Moved Controller classes to Icinga/Web/Controller (this is why
so many files are modified)
refs #4530
2013-08-14 16:08:15 +02:00
Eric Lippmann
93ae6d6811
Framework: mv Icinga\Config\Config to Icinga\Application\Config
...
refs #4543
2013-08-12 15:02:25 +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
2b25757e20
Add documentation, add errorhandling and sizing
...
The optional width/height parameter can be set in the ini to change the dashboard components
size, documentation has been added and in the error case a message with the configuration is shown
refs #4192
2013-08-07 17:44:30 +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
Matthias Jentsch
56e47fd084
Add an ini writer for configuration files
...
Add an ini writer that respects the file structure and the comments that may be
already present in the config file. Move Application/Config.php into
Config/Config.php.
refs #4352
2013-08-07 15:58:42 +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
Marius Hein
15999eb880
Change _forward to redirect() to keep url history updates
...
refs #4382
2013-08-06 13:39:10 +02:00
Johannes Meyer
d78a5338df
Rename ConfirmationForm and ConfirmationWithIdentifierForm
...
Rename ConfirmationForm to CommandForm and
ConfirmationWithIdentifierForm to CommandWithIdentifierForm.
refs #4439
2013-08-06 11:14:56 +02:00
Johannes Meyer
98e7ab02db
Implement dynamic form elements
...
Rename "isPostAndValid" to "isSubmittedAndValid" and refactor it.
Add possibility for specific form elements to auto-submit their form.
refs #4439
2013-08-06 11:09:42 +02:00
Jannis Moßhammer
c2781f4969
Fix test cases for Confirmation forms
...
refs #4441
2013-08-06 09:27:37 +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
b44de95caa
Call commandhandler from commandcontroller actions
...
The CommandController now implements the calls to the specific
command methods and sends commands to the icinga process
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
50ca1aec1a
Refactor URL class and test
...
The constructor of the class is now private, instantiation happens
with Url::fromRequest and Url::fromPath. Also updated all occurences
of Url and fixed the Qlink helper to not overwrite the baseUrl with null
values
refs #4381
2013-08-02 13:14:55 +02:00
Matthias Jentsch
ce95511890
Change default database to "icingaweb" and add installation instructions
...
Set the default database and user to "icingaweb" in the authentication.ini. Add
instructions about how to set up the databases to authentication.ini.
refs #3769
2013-07-26 13:10:00 +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
Marius Hein
2b3bef457d
Command masks: Small PSR fix, drop unused core, fix lazy render
...
refs #4355
2013-07-24 12:43:26 +02:00
Marius Hein
849eee2cf2
Command masks: Review changes [WIP]
...
refs #4355
2013-07-23 17:09:06 +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
89e7fa6b2d
Command masks: Add validator and change validation flow
...
refs #4355
2013-07-23 14:47:40 +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
03f4a8eceb
Command masks: Implement missing forms [WIP]
...
Fixes phpcs issues, missing features, fix controller using
new config interface.
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
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
Jannis Moßhammer
597797c2ab
Removed custom query code from host action method, fix open problems
...
In the next sprint, the request contains all information needed to
limit/filter/sort the resultset, so only an applyRequest should be enough
refs #4179
2013-07-19 18:04:13 +02:00
Jannis Moßhammer
5e4adcfea2
Add Service overview and fixes for Statusdat
...
The service overview required a few fixes for issues that
occured because the StatusDat Query class now inherits from
Data/AbstractQuery.
refs #4178
2013-07-19 17:45:51 +02:00
Jannis Moßhammer
5827cb37cb
Fix statusdat tests and implementation
...
After moving StatusDat to monitoring/Backends and changing the
inheritance to Library/Icinga/Data, a few changes must be reflected in the tests:
- Move tests to monitoring module
- Change $this->backend references in StatusDat Queries to $this->ds
- Added LibraryLoader to ease requiring of libaries (to be discussed)
refs #4417
refs #4179
2013-07-19 11:36:05 +02:00
Jannis Moßhammer
2f79879a2e
Add preliminary subquery based comment and service problem fetch
...
The serviceproblems and host comment indicator are currently fetched
using subqueries (as this doesn't affect the group by).
refs #4179
2013-07-16 16:16:56 +02:00
Jannis Moßhammer
c1860e7d5d
Merge branch 'master' of ssh://git.icinga.org/icinga2-web into feature/host-overview--4179
...
Conflicts:
modules/monitoring/application/controllers/ListController.php
modules/monitoring/application/controllers/ShowController.php
modules/monitoring/library/Monitoring/Backend/AbstractBackend.php
2013-07-15 13:52:26 +02:00
Jannis Moßhammer
705127a95e
Make sql-queries more standard compliant
...
The connection now uses ONLY_FULL_GROUP_BY when connecting and
also forces ANSI SQL, this is reflected in the query codebase.
Also the comment count fields are added in this commit.
refs #4179
2013-07-15 13:21:48 +02:00
Marius Hein
6742696e09
Autoloader: Rename module namespace
2013-07-15 12:16:14 +02:00
Jannis Moßhammer
b045650a19
Merge branch 'master' of ssh://git.icinga.org/icinga2-web into feature/host-overview--4179
...
Conflicts:
application/layouts/scripts/layout.phtml
modules/monitoring/application/controllers/ListController.php
modules/monitoring/application/controllers/ShowController.php
modules/monitoring/application/views/scripts/list/hosts.phtml
modules/monitoring/application/views/scripts/show/components/comments.phtml
modules/monitoring/application/views/scripts/show/components/contacts.phtml
modules/monitoring/application/views/scripts/show/components/customvars.phtml
modules/monitoring/application/views/scripts/show/host.phtml
modules/monitoring/library/Monitoring/Backend/AbstractBackend.php
modules/monitoring/library/Monitoring/Backend/Ido/Query/StatusQuery.php
2013-07-12 15:55:31 +02:00
Jannis Moßhammer
c10752a05a
Add host_* prefix to fields for hostoverview
...
A few fields didn't have the host_ prefix (as in the host-detail branch).
This is fixed with this commit
refs #4179
2013-07-12 15:14:55 +02:00
Jannis Moßhammer
30040eaa1b
Add Host detail to hostoverview
...
This is merge to prevent the host-overview nad
host-detail branch from diverging too much
refs #4179
Conflicts:
application/views/helpers/TimeSince.php
modules/monitoring/application/controllers/ShowController.php
modules/monitoring/application/views/scripts/show/components/comments.phtml
modules/monitoring/application/views/scripts/show/header.phtml
modules/monitoring/application/views/scripts/show/host.phtml
modules/monitoring/library/Monitoring/Backend/AbstractBackend.php
modules/monitoring/library/Monitoring/Backend/Ido/Query/StatusQuery.php
public/css/base.less
public/css/components/details.less
2013-07-12 15:12:26 +02:00
Eric Lippmann
d871b3c287
Update the monitoring module
2013-07-12 14:33:17 +02:00
Jannis Moßhammer
8598743cc1
Modified ListController hostfields
...
This is a preliminary change to get the required fields, although
the views and queries will heavily change during the sprint, so
it's work in progress
refs #4179
2013-07-12 14:01:31 +02:00
Marius Hein
e817b9b790
Host detail view
...
Add downtime sub component.
refs #4182
2013-07-08 16:12:47 +02:00
Marius Hein
ffc1a2b43f
Host detail view
...
Fix psr, adapt output for layouting, add fields to adapt original
views from icinga.
refs #4182
2013-07-08 16:12:47 +02:00
Marius Hein
a0f96379a9
Host detail view
...
Fix psr, adapt output for layouting, add fields to adapt original
views from icinga.
refs #4182
2013-07-02 16:00:41 +02:00
Eric Lippmann
1e9fa28433
Add the monitoring module from the incubator
2013-06-28 09:11:12 +02:00