2154 Commits

Author SHA1 Message Date
Matthias Jentsch
be0c5d4b23 Add more meaningful tooltip labels to InlinePies
Show current title, a well-formated value and a label for each area in a
tooltip and add the ability to customize tooltip labels of InlinePies

refs #6117
2014-06-18 14:43:14 +02:00
Matthias Jentsch
521cc0cac4 Refactor Ldap and Dns utility functions and conform to coding guidelines
refs #6507
2014-06-18 14:38:44 +02:00
Michael Friedrich
76b5901cb6 Vagrant: assign 1024mb ram to the vm 2014-06-18 14:14:31 +02:00
Johannes Meyer
405266e000 Drop Icinga\Util\Process in favour of an upcoming stronger implementation 2014-06-13 11:59:13 +02:00
Johannes Meyer
561616dca0 Add support for multi-value options
Makes it possible to supply options multiple times and to supply the
"--" flag to indicate that there are no options anymore to parse

refs #6092
2014-06-13 09:58:50 +02:00
Johannes Meyer
b935cb34fb Add clicommands to run unit- and style-tests
refs #6092
2014-06-13 09:27:27 +02:00
Johannes Meyer
851977cbeb Revert "Add clicommands to run unit- and style-tests"
This reverts commit 0805d73e34d3692ffb77a74c31bd04fbdb67ba27.
2014-06-13 09:14:22 +02:00
Thomas Gelf
44a7aa6adb JS/IE8: deliver legacy jQuery for IE8
This patch makes IcingaWeb deliver a legacy jQuery version for IE8
as it is no longer supported in jQuery 2.x. JS for IE8 will not be
delivered minified to ease troubleshooting on that buggy platform.

fixes #5866
refs #6417
2014-06-12 17:33:28 +00:00
Thomas Gelf
0d15f24f05 JS/IE: remove unused conditional comments
There is no IE7 support and no special handling for IE9, therefore
I removed unused conditional comments. Left IE8 there as it might ask
for special CSS - however it doesn't right now.

