Commit Graph

591 Commits

Author SHA1 Message Date
Johannes Meyer 4db2f7e7a9 shared navigation overview: Show a message if there's nothing shared
refs #5600
2015-09-16 13:07:41 +02:00
Johannes Meyer 16a57c5c1b shared navigation overview: We're unsharing items, not removing them
refs #5600
2015-09-16 13:05:45 +02:00
Johannes Meyer 5d9a57446f shared navigation overview: Display the owner of a shared navigation item
refs #5600
2015-09-16 11:52:42 +02:00
Johannes Meyer 3dc26e2dbe NavigationController: Implement removeAction()
refs #5600
2015-09-07 16:02:12 +02:00
Johannes Meyer 04a14a46b6 NavigationController: Implement sharedAction()
refs #5600
2015-09-07 15:04:31 +02:00
Johannes Meyer 8e6fc1580e NavigationController: Implement indexAction()
refs #5600
2015-09-07 15:01:55 +02:00
Johannes Meyer ca72bd5455 NavigationRendererInterface: Use "div" as default outer element tag
"nav" is less often necessary.

refs #5600
2015-09-07 09:48:32 +02:00
Johannes Meyer 294f9022f2 Use the new navigation to render the menu
refs #5600
2015-09-04 10:53:01 +02:00
Johannes Meyer 1cb2009dcd Animate the button when reordering authentication backends
refs #8369
2015-08-21 13:29:29 +02:00
Matthias Jentsch 15ec564bc5 Use an easier distinctable "disabled" icon for module state
fixes #9908
2015-08-18 11:42:42 +02:00
Matthias Jentsch d51ecc3d72 Use better icons for resource and auth views
refs #9908
2015-08-18 11:42:42 +02:00
Alexander Fuhr ac31fb00c9 dashboard/index: Fix the suggestion to enable modules
fixes #9790
2015-08-04 15:08:30 +02:00
Johannes Meyer d1917ad2b4 Merge branch 'master' into bugfix/do-not-use-count-queries-for-emptiness-checks-9632
Conflicts:
	modules/monitoring/application/views/scripts/service/history.phtml
2015-08-03 16:46:27 +02:00
Johannes Meyer 7bd8b4b19a User: Use $query->hasResult() instead of $query->count()
refs #9632
2015-08-03 16:28:43 +02:00
Johannes Meyer 3b36009122 Group: Use $query->hasResult() instead of $query->count()
refs #9632
2015-08-03 16:28:25 +02:00
Johannes Meyer d78f69368c Users: Use $query->hasResult() instead of $query->count()
refs #9632
2015-08-03 16:19:00 +02:00
Johannes Meyer 7388db3241 Groups: Use $query->hasResult() intead of $query->count()
refs #9632
2015-08-03 16:18:37 +02:00
Eric Lippmann 6481e97565 Add createTicketLinks() view helper
refs #9611
2015-08-03 10:39:42 +02:00
Johannes Meyer 9b051cd7ce reorder-authbackend.phtml: Fix hover styles of icon-only buttons 2015-07-31 08:29:59 +02:00
Eric Lippmann a234852f32 Merge branch 'feature/basic-auth-9660'
resolves #9660
2015-07-30 15:05:07 +02:00
Matthias Jentsch 3e7cc299ec Fix issue that caused the refresh button to remove side bar
Do not apply base target globally for all toolbar elements, but specifically for those that should remove side-bars.

refs #8623
refs #6436
2015-07-29 17:18:52 +02:00
Matthias Jentsch 6db79a72d5 Display the rows in the auth backend configuration as active without any delay
refs #8623
2015-07-29 15:21:29 +02:00
Eric Lippmann c5c7b40133 Remove info box about external auth requirement in the login view script
The LoginForm will add the info.

refs #9660
2015-07-29 14:16:14 +02:00
Eric Lippmann 7cfc78558d Merge branch 'master' into feature/secure-modules-9644
Conflicts:
	library/Icinga/Exception/IcingaException.php
2015-07-28 13:42:02 +02:00
Eric Lippmann d40c3f0a29 Remove unnecessary use in FormTriStateCheckbox
refs #9449
2015-07-28 11:49:18 +02:00
Eric Lippmann 8d7f32cac1 Fix static call of SearchDashboard::search()
refs #9644
2015-07-24 13:34:11 +02:00
Johannes Meyer 624309774b Fix style of buttons used for reordering user backends 2015-07-24 10:14:18 +02:00
Johannes Meyer 4e3da3a6eb UserBackendConfigForm: Adjust how to process requests...
...and use sub-forms, finally.

