3670 Commits

Author SHA1 Message Date
Johannes Meyer
be14844fa8 Merge EditInstanceForm with CreateInstanceForm and rename it
As with the backend form, a user might like to change the name of an
instance. The new form and its actions are also adjusted to suit the new form interface.

refs #5525
2014-08-11 14:49:42 +02:00
Johannes Meyer
a627571b87 Drop obsolete button elements
refs #5525
2014-08-11 10:46:45 +02:00
Johannes Meyer
f0a99274e6 Access backend information by using getValue() instead of getConfig()
refs #5525
2014-08-11 10:46:08 +02:00
Johannes Meyer
5203f82b80 Fix message translation 2014-08-11 10:44:21 +02:00
Johannes Meyer
a37e65be52 Fix coding style 2014-08-11 10:43:54 +02:00
Johannes Meyer
d260c3fb94 Do not overwrite __construct() in forms, there's init() for that purpose
refs #5525
2014-08-11 10:39:13 +02:00
Johannes Meyer
c36e30af1e Remove DbBackendForm::getConfig as it's not used anywhere
refs #5525
2014-08-11 09:13:41 +02:00
Alexander Klimov
392e725d8a Outsource specific parts into profiles icinga-mysql, icinga-pgsql, icinga2, icingaweb2 and nodejs
refs #6842
2014-08-06 13:27:16 +02:00
Alexander Klimov
05afbeebe0 Outsource 'icing_web' database creation into mysql::database::create
refs #6842
2014-08-05 16:29:44 +02:00
Alexander Klimov
a110b25071 Outsource 'icingaweb' database creation into mysql::database::create
refs #6842
2014-08-05 16:29:02 +02:00
Alexander Klimov
73a29abac3 Outsource 'icinga_unittest' database creation into mysql::database::create
refs #6842
2014-08-05 16:16:05 +02:00
Alexander Klimov
2e1afd7194 Make privileges customizable in mysql::database::create (and mysql::database::populate)
refs #6842
2014-08-05 16:12:47 +02:00
Alexander Klimov
920a784beb Split mysql::database into mysql::database::create and mysql::database::populate
refs #6842
2014-08-05 15:43:23 +02:00
Alexander Klimov
538088d177 The name of pgsql::database::create MUST NOT be create-pgsql-*-db 2014-08-05 15:37:49 +02:00
Alexander Klimov
ee711679e6 Outsource 'icingaweb' database creation into pgsql::database::create
refs #6842
2014-08-05 15:20:43 +02:00
Alexander Klimov
9a50cb8fa3 Outsource 'icinga_unittest' database creation into pgsql::database::create
refs #6842
2014-08-05 15:15:46 +02:00
Alexander Klimov
ccbc1f5aa0 Split pgsql::database into pgsql::database::create and pgsql::database::populate
refs #6842
2014-08-05 15:15:01 +02:00
Alexander Klimov
e42f400f38 Outsource Icinga database creation and population into pgsql::database
refs #6842
2014-08-05 14:42:01 +02:00
Alexander Klimov
fe11ca4744 Merge branch 'master' into feature/deduplicate-puppet-code-6842 2014-08-05 13:50:23 +02:00
Alexander Klimov
82fa6e690f Outsource Icinga (2) database population into mysql::database 2014-08-05 13:09:33 +02:00
Alexander Klimov
8f23f61e00 Don't use `UNDEF' default values 2014-08-05 11:48:25 +02:00
Alexander Klimov
261a5dd43d Don't declare the variable $icinga_packages because it's used only once 2014-08-05 11:17:17 +02:00
Alexander Klimov
8806583289 Outsource Icinga (2) database creation into mysql::database
refs #6842
2014-08-04 13:40:11 +02:00
Thomas Gelf
96925487bd CLI/monitoring/list: fix DataView-related exception
This uses the renamed DataView serviceStatus instead of the former
status and fixes the problem that CLI still assumed to have fetch
and count function on the DataView.

fixes #6777
2014-07-31 17:24:56 +02:00
Thomas Gelf
8f729bfb65 ActionController: set a default window title
In case a controller action didn't set a view title this fix restores
the default title on XHR requests.

fixes #6797
2014-07-31 17:04:26 +02:00
Thomas Gelf
51484ebf88 monitoring/Perfdata: ignore invalid min/max
key=23;0;0;0;0 and key=23;;;; lead to division by zero exceptions
This should fix this by ignoring empty strings for min/max (formerly
it got "converted" to float(0)) and also ignores min == max.

