Lukas Reschke
4c5e7d270a
Add tests
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
7 years ago
root
861c8572c0
restore ldap_password_pr
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>
7 years ago
Arthur Schiwon
a49d571799
fix and tidy up tests after merge conflicts
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
7 years ago
Victor Dubiniuk
c4fcd1f282
Update tests for phunit 5.5
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
7 years ago
Roeland Jago Douma
7d2f70ef72
Use more IConfig and add unit tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
7 years ago
Roeland Jago Douma
bdf4bf4669
DI IConfig into ldap helper
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
7 years ago
Arthur Schiwon
a30341823e
cache loginName2UserName and cover the method with unit tests
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
7 years ago
Arthur Schiwon
979612fa08
get rid of test warnings
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
7 years ago
Joas Schilling
01cf85e4e5
Fix the User_LDAP app
7 years ago
Roeland Jago Douma
5fb2eee5df
Fix getMock user_ldap
7 years ago
Jörn Friedrich Dreyer
4d31caa6f8
fix a few minor code smells
8 years ago
Lukas Reschke
7ffb7b0d84
Use MockBuilder instead of createMock
CI uses an older PHPUnit
8 years ago
Lukas Reschke
8a7a0f3287
Add unit tests
8 years ago
root
bd65a17203
Nextcloud license header for new files
8 years ago
root
1c64ee67af
comments amended
8 years ago
root
32fb6beac3
final changes
8 years ago
Arthur Schiwon
686cb599b6
fix autoloading in LPAP integration tests, resolves #544
8 years ago
root
02ec8b1726
New LDAPProvider for user_ldap
8 years ago
Joas Schilling
813f0a0f40
Fix apps/
8 years ago
Aaron Wood
7c0de08cc4
Escape special characters (#25429)
* 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
8 years ago
Vincent Petry
059778bef0
Add unit test for LDAP multi group caching
8 years ago
Lukas Reschke
aba539703c
Update license headers
8 years ago
Joas Schilling
2c0743c46b
Fix the tests again
8 years ago
Joas Schilling
b9a26bca3b
Fix throws docs
8 years ago
Joas Schilling
3ef8c95b37
Move tests/ to PSR-4
8 years ago
Joas Schilling
c807a26bd8
Move Access to PSR-4
8 years ago
Joas Schilling
aa7b600383
Move Configuration to PSR-4
8 years ago
Joas Schilling
af0a6961b1
Move Connection to PSR-4
8 years ago
Joas Schilling
387019a212
Move FilesystemHelper to PSR-4
8 years ago
Joas Schilling
7db6b487f5
Move Helper to PSR-4
8 years ago
Joas Schilling
391531851c
Move interface to PSR-4
8 years ago
Joas Schilling
3690ce1b36
Move LDAP to PSR-4
8 years ago
Joas Schilling
6feccccbd5
Move LogWrapper to PSR-4
8 years ago
Joas Schilling
d4e828f39e
Move wizard
8 years ago
Joas Schilling
3f5e76162d
Move lib\user to PSR-4
8 years ago
Joas Schilling
b7fa527791
Move User_LDAP and User_Proxy to PSR-4
8 years ago
Joas Schilling
cbba55a26c
Move Group_LDAP and Group_Proxy to PSR-4
8 years ago
Morris Jobke
62a59854f0
Fix LDAP race conditions
* getFromCache is wrapped in isCached
* inbetween the two calls the cache entry hits it's TTL
* getFromCache returns null
* this fix only checkes if the returned value is null and
return only non-null values
8 years ago
Stefan Weil
16df1c5188
apps: Fix typos (found by codespell) (#23862)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
8 years ago
Arthur Schiwon
d8621c78ed
Avatar must be saved after login is done and external storages set up properly, fixes #21555
8 years ago
Arthur Schiwon
8e0bd5630c
fix writing to cache when fallback server should be used immediately
8 years ago
Lukas Reschke
933f60e314
Update author information
Probably nice for the people that contributed to 9.0 to see themselves in the AUTHORS file :)
8 years ago
Arthur Schiwon
d19c47a381
More fixed tests :)
8 years ago
Arthur Schiwon
e370b601db
fix unit tests
8 years ago
Arthur Schiwon
c1871f5787
Port of test_ldap_2nddispname to master
8 years ago
Thomas Müller
77069f5582
Use IUser::setEMailAddress in ldap as well
8 years ago
Thomas Müller
682821c71e
Happy new year!
8 years ago
Arthur Schiwon
1ed6132899
LDAP: do not attempt to process user records without display name, fixes fatal error
8 years ago
Arthur Schiwon
35a2639701
unit test on getHome in combination with OfflineUser
8 years ago
Arthur Schiwon
aedbc0c626
adjust unit test
8 years ago