Commit Graph

2173 Commits

Author SHA1 Message Date
Johannes Meyer be293f5e49 Add proper titles to the timeline
refs #8458
2015-02-23 17:31:24 +01:00
Johannes Meyer 52c17805c9 Add proper titles to the history view
refs #8458
2015-02-23 17:30:51 +01:00
Johannes Meyer bb5799434c Add proper titles to the contact view
refs #8458
2015-02-23 17:30:37 +01:00
Johannes Meyer 32e048693a Add proper titles to service multi selection view
refs #8458
2015-02-23 17:29:50 +01:00
Johannes Meyer 8991b7ed83 Add proper titles to the tactical overview
refs #8458
2015-02-23 17:29:22 +01:00
Johannes Meyer 18f6ff8702 Add proper titles to the servicegroups component view
refs #8458
2015-02-23 17:28:20 +01:00
Johannes Meyer 7247ea5191 Add proper titles to the hostgroups component view
refs #8458
2015-02-23 17:28:02 +01:00
Johannes Meyer 0d8bf462f5 Add proper titles to the downtime component view
refs #8458
2015-02-23 17:27:45 +01:00
Johannes Meyer 3a74ec3d09 Add proper titles to the contacts component view
refs #8458
2015-02-23 17:27:27 +01:00
Johannes Meyer 9793bd52c7 Add proper titles to the comments component view
refs #8458
2015-02-23 17:27:13 +01:00
Johannes Meyer 89ed498069 Add proper titles to the command component view
refs #8458
2015-02-23 17:26:56 +01:00
Johannes Meyer 25e2baa566 Add proper titles to the checkstatistics component view
refs #8458
2015-02-23 17:26:42 +01:00
Johannes Meyer 74360ee8e6 Add proper titles to the acknowledgements component view
refs #8458
2015-02-23 17:26:21 +01:00
Johannes Meyer 598294d2a2 Add proper titles to the servicesummary partial
refs #8458
2015-02-23 17:25:55 +01:00
Johannes Meyer f11ad1183a Add proper titles to the service list view
refs #8458
2015-02-23 17:25:23 +01:00
Johannes Meyer ebdf68550b Add proper titles to the servicegroups view
refs #8458
2015-02-23 17:25:02 +01:00
Johannes Meyer c4aa02c3f0 Add proper titles to the service grid
refs #8458
2015-02-23 17:24:46 +01:00
Johannes Meyer a64f546a71 Add proper titles to the host list view
refs #8458
2015-02-23 17:24:22 +01:00
Johannes Meyer 45e1406e2a Add proper titles to the hostgroups view
refs #8458
2015-02-23 17:23:57 +01:00
Johannes Meyer e0164e8bcb Add proper titles to the contacts view
refs #8458
2015-02-23 17:23:39 +01:00
Johannes Meyer 3aa1f7e58e Add proper titles to the contactgroups view
refs #8458
2015-02-23 17:23:26 +01:00
Johannes Meyer 1bcac55778 Add proper titles to the servicesummary component view
refs #8458
2015-02-23 17:23:09 +01:00
Johannes Meyer abcac2917c Add proper titles to the hostsummary component view
refs #8458
2015-02-23 17:22:52 +01:00
Johannes Meyer 96c7b22c16 Add proper titles to the host multi selection view
refs #8458
2015-02-23 17:22:07 +01:00
Johannes Meyer fb28da8f23 Add proper titles to the documentation module's overview
refs #8458
2015-02-23 17:18:32 +01:00
Johannes Meyer de744fdc83 Add proper title to each module documentation link
refs #8458
2015-02-23 17:17:48 +01:00
Johannes Meyer 49e7964355 Use an already existing variable instead of calling a function twice.. 2015-02-23 17:13:55 +01:00
Johannes Meyer a1e7cd8906 Add proper titles to the documentation tocs and search results
refs #8458
2015-02-23 17:12:34 +01:00
Johannes Meyer 676f10bb87 Fix week-label of the timeline 2015-02-23 17:11:23 +01:00
Johannes Meyer 77fa2f7c2b Add aria-label to the monitoring health's link to disable notifications
refs #8458
2015-02-23 17:10:52 +01:00
Johannes Meyer 5fd447394c Add proper title to the BackendConfigForms's jump link...
...and move it to the right of the respective form control