refs #9602
2015-07-23 16:18:09 +02:00
Johannes Meyer f2ba70d5ab GroupController: Fix design for showing a group 2015-06-25 11:36:26 +02:00
Johannes Meyer af7426451a UserController: Fix design for showing a user 2015-06-25 11:27:28 +02:00
Johannes Meyer e3f13c8a44 UserController: Fix permission check for editing users
Eh...?
2015-06-25 10:13:15 +02:00
Matthias Jentsch d3dd88a925 Add alternating table layout to module views 2015-06-22 09:46:03 +02:00
Thomas Gelf cd70c27519 Merge remote-tracking branch 'origin/master' into feature/refine-ui-for-rc1-9361 2015-06-18 15:18:42 +02:00
Thomas Gelf 1e61f55210 dashboard: add compact support 2015-06-18 13:41:12 +02:00
Thomas Gelf 3462f0ee9a Merge remote-tracking branch 'origin/master' into feature/refine-ui-for-rc1-9361
Conflicts:
	modules/monitoring/application/views/scripts/host/history.phtml
	modules/monitoring/application/views/scripts/list/services.phtml
2015-06-18 11:26:51 +02:00
Matthias Jentsch 5b517a2cb0 Improve table layout
Add alternating colors to table rows, to improve visibillity of the table.

refs #9361
2015-06-17 17:28:28 +02:00
Matthias Jentsch 5b8c308679 Merge branch 'bugfix/use-statement-error-9281'
fixes #9281
2015-06-16 17:06:47 +02:00
Matthias Jentsch 5bf7bbdb8b Remove unneeded use statements from global namespaces
Use statements on global classes from the global namespace don't have any effect, prevent warnings from being displayed in php versions >= 5.6.9 and version >= 5.5.25.

refs #9281
2015-06-16 16:10:52 +02:00
Thomas Gelf e962b44b5e user/show: get rid of useless styles...
...and use our default HTML tags/classes instead
2015-06-16 02:11:16 +02:00
Matthias Jentsch 4cea9f15e9 Add heading to user and group view and fix layout 2015-06-09 10:29:45 +02:00
Johannes Meyer 17fa0d3f11 Revert "Improve group and user view layout"
This reverts commit 44e3dba362.
Reason:
* Controls are controls, not content
* Controls must still be shown in case of a non-matching filter
2015-06-09 08:23:06 +02:00
Matthias Jentsch 44e3dba362 Improve group and user view layout
Display header and hide filter and sort widgets when there are no entries to be sorted or filtered.
2015-06-08 16:19:03 +02:00
Johannes Meyer 91cee3a957 GroupController: Behave nicely when not any backend is available 2015-06-08 13:28:25 +02:00
Johannes Meyer 07041fafc8 UserController: Behave nicely when not any backend is available 2015-06-08 13:28:25 +02:00
Alexander A. Klimov 1bd18c5adb Merge branch 'feature/Show-Icinga-Web-2-s-version-in-the-frontend-9247'
resolves #9247
2015-06-08 12:40:14 +02:00
Johannes Meyer 54b960addc RoleController: Fix link to add a new role 2015-06-08 12:39:31 +02:00
Alexander A. Klimov 0b1bb54c26 Rename .fileNotReadable to .message-error
refs #9247
2015-06-08 11:22:26 +02:00
Alexander A. Klimov 67322e0b36 Show an error message rather than just "unknown version"
refs #9247
2015-06-05 11:56:15 +02:00
Alexander A. Klimov 7577b37cdb Change VERSION's format
refs #9247
2015-06-03 18:08:54 +02:00
Alexander A. Klimov 757e993871 Outsource version-getting logic to Version::get()
refs #9247
2015-06-03 15:23:05 +02:00
Alexander A. Klimov 887bd0b8f0 Show Icinga Web 2's version in the frontend
refs #9247
2015-06-02 16:49:27 +02:00
Johannes Meyer 00c31ffd28 RolesController: Rename to RoleController 2015-06-02 11:57:13 +02:00
Johannes Meyer 2490d0ae67 ConfigController: We're configuring user backends from now on
refs #8826
2015-06-02 09:58:57 +02:00
Johannes Meyer 3fffd90135 Rename permission config/application/groups* to config/authentication/...
refs #8826
2015-06-02 09:04:34 +02:00
Johannes Meyer a558f2873a Rename permission config/application/users* to config/authentication/...
refs #8826
2015-06-02 09:02:57 +02:00
Johannes Meyer 46e2393074 UsergroupbackendController: Do only assert that the user has one permission
The configuration of a backend itself should not be that granular.

