Commit Graph

3817 Commits

Author SHA1 Message Date
Eric Lippmann db41024c89 Add ApiCommandTransport class
refs #11398
2016-09-01 10:47:27 +02:00
Eric Lippmann cfc0f60042 Add RestRequest class
refs #11398
2016-09-01 10:47:06 +02:00
Eric Lippmann ad658b049c Add IcingaApiCommandRenderer class
refs #11398
2016-09-01 10:45:28 +02:00
Eric Lippmann 0f4fa2d492 Add IcingaApiCommand class
refs #11398
2016-09-01 10:44:59 +02:00
Alexander A. Klimov 13085776d8 Performance data: handle negative values
fixes #11915
2016-08-31 15:46:22 +02:00
Eric Lippmann 4fda29c1f0 Add downtime name to the delete downtimes command form
refs #11398
2016-08-31 15:21:31 +02:00
Eric Lippmann 9c766c0241 Select downtime name in the multi select detail view
refs #11398
2016-08-31 15:21:31 +02:00
Eric Lippmann c982c96e16 Select downtime name in the downtime detail view
refs #11398
2016-08-31 15:21:31 +02:00
Eric Lippmann 57406245ca Select downtime name in the downtime list view
refs #11398
2016-08-31 15:21:31 +02:00
Eric Lippmann 5737521683 Add comment name to the delete comments command form
refs #11398
2016-08-31 15:21:30 +02:00
Eric Lippmann b0be1e56dd Select comment name in the multi select detail view
refs #11398
2016-08-31 15:21:30 +02:00
Eric Lippmann 25a17b0bc9 Select comment name in the comment detail view
refs #11398
2016-08-31 15:21:30 +02:00
Eric Lippmann 39f225a627 Select comment name in the comment list view
refs #11398
2016-08-31 15:21:30 +02:00
Eric Lippmann 69db59a38e Add name to the delete downtime command form
refs #11398
2016-08-31 15:21:30 +02:00
Eric Lippmann 59dceb4729 Add name to the delete comment command form
refs #11398
2016-08-31 15:21:29 +02:00
Eric Lippmann 62f2f92ae8 Add name property to the delete downtime command
refs #11398
2016-08-31 15:21:27 +02:00
Eric Lippmann b8df909ad5 Add name property to the delete comment command
refs #11398
2016-08-31 15:06:38 +02:00
Eric Lippmann c55c5a9e64 IDO: Provide downtime name column
The Icinga 2 API requires the downtimes's name when removing the downtime.

refs #11398
2016-08-31 14:05:01 +02:00
Eric Lippmann 0e307c6482 IDO: Provide comment name column
The Icinga 2 API requires the comment's name when removing the comment.

refs #11398
2016-08-31 12:57:50 +02:00
Eric Lippmann 733696864e Wrap zero width space in hidden span
This should fix copy and paste issues but still help browsers to nicely break lines in plugin output.