refs #8458
2015-02-23 17:09:37 +01:00
Johannes Meyer bd9d06574d Ensure that the link() view helper adds proper titles
refs #8458
2015-02-23 17:07:21 +01:00
Johannes Meyer c6b61617ee Add proper titles to the monitoring module's config tabs
refs #8458
2015-02-23 17:04:40 +01:00
Johannes Meyer 6eb638f6b3 Add proper titles to the list view's tabs
refs #8458
2015-02-23 17:00:30 +01:00
Johannes Meyer f48dbf1640 Add proper title to the timeline's tab
refs #8458
2015-02-23 16:59:47 +01:00
Johannes Meyer 1ef03a76f7 Add proper title to the monitoring health's tab
refs #8458
2015-02-23 16:59:13 +01:00
Johannes Meyer 7aacfcf907 Add proper title to the tactical overview's tab
refs #8458
2015-02-23 16:58:48 +01:00
Johannes Meyer 77b60588bc Add proper titles to the multi selection controller tabs
refs #8458
2015-02-23 16:57:32 +01:00
Johannes Meyer ebf8d183a7 Add proper title to the alert summary's tab
refs #8458
2015-02-23 16:57:06 +01:00
Johannes Meyer f6cbc17ff7 Add proper titles to all host/service tabs
refs #8458
2015-02-23 16:56:49 +01:00
Johannes Meyer 48286e0d59 Use View::translate() instead of mt() and t() ... 2015-02-23 16:42:25 +01:00
Marius Hein 316582c0d3 Header: Change position because of dashboard rendering
refs #7976
2015-02-23 15:35:56 +01:00
Marius Hein 62866e5fb1 Header: Add h1 to service grid
refs #7976
2015-02-23 15:13:47 +01:00
Marius Hein 060d1093e3 Header: Add h1 to host/show component
refs #7976
2015-02-23 15:13:18 +01:00
Marius Hein a037e5c4db Header: Add h1 to objects header
refs #7076
2015-02-23 15:12:19 +01:00
Marius Hein 70e5ccca37 Header: Add h1 to tactical overview
refs #7976
2015-02-23 15:03:11 +01:00
Marius Hein 26ec8bb9ba Header: Add h1 to host list
refs #7976
2015-02-23 15:01:42 +01:00
Marius Hein 3cc3341798 Header: Add h1 to service list
refs #7976
2015-02-23 15:00:28 +01:00
Marius Hein b8dbf9c809 Header: Add h1 to hostgroups
refs #7976
2015-02-23 14:57:26 +01:00
Marius Hein b6c05beaba Header: Add h1 to service groups
refs #7976
2015-02-23 14:54:02 +01:00
Marius Hein 7962c115ae Header: Add h1 to contact groups
refs #7076
2015-02-23 14:42:55 +01:00
Marius Hein 37568a7832 Header: Add h1 to contacts
refs #7976
2015-02-23 14:41:51 +01:00
Marius Hein cef20022b9 Commends: Add h1 to comments
refs #7976
2015-02-23 14:39:26 +01:00
Marius Hein b45897de22 Header: Add h1 to downtimes
refs #7976
2015-02-23 14:35:29 +01:00
Marius Hein 918ac21d6d Header: Add h1 to notifications
refs #7976
2015-02-23 14:30:09 +01:00
Marius Hein 2dda3be87b Merge remote-tracking branch 'origin/master' into feature/organize-headings-7976 2015-02-23 14:28:48 +01:00
Marius Hein 4d4c8b0836 Header: Add header to timeline
refs #7976
2015-02-23 14:28:22 +01:00
Marius Hein 03160ef81a Header: Add header to event history
Add header to the following widgets:

- FilterEditor
- SortBox