refs #8826
2015-06-02 08:58:21 +02:00
Johannes Meyer 66fd7dfd93 ConfigController: Rename applicationAction to generalAction 2015-06-01 16:35:27 +02:00
Johannes Meyer 89311f96df Show a minus for a user's state if the state cannot be determined
refs #8826
2015-06-01 14:06:37 +02:00
Johannes Meyer ea959c2dfd Introduce controller UsergroupbackendController
refs #8826
2015-05-29 16:35:30 +02:00
Johannes Meyer c94e6a3292 Db/IniUserGroupBackend: Drop column parent_name, it's not a name anymore
refs #8826
2015-05-29 08:56:58 +02:00
Johannes Meyer d157dec13b GroupController: Apply permission config/application/groups/member/remove
refs #8826
2015-05-27 10:38:02 +02:00
Johannes Meyer 0c9bac0686 GroupController: Apply permission config/application/groups/remove
refs #8826
2015-05-27 10:33:20 +02:00
Johannes Meyer b58cd4747c GroupController: Apply permission config/application/groups/edit
refs #8826
2015-05-27 10:32:41 +02:00
Johannes Meyer fd2ecf395d GroupController: Apply permission config/application/groups/add
refs #8826
2015-05-27 10:32:09 +02:00
Johannes Meyer e31c99be1c GroupController: Apply permission config/application/groups/show
refs #8826
2015-05-27 10:30:42 +02:00
Johannes Meyer 0e37aad6ce UserController: Apply permission config/application/users/remove
refs #8826
2015-05-27 10:29:21 +02:00
Johannes Meyer 01b790cf18 UserController: Apply permission config/application/users/edit
refs #8826
2015-05-27 10:27:48 +02:00
Johannes Meyer 88ba718ffb UserController: Apply permission config/application/users/add
refs #8826
2015-05-27 10:26:43 +02:00
Johannes Meyer 676d20920b UserController: Remove redundant error handling
refs #8826
2015-05-27 08:53:34 +02:00
Johannes Meyer e0f0fbf1cc GroupController: Remove redundant error handling
refs #8826
2015-05-27 08:53:13 +02:00
Johannes Meyer 02afa9fd55 UserController: Add createmembershipAction()
refs #8826
2015-05-26 17:03:10 +02:00
Johannes Meyer ec556edc65 Merge branch 'master' into feature/user-and-group-management-8826 2015-05-26 09:28:35 +02:00
Johannes Meyer e5819ef1b2 GroupController: Display a tab when showing a group
refs #8826
2015-05-22 16:13:38 +02:00
Johannes Meyer 5c6d5f51c4 UserController: Display a tab when showing a user
refs #8826
2015-05-22 16:13:20 +02:00
Johannes Meyer 705bb665a5 UserController: List memberships when showing a user
refs #8826
2015-05-22 15:53:47 +02:00
Johannes Meyer 030db8c8da GroupController: Add removememberAction()
refs #8826
2015-05-22 14:35:34 +02:00
Eric Lippmann 53ca68903a Merge branch 'bugfix/time-formatting-6778'
fixes #6778
2015-05-22 11:34:43 +02:00
Johannes Meyer 265725447d Merge branch 'master' into feature/user-and-group-management-8826 2015-05-22 10:06:31 +02:00
Eric Lippmann 5e520e7b59 Don't display a error message as title too
refs #6281
2015-05-21 16:57:43 +02:00
Johannes Meyer 0686bc1d86 GroupController: List members when showing a group
refs #8826
2015-05-21 16:38:47 +02:00
Eric Lippmann 54577d04bd Merge branch 'master' into bugfix/time-formatting-6778
Conflicts:
	modules/monitoring/application/views/scripts/list/comments.phtml
	modules/monitoring/application/views/scripts/list/hostgroups.phtml
	modules/monitoring/application/views/scripts/process/info.phtml
	modules/monitoring/application/views/scripts/show/components/downtime.phtml
	modules/monitoring/application/views/scripts/show/components/notifications.phtml
	modules/monitoring/public/css/module.less
2015-05-21 14:57:01 +02:00
Johannes Meyer ed166d6eb7 GroupController: Add showAction
refs #8826
2015-05-20 16:17:37 +02:00
Johannes Meyer 94cd4b91e5 GroupController: Just show a group's name when listing groups
refs #8826
2015-05-20 15:54:47 +02:00
Johannes Meyer 2cec4a6d67 UserController: Add showAction
refs #8826
2015-05-20 15:41:02 +02:00
Johannes Meyer 9891dc4491 UserController: Just show a user's name when listing users
Any additional information will be shown in the detail view soon.

