Eric Lippmann
195fe6f04b
Security: Rename system/config/modules to config/modules
...
Module config permission and application config permission have to be separeted.
Application config related permissions were added beneath config/application and module
related config permissions will be config/modules for now.
refs #8720
2015-03-12 15:45:14 +01:00
Eric Lippmann
f6e9551235
Security: Rename system/config/roles to config/application/roles
...
Module config permission and application config permission have to be separeted.
Application config related permissions will be added beneath config/application and module
related config permissions will be added beneath config/modules.
refs #8720
2015-03-12 15:45:10 +01:00
Eric Lippmann
08abbda152
Security: Rename system/config/resources to config/application/resources
...
Module config permission and application config permission have to be separeted.
Application config related permissions will be added beneath config/application and module
related config permissions will be added beneath config/modules.
refs #8720
2015-03-12 15:45:07 +01:00
Eric Lippmann
a4e81c320a
Security: Rename system/config/authentication to config/application/authentication
...
Module config permission and application config permission have to be separeted.
Application config related permissions will be added beneath config/application and module
related config permissions will be added beneath config/modules.
refs #8720
2015-03-12 15:45:04 +01:00
Eric Lippmann
956bc3c07a
Security: Rename system/config/application to config/application/general
...
Module config permission and application config permission have to be separeted.
Application config related permissions will be added beneath config/application and module
related config permissions will be added beneath config/modules.
refs #8720
2015-03-12 15:44:58 +01:00
Johannes Meyer
1b440a4f1b
Make SSL/TLS configurable for LDAP resources
...
refs #7771
2015-03-12 15:17:19 +01:00
Johannes Meyer
4a982a382e
Show exception message when LDAP connection validation fails, if any
2015-03-12 14:45:16 +01: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
2cf09ebc48
Revert "LdapResourceForm: Validate the host field and do not require a port"
...
This reverts commit a34d6026b3
.
refs #7990
2015-03-11 08:00:20 +01:00
Johannes Meyer
a34d6026b3
LdapResourceForm: Validate the host field and do not require a port
...
fixes #7990
2015-03-10 15:03:48 +01:00
Johannes Meyer
886cc863f0
Add form element value expectation descriptions where required
...
I did not adjust the DateTimePicker element as the sent format is
controlled by the useragent due to either the datetime-local input
type or a javascript datetimepicker. (which does not exist yet, though)
Mentioning the RFC 3339 format such a picker expects is very likely
going to lead to confusion on an end user's side otherwise.
refs #7947
2015-03-06 09:49:15 +01:00
Johannes Meyer
f7785ee04a
Fix that the DashletForm handles the autosubmit manually
2015-03-03 08:24:23 +01:00
Johannes Meyer
4ba281e7e8
Config: Use native form title and description support where appropriate
...
refs #7947
refs #7976
2015-03-02 18:40:47 +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
65eafc0e8f
LdapDiscoveryForm: Remove waste
2015-03-02 18:40:46 +01:00
Johannes Meyer
ea4de82545
Login: Disable the required cue
...
It should be obvious that it is necessary to input a name and a password
to login in case you're looking at a "login" form...
refs #7934
2015-02-27 09:09:25 +01:00
Alexander Fuhr
b375a4f6cc
Fix multiple renderLayout parameters in the url
...
refs #7945
2015-02-13 16:21:19 +01:00
Alexander Fuhr
2112676594
Implement hidden accessible control for auto refresh on the page
...
refs #7945
2015-02-13 14:34:29 +01:00
Alexander Fuhr
b9c9f564ec
Add editable auto_refresh parameter to the user preferences
...
refs #7945
2015-02-12 15:12:10 +01:00
Johannes Meyer
c06f015210
Ensure that all utilized form validators can be translated
...
refs #8415
2015-02-12 09:11:02 +01:00
Johannes Meyer
6c70a53309
Avoid to instantiate custom form element validators directly
...
refs #8415
2015-02-12 09:11:02 +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
ed411ec9b6
Increase size of the permissions set input
...
fixes #7762
2015-02-03 16:58:53 +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
Eric Lippmann
53e7b44308
security: Provide a permission for module configuration
2015-02-02 14:16:26 +01:00
Johannes Meyer
bf470125c3
Merge branch 'master' into feature/create-missing-directories-when-creating-inis-8219
...
Conflicts:
modules/monitoring/library/Monitoring/MonitoringWizard.php
2015-01-30 16:21:42 +01:00
Eric Lippmann
65a2c47506
security: Provide permissions for our config actions
2015-01-30 13:29:47 +01:00
Johannes Meyer
63305fdf9a
Add Icinga\Application\Config::saveIni()
...
Simplifies saving INI files. Icinga\File\Ini\IniWriter does already require an
instance of Icinga\Application\Config so it's obvious to give "Config" the
task to initialize the writer.. We do also have a central place to handle
creating missing ancestor directories now.
refs #8219
2015-01-30 09:32:08 +01:00
Johannes Meyer
50fc85d7ff
Rename authentication type "autologin" to "external"
...
refs #8274
2015-01-27 09:49:36 +01:00
Johannes Meyer
55c20abddc
Only show the "save to session" button in case preferences store = none
...
refs #8234
2015-01-23 16:25:24 +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
Eric Lippmann
e93628f4b4
Prefer 'hostname' over 'host name' in the LdapDiscoveryForm
2015-01-20 16:53:27 +01:00
Johannes Meyer
2d957205ef
Using $this when not in object context, doesn't work.
...
refs #7551
2015-01-19 13:47:53 +01:00
Johannes Meyer
dbd69ba693
Replace t() and mt() with translate() in the application's forms
...
refs #7551
2015-01-19 11:26:23 +01:00
Eric Lippmann
f0fe6246ac
Use '/var/log/icingaweb2/icingaweb2.log' as default path when logging to file
2014-12-29 16:02:40 +01:00
Eric Lippmann
5bc2144b18
Use 'icingaweb2' as default application prefix for logging to syslog
2014-12-29 16:01:07 +01:00
Eric Lippmann
cfb52eeadb
Do not use a default regular expression for stripping off parts of a username when configuring an auto-login backend
...
There's no safe default for this.
2014-12-29 15:56:32 +01:00
Eric Lippmann
e1bedc9afe
Use Icinga 2's default Livestatus socket path as default when configuring a livestatus resource
2014-12-29 15:55:57 +01:00
Eric Lippmann
4441c1d4de
Allow to grant every permission
2014-12-29 11:53:55 +01:00
Eric Lippmann
49dad43a0a
Use @type instead of @var in Security/RoleForm.php
2014-12-29 11:53:06 +01:00
Eric Lippmann
2c1a37afa3
Use Zend_Form_Element::filterName() for translating restriction names to element names
...
fixes #8086
2014-12-29 10:51:12 +01:00
Eric Lippmann
6960a08de0
Revert "Escape restriction names manually in Forms\Security\RoleForm"
...
This reverts commit 706e5504e6
.
HTML5 does allow any non-empty value for the name attribute but Zend only permits
alphanumerics, the underscore, the circumflex and any ASCII character in range \x7f to \xff (127 to 255).
Thus only escaping the slash (/) is wrong.
refs #8086
2014-12-29 09:39:23 +01:00
Johannes Meyer
706e5504e6
Escape restriction names manually in Forms\Security\RoleForm
...
fixes #8086
2014-12-22 10:46:29 +01:00
Johannes Meyer
ebf908b1b5
Make db requirement checks more sensitive
...
fixes #7837
2014-12-01 15:38:10 +01:00
Eric Lippmann
f0ece3d88a
Revert "Remove permissions and restrictions for now"
...
This reverts commit 8335bdcb32
.
Readd permissions and restrictions.
2014-11-25 16:11:01 +01:00
Eric Lippmann
8335bdcb32
Remove permissions and restrictions for now
...
Our first beta release will not include permissions and restrictions.
We'll better test it before making it public.
2014-11-20 16:14:00 +01:00
Eric Lippmann
e67d937642
Permissions: Allow to set restrictions too
2014-11-20 15:54:00 +01:00
Marius Hein
50c2c02e09
Dashboard: Keep get params through requests
...
This avoid errors if a user manually refresh an edit dialog.
refs #7751
2014-11-20 14:38:19 +01:00
Marius Hein
e600dc8adb
Dashboard: Rename component to dashlet
...
refs #7751
2014-11-20 12:08:50 +01:00
Marius Hein
28e406565b
Dashboard: Change component form
...
refs #7751
2014-11-20 11:31:53 +01:00
Eric Lippmann
2830b13082
Merge branch 'master' into feature/security-gui-5647
2014-11-19 16:31:26 +01:00
Marius Hein
3b190d7d81
Dashboard: Fix design and labels
...
refs #4537
2014-11-19 15:40:40 +01:00
Eric Lippmann
0c219655e0
Security: Our Config object no longer supports __set, __get and so on
...
refs #5647
2014-11-19 14:44:53 +01:00
Eric Lippmann
f556fc43e9
Security: Remove the restriction form
...
refs #5647
2014-11-19 14:24:20 +01:00
Eric Lippmann
7592642991
Security: Remove the permission form
...
refs #5647
2014-11-19 14:24:10 +01:00
Eric Lippmann
0a6440a6a6
Security: Add role form
...
This form will replace the permission and restriction form
refs #5647
2014-11-19 14:24:02 +01:00
Eric Lippmann
a2818bd937
Merge branch 'master' into feature/security-gui-5647
2014-11-19 14:13:26 +01:00
Marius Hein
cfb0ca1be0
Merge remote-tracking branch 'origin/master' into feature/add-to-dashboard-4537
2014-11-19 10:21:50 +01:00
Thomas Gelf
8c305f59f2
LoginForm: re-establish placeholder texts
2014-11-19 06:56:36 +01:00
Eric Lippmann
84b98cd58d
Security: Fix Form namespace
2014-11-18 17:10:14 +01:00
Eric Lippmann
aef81a56d6
Merge branch 'master' into feature/security-gui-5647
...
Conflicts:
library/Icinga/Application/Config.php
library/Icinga/File/Ini/IniWriter.php
library/Icinga/Web/Form.php
library/Icinga/Web/Menu.php
2014-11-18 17:08:25 +01:00
Eric Lippmann
f2717b6d26
Introduce Form::setOnSuccess() in favor of overriding the constructor
...
Zend_Form uses setters for options if a respective setter method exists.
It is not necessary to override the constructor for introducing new options.
Conflicts:
library/Icinga/Web/Form.php
2014-11-18 17:02:39 +01:00
Marius Hein
10cfecf2ec
Merge remote-tracking branch 'origin/master' into feature/add-to-dashboard-4537
...
Conflicts:
application/controllers/DashboardController.php
library/Icinga/Web/Form.php
library/Icinga/Web/Widget/Dashboard.php
2014-11-18 16:36:42 +01:00
Johannes Meyer
1cbdd2b51c
Fix that hidden elements are getting ovewritten when validating a form
...
This works by "disabling" hidden elements which causes the browser not
to submit them. Due to a bug in Zend we need to manually ensure that
Form::isValid does not overwrite the value of disabled elements with null.
fixes #7717
2014-11-18 15:06:46 +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
Marius Hein
3e58ec2530
Dashboard: Use new controller actions
...
refs #4537
2014-11-18 12:51:28 +01:00
Marius Hein
cbcd276b44
Dashboard: Rewrite forms and controller [WIP]
...
refs #4537
2014-11-18 10:04:41 +01:00
Marius Hein
bec0085683
Dashboard: Add urls to any dashboard (form)
...
refs #4537
2014-11-18 09:59:24 +01:00
Marius Hein
af799d42dc
Widget/Dashboard: Cleanup object and remove unused stuff
...
refs #4537
2014-11-18 09:59:23 +01:00
Marius Hein
5f9d394bbe
AddToDashboard: Form layout and template
...
refa #4537
2014-11-18 09:59:23 +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
Johannes Meyer
812f9af949
Change modulePath setting to module_path
...
fixes #7694
2014-11-17 10:10:08 +01:00
Thomas Gelf
da47c7fc7e
Merge remote-tracking branch 'origin/master' into feature/redesign-7144
2014-11-14 21:32:57 +01:00
Alexander Fuhr
86cca8ff0b
Fix the `date_default_timezone_get()' error
2014-11-14 17:08:34 +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
775c20d9ad
Rename namespace Icinga\Form to Icinga\Forms
...
refs #7553
2014-11-14 10:57:14 +01:00
Johannes Meyer
1c4a5ce86f
Leave it up to Icinga\Web\Form to instantiate our own form elements
2014-11-14 10:15:27 +01:00
Bernd Erk
903219b302
Merge branch 'master' into feature/redesign-7144
...
Conflicts:
library/Icinga/Web/Menu.php
public/css/icinga/menu.less
2014-11-13 21:11:36 +01:00
Eric Lippmann
ac2ec83852
Merge branch 'master' into feature/localization-form-6073
...
Conflicts:
library/Icinga/Application/ApplicationBootstrap.php
test/php/library/Icinga/User/Store/DbStoreTest.php
2014-11-13 17:03:41 +01:00
Bernd Erk
45418bd902
Removes login form placeholder
2014-11-13 15:08:49 +01:00
Eric Lippmann
bfa834fc3b
Remove constant ICINGAWEB_APPDIR
...
We should avoid use of constants.
2014-11-13 09:33:31 +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
Johannes Meyer
c3e28a42fb
Remove configuration option for setting the access mode on new files
2014-11-12 09:40:07 +01:00
Johannes Meyer
af99f62843
Prefer Icinga\Application\Config over Zend_Config
...
refs #7163
2014-11-11 12:11:14 +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
79493592bb
Do not use Installer anywhere.
...
"It's setup."
refs #7163
2014-11-10 10:30:52 +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
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
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