fixes #6828
2014-07-31 16:52:34 +02:00
Michael Friedrich
3e4944c60a Vagrant: Update monitoring-plugins/livestatus
Move all hardcoded versions to the header too.

fixes #6818
2014-07-30 14:04:57 +02:00
Marius Hein
56a29354d3 AutoLogin: Check the remote username against logged in user
fixes #6462
2014-07-30 12:54:08 +02:00
Marius Hein
e2c761a7aa AutoLogin/Logout: Remove own session namespace
Store data in the user and implement interface to left
backends store remote information.

fixes #6461
2014-07-30 12:35:55 +02:00
Eric Lippmann
294728ac47 Revert "Autologin: Test logged session against remote user"
This reverts commit 64954e99244f26cc6b6dccc7d60a253c105bd550.

If the strip_username_regex is configured on the autologin backend and applies on a user's name,
the authenticated user's username does never match the REMOTE_USER server variable.
Thus the application will logout/login on every request which results in a redirect loop.

refs #6462
2014-07-29 17:50:44 +02:00
Michael Friedrich
0b1aee8a35 Vagrant: Fix Icinga 2 MySQL creation
refs #6741
2014-07-29 13:04:20 +02:00
Alexander Klimov
e07f2a2b0d Show an error message if a ConfigurationError is thrown 2014-07-29 12:25:48 +02:00
Alexander Klimov
4e1e845675 DbBackendForm: replace create with createElements and getResources with __construct
refs #5525
2014-07-29 12:22:43 +02:00
Alexander Klimov
5e6ef57590 LdapBackendForm: replace create with createElements and getResources with __construct
refs #5525
2014-07-29 12:21:58 +02:00
Marius Hein
64954e9924 Autologin: Test logged session against remote user
fixes #6462
2014-07-29 12:06:43 +02:00
Eric Lippmann
f9e8ad3d0b doc: Remove 'locale' directory
Since #6432 has been fixed, the empty locale directory can be removed.

refs #4820
2014-07-29 11:45:16 +02:00
Eric Lippmann
f6b9b13654 doc: Rename 'chapterName' to 'chapterTitle'
refs #4820
2014-07-29 11:19:40 +02:00
Marius Hein
8f85a66e13 Merge branch 'bugfix/autologin-logout-6461'
fixes #6461
2014-07-29 11:13:42 +02:00
Marius Hein
d05e3bfcca Autologin: Fix javascript logout code
Window onload event handler comes to late. Change
part of the code to use jQuery.

refs #6461
2014-07-29 11:12:15 +02:00
Eric Lippmann
3cafc8910a doc/DocParser: Rename 'header' to 'title'
refs #4820
2014-07-29 11:12:06 +02:00
Eric Lippmann
38a6df91b9 doc/DocParser: Rename 'chapterName' to 'chapterTitle'
refs #4820
2014-07-29 11:10:49 +02:00
Eric Lippmann
55d3818ebb doc/SectionRenderer: Support images
refs #4820
2014-07-29 11:10:06 +02:00
Marius Hein
8b9d446d2e Autologin: Remove deprecated autologin methods
Remove methods from manager because autologin
is now handled with special backends (AutoLoginBackend).

The session is used to store the status about a remote
user authentication to send a 401 header to the client
upon logout.

refs #6461
2014-07-29 10:48:57 +02:00
Eric Lippmann
a0867ce33a doc module/Vagrant: Add menu.ini
refs #4820
2014-07-28 19:26:39 +02:00
Eric Lippmann
034923d886 Merge branch 'master' into feature/display-documentation-4820 2014-07-28 19:17:50 +02:00
Eric Lippmann
788e3eb6fc doc: No longer use separate view scripts
refs #4820
2014-07-28 19:17:03 +02:00
Eric Lippmann
9eb4b62cd0 doc: Register PDF route
refs #4820
2014-07-28 19:15:44 +02:00
Eric Lippmann
ce4fa1fd3d Vagrant/doc module: Add menu link to the documentation module
refs #4820
2014-07-28 19:14:50 +02:00
Eric Lippmann
edc89d6ad6 lib: Remove `NodeRenderer'
`NodeRenderer' is superseded by `TocRenderer'.
2014-07-28 19:12:35 +02:00
Eric Lippmann
88312e6284 doc/lib: Add `SectionFilterIterator' for iterating over sections that are part of a particular chapter
refs #4820
2014-07-28 19:11:59 +02:00