Commit Graph

1217 Commits

Author SHA1 Message Date
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
Johannes Meyer 1517c72be1 GroupController: Apply permission config/application/groups/member/add
refs #8826
2015-05-27 10:34:10 +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 2cbea558ef UserController: Apply permission config/application/users/show
refs #8826
2015-05-27 10:23:59 +02:00
Johannes Meyer 32c1a844b5 UserController: Do not show duplicate memberships when showing a user
refs #8826
2015-05-27 09:03:00 +02:00
Johannes Meyer 170379b743 CreateMembershipForm: Properly handle errors when fetching groups
refs #8826
2015-05-27 08:55:53 +02:00
Johannes Meyer 45fd1b78f1 UserGroupController: Properly handle errors when fetching memberships
refs #8826
2015-05-27 08:55:14 +02:00
Johannes Meyer adc2d33814 GroupController: Properly handle errors when fetching users
refs #8826
2015-05-27 08:55:02 +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 a75c74eae1 Introduce form CreateMembershipForm
refs #8826
2015-05-26 17:02:27 +02:00
Johannes Meyer 899a00e983 GroupController: Add addmemberAction()
refs #8826
2015-05-26 14:32:14 +02:00
Johannes Meyer 86146b8048 Introduce form AddMemberForm
refs #8826
2015-05-26 14:30:55 +02:00
Johannes Meyer 75c5aa2869 Move UserGroupForm to the Icinga\Forms\Config\UserGroup namespace
refs #8826
2015-05-26 10:24:13 +02:00
Johannes Meyer e2c250ca77 Move UserForm to the Icinga\Forms\Config\User namespace
refs #8826
2015-05-26 10:23:40 +02:00
Johannes Meyer 2164fcf4b4 GroupController: Extend AuthBackendController
refs #8826
2015-05-26 10:12:25 +02:00
Johannes Meyer a4f38f2334 UserController: Extend AuthBackendController
refs #8826
2015-05-26 10:12: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 f3124ffd59 UserGroupForm: Fix redirect when renaming a group
refs #8826
2015-05-22 17:03:02 +02:00
Johannes Meyer 18e413d15a UserForm: Fix redirect when renaming a user
refs #8826
2015-05-22 17:01:34 +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 250f863faa Allow anonymous LDAP binding
fixes #9224
2015-05-22 14:15:59 +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 d2bb74a2f9 lib: Move HttpNotFoundException beneath the Http Exception namespace
refs #6281
2015-05-22 09:25:49 +02:00
Eric Lippmann 3f608fda24 Handle the HttpMethodNotAllowedException in the ErrorController
refs #6281
2015-05-22 09:15:52 +02:00
Eric Lippmann 5e520e7b59 Don't display a error message as title too
refs #6281
2015-05-21 16:57:43 +02:00
Eric Lippmann 03b4de3253 Handle the HttpNotFoundException in the ErrorController
refs #6281
2015-05-21 16:56:27 +02:00
Johannes Meyer 0686bc1d86 GroupController: List members when showing a group
refs #8826
2015-05-21 16:38:47 +02:00
Eric Lippmann ce9110d22d Revert "Add proper respond http codes to service and host controller"
This reverts commit 6df031dc78.

I revert this commit for the following reasons:
- MissingParameterException must not be thrown manually because we have UrlParams::getRequired() which was UrlParams::req() before.
- The commit introduces the untranslated string 'host or service'.
- 4xx are client, not server errors.
- Copy and paste code for the stack trace handling in the ErrorController.

refs #6281
2015-05-21 16:14:02 +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 66611d4887 GroupController: Use proper redirect urls when adding and removing groups
refs #8826
2015-05-20 14:06:59 +02:00
Johannes Meyer f86a05e0c3 UserController: Use proper redirect urls when adding and removing users
refs #8826
2015-05-20 13:54:05 +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 9c6a8898fd Introduce class UserGroupForm
refs #8826
2015-05-20 11:53:04 +02:00
Johannes Meyer bd07f78d94 GroupController: Do not throw Zend_Controller_Action_Exception (404)
Use Controller::httpNotFound() instead.

refs #8826
2015-05-20 10:59:41 +02:00
Johannes Meyer 605ae3d802 UserController: Introduce addAction, editAction and removeAction
refs #8826
2015-05-20 10:54:42 +02:00
Johannes Meyer 32d1569520 Introduce class UserForm
refs #8826
2015-05-20 10:54:06 +02:00
Johannes Meyer 8ea3cd0a13 Introduce class RepositoryForm
refs #8826
2015-05-20 10:53:31 +02:00
Johannes Meyer 7dff1ca2b8 UserController: Do not throw Zend_Controller_Action_Exception (404)
Use Controller::httpNotFound() instead.

