aboutsummaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/lib
Commit message (Collapse)AuthorAgeFilesLines
* l10n: Spelling unificationValdnet2021-05-211-2/+2
| | | | | Spelling unification in Transifex. Signed-off-by: Valdnet 47037905+Valdnet@users.noreply.github.com
* do not try to search after the last pageArthur Schiwon2021-04-272-3/+47
| | | | | | | - saves an LDAP requests in these cases - prevents a Protocol Error logged on < 7.3 API (for backports) Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* removes PagedResults adapter for PHP < 7.3Arthur Schiwon2021-04-262-135/+1
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Move over notification to new registrationRoeland Jago Douma2021-04-161-2/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #25326 from nextcloud/ldap-factory-no-ldapMorris Jobke2021-03-311-0/+4
|\ | | | | make ILDAPProviderFactory usable when there is no ldap setup
| * make ILDAPProviderFactory usable when there is no ldap setupRobin Appelman2021-03-311-0/+4
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Add json, yaml output options to ldap:show-configJohannes Leuker2021-03-311-15/+41
|/ | | | Signed-off-by: Johannes Leuker <j.leuker@hosting.de>
* Merge pull request #26161 from ↵Joas Schilling2021-03-172-7/+7
|\ | | | | | | | | nextcloud/bugfix/noid/improve-matching-of-phonebook-searches Improve search results when only phonebook-matches can we autocompleted
| * Fix parameter types in docsJoas Schilling2021-03-172-7/+7
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | adds ldap user:reset commandArthur Schiwon2021-03-172-3/+129
|/ | | | | | | | - allows to delete data of existing LDAP users, which otherwise is safe guarded - ensures that the user is not being deleted on LDAP through a plugin Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Merge pull request #25660 from hosting-de/feature/add-backend-list-groupsRoeland Jago Douma2021-03-051-1/+11
|\ | | | | Show group backends in occ group:list --info and group:info
| * Show group backends in occ group:list --info and group:infoJohannes Leuker2021-03-011-1/+11
| | | | | | | | Signed-off-by: Johannes Leuker <j.leuker@hosting.de>
* | Merge pull request #25860 from nextcloud/fix/noid/ldap-bind-expiredblizzz2021-03-021-3/+6
|\ \ | | | | | | do not die after LDAP auth failed with expired acc
| * | do not die after LDAP auth failed with expired accArthur Schiwon2021-03-011-3/+6
| | | | | | | | | | | | | | | | | | - some servers return error code 53 Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | fix detecting cyclic group membershipsArthur Schiwon2021-02-231-10/+21
|/ / | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Bump nextcloud/coding-standard from 0.3.0 to 0.5.0dependabot-preview[bot]2021-02-182-3/+3
| | | | | | | | | | | | | | | | | | | | Bumps [nextcloud/coding-standard](https://github.com/nextcloud/coding-standard) from 0.3.0 to 0.5.0. - [Release notes](https://github.com/nextcloud/coding-standard/releases) - [Changelog](https://github.com/nextcloud/coding-standard/blob/master/CHANGELOG.md) - [Commits](https://github.com/nextcloud/coding-standard/compare/v0.3.0...v0.5.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Some psalm OfflineUser fixesRoeland Jago Douma2021-02-151-8/+8
|/ | | | | | For #25641 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #25101 from nextcloud/fix/noid/ldap-known-groupsChristoph Wurst2021-01-291-1/+1
|\ | | | | LDAP: make actually use of batch read known groups
| * really use known groupsArthur Schiwon2021-01-121-1/+1
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | fix parameter provided as string not arrayArthur Schiwon2021-01-281-1/+3
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Merge pull request #25128 from nextcloud/ldapprovider-get-propertyblizzz2021-01-221-11/+42
|\ \ | | | | | | extend ILDAPProvider to allow reading arbitrairy ldap attributes for users
| * | extend ILDAPProvider to allow reading arbitrairy ldap attributes for usersRobin Appelman2021-01-191-11/+42
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | silence log messageArthur Schiwon2021-01-211-1/+1
|/ / | | | | | | | | | | | | - this appears too often (in some configurations) when qualifying group members which do not meet the criteria Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Merge pull request #25036 from nextcloud/fix/noid/limitied-allowed-items-db-in_2blizzz2021-01-141-6/+47
|\ \ | |/ |/| respect DB restrictions on number of arguments in statements and queries
| * silence psalm false positiveArthur Schiwon2021-01-131-0/+2
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * respect DB limits limit per statement and queryArthur Schiwon2021-01-111-6/+45
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Migrate internal classes to the OCP db col typesChristoph Wurst2021-01-121-1/+1
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Bump doctrine/dbal from 2.12.0 to 3.0.0Christoph Wurst2021-01-081-25/+43
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Revert "(LDAP) respect DB limits of arguments in an IN statement"Roeland Jago Douma2021-01-081-17/+5
|
* respect DB limits of arguments in a IN listArthur Schiwon2021-01-071-5/+17
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Update license headersChristoph Wurst2020-12-303-0/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #22916 from J0WI/unifiy-links-to-php.netRoeland Jago Douma2020-12-223-3/+3
|\ | | | | Unify links to php.net
| * Unify links to php.netJ0WI2020-09-173-3/+3
| | | | | | | | | | | | Update all links to https://www.php.net/ Signed-off-by: J0WI <J0WI@users.noreply.github.com>
* | Update all license headers for Nextcloud 21Christoph Wurst2020-12-1615-25/+10
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Merge pull request #24402 from nextcloud/fix/24252/ldap-ingroup-memberidblizzz2020-12-151-11/+22
|\ \ | | | | | | LDAP: fix inGroup for memberUid type of group memberships
| * | check number of members after potential resolving of rdnsArthur Schiwon2020-11-271-4/+5
| | | | | | | | | | | | | | | | | | | | | - the type check is not necessary anymore for the return type of _groupMembers() Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | use faster and less hungry foreachArthur Schiwon2020-11-271-10/+8
| | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | moved the array_reduce to fix large search caseTobias Perschon2020-11-271-10/+17
| | | | | | | | | | | | | | | | | | also added some additional comments and renamed some vars to make it intuitive whats in them Signed-off-by: Tobias Perschon <tobias@perschon.at>
| * | flatten result array as expected by following codeArthur Schiwon2020-11-261-2/+7
| | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | Migrate LDAP's install.php to a repair stepChristoph Wurst2020-11-272-12/+58
|/ / | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Don't leave cursors open when tests failJoas Schilling2020-11-091-1/+4
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | fix insert valuesArthur Schiwon2020-11-061-2/+2
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | only delete specified configArthur Schiwon2020-11-061-0/+1
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Correctly place the array typeJoas Schilling2020-11-061-1/+1
| |
* | Use query builder to interact with member managementJoas Schilling2020-11-061-12/+16
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Use query builder instead of OC_DB in user_ldapJoas Schilling2020-11-0610-36/+30
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | fix potentially passing null to events where IUser is expectedArthur Schiwon2020-10-301-2/+7
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | adds unit test for updategroups background jobArthur Schiwon2020-10-301-56/+92
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Document the backend registered events of LDAPMorris Jobke2020-10-292-0/+10
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | user share manager to determine share ownershipArthur Schiwon2020-10-268-112/+74
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>