summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/lib/connection.php
Commit message (Collapse)AuthorAgeFilesLines
* Split mapping from Access and Helper classes into it's own. Fully test them, ↵Arthur Schiwon2014-12-191-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | too. remove unused methods split mapping methods off from Access class fix DB query handling move 'clear mapping' methods from static helper to new mapping class add tests test directly with DB finishing tests and fix return value from setDNbyUUID add corresponding class for groups and make abstract test class neutral. helper tests is now obsolete as the tested functions were moved to the new mapper class. add missing info to PHPDoc add unmap method fix namespaces fix test inheritance PHPDoc and a small code restructure for scrutinizer, no effective changes PostgreSQL does not accept LIMIT in DELETE queries phpdoc fixes, no code changes
* support for AD primary groupsArthur Schiwon2014-07-081-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | support for primary groups actually the problem is only known on AD, it is only needed to take care of their attributes adjust to ADs special behaviour this change was not intended cache the SID value so it is not requested over and over again theres only one, use singular we are access add tests for new Access methods add tests for new Group methods address scrutinizer findings, mostly doc call ldap_explode_dn from ldap wrapper, enables tests without php5-ldap PHP Doc yo dawg, i heard you like backslashes … php doc fix PHPDoc updated and typos fixed while reviewing
* Port of LDAP Wizard: get correct total no of users, groups and complete ↵Arthur Schiwon2014-06-251-2/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | list of groups on big setups #9002 fix PHPdoc Conflicts: apps/user_ldap/lib/connection.php add method to count groups on LDAP Conflicts: apps/user_ldap/lib/access.php LDAP Wizard: count users and groups with the power of paged search Conflicts: apps/user_ldap/lib/wizard.php consolidate requirement check fix PHPdoc Conflicts: apps/user_ldap/lib/access.php Wizard: get really all groups from LDAP by power of Paged Search Conflicts: apps/user_ldap/lib/wizard.php make all this work in an early configuration state in the wizard by marking the config active and ignoring the validation state. Conflicts: apps/user_ldap/lib/connection.php simplify two methods a bit, because they are not used for group search anymore Conflicts: apps/user_ldap/lib/wizard.php remove unused vars; increase scrutinizer happiness
* Remove all occurences of @brief and @returns from PHPDocMorris Jobke2014-05-191-9/+9
| | | | * test case added to avoid adding them later
* Fix whitespace issuesRobin McCorkell2014-05-161-1/+1
|
* Fix PHPDoc in /appsRobin McCorkell2014-05-161-11/+11
|
* Merge pull request #8556 from owncloud/kill-legacy-code-masterThomas Müller2014-05-121-1/+1
|\ | | | | Kill legacy code master
| * remove legacy aka deprecated code: OC_CacheThomas Müller2014-05-121-1/+1
| |
* | That's bool and not always trueLukas Reschke2014-05-111-1/+1
| |
* | Use @return instead of @returnsLukas Reschke2014-05-111-1/+1
| |
* | Use proper PHPDoc and variable names in the LDAP libLukas Reschke2014-05-111-17/+36
|/ | | | My IDE was so sad about this that it marked the whole file in red and yellow and forced me to fix this.
* Fix PHPdoc in user_ldapBart Visscher2014-04-151-0/+3
| | | | using scrutinizer patch
* On clone create a new instance of the ConfigurationArthur Schiwon2014-03-211-0/+2
| | | | | To avide effects on the original instance of Connection when the clone is modified, for instance on authentication checks.
* Scrutinizer Auto-FixesScrutinizer Auto-Fixer2014-02-191-0/+3
| | | | | | | | | | | This patch was automatically generated as part of the following inspection: https://scrutinizer-ci.com/g/owncloud/core/inspections/cdfecc4e-a37e-4233-8025-f0d7252a8720 Enabled analysis tools: - PHP Analyzer - JSHint - PHP Copy/Paste Detector - PHP PDepend
* polish documentation based on scrutinizer patchesJörn Friedrich Dreyer2014-02-061-1/+7
|
* Merge branch 'master' into memcache-publicRobin Appelman2014-01-151-1/+2
|\ | | | | | | | | Conflicts: apps/user_ldap/lib/connection.php
| * LDAP: only read config from database, if configID is given. Not what we want ↵Arthur Schiwon2014-01-141-1/+2
| | | | | | | | to do when on-the-fly-testing settings from the admin page
* | Use $server->getMemCacheFactory() in ldap connectionRobin Appelman2014-01-091-1/+1
|/
* LDAP: don't validate unconfigured (new) LDAP server configs, fixes #5518Arthur Schiwon2013-10-241-0/+15
|
* resolve merge conflicts from rebaseArthur Schiwon2013-10-171-37/+20
|
* LDAP: move Configuration out of Connection into class of its own. The new ↵Arthur Schiwon2013-10-171-391/+207
| | | | wizard requires it.
* Doc fixArthur Schiwon2013-10-171-1/+1
|
* LDAP: allow different UUID attributes for groups and usersArthur Schiwon2013-10-041-24/+45
|
* LDAP: coding styleArthur Schiwon2013-09-271-3/+7
|
* LDAP: get rid of some PHP WarningsArthur Schiwon2013-09-271-1/+6
|
* LDAP: make Access be a dependency to the user and group backend instead of ↵Arthur Schiwon2013-09-271-9/+13
| | | | inheriting it.
* LDAP: use wrapper, not direct function callArthur Schiwon2013-09-271-1/+1
|
* LDAP: establish wrapper interface to allow proper mockingArthur Schiwon2013-09-271-3/+3
|
* LDAP: move is_resource check to ldap wrapper to make it mockableArthur Schiwon2013-09-271-4/+5
|
* Resolve merge conflictArthur Schiwon2013-09-271-11/+12
|
* LDAP: use memcache if availableArthur Schiwon2013-08-171-1/+6
|
* LDAP: only connect to LDAP once on loginArthur Schiwon2013-08-171-1/+13
|
* LDAP: even better check for emptiness, fixes #3815Arthur Schiwon2013-07-101-8/+19
|
* LDAP: append port when URL is passed in LDAP Host configuration, fixes #2600Arthur Schiwon2013-06-041-0/+4
|
* LDAP: fix possible recursionArthur Schiwon2013-05-251-0/+7
|
* LDAP: fix handling when LDAP Host is offlineArthur Schiwon2013-05-251-3/+2
|
* Merge branch 'master' into ldap_configurable_username_n_uuidArthur Schiwon2013-05-131-7/+7
|\
| * Merge pull request #3050 from owncloud/===_and_!==_in_user_ldap-appBart Visscher2013-05-071-7/+7
| |\ | | | | | | Use === and !== in user_ldap app
| | * Use !== and === in user_ldap app – Part 2kondou2013-04-201-7/+7
| | |
* | | LDAP: better variable nameArthur Schiwon2013-05-081-5/+9
| | |
* | | LDAP: implement r+w for new settingsArthur Schiwon2013-05-081-2/+11
|/ /
* / LDAP: do not reset UUID attribute setting when guid is detectedArthur Schiwon2013-05-061-1/+3
|/
* LDAP: remove unnecessary func call, was a leftover from earlier refactorArthur Schiwon2013-03-191-1/+0
|
* LDAP: simplify default for user home settings, fixes wrong display of ↵Arthur Schiwon2013-02-221-7/+4
| | | | default value in settings
* Merge pull request #1708 from owncloud/style-cleanup-user_ldapBernhard Posselt2013-02-171-17/+69
|\ | | | | Style cleanup user_ldap
| * Style cleanup user_ldapBart Visscher2013-02-141-18/+70
| |
* | LDAP: check array with isset first to avoid warnings about undefined indexArthur Schiwon2013-02-161-1/+2
| |
* | Fix NoSpaceAfterComma and SpaceBeforeCommaBart Visscher2013-02-141-1/+1
| |
* | Fix SpaceBeforeOpenBrace errorsBart Visscher2013-02-141-2/+2
|/
* Merge pull request #1493 from owncloud/fix_ldap_stored_homedirFrank Karlitschek2013-02-111-1/+6
|\ | | | | Fix ldap stored homedir