Commit Graph

176 Commits

Author SHA1 Message Date
Johannes Meyer 87cdd49b1c AdminAccountPage: Fix username validation 2015-07-01 14:25:43 +02:00
Johannes Meyer f615db01fe WebWizard: Show db resource config right after choosing db as auth type
refs #8709
2015-07-01 14:24:48 +02:00
Johannes Meyer 0dc604029a AdminAccountPage: Do not put an element's description at the top of the form 2015-06-30 15:10:17 +02:00
Johannes Meyer 2dcbee27bc AdminAccountPage: Add missing form title
refs #8704
2015-06-30 11:38:59 +02:00
Johannes Meyer ae9fa38ac4 AdminAccountPage: Drop unused view script
refs #8704
2015-06-30 11:38:40 +02:00
Johannes Meyer c787eadcfe AdminAccountPage: Use a select input to choose how to define a user
refs #8704
2015-06-30 10:58:17 +02:00
Johannes Meyer 3ea9e50c02 AdminAccountPage: Fetch the entire set of users only if necessary
refs #8704
2015-06-30 09:20:52 +02:00
Johannes Meyer 4fc7b3eb1b Setup: Fix the sorting of existing LDAP users 2015-06-25 15:52:09 +02:00
Johannes Meyer 39ea81ac7b Setup: Also list existing accounts for ActiveDirectory auth backends
fixes #9511
2015-06-25 15:26:56 +02:00
Johannes Meyer 3dddee8b7d Setup: Fix authentication backend validation
This is a ridiculous dirty fix. We'll definitely need to
improve how we create authentication backends...

fixes #9509
2015-06-25 14:36:51 +02:00
Johannes Meyer d95874b84c Setup: Provide a default user filter for ActiveDirectory backends
fixes #8703
2015-06-25 14:22:50 +02:00
Johannes Meyer f5e30a84f1 Improve the look of headings in the setup wizard 2015-06-19 15:44:43 +02:00
Alexander A. Klimov 98b2699e35 Documentation: use command line arguments in the format --arg=<value>
refs #8472
2015-06-10 17:20:27 +02:00
Alexander A. Klimov 6a914dc25b Merge branch 'bugfix/Show-all-shell-commands-required-to-get-ready-in-the-setup-wizard-8705'
fixes #8705
2015-06-05 18:40:07 +02:00
Johannes Meyer 2490d0ae67 ConfigController: We're configuring user backends from now on
refs #8826
2015-06-02 09:58:57 +02:00
Alexander A. Klimov 38cecdb724 Setup Wizard: show how to add a system group "icingaweb2" and how to add the webserver's user to it
refs #8705
2015-05-27 11:39:13 +02:00
Johannes Meyer 437090d2b1 AdminAccountPage: Backends do provide a unified interface now, use it
refs #8826
refs #7693
2015-05-04 12:21:17 +02:00
Johannes Meyer c441117324 LdapUserBackend: Extend Repository and implement UserBackendInterface
refs #8826
2015-05-04 12:18:25 +02:00
Johannes Meyer 3da144f199 Revert "Sort LDAP user list"
This reverts commit d4dc0177c0.
2015-04-28 15:57:33 +02:00
Johannes Meyer 6ca68f438d Move concrete UserBackend classes to Icinga\Authentication\User
refs #8826
2015-04-21 12:51:31 +02:00
Alexander A. Klimov 20b09d3bda Inherit from Icinga\Web\Controller rather than from Icinga\Web\Controller\ModuleActionController 2015-04-08 15:13:59 +02:00
Alexander Klimov 967a2e82dc Use (only) "@return $this" in fluent interfaces' documentation 2015-04-07 14:24:11 +02:00
Johannes Meyer 39a74c4f3d LDAP-Auth backend config: Add support for custom LDAP filter rules
refs #8365
2015-03-11 09:52:14 +01:00
Johannes Meyer e4e6c1cb28 Wizard: Fix that the wrong form element is used in case a user already exists
fixes #8678
2015-03-11 07:59:04 +01:00
Johannes Meyer f87a43b9d3 Catch errors occuring on ldap discoveries
fixes #8656
2015-03-10 13:24:54 +01:00
Johannes Meyer 59f43a0f5e Show module requirements as a separate table
refs #8508
2015-03-10 10:56:05 +01:00
Johannes Meyer c44d5d2a73 Use a custom RecursiveIteratorIterator to render a RequirementSet
refs #8508
2015-03-10 09:31:57 +01:00
Johannes Meyer e80786d63d Rename Requirements to RequirementSet
refs #8508
2015-03-09 09:05:56 +01:00
Johannes Meyer 4badbc660b Merge branch 'master' into feature/conditional-requirements-8508 2015-03-09 08:51:03 +01:00
Johannes Meyer cddcde9494 Setup: Automatically check the respective admin account type selection
resolves #8603
2015-03-06 15:41:25 +01:00
Johannes Meyer 31560c9249 Wizard: Explain that the webserver user must be in the group "icingaweb2"
resolves #8491
2015-03-05 10:30:06 +01:00
Johannes Meyer 642fa44fce Move a form's title into the markup of its form 2015-03-03 09:53:25 +01:00
Johannes Meyer 2af83e7d72 Installation: Use native form title and description support where appropriate
refs #7947
refs #7976
2015-03-02 18:40:47 +01:00
Johannes Meyer d3f9bd633c Installation: Hide the required cue when choosing the preference backend
refs #7934
2015-03-02 18:40:46 +01:00
Johannes Meyer d714c4323c Installation: Remove required cue from the token input
refs #7934
2015-03-02 18:40:46 +01:00
Johannes Meyer e9bae08a6e Fix that one can't advance the wizard when skipping the ldap discovery
fixes #8506
2015-03-02 18:40:46 +01:00
Johannes Meyer d0a8dd8973 Requirements: Do not implement ArrayIterator but RecursiveIterator
refs #8508
2015-02-26 10:52:39 +01:00
Johannes Meyer 24d0999fa4 Register requirements as objects
This neutralizes the need for a unique name per requirement as
requirements are now compared based on their type and condition.
It also allows to implement a solution to add simple conditional
requirements.