refs #8826
2015-05-20 15:00:29 +02:00
Johannes Meyer 9fdcadaa97 UserController: Allow to add new users in case no users were found
refs #8826
2015-05-20 14:13:55 +02:00
Johannes Meyer 4a48997f47 GroupController: Add links to add and remove groups to the list action's view
refs #8826
2015-05-20 14:07:24 +02:00
Johannes Meyer fecf7a52b0 UserController: Add links to add and delete users to the list action's view
refs #8826
2015-05-20 13:53:19 +02:00
Johannes Meyer 539b824470 GroupController: Introduce addAction, editAction and removeAction
refs #8826
2015-05-20 11:54:28 +02:00
Johannes Meyer 605ae3d802 UserController: Introduce addAction, editAction and removeAction
refs #8826
2015-05-20 10:54:42 +02:00
Eric Lippmann e46af79229 Drop the DateFormat view helper class
The view helper class is no longer in use.

refs #6778
2015-05-19 10:14:35 +02:00
Johannes Meyer 5db6fc9ba9 GroupController: Behave nicely when it's not possible to fetch any groups
refs #8826
2015-05-13 13:50:32 +02:00
Johannes Meyer 8927121266 UserController: Behave nicely when it's not possible to fetch any users
refs #8826
2015-05-13 13:50:19 +02:00
Johannes Meyer 5ace0a08f3 GroupController: Add backend selection control
refs #8826
2015-05-08 09:56:07 +02:00
Johannes Meyer 1e1b9540f0 UserController: Add backend selection control
refs #8826
2015-05-08 09:54:45 +02:00
Johannes Meyer 1682b0ee32 Introduce controller GroupController
Still only able to list groups, more to follow...

refs #8826
2015-05-05 09:24:28 +02:00
Johannes Meyer 271e350faa UserController: Add missing closing div tag to the list action's view script
refs #8826
2015-05-05 07:12:25 +02:00
Johannes Meyer d171dd2ec9 Introduce controller UserController
Still only able to list users, more to follow...

refs #8826
2015-05-04 17:04:50 +02:00
Alexander A. Klimov 7c0be30def Handle and display multiline log messages correctly 2015-04-24 17:36:49 +02:00
Johannes Meyer 57d519bca8 ModuleOverview: Ensure dashboard compliance
refs #7876
2015-04-17 16:09:35 +02:00
Johannes Meyer d5cc340439 ApplicationLog: Ensure dashboard compliance
refs #7876
2015-04-17 16:09:17 +02:00
Alexander Klimov 967a2e82dc Use (only) "@return $this" in fluent interfaces' documentation 2015-04-07 14:24:11 +02:00
Eric Lippmann cdd5da80f0 Use Url::getRelativeUrl() when updating dashlets
fixes #8363
2015-04-07 13:05:12 +02:00
Matthias Jentsch 26ff265219 Improve search field caption for screen readers
Use unicode ellipsis instead of dots to not confuse screen readers. Screen readers shouldn't read 'dot dot dot' when focusing the search button.
2015-03-19 11:22:56 +01:00
Eric Lippmann 29d5fd351b Merge branch 'bugfix/logout-external-8626'
fixes #8626
2015-03-12 16:47:49 +01:00
Eric Lippmann 90971f2caf Revert "Merge branch 'feature/organize-headings-7976'"
This reverts commit ea2a17a76c, reversing
changes made to e72de8dfe1.

refs #7976
fixes #8647
2015-03-12 16:08:34 +01:00
Eric Lippmann b50129ad2e Add renderLayout to the re-login URL for externally authenticated users
refs #8626
2015-03-12 01:14:47 +01:00
Eric Lippmann 846a22e7a1 Don't use jQuery in the logout view script
jQuery is not available here because JavaScript is loaded after the content.
This was no problem before because the logout action was submitted using XHR and thus having JavaScript.

refs #8626
2015-03-11 15:35:44 +01:00
Eric Lippmann 0ff8416efb Use View::translate() instead of t() in the logout view script
refs #8626
2015-03-11 15:33:14 +01:00
Eric Lippmann 8df9520497 Fix getXMLHttpRequest vs new XMLHttpRequest
I have never ever heard of getXMLHttpRequest.

refs #8626
2015-03-11 15:33:14 +01:00
Eric Lippmann 84348151ce Strings spanning multiple lines continue on the next line ...
... not on the same line

