9423 Commits

Author SHA1 Message Date
Thomas Gelf
99a6bc12a9 ApplicationBootstrap: register global app dir 2015-11-13 11:53:14 +01:00
Thomas Gelf
9270ef6d6f Application\Web: less assistance for class loader 2015-11-13 11:52:13 +01:00
Thomas Gelf
05b7388a18 ClassLoader: completely refactored 2015-11-13 11:52:13 +01:00
Thomas Gelf
a1832e1424 Modules/Manager: did we load all enabled modules? 2015-11-13 11:52:13 +01:00
Thomas Gelf
f9a0e7dec6 Module: provide getApplicationDir() 2015-11-13 11:52:13 +01:00
Thomas Gelf
7a2824e070 ApplicationBootstrap: syntax 2015-11-13 11:51:41 +01:00
Thomas Gelf
210053462e doc/installation.md: fix rendering issues
Code prefixed with # was interpreted as a chapter. We should fix that
issue, this is only a quickfix
2015-11-13 09:33:32 +01:00
Johannes Meyer
9f2db655c9 Merge branch 'bugfix/pgsql-queries-apply-lower-on-select-columns-10364'
fixes #10364
refs #9954
refs #9955
2015-11-12 09:18:22 +01:00
Johannes Meyer
651ce0bd04 Merge branch 'master' into bugfix/pgsql-queries-apply-lower-on-select-columns-10364 2015-11-12 09:18:06 +01:00
Johannes Meyer
dc7756c599 DbRepository: Fix that PostgreSQL queries do not apply LOWER on order cols
refs #10364
refs #9955
2015-11-12 09:13:46 +01:00
Johannes Meyer
439fc28d0f DbRepository: Add missing use statement for class FilterExpression
refs #10364
2015-11-12 08:23:35 +01:00
Thomas Gelf
cbd1629176 DataView/Host|ServiceStatus: allow hard_state cols 2015-11-11 17:13:41 +01:00
Johannes Meyer
d2b8ed243f Repository: Accept parameter $filter in method requireFiltercolumn()
This allows to adjust more than the name of the column if necessary.

refs #10364
2015-11-11 16:05:54 +01:00
Johannes Meyer
39f4d869b7 IdoQuery: Fix that PostgreSQL queries do not apply LOWER() on order cols
refs #10364
refs #9955
2015-11-11 15:25:40 +01:00
Johannes Meyer
22f966db43 DbRepository: Fix that PostgreSQL queries use LOWER() on non-CI columns
refs #10364
refs #9954
2015-11-11 15:06:18 +01:00
Johannes Meyer
0b2b1c5d1e IdoQuery: Fix that PostgreSQL queries use LOWER() on non-CI columns
refs #10364
refs #9954
2015-11-11 14:33:00 +01:00
Johannes Meyer
e58d747d4a Merge branch 'master' into bugfix/pgsql-queries-apply-lower-on-select-columns-10364 2015-11-11 13:37:14 +01:00
Johannes Meyer
1bfefe060e Merge branch 'bugfix/unreliable-attribute-ambiguity-check-10567'
fixes #10567
2015-11-11 13:10:49 +01:00
Johannes Meyer
d896972f5f puppet: Add new openldap group based on the nis.schema 2015-11-11 13:04:26 +01:00
Johannes Meyer
cf7c99ff02 puppet: Correct DN used to add jdoe as member to the group Users 2015-11-11 13:03:55 +01:00
Johannes Meyer
d2cc854a61 LdapUserBackend: Set a query's base DN when a table gets required
This ensures that the query receives the correct base DN even if the table
gets adjusted by calling from() subsequently.

refs #10567
2015-11-11 12:55:17 +01:00
Johannes Meyer
8bf4e8d217 LdapUserGroupBackend: Set a query's base DN when a table gets required
This ensures that the query receives the correct base DN even if the table
gets adjusted by calling from() subsequently.

refs #10567
2015-11-11 12:54:49 +01:00
Johannes Meyer
cf193f2c1b RepositoryQuery: Initialize property $query before requiring a new table
Since $this gets passed to Repository::requireTable() it may be possible
that some repository tries to access the underlying native query so we
need to ensure that we're able to actually provide it.

refs #10567
2015-11-11 12:48:01 +01:00
Johannes Meyer
31b584b338 LdapConnection: Fix method fetchOne()
The method suffered from multiple issues:
* Actual NULL values were interpreted as if the row does not have any cols
* Which attribute's value got returned was dependent on the result set instead of the desired columns

refs #10567
2015-11-11 12:44:08 +01:00
Johannes Meyer
2917f352b5 Merge branch 'master' into bugfix/unreliable-attribute-ambiguity-check-10567
Conflicts:
	library/Icinga/Authentication/UserGroup/LdapUserGroupBackend.php
	library/Icinga/Protocol/Ldap/LdapConnection.php
