summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* fix unit tests after rebaseArthur Schiwon2017-11-092-48/+67
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* add Sync testArthur Schiwon2017-11-091-0/+130
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* adjust testsArthur Schiwon2017-11-095-403/+413
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* don't skip updating when ajax is set as background job modeArthur Schiwon2017-11-092-5/+75
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* move ldap user sync to background (WIP)Arthur Schiwon2017-11-091-91/+116
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Change @georgehrke's emailMorris Jobke2017-11-061-0/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update license headersMorris Jobke2017-11-0629-51/+115
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* User_LDAP plugins: smaller fixesVinicius Cubas Brand2017-11-035-25/+77
| | | | Signed-off-by: Vinicius Cubas Brand <viniciuscb@gmail.com>
* Plugins infrastructure in User_LDAPVinicius Cubas Brand2017-11-0314-127/+1707
| | | | Signed-off-by: Vinicius Cubas Brand <viniciuscb@gmail.com>
* Use ::class in test mocksMorris Jobke2017-10-242-4/+5
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #6677 from nextcloud/downstream-dont-reset-quotaLukas Reschke2017-10-191-15/+10
|\ | | | | don't reset quota
| * Adjust unittestJuan Pablo Villafáñez2017-09-281-15/+10
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | fix testArthur Schiwon2017-09-291-1/+6
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | fix LDAP User deletion (cleanup)Arthur Schiwon2017-09-299-60/+80
|/ | | | | | | | | 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>
* adapted integration testsArthur Schiwon2017-09-142-13/+35
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* improve and extend paging integration testArthur Schiwon2017-09-142-11/+28
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* fix limit-flaw in search on paged resultsArthur Schiwon2017-09-141-4/+9
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Merge pull request #5689 from nextcloud/fix-4117Morris Jobke2017-09-143-25/+137
|\ | | | | LDAP: simplify returning the homePath and fixing #4117
| * listen to deletion hooks for proper handling, adjust and add testsArthur Schiwon2017-08-313-25/+137
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Merge pull request #5466 from jlehtoranta/ldap-connectivity-fixesMorris Jobke2017-09-041-0/+98
|\ \ | |/ |/| LDAP Connectivity Fixes
| * LDAP: Add testStartTlsNegotiationFailure unit testJarkko Lehtoranta2017-07-231-0/+50
| | | | | | | | Signed-off-by: Jarkko Lehtoranta <devel@jlranta.com>
| * LDAP: Add testBindWithInvalidCredentials unit testJarkko Lehtoranta2017-07-231-0/+44
| | | | | | | | Signed-off-by: Jarkko Lehtoranta <devel@jlranta.com>
| * LDAP: Fix testUseBackupServer unit testJarkko Lehtoranta2017-07-231-0/+4
| | | | | | | | Signed-off-by: Jarkko Lehtoranta <devel@jlranta.com>
* | Fix ldap testsRoeland Jago Douma2017-08-092-0/+11
|/ | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* add convenience script to run all tests at onceArthur Schiwon2017-05-261-0/+34
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Make IDE happyArthur Schiwon2017-05-2610-18/+81
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* add missing INotificationManager when creating User backend, LDAPArthur Schiwon2017-05-263-5/+6
| | | | | | UserManager Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* 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