Johannes Meyer
5e0ae6410b
DbRepository: Consider a filter column without query context as a statement column
...
Feels wrong..somehow, but it works.
refs #8826
2015-05-29 08:02:12 +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
Johannes Meyer
32b99be8ab
DbUserGroupBackend: Adjust to fit the new database schema
...
refs #8826
2015-05-28 15:22:15 +02:00
Johannes Meyer
1c6ded9324
pgsql schema: Introduce `id' and `group_id'
...
Required to ensure referential integrity when renaming groups.
refs #8826
2015-05-28 15:01:21 +02:00
Johannes Meyer
1950ddcbd6
mysql schema: Introduce `id' and `group_id'
...
Required to ensure referential integrity when renaming groups.
refs #8826
2015-05-28 15:00:46 +02:00
Johannes Meyer
fd931e4232
RepositoryQuery: getQuery() might be called during prepareQueryColumns()
2015-05-28 14:26:48 +02:00
Johannes Meyer
08f8fe6f49
DbRepository: Add support for joining tables based on query/filter columns
...
refs #8826
2015-05-28 13:53:49 +02:00
Johannes Meyer
119b2fdddb
DbQuery: Allow to join additional tables
...
This should just be the beginning of such additions, there is still a group(),
distinct(), etc missing..
2015-05-28 13:52:00 +02:00
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