refs #8826
2015-05-20 10:52:50 +02:00
Johannes Meyer 71fa736144 Merge branch 'master' into feature/user-and-group-management-8826 2015-05-20 10:46:55 +02:00
Eric Lippmann bd54784496 Don't override submit label in the ConfirmRemovalForm 2015-05-20 10:30:00 +02:00
Eric Lippmann 5a69c26d2c Fix typo in PHPDoc of ConfirmRemovalForm::init() 2015-05-20 10:30:00 +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 3f25cf560e RepositoryQuery: Remove method paginate()
refs #8826
2015-05-18 14:03:22 +02:00
Johannes Meyer 524c449649 Merge branch 'master' into feature/user-and-group-management-8826 2015-05-18 11:28:07 +02:00
Johannes Meyer fbf0ad4339 Drop interface Browsable
We're not required to handle objects of Zend_Paginator in any way, so
creating such as part of a query is not necessary since QueryAdapter
accepts any instance of QueryInterface. (gets enforced in the near future)

refs #8339
2015-05-15 14:37:41 +02:00
Johannes Meyer 9eaa231c4f GroupController: Since logging errors as well is usually a good idea, log errors
refs #8826
2015-05-13 13:58:48 +02:00
Johannes Meyer 07a5473616 UserController: Since logging errors as well is usually a good idea, log errors
refs #8826
2015-05-13 13:58:40 +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 a9f0fd0708 UserController: Ensure that the sort and dir parameters are being applied
refs #8826
2015-05-12 15:49:45 +02:00
Johannes Meyer 2e0a444f13 GroupController: Ensure that the sort and dir parameters are being applied
refs #8826
2015-05-12 15:49:24 +02:00
Johannes Meyer c91d3e52ac Merge branch 'master' into feature/user-and-group-management-8826 2015-05-12 15:39:02 +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
Alexander Fuhr 6df031dc78 Add proper respond http codes to service and host controller
fixes #6281
2015-05-06 14:21:46 +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 8cf0c29223 UserController: Add tab for the list action
refs #8826
2015-05-05 07:36:14 +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
Johannes Meyer c441117324 LdapUserBackend: Extend Repository and implement UserBackendInterface
refs #8826
2015-05-04 12:18:25 +02:00
Johannes Meyer 99ac0b78ea DbUserBackend: Extend DbRepository and implement UserBackendInterface
refs #8826
2015-05-04 12:15:05 +02:00
Johannes Meyer d09ea2845d Merge branch 'master' into feature/user-and-group-management-8826 2015-04-30 15:20:40 +02:00
Alexander A. Klimov 9917e63e02 Remove exclamation mark from the notification "Authentication order updated!"'s translations 2015-04-27 14:13:26 +02:00
Alexander A. Klimov c839cc0b08 Remove exclamation mark from the notification "Authentication order updated!"
resolves #8960
2015-04-27 13:16:54 +02:00
Alexander A. Klimov 7c0be30def Handle and display multiline log messages correctly 2015-04-24 17:36:49 +02:00
Johannes Meyer 6ca68f438d Move concrete UserBackend classes to Icinga\Authentication\User
refs #8826
2015-04-21 12:51:31 +02:00
Johannes Meyer 1ff9449ad7 List views: Show the output and dashboard actions for all views
refs #7876
2015-04-20 14:58:25 +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
Johannes Meyer 62bb35a71e Fix that the ldap port does not change when updating the encryption to use
fixes #8958
2015-04-07 15:07:36 +02:00
Johannes Meyer dc4d1246a9 Fix that the sql port does not change when updating the type of the database
fixes #7491
2015-04-07 15:07:36 +02:00
Alexander Klimov 967a2e82dc Use (only) "@return $this" in fluent interfaces' documentation 2015-04-07 14:24:11 +02:00
Eric Lippmann 6b63f3d8a2 Merge branch 'feature/require-mandatory-params-8886'
resolves #8886
2015-04-07 13:06:43 +02:00
Eric Lippmann cdd5da80f0 Use Url::getRelativeUrl() when updating dashlets
fixes #8363
2015-04-07 13:05:12 +02:00
Eric Lippmann 25736cf76e Return HTTP 400 on MissingParameterException
refs #8886
2015-04-07 12:27:19 +02:00
Johannes Meyer aae1d05684 Fetch the log path from the configuration
...instead of using a getter that has been dropped carelessly.

fixes #8972
2015-04-07 10:34:55 +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
Thomas Gelf f038a89fa5 locale/it_IT: a few modifications, compile catalog 2015-03-13 17:06:42 +01:00
Davide Demuru 7ca7b2e141 locale/it_IT: refresh translation
Signed-off-by: Thomas Gelf <thomas@gelf.net>
2015-03-13 17:01:49 +01:00
Johannes Meyer a3f2d7de7e LdapResourceForm: Translate "None" with a context as it's ambiguous 2015-03-13 08:53:08 +01:00
Eric Lippmann e36c430bb3 Merge branch 'feature/protected-menu-8720'
resolves #8720
2015-03-13 04:26:19 +01:00
Eric Lippmann f60a0b86ec POST disable/enable auto-refresh always against the current location
refs #8605
2015-03-13 04:01:08 +01:00