Commit Graph

1217 Commits

Author SHA1 Message Date
Johannes Meyer cecd94be50 Merge branch 'master' into feature/support-for-file-uploads-8758 2015-07-22 08:47:24 +02:00
Johannes Meyer fc481e527b Form: Process request parameter _frameUpload
This parameter is being used to flag a request as form submission issued
by utilizing an iframe. Appending it to a form's action causes no redirection
to take place in case of successful submission and a reduced but still valid
layout to be printed in any way. Redirection must be handled by the client
regarding the meta tag "redirectUrl".

refs #8758
2015-07-21 15:22:24 +02:00
Johannes Meyer be88683c19 layout.phtml: Add hidden iframe for non-xhr file uploads
refs #8758
2015-07-20 10:14:55 +02:00
Matthias Jentsch e357960d1e Add Inspection API to DB backend
refs #9641
2015-07-16 16:16:55 +02:00
Matthias Jentsch f4054d575b Add Inspection API to db connection
refs #9641
2015-07-16 15:29:45 +02:00
Matthias Jentsch 59c4f8d056 Use Inspection API in User Backend Form
refs #9630
2015-07-15 19:35:25 +02:00
Matthias Jentsch cf8b760ade Use Inspection API in LdapResourceForm
refs #9630
2015-07-15 19:33:47 +02:00
Matthias Jentsch 11360f36e4 Fix grammar errors in backend titles 2015-07-15 15:37:59 +02:00
Johannes Meyer a8ac420897 LdapConnection: Establish a connection lazily 2015-07-10 09:51:39 +02:00
Johannes Meyer 066b3d9e28 ApplicationConfigForm: Make preference options be global options
refs #8709
2015-07-01 15:41:45 +02:00
Johannes Meyer 8c8198eeea UserGroupBackendForm: Some small documentation fixes 2015-06-29 11:11:06 +02:00
Johannes Meyer 3dddee8b7d Setup: Fix authentication backend validation
This is a ridiculous dirty fix. We'll definitely need to
improve how we create authentication backends...

fixes #9509
2015-06-25 14:36:51 +02:00
Johannes Meyer d95874b84c Setup: Provide a default user filter for ActiveDirectory backends
fixes #8703
2015-06-25 14:22:50 +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
Johannes Meyer c3ad7b211a Ldap\Connection: Rename to LdapConnection
refs #8954
2015-06-24 09:05:29 +02:00
Johannes Meyer 5fd2eb639a LdapResourceForm: Display exact error messages to the user 2015-06-23 14:08:50 +02:00
Johannes Meyer 15220da645 Automatically strip unnecessary parentheses from custom ldap filters
fixes #9348
2015-06-23 10:32:45 +02:00
Johannes Meyer d36f90d8cb Navigation: Restructure authentication backend configuration
This moves the configuration tabs for user and group backends into
a dedicated menu entry called "Authentication". All tabs previously
available in this menu entry were moved into their own dedicated
menu entry as well to not to confuse users.

fixes #9398
2015-06-22 13:26:24 +02:00
Matthias Jentsch d3dd88a925 Add alternating table layout to module views 2015-06-22 09:46:03 +02:00
Thomas Gelf b154e13ad9 RoleForm: hide config/"all-but-*" for rc1 2015-06-18 15:49:49 +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 2f62a4383a Layout: add showFullscreen parameter
refs #6729
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
Johannes Meyer b54bf35402 ConfigController: Do not use forward() but redirectNow()
fixes #9349
2015-06-17 13:43:59 +02:00
Johannes Meyer 4d06bff5e8 Merge branch 'master' into feature/Move-notifications-to-the-bottom-of-the-page-8247 2015-06-17 12:47:58 +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
Thomas Gelf edf8bcca4b layout.phtml: use cleartype on mobile IE 2015-06-15 23:54:12 +02:00
Matthias Jentsch 42de13a2b9 Merge branch 'feature/ssh-remote-connection-resource-configuration-7595'
resolves #7595
2015-06-15 17:30:42 +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 fb52ee5a7c GroupController: Allow to quick search members 2015-06-09 08:31:21 +02:00
Johannes Meyer 27d2af5616 UserController: Allow to quick search memberships 2015-06-09 08:31:05 +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
Johannes Meyer 2dd04bb6c9 LdapUserGroupBackendForm: Do not disable `user_filter' and `group_filter'
refs #7343
2015-06-05 17:24:03 +02:00
Johannes Meyer e66f8731af UserBackendConfigForm: Allow to configure user backends of type msldap
fixes #9355
2015-06-05 17:20:31 +02:00
Johannes Meyer c800f1e6aa UserGroupBackendForm: Do not translate LDAP and ActiveDirectory
refs #7343
2015-06-05 16:40:17 +02:00
Johannes Meyer 840069b436 LdapUserGroupBackendForm: Do not persist default values
...

refs #7343
2015-06-05 16:34:28 +02:00
Johannes Meyer e910a5a254 LdapUserGroupBackendForm: Do not disable `base_dn' and `user_base_dn'
refs #7343
2015-06-05 16:16:35 +02:00
Johannes Meyer 797e9de629 LdapUserGroupBackendForm: Do not disable group configuration..
..when no user backend has been linked and it's not a ActiveDirectory.

refs #7343
2015-06-05 16:07:27 +02:00
Johannes Meyer 975edbe548 UserGroupBackendForm: Do not persist null values, really
Revert this once #9376 has been fixed.

