Commit Graph

468 Commits

Author SHA1 Message Date
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 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
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
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 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 d09ea2845d Merge branch 'master' into feature/user-and-group-management-8826 2015-04-30 15:20:40 +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
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
Eric Lippmann e36c430bb3 Merge branch 'feature/protected-menu-8720'
resolves #8720
2015-03-13 04:26:19 +01:00
Eric Lippmann 29d5fd351b Merge branch 'bugfix/logout-external-8626'
fixes #8626
2015-03-12 16:47:49 +01:00
Eric Lippmann 8563d5ed3f PHPDoc: Use @var instead of @type
Becasue of too many kittens PSR-5 backed off of deprecating @var.
So that's the way we go too.
2015-03-12 16:08:47 +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 195fe6f04b Security: Rename system/config/modules to config/modules
Module config permission and application config permission have to be separeted.
Application config related permissions were added beneath config/application and module
related config permissions will be config/modules for now.

refs #8720
2015-03-12 15:45:14 +01:00
Eric Lippmann f6e9551235 Security: Rename system/config/roles to config/application/roles
Module config permission and application config permission have to be separeted.
Application config related permissions will be added beneath config/application and module
related config permissions will be added beneath config/modules.

refs #8720
2015-03-12 15:45:10 +01:00
Eric Lippmann 08abbda152 Security: Rename system/config/resources to config/application/resources
Module config permission and application config permission have to be separeted.
Application config related permissions will be added beneath config/application and module
related config permissions will be added beneath config/modules.

refs #8720
2015-03-12 15:45:07 +01:00
Eric Lippmann a4e81c320a Security: Rename system/config/authentication to config/application/authentication
Module config permission and application config permission have to be separeted.
Application config related permissions will be added beneath config/application and module
related config permissions will be added beneath config/modules.

refs #8720
2015-03-12 15:45:04 +01:00
Eric Lippmann 956bc3c07a Security: Rename system/config/application to config/application/general
Module config permission and application config permission have to be separeted.
Application config related permissions will be added beneath config/application and module
related config permissions will be added beneath config/modules.

refs #8720
2015-03-12 15:44:58 +01:00
Eric Lippmann 7288f2e92b Use space after the boolean negotiation operator 2015-03-11 22:25:52 +01:00
Eric Lippmann 4570151b4b Fix indentation for strings spanning multiple lines in our auth controller 2015-03-11 22:11:10 +01:00
Johannes Meyer f45f00b022 Run a module's configuration script only in case it has been registered
fixes #8601
2015-03-06 13:25:04 +01:00
Johannes Meyer 4324385010 Do not load a module twice while enabling it 2015-03-06 13:22:51 +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 f2259557c8 Fix missing tab labels
fixes #8518
2015-02-27 09:32:44 +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 6eb638f6b3 Add proper titles to the list view's tabs
refs #8458
2015-02-23 17:00:30 +01:00
Johannes Meyer 64a4dc67bc Add proper titles to all config tabs
refs #8458
2015-02-23 16:50:31 +01:00
Marius Hein 7644888f25 Header: Add header semantic to roles configuration
refs #7976
2015-02-13 16:19:28 +01:00
Marius Hein ce3a564de7 Header: Add header to tabs extension
refs #7976
2015-02-13 11:26:09 +01:00
Johannes Meyer dfc18e0f95 Display authentication exceptions as form errors 2015-02-12 09:11:03 +01:00
Eric Lippmann 6bae2e0a53 Note that our license is GPL v2 or any later version in our license header instead of pointing to the license's URL 2015-02-04 10:52:27 +01:00
Eric Lippmann 5b4fab0750 Add license header
This time without syntax errors hopefully :)
2015-02-03 16:27:59 +01:00
Eric Lippmann 5fa2e3cfdc Revert "Add license header"
This reverts commit 338d067aba.
2015-02-03 16:16:26 +01:00
Eric Lippmann 338d067aba Add license header
fixes #7788
2015-02-03 15:51:04 +01:00
Eric Lippmann 08fd000496 Remove any topbar related stuff
It's not used anywhere.
2015-02-03 12:42:02 +01:00
Eric Lippmann 9d6906bd64 Save user dashboards to Icinga Web 2's configuration directory
fixes #8056
2015-02-02 15:06:29 +01:00
Eric Lippmann 4bac5dfc37 security: Guard application and module configuration 2015-02-02 14:16:26 +01:00
Eric Lippmann 7a81133ad3 security: Guard configuring roles 2015-02-02 14:16:26 +01:00
Marius Hein 8c24dde17b Error Controller: Move close tab creation to template 2015-02-02 12:08:20 +01:00
Johannes Meyer bf470125c3 Merge branch 'master' into feature/create-missing-directories-when-creating-inis-8219
Conflicts:
	modules/monitoring/library/Monitoring/MonitoringWizard.php
2015-01-30 16:21:42 +01:00
Marius Hein 6ec2ee753d Render error messages in the container itself
fixes #6280
2015-01-30 14:50:25 +01:00
Johannes Meyer 0108d44d63 Fix "The use of non compound name 'Exception'..." 2015-01-30 09:38:59 +01:00
Johannes Meyer 63305fdf9a Add Icinga\Application\Config::saveIni()
Simplifies saving INI files. Icinga\File\Ini\IniWriter does already require an
instance of Icinga\Application\Config so it's obvious to give "Config" the
task to initialize the writer.. We do also have a central place to handle
creating missing ancestor directories now.

refs #8219
2015-01-30 09:32:08 +01:00