Johannes Meyer
2eb9a771c9
Do not check for any config file, just the directory to show the login-warning
...
refs #7163
2014-11-12 15:58:18 +01:00
Johannes Meyer
8e1a6a5b83
Fix that navigating in the service grid opens the grid in a new column
...
refs #6180
2014-11-12 15:13:32 +01:00
Johannes Meyer
933172f250
Replace navigation of the service matrix and rename it to service grid
...
fixes #6180
2014-11-12 15:07:01 +01:00
Alexander Fuhr
2bae33d6ad
Change PreferenceForm and add the ability to store preferences in the current session
2014-11-12 13:18:35 +01:00
Alexander Fuhr
8d4e56a1fe
Remove timezone element from the ApplicationConfigForm
2014-11-12 12:09:47 +01:00
Alexander Fuhr
8f6cac6a9e
Add translation to preference tab title
2014-11-12 11:10:25 +01:00
Johannes Meyer
c3e28a42fb
Remove configuration option for setting the access mode on new files
2014-11-12 09:40:07 +01:00
Eric Lippmann
8e3394fd55
Merge branch 'master' into feature/redesign-7144
2014-11-11 13:54:13 +01:00
Johannes Meyer
b26e585837
Fix that the authentication.ini is being used as trigger for the config warning
...
Should have been the config.ini instead.
refs #7163
2014-11-11 12:42:49 +01:00
Johannes Meyer
af99f62843
Prefer Icinga\Application\Config over Zend_Config
...
refs #7163
2014-11-11 12:11:14 +01:00
Johannes Meyer
8909bd5d59
Show warning on login page even if the configuration directory exists
...
refs #7163
2014-11-11 10:04:01 +01:00
Johannes Meyer
5009083915
Remove dummy documentation link
2014-11-11 10:00:02 +01:00
Johannes Meyer
9d292269b1
Merge branch 'master' into feature/setup-wizard-7163
...
Conflicts:
application/forms/Config/Resource/LdapResourceForm.php
test/php/application/forms/Config/Authentication/LdapBackendFormTest.php
2014-11-11 09:44:11 +01:00
Johannes Meyer
8f212018ec
Move the setup wizard code to a dedicated module
...
refs #7163
2014-11-10 15:11:44 +01:00
Johannes Meyer
5c9d7d6548
Add refresh button to the requirements page
...
refs #7163
refs #7587
2014-11-10 12:54:26 +01:00
Johannes Meyer
2bb7217d04
Do not require the openssl extension
2014-11-10 11:20:02 +01:00
Johannes Meyer
79493592bb
Do not use Installer anywhere.
...
"It's setup."
refs #7163
2014-11-10 10:30:52 +01:00
Johannes Meyer
6c664b72aa
Do not "require" sudo
...
refs #7163
2014-11-10 09:19:38 +01:00
Johannes Meyer
942530d514
Ensure that the CLI successfully changed the group of the config directory
...
refs #7163
2014-11-07 15:34:54 +01:00
Johannes Meyer
004ac04de6
Do not check whether we are a super user
...
refs #7163
2014-11-07 15:33:40 +01:00
Johannes Meyer
f85ddeb215
Do not hardcode the php username dummy in Icinga\Application\Platform
...
refs #7163
2014-11-07 14:40:28 +01:00
Johannes Meyer
9a5d01b3fd
Check the mysql or pgsql extension instead of just pdo, really
2014-11-07 14:31:20 +01:00
Johannes Meyer
7b99b74ae1
Prefer Icinga\Application\Config instead of Zend_Config
...
refs #7147
2014-11-07 13:53:03 +01:00
Bernd Erk
3c5d46ee71
redesigned login screen and image appearance
2014-11-07 00:40:32 +01:00
Eric Lippmann
5c8af79704
security: Add view scripts for creating, updating and removing restrictions
...
refs #5647
2014-11-06 17:39:51 +01:00
Eric Lippmann
ebd77ee5c1
security: Add actions for creating, updating and removing restrictions
...
refs #5647
2014-11-06 17:39:20 +01:00
Eric Lippmann
945d94491a
security: add form for setting and removing user and group restrictions
...
refs #5647
2014-11-06 17:38:38 +01:00
Alexander Fuhr
2e24c53224
Merge branch 'master' into feature/localization-form-6073
...
Conflicts:
application/forms/Config/GeneralForm.php
application/forms/Preference/GeneralForm.php
library/Icinga/Application/Web.php
2014-11-05 13:27:45 +01:00
Eric Lippmann
acded327e3
security: Add view scripts for creating, updating and removing permissions
...
refs #5647
2014-11-04 16:18:59 +01:00
Eric Lippmann
d0fc38ce94
security: Add controller for creating, updating and removing permissions
...
refs #5647
2014-11-04 16:17:54 +01:00
Eric Lippmann
0f48382f69
security: Add form for granting and revoking user and group permissions
...
refs #5647
2014-11-04 16:14:39 +01:00
Johannes Meyer
69b38768cf
Fix "Icinga\Logger\Logger not found"
...
The class was moved to Icinga\Application\Logger.
2014-11-04 15:50:34 +01:00
Eric Lippmann
aac161d7a0
config forms: prepend our custom view decorator when saving the configuration failed
2014-11-04 14:48:24 +01:00
Johannes Meyer
5a169ee656
Fix "PreservingIniWriter not found"
...
The class was renamed a few commits ago to "IniWriter"
2014-11-04 14:35:57 +01:00
Johannes Meyer
170ded6510
Merge branch 'master' into feature/setup-wizard-7163
...
Conflicts:
library/Icinga/Authentication/Backend/LdapUserBackend.php
library/Icinga/File/Ini/IniWriter.php
2014-11-04 14:22:53 +01:00
Johannes Meyer
581935c26f
Fix database setup and add support for the new schema
...
refs #7163
2014-11-04 13:51:15 +01:00
Johannes Meyer
0c8aa6502b
Add `prefix' option when creating the resource config for web2's database
...
refs #7163
2014-11-04 13:49:01 +01:00
Johannes Meyer
ab5df7d2ba
Show notification bar in the wizard as well
...
refs #7163
2014-11-04 13:48:09 +01:00
Eric Lippmann
b38e3affb9
Move INI writer classes to the File namespace
...
fixes #7150
2014-10-31 10:54:53 +01:00
Eric Lippmann
16352fc10c
Move Logger to the Application namespace
...
fixes #7148
2014-10-31 10:27:17 +01:00
Johannes Meyer
c1bff9a26e
Merge branch 'master' into feature/setup-wizard-7163
2014-10-30 10:38:21 +01:00
Johannes Meyer
a7e942cdc9
Show a warning on the first page in case the user already configured web2
...
refs #7163
2014-10-30 10:37:51 +01:00
Johannes Meyer
b9209daea5
Add another useful TODO
...
refs #7163
2014-10-30 09:54:14 +01:00
Eric Lippmann
c4554ac692
Log exceptions when saving preferences
2014-10-30 09:48:25 +01:00
Eric Lippmann
2698516005
Auth: Remove setting the not existent layout 'login' when logging out externally authenticated users
...
fixes #7191
2014-10-29 16:31:17 +01:00
Johannes Meyer
47d9426a1f
Use a hardcoded path where to look for modules
...
refs #7163
2014-10-29 15:43:08 +01:00
Johannes Meyer
32006420c5
Fix WelcomePage
...
There were some grammar- and layout-errors
as well as information missing :(
2014-10-29 11:36:03 +01:00
Johannes Meyer
c6b18d2f3d
Improve feedback when creating the configuration directory using the CLI
...
The user gets now a success message as well as not a failure message in case the directory already exists.
refs #7163
2014-10-29 08:46:22 +01:00
Johannes Meyer
16e614e71a
Fix grammar..
2014-10-29 08:39:00 +01:00
Johannes Meyer
3c438d9221
Allow install steps to return no summary
...
refs #7163
2014-10-29 08:38:59 +01:00
Johannes Meyer
d19d4b1a4c
Fix the ModulePage's request handling
...
This caused a module's summary page not being able to render the
summary as /<ModuleSetup>/->setupPage() is never been called
after a wizard is completed.
refs #7163
2014-10-29 08:38:59 +01:00
Johannes Meyer
dd6b045183
Fix that the ModulePage cant find modules when being asked for
...
refs #7163
2014-10-29 08:38:59 +01:00
Johannes Meyer
85f7dcf825
Revert "Create sub directories with the CLI's setup command as well"
...
This reverts commit 9589919ae8
.
2014-10-29 08:38:59 +01:00
Johannes Meyer
1fd4a301c4
Pass the wizard title to the summary page to be able to reuse the page
...
Module wizards can now use the SummaryPage as well if they want to.
refs #7163
2014-10-29 08:38:58 +01:00
Johannes Meyer
e5512f586f
Do not use getForm() but getCurrentPage() to avoid page creation
...
refs #7163
2014-10-29 08:38:58 +01:00
Johannes Meyer
3206ded18c
Pass the entire page data to the ModulePage
...
As module wizards might require some configuration values aggregated by
the main application wizard we pass the entire page data to each wizard as
if the data were aggregated by a module wizard itself.
refs #7163
2014-10-29 08:38:58 +01:00
Matthias Jentsch
b5468a122d
Explain token generation on the welcome page
...
Add token generation manual to the welcome page. Display example code
containing the current configuration dir, to generate tokens.
fixes #7408
2014-10-28 17:32:49 +01:00
Matthias Jentsch
2e8c0cffe6
Check privileges of database user accounts before continuing with the setup
...
Implement owner and privilege checks for postgresql, and fix some errors in
existing MySQL privilege checks.
resolves #7389
2014-10-27 15:08:52 +01:00
Johannes Meyer
dae2cbbeae
Add missing action attribute to "by view-script" rendered forms
...
refs #7163
2014-10-27 09:01:00 +01:00
Johannes Meyer
9589919ae8
Create sub directories with the CLI's setup command as well
...
refs #7163
2014-10-27 08:34:37 +01:00
Johannes Meyer
2f83976f50
Add ModulePage
...
refs #7163
2014-10-24 17:10:17 +02:00
Johannes Meyer
03bbc2e2e6
Use a dedicated method to clear a wizard's session
...
Simplifies session removal in case a sub-class of Icinga\Web\Wizard
requires special session handling
refs #7163
2014-10-24 13:55:41 +02:00
Johannes Meyer
ffc69c378c
Fix typo in ConfigController::moduleenableAction()
2014-10-24 13:49:49 +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
Alexander Klimov
38220afd11
PHP: avoid short tags <?
2014-10-23 10:44:54 +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
8c62c66a4e
Make regular expression pattern in autologin backend being fully optional
2014-10-20 15:14:14 +02:00
Eric Lippmann
53608c83d0
iframe: Load JavaScript even when 'isIframe' is true
2014-10-20 13:27:56 +02:00
Eric Lippmann
a2e1663e34
index: Don't drop query parameters when redirecting to dashboard
2014-10-20 13:27:33 +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
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
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
Johannes Meyer
21379cb24d
Show ldap discovery results in a nice table
...
refs #7163
2014-10-15 15:46:54 +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
Johannes Meyer
00ffb34829
Fix incorrect form fields being displayed when no database resource exists
2014-10-15 10:48:50 +02:00
Johannes Meyer
94f8745fc0
Fix authentication backend validation
2014-10-15 10:46:40 +02:00
Johannes Meyer
f869a1bf17
Fix that the LdapDiscoveryForm discovers only MSAD hosts
...
refs #7163
2014-10-15 10:45:24 +02:00
Johannes Meyer
8f7348b823
Revert "Fix backend validation of LdapBackendForm"
...
This reverts commit 0777848a84
.
2014-10-15 08:49:17 +02:00
Matthias Jentsch
937dbe2c15
Add missing close buttons to views without tabs
2014-10-14 17:54:52 +02:00
Johannes Meyer
c9d12cf8ac
Style requirements page
...
refs #7163
2014-10-14 16:45:04 +02:00
Johannes Meyer
c0df55c079
Add progress bar
...
refs #7163
2014-10-14 16:14:28 +02:00
Matthias Jentsch
0777848a84
Fix backend validation of LdapBackendForm
2014-10-14 14:44:51 +02:00
Matthias Jentsch
771149e8d6
Move optional base_dn to end of form
2014-10-14 14:44:31 +02:00
Johannes Meyer
448991eec5
Put some margin around the setup wizard
...
refs #7163
2014-10-13 09:43:12 +02:00
Johannes Meyer
b5798331db
Wrap form notifications in <p> by default, not <div>
2014-10-13 09:41:36 +02:00
Johannes Meyer
d16fddd274
Add a next button double to the admin account page as well
...
Forgot to adjust this page as it's using a dedicated view script.
refs #7163
2014-10-09 16:12:36 +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
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
06e82ed892
Make it possible to skip the db-creation step
...
refs #7163
2014-10-08 15:34:28 +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
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
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
Johannes Meyer
83006c014c
Wrap wizard buttons in a div
...
refs #7163
2014-10-06 11:07:21 +02:00
Johannes Meyer
5f68850443
Fix that radio buttons are not populated
...
refs #7163
2014-10-06 10:28:42 +02:00
Johannes Meyer
f29705fc59
Add summary page
...
refs #7163
2014-10-02 17:11:00 +02:00
Johannes Meyer
0793033559
Add translation contexts to ambiguous form element labels
2014-10-02 16:34:44 +02:00
Johannes Meyer
a980184eb9
Move css instructions to dedicated stylesheet
...
refs #7163
2014-10-01 15:46:58 +02:00
Johannes Meyer
3a11182bf0
Fix welcome page name not conforming the "standard"
...
refs #7163
2014-10-01 10:33:06 +02:00
Johannes Meyer
e186c21821
Fix form submit when JS is enabled
...
refs #7163
2014-10-01 09:18:44 +02:00
Johannes Meyer
08d259eccf
Add database creation page
...
refs #7163
2014-10-01 09:16:53 +02:00
Eric Lippmann
266936b9b5
Fix that logout of unauthenticated users throws exceptions
2014-10-01 08:13:17 +02:00
Matthias Jentsch
8008387559
Fix typo
2014-09-30 15:59:11 +02:00
Matthias Jentsch
f1903855b9
Avoid type warning in LoginForm
2014-09-30 15:50:16 +02:00
Matthias Jentsch
9a57ddcfa6
Fix login redirects when AutologinBackend is used
2014-09-30 15:49:31 +02:00
Johannes Meyer
e9e4ef01e5
Use Icinga\Web\Form\Element\Note instead of Zend_Form_Element_Note
...
Zend_Form_Element_Note is not available prior Zend v1.12.2
refs #7163
2014-09-29 15:46:30 +02:00
Johannes Meyer
cbadaa78d6
Merge branch 'master' into feature/setup-wizard-7163
2014-09-29 15:35:52 +02:00
Johannes Meyer
c3e3a4127d
Add missing description to the GeneralConfigPage
...
refs #7163
2014-09-29 15:28:36 +02:00
Alexander Fuhr
f7b7e0283a
Translation: another bunch of translatable strings
2014-09-29 15:20:19 +02:00
Johannes Meyer
ab93969944
Add missing platform checks to DbResourceForm
2014-09-29 14:46:27 +02:00
Johannes Meyer
288ae6885b
Show the web wizard, finally
...
refs #7163
2014-09-29 14:31:43 +02:00
Johannes Meyer
243dd19281
Add AdminAccount page
...
refs #7163
2014-09-29 12:29:36 +02:00
Johannes Meyer
b6b7814e8b
Add GeneralConfig page
...
refs #7163
2014-09-29 12:29:13 +02:00
Johannes Meyer
5afda8a13e
Add AuthBackend page
...
refs #7163
2014-09-29 12:28:12 +02:00
Johannes Meyer
bd8f480cd0
Add LdapResource page
...
refs #7163
2014-09-29 12:27:58 +02:00
Johannes Meyer
b782e790f4
Add DbResource page
...
refs #7163
2014-09-29 12:27:43 +02:00
Johannes Meyer
61f0ce65e0
Add preferences page
...
refs #7163
2014-09-29 12:27:26 +02:00
Johannes Meyer
b1c32b1821
Add authentication page
...
refs #7163
2014-09-29 12:27:11 +02:00
Johannes Meyer
a39c6a475a
Add requirements page
...
refs #7163
2014-09-29 12:26:54 +02:00
Johannes Meyer
226575eddd
Add welcome page
...
refs #7163
2014-09-29 12:26:27 +02:00
Johannes Meyer
a5454e5702
Improve form element description
2014-09-29 11:24:23 +02:00
Johannes Meyer
2c44fe34a7
Fix that ldap auth validation does not send a BIND request
2014-09-29 11:22:43 +02:00
Johannes Meyer
7e00e83772
Make the loglevel ERROR being the default
...
refs #7163
2014-09-29 11:21:15 +02:00
Johannes Meyer
380ffe45b9
Add some redundancy to get more implicitness
...
Although this commit does not seem reasonable
at first the "big" picture proves its necessity!
refs #7163
2014-09-29 11:20:39 +02:00
Johannes Meyer
4f688fa544
Let the form decide where to get the resource configuration from
...
refs #7163
2014-09-29 11:06:16 +02:00
Johannes Meyer
0e92e333aa
Make isValid* calls of configuration forms being static
...
This allows a more flexible usage as there is no need to access instance
formdata when validating such configuration.
2014-09-29 11:02:45 +02:00
Johannes Meyer
c00dbf9f46
Write session on response
...
There should not be any necessity to write the session once changes are
being made to it. We now track whether changes were made and write
the session when responding to the user's request if so.
2014-09-24 10:46:35 +02:00
Johannes Meyer
80c42ce499
Fix autosubmit of Icinga\Form\Config\General\LoggingConfigForm
2014-09-24 10:46:35 +02:00