refs #7976
2015-02-23 14:23:56 +01:00
Marius Hein 6f2d428254 Event Grid: Add header
refs #7976
2015-02-23 12:24:24 +01:00
Marius Hein 84d1e6b3a3 Header: Add to alert summary
refs #7076
2015-02-23 12:20:45 +01:00
Marius Hein b6124d7371 Header: Remove skiplinks
Skiplinks are to much and confusing for other users. Better is to use
header navigation in screen readers.

refs #7076
2015-02-23 11:18:58 +01:00
Eric Lippmann e72de8dfe1 Disable Livestatus as backend
Livestatus is not feature complete yet. This commit has to be reverted once we've fully implemented Livestatus support.

refs #8254
2015-02-20 11:23:31 +01:00
Matthias Jentsch 2992bf3445 Always display tooltips in all charts
Make information about data types available to colorblind, when hovering
over the displayed data set

fixes #8364
2015-02-18 13:21:42 +01:00
Marius Hein 02777c58ac Header: Add one to Alertsummary report
refs #7976
2015-02-18 12:45:08 +01:00
Matthias Jentsch 28dfbe7e55 Support aria markup in SVG charts
Add "aria-labelled-by", "title" and "desc" to describe the svg charts in screen readers.
2015-02-17 17:41:05 +01:00
Marius Hein 32226418af Header: Add header to process/info
refs #7976
2015-02-17 16:12:41 +01:00
Johannes Meyer e588ea2714 Fix filter expression handling when lowering to achieve case-insensitivity
fixes #8435
2015-02-16 13:05:24 +01:00
Johannes Meyer 2dea398f3b Mute all icons that are part of an anchor and add simple labels to such anchors
The labels I've added are probably just of temporary nature as it's not
defined yet how to handle link labels properly for screen readers. What
is sure is that all icons that are part of a link are not important for the
meaning of it as this is expressed by the link itself.

refs #8360
refs #8358
2015-02-16 11:02:09 +01:00
Johannes Meyer 27cb5e24db Ensure that all standalone icons have proper labels
refs #8358
2015-02-16 10:53:48 +01:00
Johannes Meyer 5321c2f9e5 Mute icons properly using the new automatic mechanisms of our view helpers
refs #8360
2015-02-16 10:52:42 +01:00
Marius Hein fdcad4928e Tinystatesummary: Adjust styles for summaries and headers
refs #7976
2015-02-12 15:07:44 +01:00
Johannes Meyer d37129dfed Remove the old and redundant config/show-configuration view script 2015-02-12 13:49:31 +01:00
Johannes Meyer 9232c5cf22 Add aria-hidden="true" to all icons that exist only for design reasons
refs #8360
2015-02-12 13:49:31 +01:00
Davide Demuru 3dee49a0cd fixed transaltions
Signed-off-by: Eric Lippmann <eric.lippmann@netways.de>
2015-02-12 11:26:35 +01:00
Davide Demuru be27ab4875 added compiled translation file
Signed-off-by: Eric Lippmann <eric.lippmann@netways.de>
2015-02-12 11:26:35 +01:00
Davide Demuru c068ab21af Added new monitoring.po for italian language
Signed-off-by: Eric Lippmann <eric.lippmann@netways.de>
2015-02-12 11:26:35 +01:00
Eric Lippmann f00f598014 doc/lib: Fix undefined entity &nbsp and too greedy regex 2015-02-12 10:24:55 +01:00
Eric Lippmann 8e7faa8170 doc/lib: Use <h1> for search headings
refs #6630
2015-02-11 15:53:41 +01:00
Eric Lippmann fdec27d8a1 doc/lib: Remove DocSearchIterator::count()
refs #6630
2015-02-11 15:53:23 +01:00
Eric Lippmann 53af279ec2 doc/lib: Fix search criteria not splitting "complex" search strings correctly
refs #6630
2015-02-11 15:52:08 +01:00
Eric Lippmann 310201eb5b doc/lib: Throw LogicException if text is added without having a heading 2015-02-11 15:51:31 +01:00
Eric Lippmann 57a0b0005e doc/lib: Fix PDF rendering
refs #6630
2015-02-11 15:15:37 +01:00
Eric Lippmann 03100b8c59 doc/lib: Move all renderer classes to the renderer namespace
refs #6630
2015-02-11 14:10:12 +01:00
Eric Lippmann d1aed4f773 doc/lib: Rename SectionFilterIterator to DocSectionFilterIterator
refs #6630
2015-02-11 14:06:41 +01:00
Eric Lippmann 6c6c41a4f2 doc/lib: Remove controls from the search view script
Otherwise the dashboard is broken when searching.

