summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/lib/LDAPProvider.php
Commit message (Collapse)AuthorAgeFilesLines
* extend ILDAPProvider to allow reading arbitrairy ldap attributes for usersRobin Appelman2021-01-191-11/+42
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Update license headers for 19Christoph Wurst2020-04-291-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-19/+17
| | | | | | | | | | | | | | | To continue this formatting madness, here's a tiny patch that adds unified formatting for control structures like if and loops as well as classes, their methods and anonymous functions. This basically forces the constructs to start on the same line. This is not exactly what PSR2 wants, but I think we can have a few exceptions with "our" style. The starting of braces on the same line is pracrically standard for our code. This also removes and empty lines from method/function bodies at the beginning and end. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Remove trailing whitespaces from commentsChristoph Wurst2020-04-091-2/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Remove trailing and in between spacesChristoph Wurst2020-04-091-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use exactly one empty line after the namespace declarationChristoph Wurst2020-04-091-1/+0
| | | | | | For PSR2 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix (array) indent style to always use one tabChristoph Wurst2020-04-091-2/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersChristoph Wurst2019-12-051-1/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Some php-cs fixesRoeland Jago Douma2019-11-221-3/+3
| | | | | | | | | | | * Order the imports * No leading slash on imports * Empty line before namespace * One line per import * Empty after imports * Emmpty line at bottom of file Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* fixes returning the base when multiple are specifiedArthur Schiwon2019-06-191-3/+21
| | | | | | | | | | | * reading the config directly will return the value with line breaks * using the proper accessor gives us all bases in an array * returns the first matching one * having user id provided for the group base is strange and does not let us operate like this. here we return the first one. might change in future, a backportable fix won't have an API change however. Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* fixes possible override of uniqueMember by autodetectionArthur Schiwon2019-05-171-1/+1
| | | | | | | | | | | | | * uniqueMember was the default so we did not know whether this setting is desired or the initial value * autodetection of the user-group association attribute runs only when it was not set (as far as we knew) * the default is now empty * thus LDAPProvider might return this value as well (in exceptional cases) * if a group base is given (edge case), use this instead of general base * resolves #12682 Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Update license headersMorris Jobke2017-11-061-3/+3
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* User_LDAP plugins: smaller fixesVinicius Cubas Brand2017-11-031-0/+2
| | | | Signed-off-by: Vinicius Cubas Brand <viniciuscb@gmail.com>
* Plugins infrastructure in User_LDAPVinicius Cubas Brand2017-11-031-18/+121
| | | | Signed-off-by: Vinicius Cubas Brand <viniciuscb@gmail.com>
* Fix the User_LDAP appJoas Schilling2016-09-121-2/+1
|
* Nextcloud license header for new filesroot2016-07-281-8/+10
|
* final changesroot2016-07-271-12/+11
|
* New LDAPProvider for user_ldaproot2016-07-221-0/+187