Commit Graph

3410 Commits

Author SHA1 Message Date
Thomas Gelf 7b35741985 monitoring/show: forgot to check for existance 2014-09-04 18:57:20 +02:00
Thomas Gelf 05a64ceea9 monitoring/show: use global hasPreviews check once
refs #6932
2014-09-04 18:51:54 +02:00
Thomas Gelf f91892cb80 Web\Url: add matches() function
fixes #6992
2014-09-04 18:46:58 +02:00
Thomas Gelf 201c24107d doc/api: keep that directory for the build server 2014-09-04 18:43:33 +02:00
Thomas Gelf 97cfeaa3df SessionNamespaceTest: expect the correct exception 2014-09-04 18:39:02 +02:00
Thomas Gelf 3d170f90a5 TranslatorTest: expect the correct exception 2014-09-04 18:39:02 +02:00
Thomas Gelf 0cc024a30a DateFormatTest: disable it as it is broken 2014-09-04 18:39:02 +02:00
Thomas Gelf 5314e57b0f ResourceFormTest: disable, messed up 2014-09-04 18:39:02 +02:00
Thomas Gelf dccc57b7a2 CommandForm: fix broken function 2014-09-04 18:39:02 +02:00
Alexander Fuhr e4d1143870 Add SearchDashboardTest 2014-09-04 18:31:08 +02:00
Thomas Gelf 4513ab2aed GraphChartTest: match current implementation
We have more nodes right now as of a graphical hack (white bg)
2014-09-04 17:57:02 +02:00
Matthias Jentsch 34417338dd Use an icon with better interpolation in our header bar 2014-09-04 17:41:48 +02:00
Thomas Gelf 5a29315ee8 Web\UrlTest: make tests fit current implementation
* temporarily disable [] tests
* getAbsoluteUrl uses & and not & by default
* __toString uses & and does not match getAbsoluteUrl by default
* addParams MUST hide existing ones, getValues still ships them

fixes #6604
2014-09-04 17:35:55 +02:00
Alexander Klimov 70146c43e7 Icinga\Protocol\File\FileReader: implement Icinga\Data\Selectable, and Countable 2014-09-04 16:59:37 +02:00
Alexander Klimov 3c4a719feb Revert "Icinga\Protocol\File\FileReader: implement Icinga\Data\Selectable, ...\Fetchable and Countable"
This reverts commit 7edbb8f27216e6faa0d0dc5a71b407748e9dd535.
2014-09-04 16:55:02 +02:00
Alexander Klimov 876b94cccf Icinga\Protocol\File\FileReader: implement Icinga\Data\Selectable, ...\Fetchable and Countable 2014-09-04 16:54:14 +02:00
Thomas Gelf b6b16e25e9 monitoring/show: use new grapher hook interface
refs #6932
2014-09-04 16:43:07 +02:00
Alexander Klimov f0969e0b2e Split Icinga\Protocol\File\FileReader into ...\FileReader and ...\FileIterator 2014-09-04 16:37:26 +02:00
Alexander Klimov fcd12073f8 Rename Icinga\Protocol\File\Query to ...\File\FileQuery 2014-09-04 16:37:25 +02:00
Alexander Klimov 36a3c36c1b Rename Icinga\Protocol\File\Reader to ...\File\FileReader 2014-09-04 16:37:24 +02:00
Alexander Fuhr 3a0e2b4430 Merge branch 'feature/modules-search-capabilities-6495'
resolves #6495
2014-09-04 16:35:27 +02:00
Alexander Fuhr 70ac8077e6 Merge branch 'master' into feature/modules-search-capabilities-6495 2014-09-04 16:33:40 +02:00
Alexander Fuhr 1eacde0233 Implement modules self provided search configuration
refs #6495
2014-09-04 16:31:10 +02:00
Marius Hein d11240d036 Merge branch 'bugfix/remove-date-time-formats-6077'
fixes #6077
2014-09-04 16:03:15 +02:00
Marius Hein 0935a8e340 DateFormatTest: Remove dependencies to global/user config
refs #6077
2014-09-04 16:02:10 +02:00
Marius Hein 6fcf5ec88a DateTime: Remove global and user formattings
refs #6077
2014-09-04 16:02:10 +02:00
Eric Lippmann a83ddb9d8e monitoring/commands: Let `ScheduleDowntimeCommand' extend `AddCommentCommand'
refs #6593
2014-09-04 15:52:20 +02:00
Eric Lippmann a94e84f3b0 monitoring/commands: Add common `AddCommentCommand'
refs #6593
2014-09-04 15:51:41 +02:00
Eric Lippmann 9cfd74d618 monitoring: Introduce `ServiceController'
In the long term, `ServiceController' and the upcmoing `HostController' should replace `ShowController'.