2015-11-11 11:53:19 +01:00
Johannes Meyer
453aa864cc LdapUserGroupBackend: Set the appropriate base dn when resolving dns
refs #10567
2015-11-11 11:38:32 +01:00
Johannes Meyer
c85bce7211 LdapConnection: Add method ldapSearch()
This will now emit a debug message for each issued search operation.

refs #10567
2015-11-11 10:01:00 +01:00
Johannes Meyer
60a951a97d Logger: Add method getLevel()
refs #10567
2015-11-11 09:59:28 +01:00
Johannes Meyer
a662fc9af0 Controller: Re-add "view" as preserved column
We're still utilizing this in the dashboard..
2015-11-10 16:08:02 +01:00
Johannes Meyer
3d735693db IdoQuery: Fix method isCaseInsensitive() returning true for .. everything ..
..with a PostgreSQL backend.

refs #10364
2015-11-10 16:05:05 +01:00
Johannes Meyer
52606eb2e7 Revert "monitoring: Fix handling of collated columns w/ PostgreSQL"
This reverts commit f5ffa8047c97023b2b53b8404957c9ff1306ba85.

refs #10364
refs #9954
refs #9955
2015-11-10 15:59:16 +01:00
Johannes Meyer
ad5a43ce7b HostserviceproblemsummaryQuery: Group by "so.name1"
fixes #10589
refs #10490
2015-11-10 15:04:00 +01:00
Johannes Meyer
7f5118a06a Merge branch 'bugfix/usergroup-search-does-not-work-10370'
fixes #10370
fixes #10367
2015-11-10 14:08:51 +01:00
Johannes Meyer
cee639d689 LdapConnection: Re-apply a query's filter on unfolded rows
refs #10370
2015-11-10 14:03:08 +01:00
Johannes Meyer
e408630e34 LdapConnection: Do not require calling array_flip for method cleanupAttributes()
Seems to be a relict of an earlier implementation..

refs #10370
2015-11-10 13:41:08 +01:00
Johannes Meyer
666e67b405 LdapConnection: Prefer strict checks when utilizing in_array() 2015-11-10 13:17:30 +01:00
Johannes Meyer
6c07881466 FilterChain: Fix and document method listFilterColumns()
refs #10370
2015-11-10 13:16:40 +01:00
Johannes Meyer
7efefc1975 UserController: Use "group" instead of "group_name" for the membership quicksearch
refs #10370
2015-11-10 11:52:54 +01:00
Johannes Meyer
72f3ba1161 LdapUserGroupBackend: Offer "user_name" as filter column instead of "user"
refs #10370
2015-11-10 11:52:06 +01:00
Johannes Meyer
8d04c8548a Do not hardcode action specific parameters to preserve in the FilterEditor
This should only happen for other control parameters or framework
specific stuff. This is still subject to improvement, as this solution is
rather ugly imho..

refs #10370
2015-11-10 11:51:26 +01:00
Johannes Meyer
d56056bba7 LdapUserGroupBackend: Utilize $virtualTables 2015-11-10 09:56:58 +01:00
Johannes Meyer
505f5902c7 LdapUserBackend: Utilize $virtualTables 2015-11-10 09:56:27 +01:00
Johannes Meyer
c416216822 LdapUserGroupBackend: Fix typo in method requireTable()
refs #10370
2015-11-09 16:00:55 +01:00
Johannes Meyer
ffcc2ed56b LdapUserGroupBackend: Fix exception when searching for single chars
refs #10370
2015-11-09 16:00:24 +01:00
Johannes Meyer
4341eef4b1 LdapQuery: Add support for Icinga\Data\Filter
refs #10370
2015-11-09 15:59:48 +01:00
Johannes Meyer
9b826e6e5f Drop class Ldap\Expression and introduce LdapQuery::$nativeFilter
I'm about to add support for our Data\Filter implementation, since it cannot
parse native LDAP filters and a user may have configured such, we need to
differentiate the two types of filter.

refs #10370
2015-11-09 13:04:02 +01:00
Johannes Meyer
cfb26e22b3 LdapUserGroupBackend: Dynamically verify member attribute ambiguity
refs #10567
2015-11-09 11:41:11 +01:00
Johannes Meyer
6551a86d4d LdapRepository: Drop method isAmbiguous() and introduce isRelatedDn()
refs #10567
2015-11-09 11:40:30 +01:00
Eric Lippmann
62eb767cd5 RPM: Ship Zend Framework as vendor libraries for OpenSUSE and SLES
Afaik, there's no change to distinct OpenSUSE and SLES in spec files. OpenSUSE has Zend Framework packages through the server:monitoring repository available but SLES not. Thus we ship Zend Framework as vendor libraries for both for now.

fixes #10328
2015-11-09 10:45:26 +01:00
mbaschnitzi
2e650f6aa4 Rename moduel.info to module.info
Fix a typo in filename of iframe module info file.

Signed-off-by: Eric Lippmann <eric.lippmann@netways.de>
2015-11-09 09:56:39 +01:00