2041 Commits

Author SHA1 Message Date
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 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
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
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
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