refs #6593
2014-09-04 15:43:37 +02:00
Eric Lippmann 1358a5d49f monitoring/commands: Add command form for scheduling a service downtime
refs #6593
2014-09-04 15:42:46 +02:00
Eric Lippmann fe47441efc monitoring/commands: Add command to schedule a service downtime
refs #6593
2014-09-04 15:42:11 +02:00
Eric Lippmann 1c8f880d18 modules/command: Remove old `ScheduleDowntimeCommand'
refs #6593
2014-09-04 15:38:48 +02:00
Eric Lippmann f57bb0f6a1 modules/commands: Add common `ScheduleDowntimeCommand'
`ScheduleDowntimeCommand' is the base class for commands scheduling downtimes.

refs #6593
2014-09-04 15:37:30 +02:00
Eric Lippmann 6f8fc3eb6d modules/command: Add command description to `DisableNotificationsCommandForm'
refs #6593
2014-09-04 15:30:54 +02:00
Thomas Gelf 6739034a14 monitoring/list: handle q param and search for *q*
Handle the generic search parameter q, search defaults to *searchString*
instead of searchString* right now.

refs #6680
refs #6495
2014-09-04 15:12:49 +02:00
Marius Hein f694b16092 Doc/IcingaWebController: Fix "The ... with non-compound name ... has no effect" 2014-09-04 14:53:00 +02:00
Marius Hein 4c88abcb3c Doc/ModuleController: Fix "The ... with non-compound name ... has no effect" 2014-09-04 14:49:58 +02:00
Marius Hein c4ce1203c6 Merge branch 'bugfix/hooktest-7066'
fixes #7068
fixes #7067
fixes #7066
fixes #6932
2014-09-04 14:02:07 +02:00
Marius Hein c8eaf66823 GrapherHook: Rework hook
refs #6932
2014-09-04 14:00:48 +02:00
Marius Hein f8b3ffb3c8 AbstractObject: Rename to MonitoredObject
refs #6932
2014-09-04 14:00:48 +02:00
Marius Hein 4fb47ef768 Hook classes: Add class suffix if not exist
refs #7066
refs #7067
refs #7068
2014-09-04 14:00:48 +02:00
Matthias Jentsch eeed030bb5 Do not use an invalid HTML attributes for rich titles 2014-09-04 13:32:30 +02:00
Eric Lippmann ed645b1eeb monitoring/commands: Fix `CommandForm::getTransport()'s PHPDoc
refs #6593
2014-09-04 13:29:12 +02:00
Eric Lippmann cb23ef3c4e monitoring/commands: Add `DisableNotificationsCommandForm'
`DisableNotificationsCommandForm' is the form for disabling host and service notifications w/ an optional expire date and time on an Icinga instance.

refs #6593
2014-09-04 13:06:47 +02:00
Eric Lippmann 3d0a74bfdb monitoring/commands: Add `ToggleNotificationsCommandForm'
`ToggleNotificationsCommandForm' is the form for enabling/disabling host and service notifications on an Icinga instance.

refs #6593
2014-09-04 13:04:54 +02:00
Eric Lippmann bc1d00f146 monitoring/commands: Fix `ToggleFeatureCommandForm::createElements()'
`Icinga\Web\Form::createElements()' no longer requires to return an array of elements
because elements should be created directly.

refs #6593
2014-09-04 13:02:38 +02:00
Eric Lippmann 8d109132b0 monitoring/commands: Add common `ScheduleDowntimeCommandForm'
`ScheduleDowntimeCommandForm' should be the base class for forms scheduling downtimes.

refs #6593
2014-09-04 13:01:42 +02:00
Eric Lippmann a45b17fcd0 monitoring/lib: Add methods `Service::getHostName()' and `Service::getName()'
The upcoming service command objects will require a service object.
In order to build the command string, the service command objects require
retrieval of the service's host name and the service's name.

The actual implementation of the methods is subject to change

refs #6593
2014-09-04 12:54:52 +02:00
Johannes Meyer 439d1895a7 Adjust Monitoring\BackendForm to use handleRequest() & Co.
refs #5525
2014-09-04 11:25:47 +02:00
Matthias Jentsch e5be8d47ef Fix SVG bound calculation for tooltips in Firefox 2014-09-04 09:53:57 +02:00