Commit Graph

990 Commits

Author SHA1 Message Date
Marius Hein ef7fcb1023 Header: Adapt application configuration dialog 2015-02-13 15:35:24 +01:00
Alexander Fuhr 73a03ada83 Move autoRefreshForm to skip-links
refs #7945
2015-02-13 15:33:39 +01:00
Marius Hein d21833fbf2 Header: Adapt authentication config dialog 2015-02-13 15:33:29 +01:00
Marius Hein a0e4e4d1fa Skip Links: Remove nav element 2015-02-13 14:48:28 +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
Marius Hein ce3a564de7 Header: Add header to tabs extension
refs #7976
2015-02-13 11:26:09 +01:00
Marius Hein 7839d50099 Header: Add header to preferences
refs #7976
2015-02-13 09:40:24 +01:00
Marius Hein 069e86c2fd Header: Add header and skip links to resource configuration
refs #7976
2015-02-12 17:10:38 +01:00
Marius Hein 513de11f20 Header: Application config and authentication
refs #7976
2015-02-12 16:43:08 +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 1d6c65f7fc Move the login form's heading above the authentication warnings 2015-02-12 13:49:31 +01:00
Johannes Meyer 9232c5cf22 Add aria-hidden="true" to all icons that exist only for design reasons
refs #8360
2015-02-12 13:49:31 +01:00
Johannes Meyer 3d0fbc833d Hide the Icinga logo from screen readers
refs #8360
2015-02-12 13:49:31 +01:00
Marius Hein 09349288e1 Merge branch 'master' into feature/skip-content-7933 2015-02-12 13:14:56 +01:00
Marius Hein b6daf2237d Menu: Add html5 nav element to menu
refs #7933
2015-02-12 13:14:01 +01:00
Marius Hein 53818f50c6 Skip Links: Add anchor handlint to events
refs #7933
2015-02-12 13:13:52 +01:00
Marius Hein ca4477de5b Skip Links: Add to body and create style
refs #7933
2015-02-12 13:13:47 +01:00
Davide Demuru 3801d19f72 translation updated
Signed-off-by: Eric Lippmann <eric.lippmann@netways.de>
2015-02-12 11:26:35 +01:00
Davide Demuru 3dee49a0cd fixed transaltions
Signed-off-by: Eric Lippmann <eric.lippmann@netways.de>
2015-02-12 11:26:35 +01:00
Davide Demuru 7e9efbcb4d added compiled translation file
Signed-off-by: Eric Lippmann <eric.lippmann@netways.de>
2015-02-12 11:26:35 +01:00
Davide Demuru d66e703332 Added new icinga.po for italian language
Signed-off-by: Eric Lippmann <eric.lippmann@netways.de>
2015-02-12 11:26:35 +01:00
Johannes Meyer dfc18e0f95 Display authentication exceptions as form errors 2015-02-12 09:11:03 +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 a23752de63 security: Don't list permissions and restrictions in the roles overview
fixes #8335
2015-02-03 15:51:03 +01:00
Eric Lippmann 08fd000496 Remove any topbar related stuff
It's not used anywhere.
2015-02-03 12:42:02 +01:00
Eric Lippmann 946a903a39 Merge branch 'bugfix/Improve-tooltip-descriptions-8110'
fixes #8110
2015-02-03 12:38:59 +01:00
Eric Lippmann 1d99780a61 Remove quotes from tooltip in the roles overview
refs #8110
2015-02-02 16:47:28 +01:00
Eric Lippmann 942d55c0d4 Merge branch 'master' into bugfix/Improve-tooltip-descriptions-8110 2015-02-02 16:37:03 +01:00
Johannes Meyer a5fe9a1fe1 Revert "Introduce link target "_right" to keep a column with tabs rightmost"
This reverts commit 618ab4f4b9.
2015-02-02 16:34:29 +01:00
Eric Lippmann 9d6906bd64 Save user dashboards to Icinga Web 2's configuration directory
fixes #8056
2015-02-02 15:06:29 +01:00
Eric Lippmann 4bac5dfc37 security: Guard application and module configuration 2015-02-02 14:16:26 +01:00
Eric Lippmann 7a81133ad3 security: Guard configuring roles 2015-02-02 14:16:26 +01:00
Eric Lippmann 53e7b44308 security: Provide a permission for module configuration 2015-02-02 14:16:26 +01:00
Marius Hein 8c24dde17b Error Controller: Move close tab creation to template 2015-02-02 12:08:20 +01:00
Eric Lippmann d64ca3da99 Show close button when updating a role
fixes #8087
2015-02-02 11:09:13 +01:00
Eric Lippmann 3818f1faec Show close button when removing a role
refs #8087
2015-02-02 11:08:56 +01:00
Eric Lippmann cfe6701a92 Show close button when creating a role
refs #8087
2015-02-02 11:08:27 +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
Marius Hein 6ec2ee753d Render error messages in the container itself
fixes #6280
2015-01-30 14:50:25 +01:00
Eric Lippmann 65a2c47506 security: Provide permissions for our config actions 2015-01-30 13:29:47 +01:00
Alexander Klimov 868295110a Merge branch 'master' into bugfix/Improve-tooltip-descriptions-8110
Conflicts:
	modules/monitoring/application/views/scripts/hosts/show.phtml
2015-01-30 10:26:47 +01:00
Johannes Meyer 0108d44d63 Fix "The use of non compound name 'Exception'..." 2015-01-30 09:38:59 +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
Eric Lippmann d42017018f Return HTTP 403 in case a SecurityException was thrown 2015-01-30 09:31:05 +01:00
Johannes Meyer 7e792f5d2e Add explicit step-attribute to html5-datetime* input elements
fixes #8314
2015-01-29 15:41:21 +01:00
Marius Hein c1df1f822e ifont: Reorganize files and drop use less attributes
fixes #6417
2015-01-29 11:25:37 +01:00
Johannes Meyer 3a983e8859 Merge branch 'master' into feature/improve-autologin-setup-8274 2015-01-28 18:01:15 +01:00
Marius Hein 4abb30e55b Merge branch 'master' into bugfix/ie8-fixes-6417 2015-01-28 17:08:56 +01:00
Marius Hein 9d05190517 ifont: Fix empty font glyphs for IE8
The embedded font is included inline in the stylesheets. IE falls back and
tries to load one of the other font sources which was not exported by the web
server. This fix moves the fontello directory to public and add add a
prefix path to the embedded stylesheet.

refs #6417
2015-01-28 17:06:55 +01:00
Johannes Meyer 78f5bf4f3d Phrase external auth warnings more neutral
refs #8274
2015-01-28 16:22:20 +01:00
Johannes Meyer f486dabe6d Drop view script config/logging.phtml as it's not used anywhere 2015-01-28 14:22:42 +01:00
Johannes Meyer 618ab4f4b9 Introduce link target "_right" to keep a column with tabs rightmost
I'd have liked to get it to work that in case the tab control is not in the
rightmost column a "go back" in the history is being simulated causing
the preceding leftmost column(s) to be restored and the rightmost one
set to the one containing the tab control. But the history api does not
seem to support any read operations except for the current state..

refs #6436
2015-01-28 14:21:06 +01:00
Johannes Meyer cf857c4257 Close forms when switching between the main app's configuration tabs
refs #6436
2015-01-28 14:15:16 +01:00
Johannes Meyer 7ad44b8411 login: Show a note if the only active external auth backend is not available
refs #8274
2015-01-27 14:26:06 +01:00
Johannes Meyer 4a245ed8e0 login: Wrap the config warning in paragraph tags instead of div 2015-01-27 13:58:55 +01:00
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