summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/tests
Commit message (Collapse)AuthorAgeFilesLines
* Fix usersInGroup retrievalArthur Schiwon2017-04-251-0/+37
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Merge branch 'master' of https://github.com/Xuanwo/server into Xuanwo-master2Arthur Schiwon2017-04-251-0/+105
|\
| * user_ldap: Add support for gidNumberXuanwo2017-04-251-0/+105
| | | | | | | | | | | | | | | | | | | | | | | | This patch is based on the work of @dleeuw (https://github.com/dleeuw) (See https://github.com/nextcloud/server/issues/2640#issuecomment-269615883 for more details). The difference is user & group data will be written into cache to have better performance, and functions splited from primaryGroupID series to make them more readable. Fixed https://github.com/nextcloud/server/issues/2640 Signed-off-by: Xuanwo <xuanwo@yunify.com>
* | Merge pull request #1023 from GitHubUser4234/ldap_password_renew_prblizzz2017-04-2410-132/+300
|\ \ | | | | | | Handle password expiry in user_ldap
| * | unit test adjustmentRoger Szabo2017-04-071-21/+31
| | | | | | | | | | | | Signed-off-by: Roger Szabo <roger.szabo@web.de>
| * | lower case for attributesRoger Szabo2017-04-061-7/+7
| | | | | | | | | | | | Signed-off-by: Roger Szabo <roger.szabo@web.de>
| * | usertest adjustmentRoger Szabo2017-03-311-1/+1
| | | | | | | | | | | | Signed-off-by: Roger Szabo <roger.szabo@web.de>
| * | usertest adjustmentRoger Szabo2017-03-311-11/+11
| | | | | | | | | | | | Signed-off-by: Roger Szabo <roger.szabo@web.de>
| * | restore ldap_password_renew_prRoger Szabo2017-03-3110-120/+278
| | | | | | | | | | | | Signed-off-by: Roger Szabo <roger.szabo@web.de>
* | | Change LDAP method namesMorris Jobke2017-04-122-5/+5
| | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Update comments to NextcloudMorris Jobke2017-04-112-3/+3
|/ / | | | | | | | | | | | | * based on PR by @Ardinis * see #4311 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Include tests for "default" and "none" quotasJuan Pablo Villafáñez2017-03-291-0/+80
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Add new testes to cover more casesJuan Pablo Villafáñez2017-03-291-0/+210
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Adjust current tests to match the expectationsJuan Pablo Villafáñez2017-03-291-28/+26
|/ | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Remove legacy class OC_Group and OC_UserMorris Jobke2017-03-091-1/+1
| | | | | | * basically a straight replacement of the wrapped code at the calling code parts Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #3521 from nextcloud/ldap-fix-uuid-attr-detectionLukas Reschke2017-02-209-41/+608
|\ | | | | Fix Borken UUID Attribute Detection
| * add tests to DB groupArthur Schiwon2017-02-172-0/+12
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * Background jobs can take 4k of characters only. We find a good batch size.Arthur Schiwon2017-02-172-9/+69
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * Add repair stepsArthur Schiwon2017-02-175-1/+437
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * add integration test for uuid attr detectionArthur Schiwon2017-02-171-0/+86
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * Fix integration test by not relying on Fake instancesArthur Schiwon2017-02-173-40/+13
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Only request "IndexIgnore" if mod_autoindex is loadedRobert Scheck2017-02-201-0/+2
|/ | | | Signed-off-by: Robert Scheck <robert@fedoraproject.org>
* Merge pull request #3264 from nextcloud/ldap-deny-long-dnsMorris Jobke2017-01-261-1/+2
|\ | | | | Gracefully deny users or groups with too long DNs
| * Gracefully deny users or groups with too long DNsArthur Schiwon2017-01-251-1/+2
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Fix testsJoas Schilling2017-01-251-1/+1
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix app section testsJoas Schilling2017-01-191-2/+16
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add testsLukas Reschke2016-11-234-0/+263
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* restore ldap_password_prroot2016-11-231-1/+100
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* fix and tidy up tests after merge conflictsArthur Schiwon2016-10-131-16/+8
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Update tests for phunit 5.5Victor Dubiniuk2016-10-135-30/+47
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Use more IConfig and add unit testsRoeland Jago Douma2016-10-101-0/+95
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* DI IConfig into ldap helperRoeland Jago Douma2016-10-108-9/+9
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* cache loginName2UserName and cover the method with unit testsArthur Schiwon2016-10-071-8/+118
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* get rid of test warningsArthur Schiwon2016-10-061-21/+22
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Fix the User_LDAP appJoas Schilling2016-09-123-5/+0
|
* Fix getMock user_ldapRoeland Jago Douma2016-09-069-84/+128
|
* fix a few minor code smellsJörn Friedrich Dreyer2016-08-294-11/+3
|
* Use MockBuilder instead of createMockLukas Reschke2016-08-152-2/+2
| | | | CI uses an older PHPUnit
* Add unit testsLukas Reschke2016-08-152-0/+152
|
* Nextcloud license header for new filesroot2016-07-281-8/+10
|
* Merge branch 'master' of https://github.com/nextcloud/serverroot2016-07-2711-21/+36
|\
| * fix autoloading in LPAP integration tests, resolves #544Arthur Schiwon2016-07-2511-21/+36
| |
* | comments amendedroot2016-07-271-1/+0
| |
* | final changesroot2016-07-271-1/+1
| |
* | New LDAPProvider for user_ldaproot2016-07-228-31/+386
|/
* Fix apps/Joas Schilling2016-07-2129-54/+85
|
* Escape special characters (#25429)Aaron Wood2016-07-201-1/+1
| | | | | | | | | | | | | | | | | | * Escape LIKE parameter * Escape LIKE parameter * Escape LIKE parameter * Escape LIKE parameter * Escape LIKE parameter * Use correct method in the AbstractMapping class * Change the getNamesBySearch method so that input can be properly escaped while still supporting matches * Don't escape hardcoded wildcard
* Add unit test for LDAP multi group cachingVincent Petry2016-06-091-0/+53
|
* Update license headersLukas Reschke2016-05-2629-31/+50
|
* Fix the tests againJoas Schilling2016-05-254-4/+4
|