refs #8508
2015-02-25 13:38:38 +01:00
Matthias Jentsch d4dc0177c0 Sort LDAP user list
fixes #7693
2015-02-24 12:50:57 +01:00
Johannes Meyer e6957967f9 Wizard: Add proper titles to the button-like links on the last page
refs #8458
2015-02-23 17:33:23 +01:00
Johannes Meyer 60a9d1f224 Wizard: Add proper title to the refresh button of the requirements page
refs #8458
2015-02-23 17:32:55 +01:00
Johannes Meyer 5321c2f9e5 Mute icons properly using the new automatic mechanisms of our view helpers
refs #8360
2015-02-16 10:52:42 +01:00
Johannes Meyer 437050430f Make sure that the admin wizard-step provides the required-HTML markup
refs #8349
2015-02-05 13:18:21 +01:00
Eric Lippmann 6bae2e0a53 Note that our license is GPL v2 or any later version in our license header instead of pointing to the license's URL 2015-02-04 10:52:27 +01:00
Eric Lippmann 5b4fab0750 Add license header
This time without syntax errors hopefully :)
2015-02-03 16:27:59 +01:00
Eric Lippmann 5fa2e3cfdc Revert "Add license header"
This reverts commit 338d067aba.
2015-02-03 16:16:26 +01:00
Eric Lippmann 338d067aba Add license header
fixes #7788
2015-02-03 15:51:04 +01:00
Johannes Meyer c4c6d36b00 setup: Clarify that the db user's credentials may be insufficient as well 2015-02-02 16:55:31 +01:00
Johannes Meyer 78f5bf4f3d Phrase external auth warnings more neutral
refs #8274
2015-01-28 16:22:20 +01:00
Johannes Meyer 23c36898da Rename css class "info" to "info-box" and add it as generic box
refs #8274
2015-01-27 14:05:41 +01:00
Johannes Meyer afd4a9a134 There will be '.. users create' instead of '.. setup config webserver --with..'
refs #8274
2015-01-27 10:54:33 +01:00
Johannes Meyer 50fc85d7ff Rename authentication type "autologin" to "external"
refs #8274
2015-01-27 09:49:36 +01:00
Johannes Meyer 0fa133abfb setup: Display a note in case autologin is chosen while not being logged in
In case the user chooses to use autologin as authentication while not being
externally authenticated a note is displayed indicating that it is necessary
to set up the webserver's authentication to be able to login once the wizard
is complete.

