Commit Graph

929 Commits

Author SHA1 Message Date
Johannes Meyer d99d147901 Fix usages of AutoLoginBackend
refs #8274
2015-01-27 13:45:13 +01:00
Johannes Meyer 6c292f7e56 Move the configuration warning on the login screen further up
..and add translation support to the login screen.

refs #8274
refs #8134
2015-01-27 13:31:14 +01:00
Johannes Meyer 50fc85d7ff Rename authentication type "autologin" to "external"
refs #8274
2015-01-27 09:49:36 +01:00
Alexander Klimov 2ba78f24c3 Roles view: show role's name in the title of the remove-link 2015-01-26 14:02:47 +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 d452f3218d Use "ini" as preferences store in case preferences are not configured
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 bc3a475e90 Never autofocus the search element by default
Automatically focusing the search element on the initial page load and on every auto-refresh of the menu is disruptive
for both mobile devices and screen readers.

fixes #7697
2015-01-22 13:48:52 +01:00
Eric Lippmann 32c64f7e3d layout: Do not duplicate code from layout/menu.phtml in navigation.phtml 2015-01-22 13:47:45 +01:00
Eric Lippmann dd83f6f757 Fix copyright year 2015-01-22 10:38:00 +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 960cead434 Merge branch 'master' into feature/packages-4075 2014-12-29 15:59:27 +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 74ce666cd8 Use the requiresSetup variable instead of configMissing in login.phtml 2014-12-29 14:31:07 +01:00
Eric Lippmann 250e05f2e8 Optimize imports in AuthenticationController.php 2014-12-29 14:30:47 +01:00
Eric Lippmann 9d8fab51b1 Use the setup related utility functions in AuthenticationController.php 2014-12-29 14:30:06 +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 f0438d1ea0 There is no copy-on-write for objects in PHP
fixes #8088
2014-12-22 09:37:01 +01:00
Johannes Meyer f50d0bc3cf Fix the config warning's grammar on the login screen 2014-12-22 09:14:19 +01:00
Alexander Klimov ff1cda94ef PivottablePagination view script: show axis type (x/y) in titles
refs #8110
2014-12-19 17:23:11 +01:00
Alexander Klimov ebc539bc37 JoystickPagination view script: show axis type (x/y) in titles
refs #8110
2014-12-19 17:20:12 +01:00
Alexander Klimov a02d9cecfe Improve and translate the logout button's title
refs #8110
2014-12-19 17:15:14 +01:00
Johannes Meyer 3fde78f2b3 Enable the dompdf float support and fix our list's layout 2014-12-15 13:56:19 +01:00
Johannes Meyer 7987fb3f5a Use the Host and Service object class helpers instead of the Util view helper
This also ensures that all state names that are shown to the user are
properly translated.

refs #7996
2014-12-12 12:22:20 +01:00
Carlos Cesario b099c28861 Update pt_BR translation
Update pt_BR language translations

refs #6794
2014-12-03 09:40:52 -02:00
Carlos Cesario 8d8b65473a Add translation to some strings
Thank you Carlos.

resolves #7787

