5185 Commits

Author SHA1 Message Date
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 4ef5f0c813767fb18dd415e67aa9f36673de0315.
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 338d067aba41dd6e9178cebec5433eecd614196e.
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