refs #8274
2015-01-26 16:58:40 +01:00
Johannes Meyer 7006bbf8b2 Suggest "icingaweb2" as group instead of the webserver's user
..and note that it is necessary to create this group.
2015-01-26 14:13:10 +01:00
Johannes Meyer fb97e74453 Use the correct element identifier for the preference storage type selection
Used to be `type' but has changed to `store'
to get a more clear INI structure.

fixes #8275
2015-01-26 07:39:31 +01:00
Johannes Meyer 359336243c Save "none" instead of "null" when choosing to not to store preferences
refs #8234
2015-01-23 16:25:24 +01:00
Johannes Meyer 2a543bb5ae Rename the preference setting `type' to `store'
refs #8234
2015-01-23 16:25:23 +01:00
Johannes Meyer 14a4aaeb77 Revert "Fix that when chosing to not to store preferences an invalid config is created"
This reverts commit 6284da451e.
2015-01-23 15:23:43 +01:00
Johannes Meyer 6284da451e Fix that when chosing to not to store preferences an invalid config is created
fixes #8234
2015-01-23 14:42:09 +01:00
Johannes Meyer 3040116c12 Combine duplicate requirements
refs #8191
2015-01-22 12:47:18 +01:00
Johannes Meyer c4c248cbb7 Make the ModulePage's design more appealing
refs #8191
2015-01-22 10:57:41 +01:00
Johannes Meyer 1ee873adfc Remove the "old" ModulePage view script
refs #8191
2015-01-21 17:00:30 +01:00
Johannes Meyer 71fd1036de Pre-select the monitoring module in the setup wizard
It's TEH module!!1

refs #8191
2015-01-21 16:57:08 +01:00
Johannes Meyer 913143f3a8 Update the SummaryPage's description
A summary page isn't an indicator anymore for a complete wizard as
there are multiple summary pages now.

refs #8191
2015-01-21 16:52:38 +01:00
Johannes Meyer 08e600a376 Re-introduce the ModulePage
Now with pretty checkboxes :)

refs #8191
2015-01-21 13:57:59 +01:00
Johannes Meyer 573c1046bb Ensure that the SummaryPage has a unique name when being utilized
refs #8191
2015-01-21 11:44:44 +01:00
Johannes Meyer fdb3988efd Fix float formatting in the progress bar's css
refs #8191
2015-01-21 11:15:38 +01:00
Johannes Meyer b468be2813 Drop the ModulePage
refs #8191
2015-01-21 09:59:48 +01:00
Johannes Meyer 99699a14ad Replace all mt() calls with translate() in the setup module's view scripts 2015-01-20 17:39:47 +01:00
Johannes Meyer 095d9437b8 Adjust the wizard's progress bar
Moved the "Modules" step to the left and removed the "Summary" step.

refs #8191
2015-01-20 17:33:29 +01:00
Johannes Meyer 8c87a9df13 Replace t() and mt() with translate() in setup module's forms
refs #7551
2015-01-19 11:07:39 +01:00
Rene Moser 3961a44769 setup-welcome: fix cli doc
* `createDirectory` does not exist, this should be `direcotory`.
* For changing the group option `--group` must be used.
* Default config directory is `/etc/icingaweb2` not `/etc/icingaweb`.

