summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/tests
Commit message (Collapse)AuthorAgeFilesLines
* Adjust unit testsLukas Reschke2015-10-161-8/+3
|
* Merge pull request #19635 from owncloud/fix-ldap-value-limitationThomas Müller2015-10-132-4/+4
|\ | | | | allow an attribute to return more than one value
| * adjust testsArthur Schiwon2015-10-092-4/+4
| |
* | Merge pull request #19489 from owncloud/fix-18297Thomas Müller2015-10-071-0/+81
|\ \ | |/ |/| fix possible infinite loop when reading groups in the wizard
| * fix possible infinite loop when reading groups in the wizardArthur Schiwon2015-10-051-0/+81
| |
* | Merge pull request #19597 from owncloud/update-license-headersThomas Müller2015-10-067-8/+99
|\ \ | | | | | | update licence headers via script
| * | update licence headers via scriptMorris Jobke2015-10-057-8/+99
| |/
* / trim by default, add unit testsArthur Schiwon2015-10-051-0/+106
|/
* memberOf resembles a DN as well and is actively usedArthur Schiwon2015-09-281-0/+34
|
* do not throw exception when no attribute is specifiedArthur Schiwon2015-09-231-0/+103
|
* read all relevant user attributes on login and user search, in one query. ↵Arthur Schiwon2015-09-235-22/+176
| | | | saves us some.
* Merge pull request #18042 from GreenArchon/masterMorris Jobke2015-08-261-4/+3
|\ | | | | Properly nest groups when using memberOf to detect group membership, …
| * Properly nest groups when using memberOf to detect group membership, fixes ↵Frédéric Fortier2015-08-031-4/+3
| | | | | | | | #17759
* | integration tests for hardening user home retrievalArthur Schiwon2015-08-061-0/+159
| |
* | fix test after rebasingArthur Schiwon2015-07-271-1/+1
| |
* | add integration tests for avatar updateArthur Schiwon2015-07-275-2/+144
| |
* | refactor integration tests to make it easier to add new onesArthur Schiwon2015-07-274-95/+189
| |
* | Merge pull request #17526 from owncloud/fix-17516Morris Jobke2015-07-272-1/+79
|\ \ | |/ |/| LDAP: when checking group for matching filter, also take base DN into…
| * LDAP: when checking group for matching filter, also take base DN into ↵Arthur Schiwon2015-07-092-1/+79
| | | | | | | | consideration. Fixes #17516
* | Fixing line comments and indentationViktor Szépe2015-07-211-3/+3
| |
* | fix indentation. no code changes, whitespace only.Arthur Schiwon2015-07-201-126/+126
| |
* | fix runtime caching in ldap's user manager, fixes #17631Arthur Schiwon2015-07-171-0/+8
|/
* Merge pull request #17255 from owncloud/fix-17119Thomas Müller2015-07-017-0/+359
|\ | | | | [LDAP] Filter user groups obtained by memberof
| * tests solidityArthur Schiwon2015-06-303-0/+24
| |
| * adjust unit testArthur Schiwon2015-06-301-0/+4
| |
| * integration testArthur Schiwon2015-06-305-0/+331
| |
* | update license headers and authorsMorris Jobke2015-06-251-0/+1
|/
* delete user test to take getHome into account to ensure it is also deleted ↵Arthur Schiwon2015-06-171-1/+4
| | | | subsequently
* if possible, getUserGroups should get memberships using memberOf virtual ↵Arthur Schiwon2015-06-031-0/+59
| | | | attribute
* Fixes returns of group memberships and counting if all members have the ↵Arthur Schiwon2015-05-191-0/+70
| | | | specific groups as primary set.
* add integration test to ensure correct behaviour on lost connectionsArthur Schiwon2015-04-241-0/+192
|
* LDAP tests: swithc var_dump to exceptionMorris Jobke2015-04-181-3/+3
|
* fix cherrypickingJörn Friedrich Dreyer2015-04-102-14/+17
|
* fix_testsJörn Friedrich Dreyer2015-04-102-47/+194
| | | | | Conflicts: apps/user_ldap/tests/user_ldap.php
* adjust testsArthur Schiwon2015-04-091-6/+9
|
* Update license headersJenkins for ownCloud2015-03-2611-152/+219
|
* offset needs to be considered in computed limitArthur Schiwon2015-03-231-0/+14
|
* Revert "Updating license headers"Morris Jobke2015-02-2611-209/+163
| | | | This reverts commit 6a1a4880f0d556fb090f19a5019fec31916f5c36.
* Merge pull request #13740 from owncloud/fix-12190-2Lukas Reschke2015-02-241-1/+6
|\ | | | | Include primary groups in user and login filter when restricting group access and also fix user counting in primary groups
| * fix counting of users in primary groupArthur Schiwon2015-01-281-1/+6
| |
* | Updating license headersJenkins for ownCloud2015-02-2311-163/+209
|/
* add test for mapping's getList methodArthur Schiwon2015-01-071-0/+24
|
* inject DB Connection to user managerArthur Schiwon2015-01-075-47/+52
|
* inject oc config to User_LDAPArthur Schiwon2015-01-061-31/+37
|
* smaller fixes: coding style, PHPdoc, typos and few for DIArthur Schiwon2015-01-061-24/+0
|
* planned refactorings for OC 8Arthur Schiwon2014-12-201-0/+4
|
* basic adjustments for OC 8. I.e. no visible issues, LDAP tests pass.Arthur Schiwon2014-12-201-0/+10
|
* LDAP User Cleanup: Port from stable7 without further adjustementsArthur Schiwon2014-12-193-2/+175
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | LDAP User Cleanup background job for user clean up adjust user backend for clean up register background job remove dead code dependency injection make Helper non-static for proper testing check whether it is OK to run clean up job. Do not forget to pass arguments. use correct method to get the config from server methods can be private, proper indirect testing is given no automatic user deletion make limit readable for test purposes make method less complex add first tests let preferences accept limit and offset for getUsersForValue DI via constructor does not work for background jobs after detecting, now we have retrieving deleted users and their details we need this method to be public for now finalize export method, add missing getter clean up namespaces and get rid of unnecessary files helper is not static anymore cleanup according to scrutinizer add cli tool to show deleted users uses are necessary after recent namespace change also remove user from mappings table on deletion add occ command to delete users fix use statement improve output big fixes / improvements PHP doc return true in userExists early for cleaning up deleted users bump version control state and interval with one config.php setting, now ldapUserCleanupInterval. 0 will disable it. enabled by default. improve doc rename cli method to be consistent with others introduce ldapUserCleanupInterval in sample config don't show last login as unix epoche start when no login happend less log output consistent namespace for OfflineUser rename GarbageCollector to DeletedUsersIndex and move it to user subdir fix unit tests add tests for deleteUser more test adjustements Conflicts: apps/user_ldap/ajax/clearMappings.php apps/user_ldap/appinfo/app.php apps/user_ldap/lib/access.php apps/user_ldap/lib/helper.php apps/user_ldap/tests/helper.php core/register_command.php lib/private/preferences.php lib/private/user.php add ldap:check-user to check user existance on the fly Conflicts: apps/user_ldap/lib/helper.php forgotten file PHPdoc fixes, no code change and don't forget to adjust tests
* Split mapping from Access and Helper classes into it's own. Fully test them, ↵Arthur Schiwon2014-12-194-31/+228
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | too. remove unused methods split mapping methods off from Access class fix DB query handling move 'clear mapping' methods from static helper to new mapping class add tests test directly with DB finishing tests and fix return value from setDNbyUUID add corresponding class for groups and make abstract test class neutral. helper tests is now obsolete as the tested functions were moved to the new mapper class. add missing info to PHPDoc add unmap method fix namespaces fix test inheritance PHPDoc and a small code restructure for scrutinizer, no effective changes PostgreSQL does not accept LIMIT in DELETE queries phpdoc fixes, no code changes
* Merge pull request #11837 from owncloud/fix-11328Morris Jobke2014-11-241-30/+2
|\ | | | | unify count filters and introduce display name attribute detection