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
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
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
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
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
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
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
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
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
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
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
Eric Lippmann
d871b3c287
Update the monitoring module
2013-07-12 14:33:17 +02:00