Johannes Meyer
108f55128f
Ldap\Query: Fix access of a filter's expression
2015-05-06 10:24:50 +02:00
Johannes Meyer
cfa9176192
ArrayDatasource: use array_shift in fetchRow() instead of index access
...
Since associative arrays are supported, the numeric index 0 might not be
the first entry in the result.
2015-05-06 10:10:29 +02:00
Johannes Meyer
7b2ed3bef7
ArrayDatasource: Create a new result when counting
...
There is usually no limit and offset when a query is going to be counted
so the cached result must not be used.
2015-05-06 10:08:07 +02:00
Johannes Meyer
f2ad2838f4
ArrayDatasource: Apply a query's limit and offset when creating the result
2015-05-06 09:39:43 +02:00
Johannes Meyer
d63381c002
ArrayDatasource: Add missing and fix existing documentation
2015-05-06 09:12:48 +02:00
Johannes Meyer
9c799dca22
IniUserGroupBackend: Automatically set section names on column `name'
...
refs #8826
2015-05-06 08:41:54 +02:00
Johannes Meyer
b1cbc1422b
ArrayDatasource: Add support for associative arrays
...
Keys are now preserved in case a non-numeric one is found. By using
setKeyColumn() it is now also possible to map such a key to a specific
column of a row generated by createResult().
2015-05-06 08:40:02 +02:00
Johannes Meyer
f1f1710f47
Config: Add method getConfigObject to access the internal ConfigObject
2015-05-06 08:07:42 +02:00
Michael Friedrich
defda53ff5
Show icinga program version in Monitoring Health
...
Also emphasize on the backends used.
fixes #9207
2015-05-05 17:02:45 +02:00
Alexander Fuhr
d1f1f5d7d7
ProgrammStatusQuery: Add fallback if ido_version is older than required
...
resolves #9223
2015-05-05 16:32:18 +02:00
Johannes Meyer
e228404bf4
Adjust ConfigObjectTest as ConfigObjects are not countable anymore
...
They are of course still indirectly countable, by using Config::count() or
ConfigObject::select()::count().
2015-05-05 15:36:15 +02:00
Johannes Meyer
89029308ef
IniUserGroupBackend: Extend Repository and implement UserGroupBackendInterface
...
Note that it was necessary to change the structure of ini files providing
the membership information. They need to be structured like our db
table rows now.
refs #8826
2015-05-05 15:24:18 +02:00
Johannes Meyer
5cc7f26728
ConfigObject: Extend ArrayDatasource
...
This makes it possible to use a ini file as repository!!!1
One thing is missing: Section names are currently ignored and should be
mapped to a virtual column.
refs #8826
2015-05-05 15:21:34 +02:00
Alexander Fuhr
0e4201a997
Add info about the active ido endpoint to monitoring health overview
...
resolves #9223
2015-05-05 15:20:25 +02:00
Alexander Fuhr
be696e5adf
LogFileIterator: Fix missing closing bracket
2015-05-05 12:50:35 +02:00
Alexander Fuhr
612fefba9c
Fix the permission wildcards assertion
...
fixes #9202
2015-05-05 12:36:26 +02:00
Johannes Meyer
de68d78938
DbUserGroupBackend: Add case insensitive filter columns `group' and `parent'
...
refs #8826
2015-05-05 09:34:49 +02:00
Johannes Meyer
37e47f0d3f
DbUserBackend: Add case insensitive filter column `user'
...
refs #8826
2015-05-05 09:34:23 +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
58233b0072
DbUserGroupBackend: Extend DbRepository and implement UserGroupBackendInterface
...
refs #8826
2015-05-05 09:23:29 +02:00
Johannes Meyer
b1454c199a
Introduce interface UserGroupBackendInterface
...
refs #8826
2015-05-05 08:27:11 +02:00
Johannes Meyer
7b2fc1ba41
Make class UserGroupBackend being just a factory for user group backends
...
refs #8826
2015-05-05 08:26:38 +02:00
Johannes Meyer
8cf0c29223
UserController: Add tab for the list action
...
refs #8826
2015-05-05 07:36:14 +02:00
Johannes Meyer
bd136d39f4
SimpleQuery: Make compare() alias aware
...
refs #8826
refs #7693
2015-05-05 07:31:50 +02:00
Johannes Meyer
d71df6a9b8
Revert "SimpleQuery: Make compare() alias aware"
...
This reverts commit 6612e4c1ae
.
2015-05-05 07:30:42 +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
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
d0a353c3da
Ldap\Connection: Fix result counting
...
Missed to adjust this once I refactored the query execution..
refs #8826
2015-05-04 16:24:17 +02:00
Johannes Meyer
3e8ef5cc0f
Ldap\Query: Quick fix for naive filter support
...
Since this will ignore any logical clauses and operators it must be
considered a quick fix and be dropped once real filter support exists.
refs #8826
2015-05-04 16:17:14 +02:00
Johannes Meyer
f9089c3e0c
RepositoryQuery: Ensure compatibility with the FilterEditor widget
...
refs #8826
2015-05-04 15:56:58 +02:00
Johannes Meyer
842b043f7f
LdapUserBackend: Use is_active as well as a default sort column
...
refs #8826
2015-05-04 15:56:13 +02:00
Johannes Meyer
b86a0024c3
DbUserBackend: Use is_active as well as a default sort column
...
refs #8826
2015-05-04 15:55:36 +02:00
Alexander Fuhr
993cb31572
Fix the permission for the toggle object feature assertion
...
fixes #9198
2015-05-04 14:39:12 +02:00
Johannes Meyer
9163fb0f0f
Drop Icinga\Protocol\Ldap\ConnectionTest
...
...located at *test*/php/library/Icinga/Protocol/Ldap/.
2015-05-04 13:40:54 +02:00
Johannes Meyer
100d475b58
Fix ldap ConnectionTest
...
If I ever have to look at this test again, I'll drop it.
refs #8826
2015-05-04 13:25:07 +02:00
Johannes Meyer
437090d2b1
AdminAccountPage: Backends do provide a unified interface now, use it
...
refs #8826
refs #7693
2015-05-04 12:21:17 +02:00
Johannes Meyer
c441117324
LdapUserBackend: Extend Repository and implement UserBackendInterface
...
refs #8826
2015-05-04 12:18:25 +02:00
Johannes Meyer
e74194c18e
ExternalBackend: Implement UserBackendInterface
...
refs #8826
2015-05-04 12:15:50 +02:00
Johannes Meyer
99ac0b78ea
DbUserBackend: Extend DbRepository and implement UserBackendInterface
...
refs #8826
2015-05-04 12:15:05 +02:00
Johannes Meyer
7b41fc020a
AuthChain: Yield UserBackendInterface instead of UserBackend
...
refs #8826
2015-05-04 11:44:41 +02:00
Johannes Meyer
1824eb9c3b
Make class UserBackend being just a factory for user backends
...
refs #8826
2015-05-04 11:43:53 +02:00
Johannes Meyer
68657c02ee
Introduce interface Icinga\Authentication\User\UserBackendInterface
...
refs #8826
2015-05-04 11:40:17 +02:00
Johannes Meyer
870e75c99c
Introduce class Icinga\Repository\DbRepository
...
refs #8826
2015-05-04 11:39:12 +02:00
Johannes Meyer
fa1906ee7d
Introduce class Icinga\Repository\RepositoryQuery
...
refs #8826
2015-05-04 11:38:21 +02:00
Johannes Meyer
3b93b84ecf
Introduce class Icinga\Repository\Repository
...
refs #8826
2015-05-04 11:37:48 +02:00
Johannes Meyer
7b7a7c9299
Ldap\Connection: Add proper order support
...
Will now utilize SimpleQuery::compare() to provide support for multiple
order columns.
refs #8826
refs #7693
2015-05-04 11:36:38 +02:00
Johannes Meyer
6612e4c1ae
SimpleQuery: Make compare() alias aware
...
refs #8826
refs #7693
2015-05-04 11:34:39 +02:00
Johannes Meyer
664017573f
Ldap\Connection: Add query alias support
...
refs #8826
2015-05-04 11:32:03 +02:00
Johannes Meyer
5baa0590b1
Ldap\Query: Extend SimpleQuery and add missing documentation
...
refs #8826
refs #8955
2015-05-04 11:26:27 +02:00
Johannes Meyer
99213432f5
Ldap\Connection: Rename fetchDN() to fetchDn()
...
We're using CamelCase names for methods.
2015-05-04 11:16:16 +02:00