refs #6630
2015-02-11 14:05:32 +01:00
Eric Lippmann 924e67f2aa doc/lib: Rename Renderer to DocRenderer
refs #6630
2015-02-11 14:05:18 +01:00
Eric Lippmann 3aff91d204 doc/lib: Rename TocRenderer to DocTocRenderer
refs #6630
2015-02-11 14:02:12 +01:00
Eric Lippmann 96ea02e59f doc/lib: Rename SectionRenderer to DocSectionRenderer
refs #6630
2015-02-11 14:01:19 +01:00
Eric Lippmann 16d388f4e3 doc/lib: Use CSS classes controls and content in the view scripts 2015-02-11 13:58:55 +01:00
Eric Lippmann e26154e88a doc/lib: Remove unused less mixins 2015-02-11 13:58:39 +01:00
Eric Lippmann 27c53a315f doc/lib: Add missing search view script
refs #6630
2015-02-11 13:58:22 +01:00
Eric Lippmann f33b6a918c doc/lib: Remove unused view scripts 2015-02-11 13:58:06 +01:00
Eric Lippmann 195aa581cb doc/lib: Fix that highlighting a search messes up the text around the match
refs #6630
2015-02-11 13:48:23 +01:00
Eric Lippmann 54292eed20 Merge branch 'master' into feature/doc-search-6630 2015-02-11 13:28:06 +01:00
Eric Lippmann 6f1fdad9c2 doc/lib: Add CSS for highlighting search results
refs #6630
2015-02-11 13:27:04 +01:00
Eric Lippmann fa37f84cac doc/lib: Search in module documentations too
refs #6630
2015-02-11 13:22:27 +01:00
Eric Lippmann 4931418c03 doc/lib: Pass highlight-search parameter to the renderer
refs #6630
2015-02-11 13:21:01 +01:00
Eric Lippmann 57ca11cb76 doc/lib: Highlight search when displaying a chapter
refs #6630
2015-02-11 13:20:30 +01:00
Eric Lippmann 512eb3fe83 doc/lib: Remove DocSearchRenderer::highlight()
refs #6630
2015-02-11 13:16:55 +01:00
Eric Lippmann ab78757483 doc/lib: Add DocSearchMatch::highlight()
refs #6630
2015-02-11 13:16:49 +01:00
Eric Lippmann 1053e62e20 doc/lib: Fix DocSearchIterator::count() counting too many
Because DocSearchIterator is a recursive filter iterator and we accept
any hode having children, those children not matching any of the search criteria
were counted too because of iterator_count.

refs #6630
2015-02-11 13:03:46 +01:00
Eric Lippmann 21b65d8079 doc/lib: Show trace in case an exception is thrown during rendering
refs #6630
2015-02-11 13:03:01 +01:00
Eric Lippmann d2520f1286 doc/lib: Prefer @type over @var in the DocParser
refs #6630
2015-02-11 13:02:33 +01:00
Eric Lippmann bd71dbdbdc doc/lib: Rearrange imports in the DocIterator
refs #6630
2015-02-11 13:02:04 +01:00
Eric Lippmann 0b1a9c1659 doc/lib: Apply role and css class toc to the toc
refs #6630
2015-02-11 12:58:31 +01:00
Eric Lippmann e2b34023cd doc/lib: Add SearchController
At the moment only Icinga Web 2's documentation is available for searching.

