Commit Graph

443 Commits

Author SHA1 Message Date
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
Eric Lippmann dccb2189bd Vagrant: Add vagrant user to group icinga-cmd
The vagrant user is now allowed to interact with both the icinga
pipe and the livestatus socket.

refs #4366
2013-07-23 14:46:57 +02:00
Marius Hein d5b8a850ea Forms: New form system
Move new form parts arround and add new LoginForm.

refs #4355
2013-07-23 14:46:26 +02:00
Marius Hein dc878de275 Forms: Move class to the right place
Drop some methods we do not need anymore (all model related).

refs #4355
2013-07-23 14:46:25 +02:00
Marius Hein 2469e3652c Forms: Drop old form class 2013-07-23 14:46:25 +02:00
Marius Hein 576124a827 Forms: Move Icinga\Form to Icinga\Web\Form 2013-07-23 14:46:25 +02:00
Johannes Meyer b351cf61a7 Refactor Form-builder [WIP]
Refactor Form-builder so that it is an abstract extension class of
Zend_Form.

refs #4355
2013-07-23 14:46:25 +02:00
Johannes Meyer b3c1a7a1ed Implement command to add/delete comments
refs #4355
2013-07-23 14:46:25 +02:00
Johannes Meyer 56b8b398c2 Add Number functionality to Icinga\Form\SendCommand 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 087e4dfe90 Add choice functionality to Icinga\Form\SendCommand 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 23e15e3f54 Add textbox functionality to Icinga\Form\SendCommand 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 4b8643dc56 Add a date and time form-element.
Added a date and time form-element which are implemented based on the
new "date" and "time" input-types introduced with html5. If those are not
available two bootstrap javascript-modules will be enabled.

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 aa241865b4 Replace custom formNote element with the one from Zend
Replaced custom form element "Note" as
Zend already provides such an element.
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
Marius Hein 6ea048d4ef Merge branch 'feature/test-fixtures-4417'
fixes #4417
2013-07-23 11:11:01 +02:00
Marius Hein e47f3b2cdf Merge branch 'feature/vagrant-update-Icinga2-4385'
fixes #4385
2013-07-23 11:02:57 +02:00
Jannis Moßhammer 3912b7bc83 Merge branch 'bugfix/vagrant-caching-issues-on-vboxsf-4384' 2013-07-22 18:31:34 +02:00
Jannis Moßhammer 5f79ee221c Add testing.md for controller tests 2013-07-22 18:23:45 +02:00
Eric Lippmann 008d51034d Vagrant: Add missing manifest finalize.sh
refs #4385
2013-07-22 17:24:56 +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
Marius Hein 5d50fa03c1 Merge branch 'feature/host-overview--4179'
fixes #4179
2013-07-22 17:02:21 +02:00
Marius Hein a98e88c45e Merge branch 'feature/service-overview-4178'
fixes #4178
fixes #4179
2013-07-22 16:45:39 +02:00
Jannis Moßhammer a0839ea0da Add service detail view
refs #4181
2013-07-22 16:03:36 +02:00
Eric Lippmann 69400ce671 Vagrant: Update Icinga to 1.9.3 and Icinga 2 to 0.0.2
refs #4385
2013-07-22 14:48:05 +02:00
Jannis Moßhammer 07f7e7ef23 Fix interface changes of statusdat in tests
The StatusDat tests didn't run as they were outdated, now a
newer version is added

refs #4178
refs #4179
2013-07-22 13:47:09 +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 dac9b7be4b Fix mixedPagination property typo, Statusloader libraries missing and getter for Abstractquery
refs #4178
2013-07-19 17:48:24 +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 340554a58c Rename wrong filename
refs #4417
2013-07-19 12:00:42 +02:00
Jannis Moßhammer 76a3ef86c1 Fix QueryAdapter and SlidingWithBorderTest, remove --strict
QueryAdapter and SlidingWithBorder used the statusdat backend and
must therefore be modified.
The --strict parameter stores controller tests because of the 1s timeout
and offers now advantages for us at this time.

refs #4417
2013-07-19 11:36:11 +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 cea7cdbcaf Move Statusdat to backend, remove old backend from library
Except for statusdat, the library/Icinga/Backend classes were unused

refs #4417
refs #4179
2013-07-18 17:20:12 +02:00
Jannis Moßhammer 281d27255b Add documentation for testlib 2013-07-18 17:15:32 +02:00
Jannis Moßhammer 8cc3139f17 Testfixture insertion fixes
refs #4417
2013-07-18 14:53:47 +02:00
Jannis Mosshammer c36cbd3cb8 Add StatusDat support for testfixtures
refs #4417
2013-07-17 13:19:03 +02:00
Jannis Moßhammer c0b5aa962d Add optional datetime format for fixtures
This allows to use the same insertionStrategy class for MySQL
and PgSQL, as they only differ in the datetime format.

refs #4417
2013-07-16 16:37:16 +02:00