Signed-off-by: Eric Lippmann <eric.lippmann@netways.de>
2014-12-03 10:00:54 +01:00
Johannes Meyer ebf908b1b5 Make db requirement checks more sensitive
fixes #7837
2014-12-01 15:38:10 +01:00
Eric Lippmann 3c16db3b0d Roles: Fix header position 2014-11-25 16:16:31 +01:00
Eric Lippmann 9aa2f6f555 Roles: Speak of 'roles' not 'permissions' 2014-11-25 16:11:02 +01:00
Eric Lippmann bc339e927b Roles: Fix redirect URL 2014-11-25 16:11:02 +01:00
Eric Lippmann d226126b6c Roles: Fix tab activation 2014-11-25 16:11:02 +01:00
Eric Lippmann 381b3b9a19 Move the permissions view scripts beneath roles 2014-11-25 16:11:01 +01:00
Eric Lippmann 0a1668acf6 Fix tab names in the RolesController 2014-11-25 16:11:01 +01:00
Eric Lippmann 2f02ac2f01 Fix the RolesController's class name 2014-11-25 16:11:01 +01:00
Eric Lippmann e5d8fc7208 Rename the 'Permissions' tab to 'Roles' 2014-11-25 16:11:01 +01:00
Eric Lippmann 974357c84f Rename /permissions to /roles 2014-11-25 16:11:01 +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 bf33c9c13b Permissions: Show restrictions in the permissions list 2014-11-20 16:12:02 +01:00
Eric Lippmann e48935f487 Permissions: Add class avp to index table 2014-11-20 15:54:46 +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
Eric Lippmann 9c8c81c201 Permissions: Use icon for the remove permission link 2014-11-20 13:49:33 +01:00
Marius Hein d018b4c2ae Dashboard: Convert table into an action table
refs #7751
2014-11-20 12:45:23 +01:00
Marius Hein e600dc8adb Dashboard: Rename component to dashlet
refs #7751
2014-11-20 12:08:50 +01:00
Marius Hein 2471314616 Dashboard: Remove unused template
refs #7751
2014-11-20 11:37:17 +01:00
Marius Hein 2c4b730887 Dashboard: Update descriptions
refs #7751
2014-11-20 11:36:04 +01:00
Marius Hein 28e406565b Dashboard: Change component form
refs #7751
2014-11-20 11:31:53 +01:00
Eric Lippmann 92b2c5061d Security: Fix redicrect URL 2014-11-19 16:33:18 +01:00
Eric Lippmann 2830b13082 Merge branch 'master' into feature/security-gui-5647 2014-11-19 16:31:26 +01:00
Thomas Gelf 9bfdb159f0 packaging/debian: postponed 2014-11-19 16:13:30 +01:00
Marius Hein 3b190d7d81 Dashboard: Fix design and labels
refs #4537
2014-11-19 15:40:40 +01:00
Eric Lippmann bfdf34b6bf Security: Add permissions as tab to config
refs #5647
2014-11-19 15:32:25 +01:00
Eric Lippmann 63490094b9 Security: Fix PermissionsController class name
refs #5647
2014-11-19 15:24:57 +01:00
Eric Lippmann e072678b2d Security: Remove role suffix from actions
refs #5647
2014-11-19 15:23:15 +01:00
Eric Lippmann 5b4c2723e0 Security: Rename security view scripts to permissions
refs #5647
2014-11-19 15:18:39 +01:00
Eric Lippmann 2ae75370f2 Security: Rename security to permissions
refs #5647
2014-11-19 15:18:01 +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 f0084542e6 Security: Remove obsolete actions
refs #5647
2014-11-19 14:44:28 +01:00
Eric Lippmann bd400855e8 Security: Remove view scripts for creating, updating and removing roles and permissions
Thos are supersed by role management.