refs #6630
2015-02-10 17:14:16 +01:00
Eric Lippmann 3b20e49940 doc/lib: Add renderer for doc searches
refs #6630
2015-02-10 17:13:17 +01:00
Eric Lippmann e7b0f8d30f doc/lib: Add iterator over doc sections that match a given search criteria
refs #6630
2015-02-10 17:12:43 +01:00
Eric Lippmann 267c36d8d1 doc/lib: Add class DocSearchMatch represeting a search match
refs #6630
2015-02-10 17:11:48 +01:00
Eric Lippmann 312d18d14a doc/lib: Add DocSearch class for creating search criteria
refs #6630
2015-02-10 17:11:00 +01:00
Eric Lippmann 005ef8c92f doc/lib: Update controllers and views according to the recent changes
refs #6630
2015-02-10 17:09:56 +01:00
Eric Lippmann 41355fe0e2 doc/lib: Drop navigation added to each section
refs #6630
2015-02-10 17:08:48 +01:00
Eric Lippmann 5965638e23 doc/lib: Open toc links in the next container
refs #6630
2015-02-10 17:07:24 +01:00
Eric Lippmann 52de56fb65 doc/lib: Use TreeNodeIterator in the SectionFilterIterator
refs #6630
2015-02-10 17:06:11 +01:00
Eric Lippmann 9093795f64 doc/lib: Add common used methods to the abstract Renderer
refs #6630
2015-02-10 17:05:24 +01:00
Eric Lippmann 377685d802 doc/lib: Let DocException extend IcingaException 2015-02-10 17:04:46 +01:00
Eric Lippmann c95838a33d doc/lib: Use SimpleTree in the DocParser
refs #6630
2015-02-10 17:04:27 +01:00
Eric Lippmann 9f3b953165 doc/lib: Support setting the chapter a section belongs to
refs #6630
2015-02-10 17:03:58 +01:00
Eric Lippmann 07cfbe23ef doc/lib: Use @inheritdoc in the DocIterator 2015-02-10 17:03:15 +01:00
Eric Lippmann b2ace4e209 doc: Remove DocTree class
It will be replaced by a class in our lib

refs #6630
2015-02-10 16:58:40 +01:00
Thomas Gelf 5bf89da6d7 PluginOutput: simplify code, add tab support
refs #8366
2015-02-09 15:38:43 +01:00
Eric Lippmann ecfda1a6f5 lib/doc: Rename Section to DocSection and let it extend TreeNode
refs #6630
2015-02-06 17:29:04 +01:00
Eric Lippmann 95c937e3fd lib/doc: Fix code style for doc exceptions 2015-02-06 17:24:01 +01:00
Johannes Meyer 437050430f Make sure that the admin wizard-step provides the required-HTML markup
refs #8349
2015-02-05 13:18:21 +01:00
Johannes Meyer a8e0b7effc Fix usage of the PostgreSQL system function has_database/table_privilege
On PostgreSQL < 8.4 the system functions has_database_privilege() and
has_table_privilege() do no support comma separated privilege types.

fixes #8354
2015-02-04 13:20:41 +01:00
Eric Lippmann 6bae2e0a53 Note that our license is GPL v2 or any later version in our license header instead of pointing to the license's URL 2015-02-04 10:52:27 +01:00
Matthias Jentsch 8f9e970360 Ignore negative values in reaction time
Negative values for reaction time make no sense in the reaction time chart. When the notification was acknowledged before it startet we assume a reaction time of 0.

