6575 Commits

Author SHA1 Message Date
Johannes Meyer
58d78f59f3 DbQuery: Initialize self::$select as early as possible
I'd like to use Zend's implementation instead of re-inventing the wheel just
because someone decided to only work with a copy of it in the frameworks
query but do exactly the opposite in the monitoring module's IDO query...
2015-05-28 13:49:36 +02:00
Johannes Meyer
5326ce6bca DbRepository: Add support for table specific aliases
This was previously only possible for the base table and in case one wanted
to use table aliases in the query column definition for non-base tables as
well, it did not work well due to not being explicitly supported. Now, to use
such table aliases one must initialize DbRepository::tableAliases.

refs #8826
2015-05-28 13:44:51 +02:00
Johannes Meyer
647dd9d425 RepositoryQuery: Pass through the query when requiring a table or column
This allows now to adjust the query in custom repository implementations.

refs #8826
2015-05-28 13:25:26 +02:00
Johannes Meyer
23b7ab0764 DbRepository: Remove COLLATE from a query column in case of a pgsql connection
refs #8826
2015-05-27 11:47:18 +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
8713f59e66 AuthBackendController: Only show tabs the user is permitted to view
refs #8826
2015-05-27 10:38:35 +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
6e382bd127 Provide a css rule for informational notifications
aka Notification::info()
2015-05-26 16:53:47 +02:00
Johannes Meyer
237b50f953 RepositoryQuery: Ensure that we'll adjust a copy of a filter 2015-05-26 14:32:47 +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
20f0b46574 Introduce class AuthBackendController
refs #8826
2015-05-26 10:11:40 +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
54354b17bf DbConnection: Replicate the fix for #9211 2015-05-26 09:26:55 +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
88f5bb8368 js: Relax check whether to switch to single column layout upon redirect
This fixes the problem when redirecting from a form using the same route
as in the leftmost column but with a different querystring, that one gets
the same route shown twice.
2015-05-22 16:54:59 +02:00
Eric Lippmann
ea8c497539 Fix exception when following command links for multiple selected hosts 2015-05-22 16:51:23 +02:00
Eric Lippmann
1d22d0c989 monitoring: Fix wrong partial time when a downtime expires 2015-05-22 16:50:24 +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
rbelinsky
b0f7773260 lib: Fix sprintf format strings used in Format::seconds()
fixes #9291

Signed-off-by: Eric Lippmann <eric.lippmann@netways.de>
2015-05-22 16:06:11 +02:00
Johannes Meyer
705bb665a5 UserController: List memberships when showing a user
refs #8826
2015-05-22 15:53:47 +02:00
Eric Lippmann
20a9621036 doc: Add filenames to anchor links
This allows other markdown viewers like to follow those links.
2015-05-22 15:30:37 +02:00
Johannes Meyer
030db8c8da GroupController: Add removememberAction()
refs #8826
2015-05-22 14:35:34 +02:00
rkcpi
394c627397 Update links to resources.md in authentication.md
Signed-off-by: Eric Lippmann <eric.lippmann@netways.de>
2015-05-22 14:23:10 +02:00
Daniel Shirley
75f15b934c Update authentication.md
Typo for database config

Signed-off-by: Eric Lippmann <eric.lippmann@netways.de>
2015-05-22 14:17:45 +02:00
Eric Lippmann
250f863faa Allow anonymous LDAP binding
fixes #9224
2015-05-22 14:15:59 +02:00
Johannes Meyer
4f0b4e55ef ErrorLabeller: Use an element's name if no label is set 2015-05-22 14:01:26 +02:00