Also added missing iframe-class for Iframes on IE8.
2014-06-12 17:25:48 +00:00
Thomas Gelf
c3eae11624 JS/IE8: fix IE8 error caused by focus()
No more error when using the jQuery wrapper. Focus handling is pretty
outdated, needs special care as soon as we have auto-refreshing search
fields.
2014-06-12 17:22:17 +00:00
Eric Lippmann
db73d324de Autologin: Fix that the backend name must have been `autologin'
Before, the code validated the name of the backend instead of the `backend' directive against `autologin'.
2014-06-12 17:05:54 +02:00
Johannes Meyer
74fe4199fa Merge branch 'feature/test-module-6092'
resolves #6092
2014-06-12 16:29:39 +02:00
Johannes Meyer
0805d73e34 Add clicommands to run unit- and style-tests
refs #6092
2014-06-12 16:29:07 +02:00
Johannes Meyer
32a7decc3e Remove python test-runners
refs #6092
2014-06-12 16:29:07 +02:00
Johannes Meyer
d28d20696c Move binary testing stuff and phpunit.xml to its own module
refs #6092
2014-06-12 16:29:07 +02:00
Thomas Gelf
3047992ab5 CSS/tables: improve row hover styles
Added a default hover color, fix inheritage and missing states.
2014-06-12 08:20:57 +00:00
Thomas Gelf
dfcf3d28e6 CSS/pagination: avoid text-selection
Clicking fast through pagination resulted in irritating text
selections and therefore uncomfortable behaviour. Should be
fixed now.
2014-06-12 08:07:04 +00:00
Eric Lippmann
7d2ee41f42 Autologin: Fix PHPDoc 2014-06-11 15:46:59 +02:00
Eric Lippmann
992ccf4f6d Autologin: Actually set the username upon authentication
Before, when using autologin the username of the authenticated user always was the empty string.
2014-06-11 15:46:59 +02:00
Eric Lippmann
65a2bd41bc Autologin: Do not use absolute `use' 2014-06-11 15:46:58 +02:00
Eric Lippmann
7215ba4f59 Autologin: Do not require a bogus password in the source code 2014-06-11 15:46:58 +02:00
Eric Lippmann
63fc8eb27e Autologin: Use REMOTE_USER for authentication
It's not safe to rely on PHP_AUTH_USER and PHP_AUTH_TYPE because
PHP cgi handlers (fgcid for example) only set the REMOTE_USER environment variable
and the authentication type for negogiation methods (Kerberos for example) is neither
Basic nor Digest.
We may have to add REDIRECT_REMOTE_USER for authentication for proxy setups.
2014-06-11 15:46:58 +02:00
Eric Lippmann
c09341d77e Autologin: Do NOT sanitize username
I don't know the reason why this was done initially but a username must not be changed.
2014-06-11 15:46:58 +02:00
Matthias Jentsch
c42c7977be Call extended backend health checks when creating ldap authentication backends
fixes #6457
2014-06-11 15:09:36 +02:00
Matthias Jentsch
6c82cb8988 Check ldap backend health during Authentication
Check if authentication is possible during authentication, to generate more
useful error and log messages, in case the backend configuration is wrong

ref #6457
2014-06-11 15:08:05 +02:00
Matthias Jentsch
bca166c644 Do not throw an exception when the username does not exist
refs #6457
2014-06-11 15:08:05 +02:00
Johannes Meyer
159d765f14 Fix that calling ActionController::translate() throws an exception
Translating strings must not throw an exception
even if the given domain is not valid.

fixes #6432
2014-06-11 13:39:22 +02:00
Johannes Meyer
fa797de05f Fix invalid default logging configuration 2014-06-11 08:58:53 +02:00
Matthias Jentsch
506cfe214b Merge branch 'feature/ldap-get-naming-contexts-6097' 2014-06-06 18:20:02 +02:00
Matthias Jentsch
305a025e7a Detect ldap default naming context
Read the entries in the RootDTS of the given ldap server, to discover
its default naming context and capabilities

refs #6097
refs #6096
2014-06-06 18:18:58 +02:00
Matthias Jentsch
3d1a3e82c8 Merge branch 'feature/ldap-discover-by-dns-6093' 2014-06-06 17:50:37 +02:00
Matthias Jentsch
efe67377a8 Move dns discovery functions into separate class
Add functions to lookup and reverse-lookup domain names and move the ldap
discovery function into a separate class

refs #6093
2014-06-06 17:49:55 +02:00
Matthias Jentsch
953d22244a Add host discovery to authentication page
Find all domains for a given hostname.

refs #6093

Conflicts:

	application/forms/Install/AuthenticationPage.php
2014-06-06 17:49:55 +02:00
Marius Hein
06296f29d8 UI/Sparklines: Change sparkline code to serverside only
fixes #6124
2014-06-06 16:35:33 +02:00
Marius Hein
4587f26476 Revert "Ui/Sparklines: Remove img src before putting it into DOM"
This reverts commit a75796c64d397d37f1d41ae3d7e6bdf119b340d9.
2014-06-06 14:41:57 +02:00
Eric Lippmann
7c67a2ffff body.phtml: Remove out-commented PHP code 2014-06-06 14:36:44 +02:00
Michael Friedrich
856e9fb398 Do not install removed .htaccess file
refs #4075
2014-06-06 14:00:29 +02:00
Marius Hein
a75796c64d Ui/Sparklines: Remove img src before putting it into DOM
SVG chart was fetched although we removed image tags
from DOM. This happens when text is converted into
browser DOM model to use with javascript. Small
regex remove img source attribute to avoid using
network bandwidth for unknown resources.

fixes #6124
2014-06-06 13:58:01 +02:00
Michael Friedrich
140f307e0a Fix failing configure run due to removed index.php
refs #4075
2014-06-06 13:48:58 +02:00
Marius Hein
89ae3713cd Vagrant/finalize: Do not remount /vagrant/var/log
If you do multiple provisioning calls mount point
/vagrant/var/log is mounted multiple times.
2014-06-06 11:01:20 +02:00
Marius Hein
e3cd50ef16 Puppet: Remove stuff from manifest we do not need again 2014-06-06 10:50:58 +02:00
Marius Hein
58b509b8ee Puppet: Use /vagrant directory to deliver web files
Apache uses now /vagrant/public instead of /var/www/html
symlinks.

fixes #6421
2014-06-06 10:48:22 +02:00
Thomas Gelf
e01629fe0b ActionController: fix initial redirect
refs #6419
2014-06-06 08:32:21 +00:00
Eric Lippmann
a5e9d6cf0d auth: increase backends tried counter AFTER skipping autologin backends 2014-06-06 09:33:29 +02:00
Marius Hein
defa02a609 Debug: Remove garbage statement for debug purposes 2014-06-06 09:28:46 +02:00
Thomas Gelf
ba87cc5c4a IE8/JS: some more console logging fixes
refs #6417
2014-06-06 05:23:57 +00:00
Thomas Gelf
2bf58b034b JS/cleanup: separate redirect header handling 2014-06-05 19:37:12 +00:00
Thomas Gelf
4646b74fbc JS/cleanup: start to clean up response handling
First step: get rid of the messy workaround for the problem that
notifications got lost once the whole body is re-rendered. This
should be solved either on server side or by detaching and re-
attaching existing notifications in such scenario.
2014-06-05 18:52:03 +00:00
Thomas Gelf
2d228ce83d JS for IE8: even more JS fixes
refs #6417
2014-06-05 18:11:19 +00:00
Thomas Gelf
0d9f8786f9 JS for IE8: failsafe console handling & others
It's quite tricky to get this working. Still not perfect, but works
as expected. Also added Function.bind and Array.indexOf - absence of
both used to cause JS errors.

refs #6417
2014-06-05 15:35:38 +00:00