2027 Commits

Author SHA1 Message Date
Thomas Gelf
ed0b731062 config/module: remove unused show.phtml
I see no reference to this file, byebye.
2014-05-26 14:32:59 +00:00
Thomas Gelf
8a770007ff Modules\Module: provide a lighter header sample
We should get rid of the current way of copying license snippets to
every single file. This is a first example of how a lighter header
could look like. I'd add a short slogan to the title and place a
copy of the license to icinga.org, so our links could point there
instead of gnu.org.

refs #6309
2014-05-26 14:17:46 +00:00
Thomas Gelf
7c68d0a30f Modules\Module: clean up phpdoc blocks 2014-05-26 14:14:34 +00:00
Thomas Gelf
5b87d6238b Modules\Module: improve provided metadata
refs #4095
2014-05-26 14:11:43 +00:00
Thomas Gelf
7fb910bf21 layout/menu: don't show uncollapsed loading menu
We have a no-JS-friendly CSS showing the menu uncollapsed unless JS
is fully loaded. Even if the page loads pretty fast this looks still
ugly in JS-enabled browsers.

This patch adds a JS-snippet removing the no-js class from the HTML
element before the rendering engine reaches the body. You'll see no
more flickering in your JS-enabled browser.

fixes #6307
2014-05-26 13:46:14 +00: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
Thomas Gelf
67144407e6 js/events: do temporarily not respect tab focus
This has been added for keyboard navigation but caused some trouble.
Postponed for now.
2014-05-20 14:05:30 +00:00
Thomas Gelf
79d3f18b66 js/ui: remove hardcoded/duplicated with/height 2014-05-20 14:03:33 +00:00
Thomas Gelf
800fe6c18d css/tabs: waste less space for dropdown
Dropdown arrow is smaller right now and is slightly rounded like the
other tabs are.
2014-05-20 14:01:14 +00:00
Thomas Gelf
cff577fb83 ShowController: don't show a random service
When you chose a host and clicked on "Services" the GUI used to show
a random (the first) service. Made no sense, should work as expected
right now.
2014-05-20 13:57:28 +00:00
Thomas Gelf
8f77ce607e show/services: don't navigate to the right
When using list/services for show/services (services for a single host)
we us an ugly PREG-based hack fixing the base link target. This got
broken by the multiselect feature, now it's working again. We need a
better solution for this.
2014-05-20 13:53:36 +00:00
Thomas Gelf
4e88a4e008 Web\Url: add a shift() method
This methods allows to retrieve an URL param while removing it from the
URL object
2014-05-20 13:49:35 +00:00
Thomas Gelf
358b2582bc ErrorController: show valid title for exceptions
Multiline strings are not considered being a valid title. This patch
strips all but the first line from the exception message when setting
the title attribute.
2014-05-20 13:40:52 +00:00
Thomas Gelf
33e326a232 list/services: ignore broken service image hacks
People used to configure something like "dot.png'> <img ..." as their
service image icon. Those hacks will no longer work as we correctly
escape everything. This fix hinders Icingaweb from even trying to load
them.
2014-05-20 13:31:13 +00:00
Thomas Gelf
e6d80ae1f6 IDO Queries: performance quickfixes
Will be obsoleted by the new filter implementation, but for now it
helps a little bit
2014-05-20 13:27:58 +00:00
Thomas Gelf
b447225512 Web\Form: Revert "Fix subForm functionality"
This reverts commit 51bac035ac1bdee2c63f680ec66120beb1081af3.
The div element introduced by this commit breaks inline form layout
2014-05-20 13:10:18 +00:00
Michael Friedrich
ef56f2163e Documentation: Fix missing preferences*,sql
fixes #6243
2014-05-20 11:11:32 +02:00
Gunnar Beutner
4a5fa5f17b Update Icinga 2 version in the Puppet manifest
fixes #6219
2014-05-16 13:33:30 +02:00
Gunnar Beutner
be6844c458 Fix problems with the Puppet manifest when PostgreSQL's default encoding isn't UTF-8
fixes #6211
2014-05-15 13:44:21 +02:00
Michael Friedrich
f6d42944f7 Update Vagrant Icinga 2 test config
refs #6127
2014-05-14 17:45:40 +02:00
Johannes Meyer
709146d49f Add wizard page for the logging configuration
resolves #6129
2014-05-14 13:20:21 +02:00
Johannes Meyer
88d4262e7c Merge branch 'feature/install-wizard-6136'
refs #6136
2014-05-14 12:54:44 +02:00
Johannes Meyer
ef7bb0e794 It is a multistep page's responsibility whether it is shown to the user
refs #6136
2014-05-14 12:53:45 +02:00
Johannes Meyer
754f854dd0 Multistep pages should know about their multistep form
refs #6136
2014-05-14 12:53:45 +02:00