summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/lib/User_Proxy.php
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' into fix/clean-ldap-access-factory-usageCôme Chilliet2022-11-211-2/+18
|\ | | | | Signed-off-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
| * Expose mapped user count from LDAP and use that for user limit checkCôme Chilliet2022-10-241-1/+17
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Fix return type for countUsers methodCôme Chilliet2022-10-251-2/+2
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Make sure to use AccessFactory to create Access instances and use DICôme Chilliet2022-10-251-2/+4
|/ | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* LDAP to no register new users when outside of fair use or over limitsArthur Schiwon2022-10-181-2/+37
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Fix psalm issue about userCountsCarl Schwan2022-03-111-1/+2
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Fix PHP 8.1 support for user_ldap applicationCôme Chilliet2021-12-161-1/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Ignore cache in occ ldap:check-ldap commandCôme Chilliet2021-11-221-3/+2
| | | | | | | | | This avoids having to wait or reset the cache after deleting a user in the LDAP. This also fixes a PHP error when running ldap:check-ldap --update on a deleted but cached user. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-041-1/+0
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fix parameter types in docsJoas Schilling2021-03-171-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* LDAP simplify User_Proxy and Group_Proxy signaturesArthur Schiwon2020-10-231-10/+2
| | | | | | | | | - make User_Proxy and Group_Proxy easy to instantiate - simplify dependent code - move commands to info.xml - make UpdateGroups job class non-static Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Use matching parameter names form interfaces and implementationsMorris Jobke2020-08-191-4/+6
| | | | | | Found by Psalm 3.14.1 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* formattingArthur Schiwon2020-04-231-5/+22
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* don't circulate with only one backendArthur Schiwon2020-04-171-1/+7
| | | | | | | - saves some overhead costs - in some occasions saves LDAP requests Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-16/+16
| | | | | | | | | | | | | | | 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>
* Update the license headers for Nextcloud 19Christoph Wurst2020-03-311-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use the short array syntax, everywhereChristoph Wurst2020-03-261-16/+16
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* decouple userExists from userExistsOnLDAP checkArthur Schiwon2020-01-081-8/+29
| | | | | | | allows to mark users as offline right away, avoids a gap of being not a user and causing weird side effects Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Update license headersChristoph Wurst2019-12-051-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* reduce adressbook change events and handlingArthur Schiwon2019-09-041-1/+1
| | | | | | ... from four to one on avatar updates 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>
* Plugins infrastructure in User_LDAPVinicius Cubas Brand2017-11-031-3/+28
| | | | Signed-off-by: Vinicius Cubas Brand <viniciuscb@gmail.com>
* fix LDAP User deletion (cleanup)Arthur Schiwon2017-09-291-2/+8
| | | | | | | | | discovered a bug in the integration test which lead to following a different code path and giving a false-positive success feedback. Also listens now to the evendispatcher instead of old hook system Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Fix commentsMorris Jobke2017-07-251-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #1023 from GitHubUser4234/ldap_password_renew_prblizzz2017-04-241-2/+4
|\ | | | | Handle password expiry in user_ldap
| * restore ldap_password_renew_prRoger Szabo2017-03-311-2/+4
| | | | | | | | Signed-off-by: Roger Szabo <roger.szabo@web.de>
* | Update comments to NextcloudMorris Jobke2017-04-111-3/+3
|/ | | | | | | * based on PR by @Ardinis * see #4311 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* restore ldap_password_prroot2016-11-231-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Roger Szabo <roger.szabo@web.de> remove notification part Signed-off-by: Roger Szabo <roger.szabo@web.de> blizzz comments Signed-off-by: Roger Szabo <roger.szabo@web.de> morris comment Signed-off-by: Roger Szabo <roger.szabo@web.de> improved error message for changing password Signed-off-by: Roger Szabo <roger.szabo@web.de> blizz comments 20161013 Signed-off-by: Roger Szabo <roger.szabo@web.de> Signed-off-by: Roger Szabo <roger.szabo@web.de> Adjust HintException usage Signed-off-by: Roger Szabo <roger.szabo@web.de> Signed-off-by: Roger Szabo <roger.szabo@web.de>
* comments amendedroot2016-07-271-1/+1
|
* New LDAPProvider for user_ldaproot2016-07-221-1/+31
|
* Fix apps/Joas Schilling2016-07-211-2/+3
|
* Update license headersLukas Reschke2016-05-261-2/+3
|
* Move interface to PSR-4Joas Schilling2016-05-251-1/+0
|
* Move Proxy to PSR-4Joas Schilling2016-05-251-2/+1
|
* Move lib\user to PSR-4Joas Schilling2016-05-251-2/+2
|
* Move User_LDAP and User_Proxy to PSR-4Joas Schilling2016-05-251-0/+276