Signed-off-by: Eric Lippmann <eric.lippmann@netways.de>
2015-01-13 13:04:04 +01:00
Eric Lippmann 80730e0bb2 cli/setup: Remove is_string checks for switches of the webserver generation 2014-12-30 18:49:47 +01:00
Eric Lippmann 9f545535a0 cli/setup: Issue nice error messages when creating the config directory fails 2014-12-30 16:03:05 +01:00
Eric Lippmann 865b5c126a cli/setup: Do not exit setup config directory when the directory already exists
mkdir may succeed but chmod or chgrp may fail. The next time the command is called
it will ll exit before trying to chmod or chgrp again because the directory already exists.
2014-12-30 15:56:42 +01:00
Eric Lippmann 90fb44122b cli/setup: Do not translate \n again 2014-12-30 15:55:14 +01:00
Eric Lippmann f9ca0296a4 cli/setup: Do not return false; after $this->fail()
$this-fail() throws an exception.
2014-12-30 15:54:07 +01:00
Eric Lippmann 9de1b20d3c cli/setup: Issue an error if chmod fails when setting up the configuration directory 2014-12-30 15:51:00 +01:00
Eric Lippmann 9c40372b61 cli/setup: Do not translate \n 2014-12-30 15:49:11 +01:00
Eric Lippmann 672500029c cli/setup: Add sanity check for the --mode switch when creating the config directory 2014-12-30 15:46:22 +01:00
Eric Lippmann f84a9a6529 cli/setup: Do not use umask(0)
chmod is not affected in any way by the umask.
2014-12-30 15:33:01 +01:00
Eric Lippmann 082cdd6dd2 cli/setup: Rename --path switch to --config for the directory action
All other actions use --config too.
2014-12-30 15:24:31 +01:00
Eric Lippmann bad7aad05e cli/setup: Do not use the webserver user's group but 'icingaweb2' 2014-12-30 15:22:53 +01:00
Eric Lippmann 861252b1e7 setup: Rename createDirectory to diretory
'icingacli setup config directory' does not suffer from camel case notation and explains
pretty much what it does.
2014-12-30 14:59:23 +01:00
Eric Lippmann 4b6ea55cbb setup: Add --config switch to TokenCommand::createAction()
refs #7906
2014-12-30 14:55:44 +01:00
Eric Lippmann aea7b068da setup: Add --config switch to TokenCommand::showAction()
refs #7906
2014-12-30 14:43:19 +01:00
Eric Lippmann 60b74ddcec Cli: Fix parameter documentation for ConfigCommand::webserverAction()
We speak of icingaweb2 not icingaweb now.
2014-12-30 14:41:35 +01:00
Eric Lippmann 5e812c72f1 cli/webserver config: Fix --config sanity check 2014-12-30 14:37:34 +01:00
Eric Lippmann ff17c3729c setup: Use 'icingaweb2' as default authentication backend name 2014-12-29 16:06:34 +01:00
Johannes Meyer 4c4c0c97a5 Fix incorrect token generation example on the wizard's welcome page
fixes #8135
2014-12-22 08:30:08 +01:00
Johannes Meyer ebf908b1b5 Make db requirement checks more sensitive
fixes #7837
2014-12-01 15:38:10 +01:00
Johannes Meyer ca1dafeec3 Add hint to the requirements page's refresh button to restart the webserver
fixes #7839
2014-11-26 10:42:44 +01:00
Johannes Meyer e82cc35043 Re-add a description to the setup wizard
If someone has a better alternative don't hesitate
to replace this with a valid description.

fixes #7836
2014-11-26 08:58:09 +01:00
Johannes Meyer ff19696429 Add --path argument to the setup's welcome page examples if necessary
refs #7581
2014-11-26 08:58:08 +01:00
Johannes Meyer c288a68ed5 Merge branch 'master' into bugfix/drop-zend-config-7147
Conflicts:
	application/forms/LdapDiscoveryForm.php
2014-11-18 13:21:18 +01:00
Johannes Meyer 7621f6642d Adjust usages of Icinga\Application\Config
refs #7147
2014-11-18 13:11:52 +01:00
Matthias Jentsch 5f8fcf4005 Fix Ldap server discovery
Add a new connection member that stores whether settings were guessed or product of a discovery, move discovery methods into seperate class.

fixes #7691
2014-11-18 09:45:54 +01:00
Thomas Gelf da47c7fc7e Merge remote-tracking branch 'origin/master' into feature/redesign-7144 2014-11-14 21:32:57 +01:00
Johannes Meyer ddf2ef5cc9 Remove $request parameter from Form::onSuccess and Form::onRequest
fixes #7552
2014-11-14 14:59:29 +01:00
Johannes Meyer d64ec0aa3c Rename Icinga\Module\Setup\Form to Icinga\Module\Setup\Forms
refs #7553
2014-11-14 11:01:16 +01:00