3558 Commits

Author SHA1 Message Date
Johannes Meyer
f8f27e046d Ensure that we advance a wizard when pushing ENTER
refs #7163
2014-10-09 13:41:06 +02:00
Johannes Meyer
169a646a1a Fix that LDAP discovery suggestions are not populated
I've broke this when re-commiting the changes made by Matthias and fixed
this by populating dependent pages directly in WebSetup::setupPage.

refs #7163
2014-10-09 10:47:45 +02:00
Matthias Jentsch
e29a568bff Add LDAP discovery pages
refs #7163
2014-10-09 10:20:07 +02:00
Matthias Jentsch
df69fd2264 Make Dns::getSrvRecors being more generic
The `target' property of a returned service record is too specific and causes
other properties being ignored.
2014-10-09 10:19:21 +02:00
Matthias Jentsch
dd21b7b5d1 Make sure that we work only with arrays when handling LDAP groups 2014-10-09 10:14:42 +02:00
Matthias Jentsch
e3164a275f Clarify the new meaning of an ldap resource's `root_dn' directive 2014-10-09 10:13:26 +02:00
Matthias Jentsch
04e83a53c5 Add `base_dn' directive to LDAP backend config 2014-10-09 10:10:09 +02:00
Johannes Meyer
1cbe2451a8 Merge branch 'master' into feature/setup-wizard-7163
Conflicts:
	application/forms/Config/Resource/StatusdatResourceForm.php
2014-10-08 16:34:31 +02:00
Johannes Meyer
b7d3a47bc6 Add file-owner note to help output of the generateToken command
Clarifies that the token file must be owned by the webserver's user as there
is no reliable way to determine this user automagically.

refs #7163
2014-10-08 16:07:43 +02:00
Johannes Meyer
7c202dd8fa Improve the db-summary text and db-creation/-resource step handling
refs #7163
2014-10-08 15:36:26 +02:00
Johannes Meyer
8fa8642917 Do not show the db-creation step when the db-resource step was skipped
refs #7163
2014-10-08 15:35:12 +02:00
Johannes Meyer
06e82ed892 Make it possible to skip the db-creation step
refs #7163
2014-10-08 15:34:28 +02:00
Johannes Meyer
89ae05899b Query a particular login name and create database logins using the DbTool
refs #7163
2014-10-08 15:33:51 +02:00
Johannes Meyer
96ba45d896 Convert password salt to ASCII to avoid encoding issues with PostgreSQL 2014-10-08 15:26:42 +02:00
Alexander Fuhr
f77a0e919a Merge branch 'bugfix/monitoring-list-dup-entries-7057'
refs #7057
refs #7344
2014-10-08 12:47:24 +02:00
Alexander Fuhr
4c23d98575 Merge branch 'master' into bugfix/monitoring-list-dup-entries-7057 2014-10-08 12:45:14 +02:00
Alexander Fuhr
afc97b1cac Fix the duplicate entries in monitoring list shows
refs #7057
refs #7344
fixes #7057
2014-10-08 12:30:08 +02:00
Johannes Meyer
baa6abdb00 Relax schema check
Checking one table for its existence is more than enough. Creating a diff
implies conditional CREATE TABLE instructions and the like, what we want
to avoid.

refs #7163
2014-10-08 11:24:05 +02:00
Johannes Meyer
647447b4d2 Ensure that a new admin account does not already exist
refs #7163
2014-10-08 10:38:04 +02:00
Johannes Meyer
393191ced1 Add admin creation routine
refs #7163
2014-10-08 10:26:12 +02:00
Johannes Meyer
8f787e649c Update documentation and fix vagrant manifest due to moved schema files 2014-10-08 08:52:04 +02:00
Johannes Meyer
abc34a5f1a Add database setup routines
refs #7163
2014-10-07 17:08:50 +02:00
Johannes Meyer
7da11b83f5 Fix that the database is displayed instead of the login in the db summary
refs #7163
2014-10-07 17:06:51 +02:00
Johannes Meyer
1136a09741 Wrap report message registration in a specific method
refs #7163
2014-10-07 17:05:55 +02:00
Alexander Fuhr
fcc56c9809 monitoring: Fix some of `DataView's PHPDoc 2014-10-07 16:09:19 +02:00
Alexander Fuhr
a9ae75b6b0 monitoring: Fix that sorting a data view is not possible if its sort
rules are empty
2014-10-07 16:05:20 +02:00
Johannes Meyer
627a19a2a9 Fix warning "references should be passed by variable" 2014-10-07 15:57:00 +02:00
Johannes Meyer
efffe10bad Merge sql schema files
When populating a database we'll create all tables regardless of what
is actually required for the current use case.
2014-10-07 15:55:43 +02:00
Eric Lippmann
1b23fd7fbe monitoring: Don't support status.dat as backend
Icinga Web 2 will not support status.dat for now and maybe forever.
2014-10-07 13:22:07 +02:00
Eric Lippmann
2126b8c341 monitoring: Fix link to an object's contact in the detail views 2014-10-07 13:21:28 +02:00
Eric Lippmann
f954e8ce48 monitoring: Remove obsolete helper `ResolveComments' 2014-10-07 11:47:24 +02:00
Eric Lippmann
8a8ce49f73 monitoring: Call `hasBetterUrl()' in every list action
fixes #6679
2014-10-06 17:08:27 +02:00
Johannes Meyer
d54bfddee4 Silence file_get_contents call
Since an earlier change already made the existence of config files not
required we do not care about any E_WARNING or notice emitted by
"file_get_contents".
2014-10-06 16:55:20 +02:00
Johannes Meyer
04ff2e271a Drop dependent page data more earlier
Not only the "setup_authentication_backend" page depends on the auth
type but also the "setup_admin_account" page, so just drop both entries
once a new auth type gets submitted.