refs #9376
2015-06-05 15:45:33 +02:00
Johannes Meyer e6837cf9e9 UsergroupbackendController: Do not persist empty configuration values
refs #7343
2015-06-05 15:42:35 +02:00
Johannes Meyer e9e97cb1b3 UserGroupBackendForm: Unset the `name' property, always
refs #7343
2015-06-05 15:41:24 +02:00
Johannes Meyer 5688f0cb85 Allow to configure user group backends of type LDAP
refs #7343
2015-06-05 14:53:29 +02:00
Johannes Meyer 447088af22 Introduce form LdapUserGroupBackendForm
refs #7343
2015-06-05 14:52:46 +02:00
Johannes Meyer 7ebf185036 UserGroupBackendForm: Fix that autosubmit do not have any effect
refs #7343
2015-06-05 13:07:16 +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 602f0cf755 Move Version to Icinga\Application\
refs #9247
2015-06-05 10:18:24 +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
Johannes Meyer 916a26572b User-/GroupController: Register search columns to support quick searches
fixes #9353
2015-06-03 10:04:35 +02:00
Johannes Meyer dd7cbf4b69 User-/GroupController: Create tabs as early as possible
fixes #9350
2015-06-03 10:04:35 +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
Alexander A. Klimov 441fc33643 Include version information on `git archive'
refs #9247
2015-06-02 16:49:26 +02:00
Michael Friedrich 00ae69a694 Fix PHP 5.6.9 error: The use statement with non-compound name 'Exception' has no effect
refs #9281
2015-06-02 16:41:33 +02:00
Johannes Meyer 7213379cac AuthBackendController: Add final indexAction
Required to automatically redirect to the first permitted list action.

refs #8826
2015-06-02 11:59:04 +02:00
Johannes Meyer 00c31ffd28 RolesController: Rename to RoleController 2015-06-02 11:57:13 +02:00
Johannes Meyer cd0c418854 Merge branch 'master' into feature/user-and-group-management-8826 2015-06-02 10:44:13 +02:00
Johannes Meyer ae30a62055 ConfigController: Add tab for the user group backend configuration
refs #8826
2015-06-02 10:23:40 +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 8875ce7d95 Provide permission config/authentication/* 2015-06-02 09:09:11 +02:00
Johannes Meyer 9bd5d4148e Drop permission config/application/groups/member
refs #8826
2015-06-02 09:08:16 +02:00
Johannes Meyer cf96e66ff2 Rename permission config/application/roles* to config/authentication/...
Does also split it into *, show, add, edit, remove as this should behave like
any other authentication configuration.

refs #8826
2015-06-02 09:07:06 +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 17e7f1e754 Link the roles configuration with the user and group management
refs #8826
2015-06-01 16:43:11 +02:00
Johannes Meyer 66fd7dfd93 ConfigController: Rename applicationAction to generalAction 2015-06-01 16:35:27 +02:00
Johannes Meyer 4bd36bc500 UserGroupForm: Notify the user that memberships will be cleared...
...when removing a group.

refs #8826
2015-06-01 14:25:29 +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 04835db13e Introduce form UserGroupBackendForm
refs #8826
2015-05-29 16:34:34 +02:00
Alexander A. Klimov 0ba4d24880 Move notifications to the bottom of the page
refs #8247
2015-05-29 14:17:12 +02:00
Johannes Meyer cb4d6f013a GroupController: Properly handle 404's when handling group members
refs #8826
2015-05-29 12:57:39 +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 2c9af2fb81 GroupController: Let the form validate a group's name
refs #8826
2015-05-28 16:28:59 +02:00
Johannes Meyer ad6b4016f0 UserController: Let the form validate the user's name
refs #8826
2015-05-28 16:28:43 +02:00
Johannes Meyer 385042ea92 RepositoryForm: Verify that the entry to work with is valid
refs #8826
2015-05-28 16:27:48 +02:00
Alexander Fuhr 49589128ef Rename identity_key with private_key in ssh resource
refs #7595
2015-05-28 14:09:13 +02:00
Eric Lippmann 124173f3c8 Don't provide helpful error messages for unauthenticated users
fixes #6952
2015-05-28 13:17:00 +02:00
Eric Lippmann 8b07a0e29a Add missing return argument in the ResourceConfigForm 2015-05-28 13:17:00 +02:00
Eric Lippmann c2d7f0577e Use Controller::translate() instead of just t()
refs #7330
2015-05-28 13:17:00 +02:00
Eric Lippmann a304645b14 Add missing return argument when removing a resource fails 2015-05-28 13:17:00 +02:00
Eric Lippmann bd5d6e9661 Add missing return argument when removing an auth backend fails 2015-05-28 13:17:00 +02:00
Eric Lippmann 903b02a134 Translate no permission for configuration error message
refs #6339
2015-05-28 13:16:59 +02:00
Alexander Fuhr 558120e23b Add resource ssh usage to resources and instances
refs #7595
2015-05-28 10:50:13 +02:00
Alexander Fuhr bf21f55656 Add a new ssh resource form
refs #7595
2015-05-28 10:44:58 +02:00
Alexander A. Klimov cbf37bf90e Inherit from Icinga\Web\Controller
fixes #9317
2015-05-27 13:19:50 +02:00
Johannes Meyer e55d43418d RoleForm: Add new permission sets for user and group management
refs #8826
2015-05-27 10:39:29 +02:00
Johannes Meyer d157dec13b GroupController: Apply permission config/application/groups/member/remove
refs #8826
2015-05-27 10:38:02 +02:00