Eric Lippmann
b5c8579d0e
lib: Fix Url paramter encoding if parameter is a Url object
...
fixes #10321
2015-11-09 09:55:17 +01:00
Johannes Meyer
1e35a17ec1
DbQuery: Support not equal comparisons with arrays
2015-11-05 15:49:15 +01:00
Johannes Meyer
ff61b8e696
Repository: Fix that conversion rules for statements are applied on queries..
...
..when calling RepositoryQuery::addFilter().
2015-11-05 14:07:54 +01:00
Johannes Meyer
dd069288e9
DbRepository: Do not attempt to join virtual tables multiple times
2015-11-04 15:59:40 +01:00
Alexander A. Klimov
327cf37326
Command: make $config and $configs protected
2015-11-03 16:11:20 +01:00
Johannes Meyer
48e6bdd6ce
RepositoryQuery: Fix that the query is not passed as context in fetchAll()
2015-11-03 14:42:32 +01:00
Johannes Meyer
477af43a2f
RepositoryQuery: Properly handle custom aliases when applying value conversion rules
2015-11-03 14:42:32 +01:00
Alexander A. Klimov
e170d5b79a
Command::fail(): construct IcingaException printf-like
...
The first argument of IcingaException::__construct() must be a printf-like format string, but Command::fail() must accept any message string.
2015-11-03 10:45:39 +01:00
Johannes Meyer
71c5fd0bf7
DbRepository: Take virtual columns into consideration when applying aliases
2015-11-02 17:07:02 +01:00
Johannes Meyer
5db8d08729
Repository: Fix that column normalisation is not applied by requireAllQueryColumns()
2015-10-30 15:36:48 +01:00
Johannes Meyer
5dfaa89440
Repository: Pass some more details to conversion methods
2015-10-30 15:35:41 +01:00
Johannes Meyer
a60ad3ecf0
DbRepository: Return the number of affected rows for cud operations
2015-10-30 15:34:57 +01:00
Johannes Meyer
df7a2ee0a9
Repository: Add native support for virtual table names
2015-10-30 15:34:19 +01:00
Johannes Meyer
99719bec7d
Merge branch 'master' into bugfix/broken-user-and-group-management-10367
...
Conflicts:
library/Icinga/Authentication/User/LdapUserBackend.php
library/Icinga/Authentication/UserGroup/LdapUserGroupBackend.php
2015-10-29 08:52:07 +01:00
Johannes Meyer
36340aafa6
Repository: Ensure that we'll internally only work with virtual table names
...
refs #10367
2015-10-27 13:31:47 +01:00
Thomas Gelf
f88bd525f1
DbConnection: respect charset parameter
...
refs #10359
2015-10-27 13:21:35 +01:00
Johannes Meyer
0b9a141591
LdapUserGroupBackend: Use the group_base_dn as user_base_dn..
...
..if neither the config nor the defaults provide a value.
refs #10402
2015-10-20 11:28:18 +02:00
Markus Frosch
33956e02f8
Fix collection of user_base_dn from the UserBackend
...
Currently the group_base_dn is used, unless a user_base_dn is configured in the group backend.
refs #10402
2015-10-20 10:02:42 +02:00
Johannes Meyer
878bd78587
LdapUserBackend: Unfold the user_name_attribute automatically
...
This is.. the currently easiest solution. As long as attribute unfolding
is not very performance intensive this solution suffices.
refs #10367
refs #10332
2015-10-16 17:25:42 +02:00
Johannes Meyer
8ed489c637
LdapUserGroupBackend: Add method persistUserName()
...
refs #10367
refs #10370
2015-10-16 15:28:44 +02:00
Johannes Meyer
58fc87b2e5
Repository: Ensure that we'll internally only work with virtual table names
...
refs #10367
2015-10-16 14:46:44 +02:00
Johannes Meyer
1b7dc1098c
DbUserGroupBackend: Use LEFT JOIN to join the group_membership table
...
Fixes the issue that groups are not found if they do not have any members
even though they meet the where clause
2015-10-16 13:10:39 +02:00
Johannes Meyer
7ef76932d4
DbRepository: Validate the table when inserting, updating and deleting
2015-10-16 12:36:47 +02:00
Johannes Meyer
33037eebbb
Revert "Fix group base DN is erroneously used in place of user base DN"
...
This reverts commit ac7546d9f2
.
2015-10-16 10:08:14 +02:00
Johannes Meyer
34bf0c3cb0
Add method getUserBackendName() to UserGroupBackendInterface
...
refs #10367
refs #10373
2015-10-15 15:28:03 +02:00
Eric Lippmann
331822ad15
Merge pull request #47 from anenviousguest/master
2015-10-15 12:53:10 +02:00
Vladislav Ponomarev
ac7546d9f2
Fix group base DN is erroneously used in place of user base DN
...
refs #10340
refs #10367
Signed-off-by: Eric Lippmann <eric.lippmann@netways.de>
2015-10-15 12:52:17 +02:00
Johannes Meyer
d6432cd881
LdapUserGroupBackend: Fix invalid query column initialization, again
...
I've mistakenly reverted a change from Aaron Collins that would have
prevented this issue from occuring.
fixes #10318
2015-10-09 03:53:22 +02:00
Johannes Meyer
65e7f7a8ca
FilterExpression: Give the row a chance to dynamically return a value
...
refs #10304
2015-10-05 14:01:03 +02:00
Johannes Meyer
7696172249
Logger: Also use the utility method for non-solitary exception arguments
2015-10-05 12:54:04 +02:00
Johannes Meyer
98e0081d81
Limiter: Use the limit also as priority
...
fixes #10288
2015-10-05 10:54:43 +02:00
Eric Lippmann
54bb99a96d
Merge branch 'feature/dope-layout-5543'
...
refs #5543
2015-10-02 11:16:35 +02:00
Johannes Meyer
53f29131af
ActionController: Use a controller's inner layout script instead of "body"
...
"body" is still the default inner layout script.
2015-10-02 10:18:37 +02:00
Eric Lippmann
359dde708c
Prepare 2.0.0 release
2015-10-01 23:39:27 +02:00
Eric Lippmann
e4a42c5cc9
Don't use deprecated functions
2015-10-01 23:19:37 +02:00
Eric Lippmann
61357da35c
Merge branch 'bugfix/group-by-9956'
...
fixes #9956
2015-10-01 23:05:27 +02:00
Eric Lippmann
56ed92a8e6
Merge branch 'master' into feature/dope-layout-5543
2015-10-01 21:29:35 +02:00
Thomas Gelf
9ca81320ac
Search: re-add object names, allow for addresses
...
It's now possible do search for IP (and IPv6) addresses. Object names
are once again allowed
fixes #9591
fixes #10163
2015-10-01 18:48:36 +02:00
Johannes Meyer
209c084f51
Form: Only add the ViewHelper decorator for hidden form fields
...
refs #5543
2015-10-01 18:31:05 +02:00
Johannes Meyer
14ae04b631
RecursiveNavigationRenderer: Allow to enforce the standard item renderer
2015-10-01 17:43:48 +02:00
Eric Lippmann
3d2521abf0
Merge branch 'master' into feature/dope-layout-5543
2015-10-01 17:42:24 +02:00
Johannes Meyer
8c8af9cd50
DashboardPane: Fix that ordering dashlets is persistent
2015-10-01 17:35:11 +02:00
Johannes Meyer
b63a956a38
Dashboard: Respect original dashlet order
2015-10-01 17:34:45 +02:00
Johannes Meyer
0cc06d6af9
NavigationItem: Improve merge "algorithm"
2015-10-01 17:12:55 +02:00
Thomas Gelf
270520eac3
helpers/icon: allow for img urls outside of icons
...
Icon images where restricted to img/icons, this did not allow modules
to use custom images. Left behaviour for img urls without slash
untouched.
2015-10-01 16:52:39 +02:00
Thomas Gelf
cb5f741f22
UserNavigationItemRenderer: disable avatar
...
Broken on ff, no such image, rendering issues - postponed
2015-10-01 16:39:20 +02:00
Johannes Meyer
d54e5f62e6
NavigationItem: Accept priority while merging if none is set yet
2015-10-01 16:32:47 +02:00
Eric Lippmann
08ab0befcd
CSS: compat.less and monitoring detail
...
refs #5543
2015-10-01 16:31:25 +02:00
Johannes Meyer
57f30b1f92
Do not apply server side sorting for paged search requests
...
Revert this prior start working on #10147
refs #10147
2015-10-01 15:47:11 +02:00
Johannes Meyer
c7d5e1456a
Navigation: Allow basic wildcard to share navigation items
2015-10-01 13:56:28 +02:00