summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/tests/LDAPProviderTest.php
Commit message (Collapse)AuthorAgeFilesLines
* fix(users): Don't crash if disabled user is missing in the databasebackport/48207/stable30Louis Chemineau2024-09-231-0/+2
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* chore: Add SPDX headerAndy Scherzinger2024-05-301-25/+2
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* fix(user_ldap): Fix tests using wrong typesCôme Chilliet2024-04-091-4/+6
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix!: Remove symfony EventDispatcherInterface from UserJoas Schilling2023-07-271-2/+0
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Remove bogus expects from user_ldap testsCôme Chilliet2022-06-141-3/+0
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Remove deprecated at() matcher from user_ldap testsCôme Chilliet2022-06-131-14/+14
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Add method to read multi-value attributes from ldap.Daniel Kesselberg2021-06-161-0/+191
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-041-2/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Cache the user backend info for 300sJoas Schilling2021-02-151-1/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Use query builder instead of OC_DB in user_ldapJoas Schilling2020-11-061-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Format code to a single space around binary operatorsChristoph Wurst2020-10-051-3/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-4/+2
| | | | | | | | | | | | | | | 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>
* Fix (array) indent style to always use one tabChristoph Wurst2020-04-091-28/+28
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use the short array syntax, everywhereChristoph Wurst2020-03-261-3/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersChristoph Wurst2019-12-051-1/+5
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add typed create user eventsChristoph Wurst2019-12-031-67/+72
| | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Mode to modern phpunitRoeland Jago Douma2019-11-271-44/+44
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Make phpunit8 compatibleRoeland Jago Douma2019-11-271-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Some php-cs fixesRoeland Jago Douma2019-11-221-1/+1
| | | | | | | | | | | * 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-16/+61
| | | | | | | | | | | * 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>
* Fix testsJulius Härtl2019-03-011-4/+6
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Fix risky tests without assertionsJoas Schilling2018-01-251-4/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* 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/+45
| | | | Signed-off-by: Vinicius Cubas Brand <viniciuscb@gmail.com>
* Plugins infrastructure in User_LDAPVinicius Cubas Brand2017-11-031-56/+318
| | | | Signed-off-by: Vinicius Cubas Brand <viniciuscb@gmail.com>
* DI IConfig into ldap helperRoeland Jago Douma2016-10-101-2/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Nextcloud license header for new filesroot2016-07-281-8/+10
|
* comments amendedroot2016-07-271-1/+0
|
* New LDAPProvider for user_ldaproot2016-07-221-0/+337