summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/lib/User
Commit message (Collapse)AuthorAgeFilesLines
* do not forgot to store the second displayname portionArthur Schiwon2018-12-211-1/+1
| | | | | | otherwise it causes a chain reaction of system addressbook updates Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Backport of #12054 to stable13Arthur Schiwon2018-10-301-2/+11
| | | | | | | | | | | | | | | only write when the displayname differs, but then announce it refs #5212 and fixes #9112 Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de> do not run into UniqueConstraintViolationException … when an unmapped user logs in for the first time when background job mode is ajax and no memcache was configured. Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* remove unneeded empty search attribute values, fixes #12086Arthur Schiwon2018-10-291-0/+7
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* allow admin to disable fetching of avatars as well as a specific attributeArthur Schiwon2018-07-052-10/+15
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* let user set avatar in nextcloud von LDAP provides invalid image dataArthur Schiwon2018-07-031-10/+14
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* constants belong to Util in 13Arthur Schiwon2018-07-021-8/+9
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* lower log level for quota manipulation casesArthur Schiwon2018-07-021-29/+24
| | | | | | and simplify the forest of ifs a little bit Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Fix "Invalid argument supplied for foreach()"Roger Szabo2018-05-291-2/+2
| | | | Signed-off-by: Roger Szabo <roger.szabo@web.de>
* tryfix needsRefresh unit testssidey792017-11-101-1/+1
| | | | | | Forced updateAttributesInterval from getAppValue to int Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Fixed Typo in user.phpsidey792017-11-101-1/+1
| | | | | | Fixed a typo for the app config prameter updateAttributesInterval Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Update User.phpsidey792017-11-101-2/+1
| | | | | | | Makes the time between needsRefresh configurable via app config option updateAttribuesInterval. Default is still 86400 secons which is one day. Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* move LDAP user attributes "sync" to background (except for ajax jobs)Arthur Schiwon2017-11-092-8/+12
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Update license headersMorris Jobke2017-11-062-2/+6
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Keep the current quota if no suitable quota is foundJuan Pablo Villafáñez2017-09-281-1/+0
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* listen to deletion hooks for proper handling, adjust and add testsArthur Schiwon2017-08-311-0/+13
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* simplify returning the homePath and fixing #4117Arthur Schiwon2017-08-311-5/+7
| | | | | | | | homesToKill was not set in runtime since some changes some place else. It required deleteUser() to be called first. The method acts independent of it now. Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Use correct plural form and add special strings for tomorrow and todayJoas Schilling2017-04-261-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #1023 from GitHubUser4234/ldap_password_renew_prblizzz2017-04-242-24/+139
|\ | | | | Handle password expiry in user_ldap
| * unit test adjustmentRoger Szabo2017-04-071-2/+2
| | | | | | | | Signed-off-by: Roger Szabo <roger.szabo@web.de>
| * blizzz comments 03.04.2017 with cachingRoger Szabo2017-04-061-2/+7
| | | | | | | | Signed-off-by: Roger Szabo <roger.szabo@web.de>
| * blizzz comments 03.04.2017Roger Szabo2017-04-061-12/+21
| | | | | | | | Signed-off-by: Roger Szabo <roger.szabo@web.de>
| * remove redundant tabsRoger Szabo2017-03-311-4/+4
| | | | | | | | Signed-off-by: Roger Szabo <roger.szabo@web.de>
| * restore ldap_password_renew_prRoger Szabo2017-03-312-24/+125
| | | | | | | | Signed-off-by: Roger Szabo <roger.szabo@web.de>
* | Update comments to NextcloudMorris Jobke2017-04-113-11/+11
|/ | | | | | | * based on PR by @Ardinis * see #4311 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add comments in the updateQuota method to explain the behaviorJuan Pablo Villafáñez2017-03-291-0/+14
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Check if the user exists before trying to set the quotaJuan Pablo Villafáñez2017-03-291-4/+9
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Correctly apply quotaJuan Pablo Villafáñez2017-03-291-6/+33
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Harden emptyVictor Dubiniuk2016-10-131-13/+14
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Log the error with display nameJoas Schilling2016-10-061-2/+5
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Prevent user with empty uidJörn Friedrich Dreyer2016-10-041-0/+7
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Prevent setting email and triggering events at login time (#25553)Vincent Petry2016-07-271-1/+4
| | | | | | | | | | | | Whenever an LDAP user also has an email address defined in LDAP, the LDAP code will try and update the email address of the locally known user. This happens at login time or every time the user's LDAP attributes are processed. There is code listening to the email setting hook which updates the system address book, which also will trigger FS setup due to avatars and other things. This fix only sets the email address when really necessary.
* Fix apps/Joas Schilling2016-07-215-10/+15
|
* Cap LDAP user cache (#25323)Jörn Friedrich Dreyer2016-07-041-13/+15
|
* Update license headersLukas Reschke2016-05-265-5/+6
|
* Fix several minor issuesJoas Schilling2016-05-251-6/+3
|
* Move Connection to PSR-4Joas Schilling2016-05-251-1/+1
|
* Move FilesystemHelper to PSR-4Joas Schilling2016-05-252-3/+3
|
* Move LogWrapper to PSR-4Joas Schilling2016-05-252-3/+3
|
* Move lib\user to PSR-4Joas Schilling2016-05-255-0/+1153