fixes #8198
2015-02-04 09:55:39 +01:00
Eric Lippmann 5b5ad0acb9 monitoring/security: Add missing permission checks of command actions 2015-02-03 17:36:53 +01:00
Matthias Jentsch 2f254851e3 Fix pieChart layout and add indicator for truncated piecharts 2015-02-03 17:34:56 +01:00
Eric Lippmann 49e96b7200 Revert "monitoring/security: Guard delete comment action"
This reverts commit 4ef5f0c813.
2015-02-03 16:51:00 +01:00
Matthias Jentsch e8466ec7be Fix inlinePie borders and SVG sizes
Add white border to inline piecharts in the list, to make them more visible on mouse hovering. Set a default image size for the loaded svg charts.
2015-02-03 16:46:12 +01:00
Johannes Meyer b712d9453b It's not the "permissions.ini" but the "roles.ini" that holds the role settings 2015-02-03 16:38:32 +01:00
Eric Lippmann 5b4fab0750 Add license header
This time without syntax errors hopefully :)
2015-02-03 16:27:59 +01:00
Eric Lippmann 5fa2e3cfdc Revert "Add license header"
This reverts commit 338d067aba.
2015-02-03 16:16:26 +01:00
Johannes Meyer 04edf0d075 Fix that the search is case-sensitive in case of a PostgreSQL backend
fixes #8083
2015-02-03 16:15:59 +01:00
Eric Lippmann 4ef5f0c813 monitoring/security: Guard delete comment action 2015-02-03 16:11:56 +01:00
Eric Lippmann d701f9a354 monitoring/security: Guard delete downtime action 2015-02-03 16:11:29 +01:00
Eric Lippmann 338d067aba Add license header
fixes #7788
2015-02-03 15:51:04 +01:00
Eric Lippmann 946a903a39 Merge branch 'bugfix/Improve-tooltip-descriptions-8110'
fixes #8110
2015-02-03 12:38:59 +01:00
Eric Lippmann dd0638c5d0 monitoring: Improve tooltips for services command links
refs #8110
2015-02-03 12:35:06 +01:00
Eric Lippmann 31728fd024 monitoring: Improve tooltips for hosts command links
refs #8110
2015-02-03 12:34:22 +01:00
Thomas Gelf a705e03aff HostController: fix merge BS 2015-02-02 18:21:01 +01:00
Thomas Gelf b54a12c2d5 HostActionsHook: document the new hook 2015-02-02 18:17:30 +01:00
Thomas Gelf ac7ffc757f Merge branch 'feature/hostactions-hook-8208' of git.icinga.org:icingaweb2 into feature/hostactions-hook-8208
Manually merged diverged tab activation

Conflicts:
	modules/monitoring/application/controllers/HostController.php
