summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap
Commit message (Collapse)AuthorAgeFilesLines
* Backport of #17723 to stable7Arthur Schiwon2015-07-202-156/+164
| | | | fix runtime caching in ldap's user manager, fixes #17631
* Merge pull request #17319 from owncloud/stable7-clean-ocsidMorris Jobke2015-07-021-1/+1
|\ | | | | [stable7] Delete OCS ID from DB if none is specified
| * Bump versionsLukas Reschke2015-07-021-1/+1
| |
* | [stable7] Remove OCS IDsLukas Reschke2015-07-021-1/+0
|/ | | | | | While making the AppStore ready for 8.1 I also deleted some dummy entries which means that these IDs do not resolve anymore. We should remove them to prevent errors such as https://github.com/owncloud/core/issues/17307 Ref https://github.com/owncloud/activity/issues/320#issuecomment-117691867
* Backport of #16890 to stable7Arthur Schiwon2015-06-182-5/+10
| | | | | | | | | the user is gone, userExists will not bring him back. But the user's folder needs to be deleted anyway delete user test to take getHome into account to ensure it is also deleted subsequently Conflicts: apps/user_ldap/tests/user_ldap.php
* port detection needs to take care of now thrown exceptions when LDAP server ↵Arthur Schiwon2015-06-051-13/+21
| | | | is not available
* Fix compatibility with 5.4 againLukas Reschke2015-06-011-1/+1
| | | | Fixes https://github.com/owncloud/core/issues/16665
* Merge pull request #13742 from owncloud/fix-12190-2-stable7Thomas Müller2015-05-265-30/+164
|\ | | | | [backport #13740] backport #13740 to stable7
| * add primary group users to resultset before cachingArthur Schiwon2015-05-141-1/+2
| |
| * Fixes returns of group memberships and counting if all members have the ↵Arthur Schiwon2015-04-142-9/+77
| | | | | | | | specific groups as primary set.
| * Backport of #13740Arthur Schiwon2015-04-145-26/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | inlcude AD primary group in user filter, if a group is selected. fixes #12190 fix counting of users in primary group :lipstick: adept to OC 7 and escape the search term Conflicts: apps/user_ldap/lib/connection.php
* | throw exception when LDAP Connection was lostArthur Schiwon2015-04-221-0/+4
| |
* | throw exception if setup is incompleteMorris Jobke2015-04-221-1/+3
| |
* | fix_testsJörn Friedrich Dreyer2015-04-223-50/+200
| |
* | do not hide exception when ldap server has a hiccupJörn Friedrich Dreyer2015-04-223-18/+11
|/
* Merge pull request #14889 from owncloud/backport-14849-stable7Morris Jobke2015-03-241-3/+6
|\ | | | | [stable7] support paged results against 389ds.
| * support paged results against 389ds.Arthur Schiwon2015-03-131-3/+6
| |
* | offset needs to be considered in computed limitArthur Schiwon2015-03-242-1/+15
|/
* set up paged search when limit is 0Arthur Schiwon2015-03-051-0/+11
|
* fix update routineArthur Schiwon2015-01-291-1/+1
|
* this must be larger then (>), since buggy behaviour occurs when the ↵Arthur Schiwon2015-01-211-1/+1
| | | | parameter is a small number
* fix retrieval of user groupsArthur Schiwon2015-01-132-2/+8
| | | | | Conflicts: apps/user_ldap/lib/connection.php
* and don't forget to adjust testsArthur Schiwon2014-12-181-21/+12
|
* PHPdoc fixes, no code changeArthur Schiwon2014-12-173-5/+7
|
* forgotten fileArthur Schiwon2014-12-171-0/+129
|
* add ldap:check-user to check user existance on the flyArthur Schiwon2014-12-175-28/+81
|
* LDAP User CleanupArthur Schiwon2014-12-1530-89/+1034
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Merge pull request #12663 from zinks-/l10n-fr-backportMorris Jobke2014-12-101-6/+6
|\ | | | | Patched french translation (backported from master)
| * Patched french translation (backported from master)Thomas Imbreckx2014-12-051-6/+6
| |
* | add docArthur Schiwon2014-12-081-0/+1
| |
* | preserve an asterisk at the start when escaping a search termArthur Schiwon2014-12-082-3/+8
|/
* Merge pull request #12309 from owncloud/ldap-cache-user-countblizzz2014-12-041-0/+5
|\ | | | | LDAP: cache total user count
| * cache total user countArthur Schiwon2014-11-191-0/+5
| |
* | LDAP search filter creation changes:Arthur Schiwon2014-11-281-1/+40
| | | | | | | | | | | | | | | | | | 1. do not prepend * wildcard to search terms. Will result in faster search, but you don't find "foobar" when looking for "bar" 2. advanced behaviour when search string contains a space and multiple search attributes are present. The search string is split into single words. The resulting filter requires that each word at least appears once in any search attribute. This is supposed to return better results in big LDAPs.
* | add ldap-search command to occArthur Schiwon2014-11-283-0/+112
|/
* user_ldap: Reimplement convertSID2Str() without BCMath dependency.Andreas Fischer2014-11-123-54/+57
| | | | | Also explicitly format sub-id integers as unsigned, which is required for 32-bit systems.
* Fix infinite loop if count and limit is 0Morris Jobke2014-11-111-1/+1
| | | | * otherwise it will always think it hits the limit and need another round to fetch additional results
* dont fail with 500 if configured display name attribute is not setArthur Schiwon2014-11-112-3/+29
|
* on xp'ed mode and switching configurations: save raw mode instead of ↵Arthur Schiwon2014-10-312-14/+10
| | | | | | toggling filter mode in tabs since their status is unknown and dealt with by the Wizard. Fixes #11848 Backport of 8a48b088ed22f23f961da3c0eb9591989f8cc98a from master
* backport of #11494Arthur Schiwon2014-10-183-14/+84
| | | | | | | | | | | | | | fix retrievel of group members and cache group members fix changed variable name with several backends, more than limit can be returned make performance less bad. Still far from good, but at least it works add one simple cache test adjust group manager tests
* backport of #11478Arthur Schiwon2014-10-1612-206/+551
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | add checkbox for experienced users to server tab must be empty not auto sets user filters to raw mode when marking user as experienced Objectlasses, Groups and Attributes are now loaded only in assisted mode and only once user and group counts are only upated on demand in experienced mode confirmation before switching to assisted mode when admin is experienced rename internal var name to avoid collision more beautiful white spaces smaller corrections to make scruitinizer happier, no effective changes bump version fix triggering of group update counts. improves the basic code which is also responsible for user counts. i did not find regressions, please doublecheck remove debug output coding style, no effective code changes always abort running ajax request when the method is fired up again show a spinner next to test filter button when the test is running show Spinner when stuff is being saved show busy cursor and lock tabs on save instead of dis/enabling tabs on save, cancel tab change. avoids noisy ui remove debug output rephrase xp'ed user mode label left-align checkbox on server tab
* Log warning when no uid was found for userVincent Petry2014-10-101-0/+4
| | | | | | | | | | In some incomplete setups (like mine) it can happen that the uid attribute of users is missing. To be able to find out that something is wrong, a debug message is now logged when it has not been found. Backport of 59f9107dd9497d2eb9bd61f5eb8d893dd8fcb766 from master
* Prevent button click when enter key is pressed in LDAP wizardVincent Petry2014-10-103-3/+3
| | | | | | | | | | Pressing enter in the LDAP wizard will trigger a click on the first button. In the main page it would trigger the delete dialog, which is quite inconvenient. Added a type attribute to suppress this behavior. Backport of bb424802c8f6e8fd0e7fbe28e000400a5b0660f3 from master
* Add support for keys in the info.xmlLukas Reschke2014-10-091-0/+1
| | | | This allows to have links to different doc base URLs
* Backport of #10527Arthur Schiwon2014-10-092-8/+31
| | | | | | | | | | | | properly cancel a Paginated Results operation in order to avoid protocol errors, fixes #10526 abandon ongoing paged search before starting a new one abandond paged search only if PHP supports them init a new paged search on read operations to satisfy OpenLDAP make scrutinizer happy, very minor changes
* Updated info.xml app descriptionMTRichards2014-10-081-4/+2
| | | Backporting to stable 7. Removed doc links as this is packaged in 2 different setups, links are different.
* dn needs to be fetched to be able to detect memberOf supportArthur Schiwon2014-09-291-2/+4
|
* update encryption doc linkVolkan Gezer2014-09-181-1/+1
| | | | | | I don't know how we missed to update this :/ update ldap doc link
* adding unit test to truncate the tableThomas Müller2014-09-172-1/+32
|
* Use Doctrine Platform to generate SQL query for table truncation.Andreas Fischer2014-09-171-8/+3
|