refs #5647
2014-11-19 14:42:04 +01:00
Eric Lippmann 2c5ff341d5 Security: Add view script for removing roles
refs #5647
2014-11-19 14:41:05 +01:00
Eric Lippmann f7076816eb Security: Add action for removing roles
refs #5647
2014-11-19 14:40:49 +01:00
Eric Lippmann 1d34d88a01 Security: Add view script for creating roles
refs #5647
2014-11-19 14:37:10 +01:00
Eric Lippmann 3b680c7885 Security: Add view script for updating roles
refs #5647
2014-11-19 14:36:53 +01:00
Eric Lippmann a4744fa550 Security: Add action for updating roles
refs #5647
2014-11-19 14:36:36 +01:00
Eric Lippmann 7fcfc01464 Security: Add action for creating a new role
refs #5647
2014-11-19 14:26:21 +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 8aab5dc0f0 Security: Show roles instead of permissions and restrictions
refs #5647
2014-11-19 14:23:56 +01:00
Eric Lippmann a2818bd937 Merge branch 'master' into feature/security-gui-5647 2014-11-19 14:13:26 +01:00
Bernd Erk fd5fe26a1f Changes login screen and added header 2014-11-19 13:43:48 +01:00
Marius Hein dbc1b1ce3e Merge remote-tracking branch 'origin/master' into feature/add-to-dashboard-4537 2014-11-19 11:48:22 +01:00
Marius Hein a40f357f3c Dashboard: Show error message when can not write to file
refs #4537
2014-11-19 11:47:31 +01:00
Thomas Gelf 47d81ccf7b css: allow to override vendor styles
* no more hovered icon underline
* simulate padding for headers in .controls
2014-11-19 10:33:57 +01:00
Marius Hein a5411c7a1c Dashboard: Fix reading and disabled system dashboards
refs #4537
2014-11-19 10:33:41 +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 63cd5854d4 Merge remote-tracking branch 'origin/master' into feature/redesign-7144 2014-11-19 07:56:48 +01:00
Thomas Gelf 8c305f59f2 LoginForm: re-establish placeholder texts 2014-11-19 06:56:36 +01:00
Marius Hein 5ace5fd2dc Dashboard: Change icons
refs #4537
2014-11-18 17:47:57 +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
Bernd Erk 07c0180b1c Merge branch 'master' into feature/redesign-7144 2014-11-18 16:36:19 +01:00
Marius Hein 80871313e4 Dashboard: Remove actions
refs #4537
2014-11-18 16:28:04 +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 be6358452e Do not redirect to the wizard in case of an empty config.ini 2014-11-18 13:13:02 +01:00
Johannes Meyer 4ab5b2abf3 Fix anonymous onSuccess callbacks 2014-11-18 13:12:30 +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 89b36f79b2 Dashboard: Reenable generic add link in tab bar
refs #4537
2014-11-18 09:59:24 +01:00
Marius Hein bec0085683 Dashboard: Add urls to any dashboard (form)
refs #4537
2014-11-18 09:59:24 +01:00
Marius Hein 769e8f2636 Dashboard/Component: Add remove link
refs #4537
2014-11-18 09:59:23 +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
Marius Hein 1000b4661f AddToDashboard: Remove controller logic
refs #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
Bernd Erk 245c247ff3 Changes remove icon in monitoring module to cancel icon 2014-11-17 17:08:08 +01:00
Bernd Erk f83bcbfd2b updates current font set and changes service and reporting icons 2014-11-17 17:08:08 +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
Eric Lippmann 11bb8dbab0 icingacli web serve: Fix "PHP Notice: Use of undefined constant ICINGA_LIBDIR" 2014-11-14 16:02:17 +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
Bernd Erk 20be45e8da Enable icon font 2014-11-13 20:08:58 +01:00
Eric Lippmann cc161764ff Use 'Preferences' instead of 'General Settings'
refs #6073
2014-11-13 18:08:30 +01:00
Bernd Erk 6201858a68 Merge branch 'master' into feature/redesign-7144 2014-11-13 17:47:26 +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
Johannes Meyer f49d9e8591 Fix the tooltip's max page count in the joystick navigation 2014-11-13 16:45:03 +01:00
Bernd Erk c98a6d5912 Fixes type in error message 2014-11-13 15:41:31 +01:00
Thomas Gelf 47b1189af4 application/fonts: initial import
First sample font, to be replaced.

refs #6936
2014-11-13 15:40:20 +01:00
Bernd Erk 45418bd902 Removes login form placeholder 2014-11-13 15:08:49 +01:00
Bernd Erk ef2ec0442c Merge branch 'master' into feature/redesign-7144 2014-11-13 14:40:26 +01:00
Eric Lippmann bfa834fc3b Remove constant ICINGAWEB_APPDIR
We should avoid use of constants.
2014-11-13 09:33:31 +01:00
Bernd Erk ac8cc0613c Merge branch 'master' into feature/redesign-7144
Conflicts:
	application/views/scripts/authentication/login.phtml
	public/css/icinga/login.less
2014-11-12 17:21:54 +01:00
Johannes Meyer db7954c350 Merge branch 'master' into feature/setup-wizard-7163 2014-11-12 17:05:13 +01:00
Bernd Erk 288c52f88d Fix padding and moved h1 into control section 2014-11-12 16:56:04 +01:00
Johannes Meyer 259a465f97 Show only the most important warning on the login page 2014-11-12 16:23:55 +01:00
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