refs #12134
2016-07-21 10:56:32 +02:00
Eric Lippmann fc5ed3feb1 Bump version to 2.3.4 2016-06-23 14:09:55 +02:00
Michael Friedrich f127611969 Fix contact service filters for 'Downtime'
refs #12019
2016-06-22 13:32:26 +02:00
Eric Lippmann 1bbe1b3620 RemoteCommandFile: Don't close stdin to support transmitting multiple commands 2016-06-09 16:43:06 +02:00
Eric Lippmann d4b9b6d303 Bump version to 2.3.3 2016-06-07 15:15:01 +02:00
Thomas Gelf 3a00923116 RemoteCommandFile: Replace exec with proc_open 2016-06-06 15:08:45 +02:00
Eric Lippmann 1de446fa3d Merge branch 'bugfix/html-links-in-plugin-output-don-t-behave-as-expected-11267'
fixes #11267
2016-06-03 15:33:16 +02:00
Eric Lippmann 97451dae86 Merge branch 'bugfix/remove-large-add-to-menu-tab-11850'
fixes #11850
2016-06-02 17:57:51 +02:00
Eric Lippmann e92aa3de42 Merge branch 'bugfix/sorting-no-longer-works-as-expected-11729'
fixes #11729
2016-06-02 17:57:50 +02:00
Eric Lippmann 6cf8c2ec93 Merge branch 'bugfix/zero-width-space-characters-may-destroy-links-in-plugin-output-11796'
fixes #11796
fxies #11737
2016-06-02 17:57:33 +02:00
Eric Lippmann 934fb34c06 Merge branch 'bugfix/preserve-character-after-comma-in-plugin-output-11728'
fixes #11728
2016-06-02 17:49:28 +02:00
Eric Lippmann 4c2b7f4377 Make delete action in the comment and dowtime list view accessible
fixes #11883
2016-06-02 17:23:38 +02:00
Alexander A. Klimov f75925b550 PluginOutput: preserve <a target="_blank">
refs #11267
2016-06-02 12:40:18 +02:00
hailthemelody@rm-laptop04 188703cf95 fix various typos
Signed-off-by: Johannes Meyer <johannes.meyer@netways.de>
2016-06-02 08:24:05 +02:00
Eric Lippmann ba5fe61fa9 monitoring: Make timeline colors accessible
fixes #11871
2016-06-01 14:40:55 +02:00
Eric Lippmann 656359a108 CSS: Remove border from extrapolated circles in the timeline
Looks cleaner to me
2016-06-01 13:37:02 +02:00
Alexander A. Klimov b6a76581b0 Host/show: display host alias if it differs from host_name and display_name
fixes #11348
2016-06-01 13:13:35 +02:00
Alexander A. Klimov 3fed5e920f list/contactgroups: show empty usergroups, too
refs #11744
2016-05-31 17:55:52 +02:00
Alexander A. Klimov ecfc8b0f0a Don't provide the "Add to menu" action for command forms
refs #11850
2016-05-31 14:56:42 +02:00
Johannes Meyer b759ab6f5a DbResourceForm: Don't show SSL form elements by default
Addded additionally a check for PHP 5.4 so that these elements
are not shown for earlier versions.

