Eric Lippmann
282af5a794
Doc: Add `toc' view script
...
refs #4820
2014-05-27 15:12:21 +02:00
Eric Lippmann
e320d8613c
Doc: Rename `docandtoc' view script to `chapter'
...
Prepare that every chapter is displayed on a new page.
refs #4820
2014-05-27 15:12:21 +02:00
Eric Lippmann
0f5e076771
Doc: Add action to view the toc of a module's documentation
...
refs #4820
2014-05-27 15:12:20 +02:00
Eric Lippmann
dd6427019a
Doc: Add action to render the toc of Icinga Web 2's documentation
...
refs #4820
2014-05-27 15:12:13 +02:00
Eric Lippmann
884e4c8e94
Doc: Add `DocController::renderToc()' method
...
refs #4820
2014-05-27 15:12:13 +02:00
Eric Lippmann
71615151a4
Doc: Rename `Controller' to `DocController'
...
refs #4820
2014-05-27 15:12:13 +02:00
Eric Lippmann
6ce739e23d
Doc: Construct parser with the path to the documentation
...
Before, the parser decided which path to used based on a given module name.
Now, the parser requires the path to the documentation.
Further the toc items no longer include a URL. The must URL must be generated
from a render function or view script.
refs #4820
2014-05-27 15:12:06 +02:00
Eric Lippmann
b58ec5f445
Add Module::addRoute() to add a route to the route chain
...
refs #6303
2014-05-27 15:11:33 +02:00
Eric Lippmann
5923622fb8
modules/doc: Fix toc links
...
The DocParser generates toc links with a hard-coded URL. This should
be changed to be generated from a route. But we did not decide how
to handle route overrides yet.
refs #4820
2014-05-27 15:11:33 +02:00
Eric Lippmann
1d5c4c5055
modules/doc: Add styles
...
refs #4820
2014-05-27 15:11:33 +02:00
Eric Lippmann
89bddb10e7
modules/doc: Tell which doc directory does not exist, in case it does not exist :)
...
Thanks Michael
refs #4820
2014-05-27 15:11:33 +02:00
Eric Lippmann
5627c09b37
modules/doc: Reduce tab size to two spaces in module/index.phtml
...
refs #4820
2014-05-27 15:11:33 +02:00
Eric Lippmann
a40f34394b
modules/doc: List available documentations on index
...
refs #4820
2014-05-27 15:11:33 +02:00
Eric Lippmann
4001f1de62
modules/doc: Remove module/view.phtml as it has been replaced by renderDocAndToc()
...
refs #4820
2014-05-27 15:11:33 +02:00
Eric Lippmann
ba860edb75
modules/doc: Remove icingaweb/index.phtml since it's replaced by renderDocAndToc()
...
refs #4820
2014-05-27 15:11:33 +02:00
Eric Lippmann
40c2c64985
modules/doc: Implement doc/module/$moduleName URLs
...
refs #4820
2014-05-27 15:11:32 +02:00
Eric Lippmann
74ea4d19b8
modules/doc: Rename populateView() to renderDocAndToc()
...
Rename populateView() to renderDocAndToc() since the method now sets the viewHelper
to docandtoc.phtml
refs #4820
2014-05-27 15:11:32 +02:00
Eric Lippmann
99971e241c
modules/doc: Replace Parsedown's decprecated method parse() with text()
...
refs #4820
2014-05-27 15:11:32 +02:00
Eric Lippmann
ce37c20736
modules/doc: Add route 'modules/doc/icingaweb' to display Icinga Web 2's documentation
...
refs #4820
2014-05-27 15:11:32 +02:00
Eric Lippmann
e6abe21fb8
modules/doc: Rename DocParser::getDocumentation() to getDocAndToc()
...
refs #4820
2014-05-27 15:11:32 +02:00
Eric Lippmann
83c12cfb2e
modules/doc: Add partial for displaying doc and toc
...
refs #4820
2014-05-27 15:11:32 +02:00
Eric Lippmann
a91961284d
modules/doc: Show nothing on index yet
...
Before, doc's IndexController::indexAction() showed the documentation
of Icinga Web 2 but index should rather show an overview of available
docs.
refs #4820
2014-05-27 15:11:32 +02:00
Eric Lippmann
6ff5a986dd
Modules: Don't call `FrontController::getRoute()' twice
...
refs #6303
2014-05-26 13:08:47 +02:00
Thomas Gelf
ce220c5ea7
sidebar/menu: menu should be scrollable
...
This allows us to scroll menus not fitting into available screen height.
Plays nice with menu hovering, however once you scroll down your menu
you'll temporarily disable the hover-menu-feature.
fixes #6283
2014-05-26 08:18:47 +00:00
Michael Friedrich
9a8965510a
Install icingacli and bash completion in Vagrant VM
...
fixes #6264
refs #5803
2014-05-23 15:26:46 +02:00
Alexander Klimov
f07776890e
Make icingacli bash completion working
...
fixes #5803
2014-05-22 16:31:18 +02:00
Thomas Gelf
6a33f4e5e0
vendor/dompdf: fix typo
2014-05-20 23:59:49 +00:00
Thomas Gelf
f32eab627a
js/forms: treat buttons like input-buttons
...
This fixes a few autosubmission-detection woes.
2014-05-20 23:55:18 +00:00
Thomas Gelf
e4180e3e38
packages/debian: initial commit, basic sample
2014-05-20 23:33:04 +00:00
Thomas Gelf
8ff757f6df
Inline\PieChart: code style
2014-05-20 23:29:13 +00:00
Thomas Gelf
cf42ffbafa
Parsedown: version 1.0 released
2014-05-20 22:56:01 +00:00
Thomas Gelf
796a5977df
/files: remove useless file
2014-05-20 22:49:49 +00:00
Thomas Gelf
24f2ae607f
Pdf/Charts: add initial chart support to PDFs
...
Problem: TCPDF had SVG support, dompdf hasn't. This patch adds a
first rudimentary PNG conversion and a sample implementation making
use of such.
2014-05-20 22:48:06 +00:00
Thomas Gelf
5e69d1d997
layout/pdf: fix module css support
...
Containers need the correct module classes to get their correct CSS
also for PDFs
2014-05-20 22:46:36 +00:00
Thomas Gelf
bfff645a08
layout-script: disable chrome translate suggestion
...
The way Chrome suggests translation is ugly and may result in a GUI
"jumping up and down". One more vendor specific meta attribute :(
2014-05-20 22:41:34 +00:00
Thomas Gelf
78bc2b4ec7
Modules\Manager: no warning for duplicate modules
...
Formerly we logged a warning if a module was found in multiple module
paths. This is pointless, because as soon as you got a default module
installed by your distribution and "upgraded" it via your web frontend
this "error" will be the default. Logging at debug level right now.
2014-05-20 22:39:32 +00:00
Thomas Gelf
51c3fed743
File\Pdf: remove obsolete code
2014-05-20 22:39:03 +00:00
Thomas Gelf
79f3b32474
monitoring/viewscripts: avoid errors in comments
...
PHP code may cause errors even if sitting in HTML comments. Also fixed a
HTML nesting error in list/servicematrix and reduced indentation.
2014-05-20 22:26:21 +00:00
Thomas Gelf
8b28bdc82a
Monitoring\Object: small fix for strange private's
2014-05-20 22:22:48 +00:00
Thomas Gelf
a7b8e0023d
Monitoring\Object: explictely define columns
...
Define the colums we use instead of fetching "everything" status view
provides. Without this performance degrades with every new feature.
2014-05-20 22:19:26 +00:00
Thomas Gelf
76c1aa73c8
Monitoring\Controller: remove obsolete namespaces
2014-05-20 22:13:39 +00:00
Thomas Gelf
194914917a
js/events: initialize only existing search field
...
Formlerly JS failed on layouts without menu, should be fixed now.
2014-05-20 21:55:32 +00:00
Michael Friedrich
d155c7a3fc
Fix checks for empty check source attribute
...
refs ##5814
2014-05-20 23:46:33 +02:00
Michael Friedrich
ef2ac077c8
Fix typo in flapping note
2014-05-20 23:45:48 +02:00
Thomas Gelf
941ff2a980
monitoring/show: remove CheckSource helper
...
It isn't doing anything but escape, so we can safely skip it.
2014-05-20 20:39:02 +00:00
Thomas Gelf
31fa794440
monitoring/ido: implement IDO version support
...
We want to make use of new IDO features without breaking compatibility.
This is a quickfix as otherwise we would currently break everything
below 1.10. Code contains a few TODOs as this needs improvement.
2014-05-20 20:36:39 +00:00
Michael Friedrich
9fbdb65a4b
Add check source to host/service details
...
refs #5814
2014-05-20 20:07:09 +02:00
Thomas Gelf
4a2074f250
css/impact-transition: add initial delay, slower
2014-05-20 15:19:00 +00:00
Thomas Gelf
ad91c420a0
js/loader + css: highlight containers loading slow
...
I missused the "impact" CSS class for this as it perfectly fit's this
use case. A container loading slow IS an impact. Added CSS transitions,
this way it feels better on modern browsers. The longer it takes to
load a page the darker will get it's background.
2014-05-20 14:58:58 +00:00
Thomas Gelf
de0b97b4ca
js/events: improve search field change detection
...
This used to be nasty since "search" is the field with the initial
focus. Right now we detect "real" changes, this might be implemented
in a more generic way for all autocompleting fields later on.
2014-05-20 14:07:19 +00:00