refs #8626
2015-03-11 15:33:14 +01:00
Eric Lippmann f44d5ec20a Use <br> instead of <br /> in the logout view script
refs #8626
2015-03-11 15:33:14 +01:00
Eric Lippmann 7220d781d8 Fix implicit declaration of variable msg in the logout view script
refs #8626
2015-03-11 15:33:12 +01:00
Eric Lippmann 815dc8a5fa Replace /** with /* for non PHPDoc in the logout script
refs #8626
2015-03-11 14:51:59 +01:00
Johannes Meyer d7dcbb48a2 Do not try to access a module's title if there is none 2015-03-06 13:23:22 +01:00
Johannes Meyer dcf38cbf73 Fix form id of the authentication configuration 2015-03-03 09:54:12 +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 7bb78330a9 Replace cancel icon with the trash icon...
...where the link's purpose is to remove something
2015-02-27 14:47:46 +01:00
Johannes Meyer 74dfa6e72a Fix invalid icon names passed to the icon view helper 2015-02-27 14:45:47 +01:00
Johannes Meyer 4351603243 Fix that editing an auth backend does not open the next column 2015-02-26 14:48:37 +01:00
Matthias Jentsch 89451f3086 Ensure that form ids are unique
Add an unique prefix to each Form- or FormElement id, unless id protection is disabled explicitly, to prevent id collisions between different containers.

fixes #8460
2015-02-25 18:00:28 +01:00
Johannes Meyer 8e8bab0795 Do only escape a qlink's label manually if necessary 2015-02-24 11:35:25 +01:00
Johannes Meyer 956efe5ef9 Merge branch 'master' into feature/link-labels-8458
Conflicts:
	application/views/scripts/config/application.phtml
	application/views/scripts/config/module.phtml
	application/views/scripts/config/modules.phtml
	library/Icinga/Web/Widget/Dashboard/Dashlet.php
	modules/monitoring/application/controllers/TimelineController.php
2015-02-24 08:42:36 +01:00
Johannes Meyer 371f895188 Add proper titles to the mixed pagination
refs #8458
2015-02-23 17:21:31 +01:00
Johannes Meyer a966f543f6 Add proper titles to the joystick navigation
refs #8458
2015-02-23 17:21:12 +01:00
Johannes Meyer 261abbd65e Add proper titles to the role configuration
refs #8458
2015-02-23 17:20:48 +01:00
Johannes Meyer 508322cfdc Add proper titles to the dashboard configuration's links
refs #8458
2015-02-23 17:20:26 +01:00
Johannes Meyer baf47fef7f Add proper titles for the links to dis-/enable modules
refs #8458
2015-02-23 17:19:37 +01:00
Johannes Meyer 3605880fd1 Add proper titles to the module overview
refs #8458
2015-02-23 17:19:06 +01:00
Johannes Meyer 48286e0d59 Use View::translate() instead of mt() and t() ... 2015-02-23 16:42:25 +01:00
Marius Hein b6124d7371 Header: Remove skiplinks
Skiplinks are to much and confusing for other users. Better is to use
header navigation in screen readers.

refs #7076
2015-02-23 11:18:58 +01:00
Marius Hein fe0bcdbbaf Header: Add header to module configuration
refs #7976
2015-02-17 16:19:03 +01:00
Marius Hein d3c79dae32 Merge branch 'master' into feature/organize-headings-7976 2015-02-17 15:21:29 +01:00
Johannes Meyer c135d3243a Fix that the authentication reorder form does not have an action 2015-02-16 15:08:27 +01:00
Johannes Meyer 2dea398f3b Mute all icons that are part of an anchor and add simple labels to such anchors
The labels I've added are probably just of temporary nature as it's not
defined yet how to handle link labels properly for screen readers. What
is sure is that all icons that are part of a link are not important for the
meaning of it as this is expressed by the link itself.

refs #8360
refs #8358
2015-02-16 11:02:09 +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
Marius Hein 7644888f25 Header: Add header semantic to roles configuration
refs #7976
2015-02-13 16:19:28 +01:00
Marius Hein 586fa3120b Header: Adapt preference dialog
refs #7976
2015-02-13 16:12:34 +01:00
Marius Hein 04fde79a9f Header: Adapt resource configuration 2015-02-13 16:10:51 +01:00
Marius Hein ef7fcb1023 Header: Adapt application configuration dialog 2015-02-13 15:35:24 +01:00
Marius Hein d21833fbf2 Header: Adapt authentication config dialog 2015-02-13 15:33:29 +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
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 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