refs #11115
2016-05-27 15:45:22 +02:00
Lee Clemens 87e774cb88 Add SSL Support to MySQL resources
Signed-off-by: Johannes Meyer <johannes.meyer@netways.de>
2016-05-27 13:15:48 +02:00
Alexander A. Klimov 1be8e14772 Servicegroups list: show how many services are unknown and handled
fixes #11708
2016-05-20 17:05:51 +02:00
Alexander A. Klimov af2cee0942 Make host and service severities independend of whether the state is soft or hard
refs #11729
2016-05-20 14:41:02 +02:00
Alexander A. Klimov 7cfdbfccdb PluginOutput: fix links only if there is any HTML
refs #11796
2016-05-20 14:07:01 +02:00
Alexander A. Klimov ac96d16af0 PluginOutput: add doc
refs #11796
2016-05-20 14:07:00 +02:00
Alexander A. Klimov 53d8278877 Add regression test for bug #11796 2016-05-20 14:07:00 +02:00
Alexander A. Klimov 10d2b9c51d Don't destroy links by adding zero width space characters to plugin output
refs #11796
2016-05-20 14:07:00 +02:00
Alexander A. Klimov 06755ba778 Add regression test for bug #11728
refs #11728
2016-05-19 13:45:15 +02:00
Alexander A. Klimov c94228308a PluginOutput: preserve character after comma
refs #11728
2016-05-19 11:37:12 +02:00
Alexander A. Klimov 21e4ba5680 Icinga Web 2.3.2 2016-04-28 14:56:31 +02:00
Alexander A. Klimov f75d268c3e monitoring/config: honor permissions
fixes #11691
2016-04-28 11:43:01 +02:00
Alexander A. Klimov 8461cfafd8 Merge branch 'bugfix/can-t-configure-monitoring-backend-when-none-were-configured-11392'
fixes #11392
2016-04-26 12:56:11 +02:00
Alexander A. Klimov dda44bf7ba ConfigController: ignore URL parameter `backend'
refs #11392
2016-04-26 12:54:02 +02:00
Alexander A. Klimov 809c2d0e02 Event history: display a heading above each group of events (by day)
refs #11629
2016-04-26 12:09:40 +02:00
Alexander A. Klimov 531d999129 Event history: show the absolute time of events
refs #11629
2016-04-26 11:38:24 +02:00
Alexander A. Klimov 098eff9050 Event history: preserve translation domain
refs #11629
2016-04-26 11:34:10 +02:00
Alexander A. Klimov 4b9a20f239 ConfigController: inherit from Icinga\Web\Controller directly
refs #11392
2016-04-25 17:22:13 +02:00
Alexander A. Klimov aa57981b3e ConfigController: don't use Monitoring\Controller::$backend
refs #11392
2016-04-25 17:19:57 +02:00
Johannes Meyer d0cd03f324 ScheduleHostDowntimeCommandForm: Add missing use statement for DateTime 2016-04-21 15:35:29 +02:00
Alexander A. Klimov 66bdae81ac Don't let the user schedule illogical host or service downtimes
refs #10847
2016-04-18 17:55:29 +02:00
Eric Lippmann fdbcc6af8e Bump version to 2.3.1 2016-04-18 01:10:20 +02:00
Eric Lippmann f66daa622c Fix unwanted change of ContactgroupQuery::$groupBase
Oops!

fixes #11598
2016-04-18 01:01:26 +02:00
Eric Lippmann 773c3cc88e Bump version to 2.3.0 2016-04-13 16:23:38 +02:00
Eric Lippmann 4d488ab354 Merge branch 'master' into feature/restrict-custom-variables-10965 2016-04-13 15:44:12 +02:00
Alexander A. Klimov 589da9bcd1 monitoring: Apply custom variable restrictions
refs #10965
2016-04-13 15:43:42 +02:00
Eric Lippmann 855e7f7120 Fix icingacli monitoring list --problems
fixes #11245
2016-04-13 13:51:43 +02:00
Florian Strohmaier 8034e9de23 Accessibility: Increase focus visibility in tactical overview
fixes #11516
2016-04-13 13:48:32 +02:00
Florian Strohmaier 7e15f68a7a CSS: Beautify state-badges 2016-04-13 12:42:52 +02:00
Eric Lippmann 275d9bd411 Add CSS class for state badge groups 2016-04-13 12:28:38 +02:00
Eric Lippmann 5afc54d973 monitoring: Select instance_name in multi-select views
Before, if all command transports are configured to filter for a specific instance, no command would have been sent to Icinga.
2016-04-12 13:23:13 +02:00
Eric Lippmann 7ea9ae8305 CSS: Remove redundant hover styles for a 2016-04-11 14:12:32 +02:00
Eric Lippmann 05f752ecd8 Don't offer disable notifications w/ expire time if backend is Icinga 2
resolves #11529
2016-04-11 10:51:37 +02:00
Eric Lippmann b783b0c44c monitoring: Use icon view helper instead for icon images
fixes #11299
2016-04-11 10:41:22 +02:00
Eric Lippmann 4cc4657ee9 Add host_is_reachable column to the host status data view
refs #11404
2016-04-11 10:29:26 +02:00
Eric Lippmann 750b8950b2 lib: Reorder columns in Hoststatus 2016-04-11 10:29:08 +02:00
Eric Lippmann a824637c0e Add service_is_reachable column to the service status data view
refs #11404
2016-04-11 10:28:12 +02:00
Eric Lippmann aced4f3b6e lib: Reorder columns in Servicestatus 2016-04-11 10:27:28 +02:00
Eric Lippmann e23672e483 Merge branch 'bugfix/word-break-in-plugin-output-10820'
refs #10820
2016-04-11 10:00:20 +02:00
Eric Lippmann 793acd8475 CSS: Move styles related to controls to controls.less
refs #11145
2016-03-31 12:38:25 +02:00
Florian Strohmaier 6267001053 monitoring: float state-summaries left
refs #11145
2016-03-31 10:30:01 +02:00
Eric Lippmann ad6d8dca2e monitoring: Update controls markup in services
refs #11145
2016-03-31 10:27:02 +02:00
Eric Lippmann f50906dade monitoring: Use descriptive variable names in servicesAction() 2016-03-31 10:27:01 +02:00
Eric Lippmann ad8cffcbbd monitoring: Update content markup in servicegroups 2016-03-31 10:27:01 +02:00
Eric Lippmann 913c024e46 monitoring: Use descriptive variable names in servicegroupsAction() 2016-03-31 10:27:01 +02:00
Eric Lippmann b3d382a3d4 monitoring: Update controls markup in service groups
refs #11145
2016-03-31 10:26:56 +02:00
Eric Lippmann 09892d5490 monitoring: Update controls markup in notifications
refs #11145
2016-03-31 10:26:40 +02:00
Eric Lippmann 9e4d5387ab monitoring: Use descriptive variable names in notificatiosnAction() 2016-03-31 10:26:40 +02:00
Eric Lippmann 107a06df4e monitoring: Update controls markup in hosts
refs #11145
2016-03-31 10:26:40 +02:00
Eric Lippmann c1dce54b71 monitoring: Use descriptive variable names in hostsAction() 2016-03-31 10:26:40 +02:00
Eric Lippmann 7bc17aee74 monitoring: Update content markup in host groups 2016-03-31 10:26:40 +02:00
Eric Lippmann 0551133291 monitoring: Update controls markup in host groups
refs #11145
2016-03-31 10:26:40 +02:00
Eric Lippmann 28e639bde1 monitoring: Use descriptive variable names in hostgroupsAction() 2016-03-31 10:26:39 +02:00
Eric Lippmann c7249eab0c monitoring: Update controls markup in event views
refs #11145
2016-03-31 10:26:39 +02:00
Eric Lippmann bd3d40d46d monitoring: Update content markup in downtimes 2016-03-31 10:26:39 +02:00
Eric Lippmann f135e4d0d2 monitoring: Update controls markup in downtimes
refs #11145
2016-03-31 10:26:39 +02:00
Eric Lippmann 40e1c96df0 monitoring: Use descriptive variable names in downtimesAction() 2016-03-31 10:26:39 +02:00
Eric Lippmann 1da35eaad4 monitoring/list: Update content markup in contacts 2016-03-31 10:26:39 +02:00
Eric Lippmann a2d067ba97 monitoring: Update controls markup in contacts
refs #11145
2016-03-31 10:26:39 +02:00
Eric Lippmann bb565b28aa monitoring/contacts: Remove sort by time period 2016-03-31 10:26:38 +02:00
Eric Lippmann af2a26474e monitoring: Use descriptive variable names in contactsAction() 2016-03-31 10:26:38 +02:00
Eric Lippmann 6e287d7905 monitoring: Update controls markup in contact groups
refs #11145
2016-03-31 10:26:35 +02:00
Eric Lippmann a2ff8c9778 monitoring: No longer provide contact columns in the contact group query
Contacts query w/ filter for contact group should be used instead.
2016-03-31 10:26:27 +02:00
Eric Lippmann 7481e3af43 monitoring: Update controls markup in comments
refs #11145
2016-03-31 10:26:24 +02:00
Eric Lippmann 975230d116 monitoring: Use descriptive variable names in commentsAction() 2016-03-31 10:10:28 +02:00
Alexander A. Klimov 66a7bdfc84 MonitoredObject: implement hideBlacklistedProperties()
refs #10965
2016-03-22 18:21:20 +01:00
Alexander A. Klimov 32b556c2b1 Provide restriction monitoring/blacklist/properties
refs #10965
2016-03-22 16:21:40 +01:00
Eric Lippmann 5bc52a2801 Merge branch 'master' into feature/restrict-custom-variables-10965 2016-03-21 14:50:13 +01:00
Eric Lippmann 01e169b756 doc: Remove curly brace expansion for custom var restriction
refs #10965
2016-03-21 14:49:37 +01:00
Marius Hein 609b2da565 Update module versions 2016-02-29 22:49:40 +01:00
Marius Hein c831bc5232 Add host_alias to search columns if backend is icinga 1 2016-02-29 22:34:54 +01:00
Marius Hein 2a9a96c8b4 Update german translation 2016-02-29 22:18:31 +01:00
Johannes Meyer 1dca5bd123 ActionsController: Pass the backend to downtime command forms
fixes #11260
2016-02-29 15:25:03 +01:00
Eric Lippmann 70d296ea32 Merge branch 'bugfix/disable-comment-persisent-for-icinga2-11100'
fixes #11100
2016-02-27 22:48:45 +01:00
Eric Lippmann ad3ca513c9 Fix misleading tooltip in Tactical Overview
fixes #11039
2016-02-27 22:03:14 +01:00
Eric Lippmann dc0359f5b2 Fix icon_image size and provide a CSS class for theming
fixes #11032
2016-02-27 21:57:02 +01:00
Eric Lippmann d4dcdb96bd Force browsers to respect overflow of plugin output in tables
refs #10820
2016-02-27 18:06:35 +01:00
Eric Lippmann bee0992fe4 Use hyphens for word break in plugin output where supported
Chrome, Opera and nearly all mobile browsers do not support hyphens (yet).

refs #10820
2016-02-27 18:05:22 +01:00
Eric Lippmann 1f7a4a170f Add zero width space characters to plugin output where appropriate
This helps browsers to break lines if the plugin output is missing whitespaces.
Alternatively we could set word-break: break-all but that may produce ugly results.

refs #10820
2016-02-27 18:00:50 +01:00
Eric Lippmann f6e4b0aed0 Respect filter in state links in group overviews
refs #10778
2016-02-27 16:22:44 +01:00
Eric Lippmann 5f8b994d5f Use isIcinga2() in command forms where needed 2016-02-25 17:51:37 +01:00
Eric Lippmann 02eea2ad11 Disable persistent comment checkbox if backend is Icinga 2
refs #11100
2016-02-25 17:51:02 +01:00
Eric Lippmann 863bf08864 Use isIcinga2() in the ToggleInstanceFeaturesCommandForm 2016-02-25 17:48:32 +01:00
Eric Lippmann 47b3019940 Add MonitoringBackend::isIcinga2()
This function is for the many places where we have to distinguish between Icinga 1.x and Icinga 2.x.

refs #11100
2016-02-25 17:45:51 +01:00
Alexander A. Klimov 4751df692d Allow style classes in plugin output
resolves #11062
2016-02-25 17:09:39 +01:00
Eric Lippmann 5a76895105 CSS: Disable :hover transition on tr (WIP)
If any tr is hovered and auto-refresh kicks in, the tr will be hovered again which leads to "flickering".

We should find good a way to use transitions w/o flickering.

refs #11073
2016-02-25 14:52:54 +01:00
Eric Lippmann 43a7ed357a Fix whitespaces in event-history
overview-plugin-output now has white-space: pre-wrap
2016-02-25 11:34:23 +01:00
Eric Lippmann a34f48c990 Fix wrong "Sent out to any contact" notification information 2016-02-25 11:33:43 +01:00
Eric Lippmann f032a670f0 Merge branch 'feature/render-links-in-acknowledgements-comments-and-downtimes-10654'
resolves #10654
2016-02-25 11:31:13 +01:00
Eric Lippmann c834e66b9a Show useful error message if a command transport failed
fixes #10173
2016-02-25 10:36:10 +01:00
Eric Lippmann 102ed40378 Show "Remove problem acknowledgement" in multi-select views
fixes #10469
2016-02-25 10:21:10 +01:00
Eric Lippmann e407f6d116 Merge branch 'bugfix/users-with-no-permissions-can-check-multiple-services-10397'
fixes #10397
2016-02-24 12:42:46 +01:00
Alexander A. Klimov d257c71c54 Respect permission for check now on multiple services
refs #10397
2016-02-24 12:40:00 +01:00
Alexander A. Klimov 23841b635e Respect permission for check now on multiple hosts
refs #10397
2016-02-24 12:39:54 +01:00
Eric Lippmann 35754fbe8e monitoring: Respect whitespace characters in the plugin output in list views
fixes #10786
2016-02-23 16:06:43 +01:00
Eric Lippmann 18e3884b8b monitoring: Fix order of information and actions in the check execution part in the detail area
fixes #10310
2016-02-23 15:41:01 +01:00
Eric Lippmann ff3aa43070 CSS: Set tr background transition only for hover
fixes #11073
2016-02-23 15:40:47 +01:00
Eric Lippmann 7f358ed88d Don't sort a data view on dump when the data view is already sorted 2016-02-23 15:40:40 +01:00
Eric Lippmann bb8478a219 Merge branch 'bugfix/passwords-not-hidden-by-icinga-web-2-10640'
fixes #10640
2016-02-23 15:40:27 +01:00
Eric Lippmann acd2ef709e monitoring: Fix PHPDoc of MonitoredObject::obfuscateCustomVars()
refs #10640
2016-02-23 10:54:47 +01:00
Eric Lippmann 38a752b0ac monitoring: Avoid full stops at the end of comment tooltips
refs #10113
2016-02-22 14:15:35 +01:00
Alexander A. Klimov ce1ed7413d Escape service grid tooltips only once
refs #10277
2016-02-18 11:32:43 +01:00
Alexander A. Klimov c4610ab05d Comments list: display the absolute expire date and time in tooltips
refs #10277
2016-02-18 10:39:52 +01:00
Eric Lippmann 90cd481e84 doc: Use only three backticks for code blocks
refs #10965
2016-02-17 15:26:24 +01:00
Eric Lippmann d183919ca3 doc: Add syntax draft for restricting custom variables
refs #10965
2016-02-17 13:35:48 +01:00
Alexander A. Klimov bd02e5468c PluginOutput helper: use a regex to detect HTML in plugin output
fixes #10366
2016-02-17 11:49:23 +01:00
Alexander A. Klimov af3abb76c8 Render simple HTML links (a[href]) in acknowledgements, comments and downtimes
refs #10654
2016-02-16 14:55:27 +01:00
Alexander A. Klimov b0932d2413 Implement escapeComment helper
refs #10654
2016-02-15 16:26:52 +01:00
Thomas Gelf 601592dbf8 Revert "Fix style issues with long plugin output"
This reverts commit c73ddcff42.

Sorry, break-all is not a solution and looks terrible. Might be used
as a fallback for browsers with buggy hyphens, but not as a default for
every plugin output. No human being wants to read text formatted that
way.

refs #10820
2016-02-15 12:16:29 +01:00
Florian Strohmaier c73ddcff42 Fix style issues with long plugin output
fixes #10820
2016-02-15 11:59:34 +01:00
Alexander A. Klimov 474803fee4 Change all license headers to only reflect a file's year of creation
refs #11000
2016-02-08 15:41:00 +01:00
Eric Lippmann 9bc9b78643 monitoring: Fix Icinga 2 version detection in the toggle object features command form 2016-01-28 14:45:39 +01:00