725 Commits

Author SHA1 Message Date
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 A. Klimov
cbf37bf90e Inherit from Icinga\Web\Controller
fixes #9317
2015-05-27 13:19:50 +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
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
899a00e983 GroupController: Add addmemberAction()
refs #8826
2015-05-26 14:32:14 +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
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
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 6df031dc786256e0bd42f8047d6c308e90abedf6.

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
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
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
539b824470 GroupController: Introduce addAction, editAction and removeAction
refs #8826
2015-05-20 11:54:28 +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
7dff1ca2b8 UserController: Do not throw Zend_Controller_Action_Exception (404)
Use Controller::httpNotFound() instead.

refs #8826
2015-05-20 10:52:50 +02:00
Alexander A. Klimov
bd3a9d65bc Remove unreachable statements
refs #9003
2015-05-19 11:00:36 +02:00
Alexander A. Klimov
7ef7325335 Don't catch ProgrammingError when the superclass Exception has already been caught
refs #9003
2015-05-19 10:45:37 +02:00
Alexander A. Klimov
159f4eaf90 Don't use \Exception
refs #9003
2015-05-19 10:42:19 +02:00
Johannes Meyer
3f25cf560e RepositoryQuery: Remove method paginate()
refs #8826
2015-05-18 14:03:22 +02:00