refs #7163
2014-10-06 16:52:19 +02:00
Johannes Meyer
ad7965228c Add install routines for all INI files
This is just a quick&dirty implementation. Once we know how modules are
being processed/installed this needs to be revisited.

refs #7163
2014-10-06 16:49:29 +02:00
Johannes Meyer
450ec2add0 Make it possible to differentiate the "final" next button
refs #7163
2014-10-06 16:29:39 +02:00
Johannes Meyer
b50c780bcf Let the setup's view scripts be a bit more generic
refs #7163
2014-10-06 16:04:58 +02:00
Johannes Meyer
ac255eeda0 Change form name of GeneralConfigPage to "setup_general_config"
Used to be "setup_application_config".

refs #7163
2014-10-06 13:52:32 +02:00
Alexander Fuhr
421263af00 Make LDAP Groups optional
refs #7343
2014-10-06 13:35:17 +02:00
Eric Lippmann
865ef76cb8 filter: Fix whitespace sanitizing 2014-10-06 13:19:25 +02:00
Alexander Fuhr
d27d993395 Merge branch 'bugfix/monitoring-list-duplicates-7057'
refs #7057
2014-10-06 13:07:54 +02:00
Alexander Fuhr
5143c78f1a Merge branch 'master' into bugfix/monitoring-list-duplicates-7057 2014-10-06 13:06:56 +02:00
Alexander Fuhr
a0122763a6 Fix Queries: Summaries, Host, Service 2014-10-06 11:37:33 +02:00
Alexander Fuhr
97d2a920db Implement GROUP BY clause functionality 2014-10-06 11:34:04 +02:00
Alexander Fuhr
e96065e065 Implement validation for filter and sort columns 2014-10-06 11:32:15 +02:00
Johannes Meyer
4c6b64f092 Fix that it's not possible to scroll down on wizard pages
refs #7163
2014-10-06 11:32:12 +02:00
Alexander Fuhr
36681bb55a Add new QueryException 2014-10-06 11:30:48 +02:00
Johannes Meyer
83006c014c Wrap wizard buttons in a div
refs #7163
2014-10-06 11:07:21 +02:00
Eric Lippmann
2956d9e342 form: Correctly set our default element decorators 2014-10-06 10:42:24 +02:00
Johannes Meyer
5f68850443 Fix that radio buttons are not populated
refs #7163
2014-10-06 10:28:42 +02:00