2015-02-02 17:48:40 +01:00
Thomas Gelf b4c47c51e7 components/actions: show links if available
Now we show links regardless of whether we have host actions, there
might be hook-provided links only. Renamed "Foreign URLs" to "Actions"
and made it translatable.
2015-02-02 17:46:40 +01:00
Thomas Gelf 3038de5ad0 components/actions: show host action urls if given 2015-02-02 17:46:40 +01:00
Thomas Gelf 6c8808875a host/show: show action urls above perfdata 2015-02-02 17:46:40 +01:00
Thomas Gelf 67e935557e HostController: use host actions hook
refs #8208
2015-02-02 17:46:39 +01:00
Thomas Gelf 45bf071db6 HostActionsHook: initial very simple implementation
refs #8208
2015-02-02 17:44:29 +01:00
Eric Lippmann 61fde8b359 monitoring: Prefix tooltips in the service groups overview with "List ..."
refs #8110
2015-02-02 17:29:30 +01:00
Eric Lippmann a8de3c093a monitoring/host: Add tooltip for the unhandled services link to the link
refs #8110
2015-02-02 17:27:59 +01:00
Eric Lippmann 2722463372 Prefix tooltips in the host groups overview with "List ..."
refs #8110
2015-02-02 17:06:32 +01:00
Johannes Meyer c4c6d36b00 setup: Clarify that the db user's credentials may be insufficient as well 2015-02-02 16:55:31 +01:00
Eric Lippmann 4fc8850e25 Use transplatePlural for hosts in downtime and hosts having comments tooltips
refs #8110
2015-02-02 16:48:13 +01:00
Eric Lippmann 942d55c0d4 Merge branch 'master' into bugfix/Improve-tooltip-descriptions-8110 2015-02-02 16:37:03 +01:00
Johannes Meyer a5fe9a1fe1 Revert "Introduce link target "_right" to keep a column with tabs rightmost"
This reverts commit 618ab4f4b9.
2015-02-02 16:34:29 +01:00
Johannes Meyer 9df2430cbe Remove redundant help message when scheduling host/service checks 2015-02-02 16:31:57 +01:00
Johannes Meyer 5382f73c53 Drop all old object- and command-view scripts 2015-02-02 16:31:25 +01:00
Johannes Meyer 8b377cd651 Use the new command-view scripts 2015-02-02 16:30:52 +01:00
Johannes Meyer 2e99e476fe Use the new object-view scripts 2015-02-02 16:28:35 +01:00
Johannes Meyer afa3431aed Introduce new object- and command-view scripts
Represents how we plan to handle view scripts that are re-usable. Should
supersede all <action>/component/* view scripts in the upcoming future.
2015-02-02 16:26:55 +01:00
Eric Lippmann bfb2f710a1 monitoring: Fix exception in the alert summary report when using the "One month" interval
fixes #8220
2015-02-02 14:28:47 +01:00
Eric Lippmann f9047e85c5 monitoring: Fix wrong unhandled service problems count in the hosts overview
The query was missing the is_active = 1 condition. I'll open an issue for the other
affected queries.

fixes #8013
2015-02-02 11:12:27 +01:00
Eric Lippmann cf944a7daf monitoring: Show close button when removing a backend 2015-02-02 11:07:01 +01:00
Eric Lippmann a62acb4a82 monitoring: Show close button when updating a backend 2015-02-02 11:06:40 +01:00
Eric Lippmann 42fe7079ee monitoring: Show close button when creating an instance 2015-02-02 11:06:20 +01:00
Eric Lippmann cbc1a0313a monitoring: Show close button when creating a backend 2015-02-02 11:05:50 +01:00
Eric Lippmann d7cbfebbd0 monitoring: Show close button when removing an instance 2015-02-02 11:05:32 +01:00
Eric Lippmann 734c7b3546 monitoring: Show close button when updating an instance 2015-02-02 11:04:41 +01:00
Eric Lippmann f2d639108f monitoring: Move "Service Grid" beneath "Problems"
The service grid is filtered by problems by default. Thus it makes sense
to move it beneath the problems section.
2015-02-02 00:08:25 +01:00
Eric Lippmann ad4ebf8fa5 monitoring: Fix that selecting a hostgroup displays its services instead of its hosts
fixes #8273
2015-02-01 23:30:48 +01:00
Johannes Meyer bf470125c3 Merge branch 'master' into feature/create-missing-directories-when-creating-inis-8219
Conflicts:
	modules/monitoring/library/Monitoring/MonitoringWizard.php
2015-01-30 16:21:42 +01:00
Johannes Meyer f5a651664c Create the enabledModules directory when necessary only as well
refs #8219
2015-01-30 16:16:12 +01:00
Johannes Meyer a95fd561cd Revert "setup: Convert octal directory mode to decimal notation"
This reverts commit e93e8f6330.
2015-01-30 15:47:21 +01:00
Johannes Meyer d2dd66c9fd Revert "setup: Fix octdec for directory modes"
This reverts commit c0444a81b2.
2015-01-30 15:47:11 +01:00
Johannes Meyer 6416fc421c Do not create directories which are created automatically if necessary
refs #8219
2015-01-30 15:43:39 +01:00
Johannes Meyer e8619686ae Add the sockets module as optional requirement of the monitoring module 2015-01-30 13:01:51 +01:00
Eric Lippmann 127ce7abfe monitoring/security: Fix that toggling instance features is always disabled
In HTML5 the presence of a boolean attribute on an element represents the true value,
and the absence of the attribute represents the false value.

In Zend we have to set null for the absence of the attribute and the empty string for the
presence of the attribute.
2015-01-30 10:47:02 +01:00
Eric Lippmann 1681f746c1 monitoring/security: Disable toggling object features if user lacks the permission monitoring/command/feature/object 2015-01-30 10:46:24 +01:00
Eric Lippmann bdc637ff67 monitoring/security: Guard toggling object features
Toggling object features will only be possible if the user has the permission monitoring/command/feature/object.
2015-01-30 10:31:49 +01:00
Alexander Klimov 868295110a Merge branch 'master' into bugfix/Improve-tooltip-descriptions-8110
Conflicts:
	modules/monitoring/application/views/scripts/hosts/show.phtml
2015-01-30 10:26:47 +01:00
Eric Lippmann 35b33647cf monitoring/security: Guard the link for disabling notifications on an instance-wide basis
The link in the monitoring health view will only be shown if the user has the permission monitoring/command/feature/instance.
2015-01-30 10:26:43 +01:00
Eric Lippmann 3716be4a48 monitoring/security: Disable toggling instance features if user lacks the permission monitoring/command/feature/instance 2015-01-30 10:01:03 +01:00
Eric Lippmann 26613a0106 monitoring/security: Rename permission monitoring/command/feature/program to monitoring/command/feature/instance 2015-01-30 09:58:30 +01:00
Eric Lippmann 7dbb8c6841 monitoring/security: Require monitoring/command/feature/instance permission for toggling instance features 2015-01-30 09:58:10 +01:00
Eric Lippmann d19e36d937 monitoring/security: Require monitoring/command/feature/instance permission for disabling notifications 2015-01-30 09:57:31 +01:00
Johannes Meyer 63305fdf9a Add Icinga\Application\Config::saveIni()
Simplifies saving INI files. Icinga\File\Ini\IniWriter does already require an
instance of Icinga\Application\Config so it's obvious to give "Config" the
task to initialize the writer.. We do also have a central place to handle
creating missing ancestor directories now.

refs #8219
2015-01-30 09:32:08 +01:00
Johannes Meyer 3a983e8859 Merge branch 'master' into feature/improve-autologin-setup-8274 2015-01-28 18:01:15 +01:00
Johannes Meyer 78f5bf4f3d Phrase external auth warnings more neutral
refs #8274
2015-01-28 16:22:20 +01:00
Johannes Meyer 618ab4f4b9 Introduce link target "_right" to keep a column with tabs rightmost
I'd have liked to get it to work that in case the tab control is not in the
rightmost column a "go back" in the history is being simulated causing
the preceding leftmost column(s) to be restored and the rightmost one
set to the one containing the tab control. But the history api does not
seem to support any read operations except for the current state..

refs #6436
2015-01-28 14:21:06 +01:00
Johannes Meyer c19ff289bf Open command forms in the same column where their link is located
refs #8279
2015-01-28 13:02:37 +01:00
Johannes Meyer 6fde4eec30 Show all tabs except "Add to Dashboard" when issuing a command
refs #8279
2015-01-28 12:50:29 +01:00
Eric Lippmann 49b82af704 monitoring/security: Apply services/filter restriction in the service detail view 2015-01-27 14:57:54 +01:00
Eric Lippmann 49d4d74dbb monitoring/security: Apply hosts/filter restriction in the host detail view 2015-01-27 14:57:22 +01:00
Eric Lippmann 7bf6bd39e9 monitoring: Implement Filterable in MonitoredObject 2015-01-27 14:54:21 +01:00
Eric Lippmann e086905384 monitoring: Deprecate DataView::addFilter() and DataView::setFilter()
The from now on deprecated interface Filterable has proven that it sucks in the DataView.
Because of requiring us to implement trillion stupid methods, only DataView::applyFilter()
does not forget to handle column validation. Thus only DataView::applyFilter() must be used in order
to apply filters.
For setFilter() a wrapping Filter::matchAny() for the IdoQuery (or the DbQuery or the SimpleQuery I didn't have a look)
is required for the filter to work properly.
The deprecation is just for the records. I guess we do not use the other methods.
2015-01-27 14:52:13 +01:00
Eric Lippmann b2f93abb12 monitoring/security: Require a Filterable instead of a DataView in applyRestriction() 2015-01-27 14:24:56 +01:00
Eric Lippmann 3cbafe16f6 monitoring/security: Move applyRestriction() to the module's base controller 2015-01-27 14:22:37 +01:00
Johannes Meyer 23c36898da Rename css class "info" to "info-box" and add it as generic box
refs #8274
2015-01-27 14:05:41 +01:00
Eric Lippmann f37cd0cb95 monitoring/security: Apply hosts restriction in the hosts overview 2015-01-27 13:51:15 +01:00