Commit Graph

3638 Commits

Author SHA1 Message Date
Johannes Meyer a8dd9c933d Add the possibility for modules to provide a setup wizard
refs #7163
2014-10-24 13:52:26 +02:00
Johannes Meyer 64e6886c9c Make it possible to pass the module paths directly to the module manager 2014-10-24 13:51:23 +02:00
Johannes Meyer ffc69c378c Fix typo in ConfigController::moduleenableAction() 2014-10-24 13:49:49 +02:00
Johannes Meyer d90d6fe6a9 Improve summary page layout a bit
refs #7163
2014-10-23 15:16:25 +02:00
Johannes Meyer a6cbde54c5 Move summary HTML generation from the view script to each install step
refs #7163
2014-10-23 15:15:59 +02:00
Johannes Meyer 216c072024 Implement installation routines modularly
This allows us to "merge" module installation
routines with our main installer routines.

refs #7163
2014-10-23 11:41:16 +02:00
Johannes Meyer 2fd22261eb Remove instruction initially purposed for testing only 2014-10-22 16:31:19 +02:00
Johannes Meyer f5c4708ae2 Add a default file mode for new configuration files
The file mode which can be configured in the general configuration is now
used when creating new configuration files with the PreservingIniWriter.
2014-10-21 17:02:21 +02:00
Johannes Meyer d201cff087 Don't suppress an E_WARNING in CLI commands
We should probably set an error handler to catch such things in the CLI..
2014-10-21 16:36:14 +02:00
Johannes Meyer 049e42ba9a Add CLI command to create the configuration directory
It is now not necessary anymore to generate the token as the web server's
user. A user now creates the configuration directory using the CLI as well,
while the SGID is set (in the default mode) causing the token only to be
accessible by the super user who owns the directory/file and the web
server's group.

refs #7163
refs #7408
refs #7410
2014-10-21 16:23:54 +02:00
Johannes Meyer 3a3d29ea4f Add more detailed explanations when configuring authentication backends
refs #7163
fixes #7411
2014-10-21 16:15:04 +02:00
Johannes Meyer b4a69792d8 Add note to login page when the configuration directory is missing
refs #7163
refs #7409
2014-10-21 16:11:49 +02:00
Johannes Meyer a5b10235d2 Add more detail to error messages when token validation fails
refs #7163
fixes #7410
2014-10-21 16:10:21 +02:00
Johannes Meyer 8c62c66a4e Make regular expression pattern in autologin backend being fully optional 2014-10-20 15:14:14 +02:00
Johannes Meyer 09945994b8 Disabled buttons should be identifiable as being "disabled"
refs #7163
2014-10-20 13:44:11 +02:00
Michael Friedrich 5b3c24dd92 Tell the user which file the setup token could not be written to
fixes #7407
2014-10-20 10:00:23 +02:00
Johannes Meyer 7f453be1cc Fix that no form values are stored for the LdapDiscoveryPage
refs #7163
2014-10-17 16:00:52 +02:00
Johannes Meyer e72f2cac24 Fix that page information gets deleted when navigating back
refs #7163
2014-10-17 15:42:06 +02:00
Johannes Meyer f453fd06e8 Show the user which pages he already visited while navigating back
refs #7163
2014-10-17 15:41:25 +02:00
Johannes Meyer 768d8da4f8 Fix that syslog or file config elements are not shown in case of no default 2014-10-17 13:11:25 +02:00
Johannes Meyer 24b6274f01 Fix logging configuration installation
refs #7163
refs #6933
2014-10-17 13:05:56 +02:00
Johannes Meyer 9f127be1dc Merge branch 'master' into feature/setup-wizard-7163
Conflicts:
	application/forms/Config/General/LoggingConfigForm.php
2014-10-17 13:04:59 +02:00
Johannes Meyer a54c81b2a7 Adjust button labels only in WebSetup::addButtons(), not in view scripts
refs #7163
2014-10-17 11:20:20 +02:00
Johannes Meyer 2ecb862fc3 Style welcome page and fill placeholders
refs #7163
2014-10-17 11:19:04 +02:00
Johannes Meyer 223502c314 Style installation report
refs #7163
2014-10-17 09:18:10 +02:00
Johannes Meyer d4acbeb061 Fix that the location is not getting updated when navigating to the login
refs #7163
2014-10-16 16:13:37 +02:00
Eric Lippmann 5ca97c14d6 logging config: Support 'log' 'none' 2014-10-16 16:13:00 +02:00
Eric Lippmann 6c59c22044 Bootstrap: Remove logging configuration directives which do not override defaults 2014-10-16 15:59:56 +02:00
Eric Lippmann 6dfefb0e73 CLI: Fix logging setup 2014-10-16 15:59:35 +02:00
Eric Lippmann 501aca42b9 Logger: Fix the StreamWriterTest 2014-10-16 15:58:37 +02:00
Eric Lippmann d2d653209f Logger/SyslogWriter: Define configuration defaults here
Usage of closelog() is optional so I removed the explicit calls.
2014-10-16 15:56:38 +02:00
Eric Lippmann 04a8df54cd Logger/FileWriter: Rename 'target' directive to 'file' 2014-10-16 15:55:24 +02:00
Eric Lippmann 97677ee2c1 Fix our Logger not supporting named logging levels and requiring the 'enabled' directive 2014-10-16 15:54:13 +02:00
Eric Lippmann 985154d3d8 Throw an ErrorException on E_STRICT errors 2014-10-16 15:51:18 +02:00
Eric Lippmann a2772a17a7 File: Fix ErrorException::__construct()'s parameters 2014-10-16 15:47:50 +02:00
Eric Lippmann d475ccd569 IcingaCommand: Fix strict standards violation: Only variables should be passed by reference 2014-10-16 15:37:07 +02:00
Johannes Meyer d73423ceee Style summary page
Dropped also the layout logic as it was too generic.

refs #7163
2014-10-16 14:52:26 +02:00
Eric Lippmann f9e7e6d888 general config: Don't keep unused configuration directives 2014-10-16 11:20:16 +02:00
Marius Hein 92b4f4fbec AlertSummary: Avoid division by zero 2014-10-16 09:50:15 +02:00
Johannes Meyer 16ce2eb425 Improve form- and element-error styling 2014-10-15 16:35:21 +02:00
Johannes Meyer 2f40365fc8 Style wizard buttons
refs #7163
2014-10-15 15:49:38 +02:00
Johannes Meyer fdef596c6e Make progress bar a bit less eye-catching
refs #7163
2014-10-15 15:48:37 +02:00
Johannes Meyer 6427a9e347 Fix radiobox positioning
refs #7163
2014-10-15 15:47:24 +02:00
Johannes Meyer 21379cb24d Show ldap discovery results in a nice table
refs #7163
2014-10-15 15:46:54 +02:00
Johannes Meyer d1ea7e87a2 Improve form styling slightly 2014-10-15 15:46:07 +02:00
Johannes Meyer 38ee467603 Fix that the session is written too early when post-dispatching 2014-10-15 13:15:30 +02:00
Johannes Meyer 2c09ca1623 Fix that retrieving notifications causes them to be dropped entirely
I've broke this when doing some improvements while being
brainless, obviously.
2014-10-15 13:14:51 +02:00
Johannes Meyer 5d44a005a0 Fix that notifications are not registered 2014-10-15 13:02:56 +02:00
Johannes Meyer 64940198be Fix AlertSummary report cannot find EventHistory dataview
We should start to think about how to prevent such issues ;)
2014-10-15 11:18:16 +02:00
Johannes Meyer 1daeaef1c5 Fix that it is not possible to create an autologin auth backend
Occured only when no database resource nor a ldap resource exists.
2014-10-15 10:51:18 +02:00