summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/user_ldap.php
Commit message (Collapse)AuthorAgeFilesLines
* the user is gone, userExists will not bring him back. But the user's folder ↵Arthur Schiwon2015-06-111-5/+6
| | | | needs to be deleted anyway
* LDAP - move from constants to class member constantsMorris Jobke2015-04-181-5/+5
| | | | | * fixes scrutinizer warnings * drops the usage of deprecated code usage
* do not hide exception when ldap server has a hiccupJörn Friedrich Dreyer2015-04-101-10/+6
|
* LDAP Wizard OverhaulArthur Schiwon2015-04-091-5/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | wizard refactor reimplement save spinners and cursor implement Port detector introduced detector queue, added base dn detector disable input fields when detectors are running introduce spinners for fields that are being updated by detector cache jq element objects consolidate processing of detector results in generic / abstract base class display notification if a detector discovered a problem don't run base dn detector if a base is configured reset detector queue on configuration switch implement functionality check and update of status indicator document ConfigModel jsdoc for controller and main view more documentation implement the user filter tab view so far the multiselects get initialized (not filled yet) and the mode can be switched. mode is also restored. reintroduce filter switch confirmation in admin XP mode new detector for user object classes. so we also load user object classes if necessary and are able to save and show the setting. multiselect trigger save actions now on close only show spinners automatically, when a detector is running 20k limit for object classes preselection test adjust wordings, fix grammar add group (for users tab) detector also includes wording fixes error presentation moved from detectors to view, where it belongs add info label to users page missing wording changes show effective LDAP filter in Assisted Mode add user filter detector implement count button for users and limit all count actions to 1001 for performance reasons make port field a bit bigger. not perfect though. do not detect port automatically implement login filter tab view only load features in assisted mode and don't enable assisted fields while in raw mode add tooltips on login filter checkbox options for better understanding permanently show filter on login tab and also compile login filter in assisted mode test/verify button on login attributes tab, with backend changes. only run wizard requests if your an active tab. also run compile filter requests when switching to assisted mode underline toggle filter links to stress that they are clickable unity user and group tab functionality in common abstract class, add group filter tab view. only detectors and template adjustments left to have group tab implementation complete add object class and group detector for groups as well as filter composer show ldap filter permanently on groups tab introduce input element that can deal better with many groups, will be used with > 40 fix disabling complex group chooser while detection is running hide complex group chooser on config switch fix few more issues with complex chooser make complex group chooser available on Users tab as well detect base dn improvements/changes: - do not look for Base DN automatically, offer a button instead - fix for alternative way to detect a base dn (if agent dn is not given) - do not trigger filter composers on config switch Changes with configuration chooser controls - "New" was removed out of the configuration list - and split into buttons "add" and "copy" - delete button is also now an icon add test button for Base DN reimplement advanced tab. The save button is gone. reimplement expert tab remove unused methods implement mail attribute detector implement user display name attribute detection implement member group association detector replace text input with textarea for raw filter input finish functionality check auto-enable good configurations, as it was before cleanup move save confirmation handling to base class, reduces code duplication enable tabs only if no running save processes are left. move onConfigLoaded to base class, avoids code duplication simplify, save LOCs Test Configuration button to be dealt with in main view as it is a cross-tab element require detectorQueue in constructor cleanup put bootstrap into a function and thus make it testable get rid of old stuff
* Update license headersJenkins for ownCloud2015-03-261-15/+21
|
* Revert "Updating license headers"Morris Jobke2015-02-261-21/+16
| | | | This reverts commit 6a1a4880f0d556fb090f19a5019fec31916f5c36.
* Updating license headersJenkins for ownCloud2015-02-231-16/+21
|
* Cleanup of PHPDoc return typesRobin McCorkell2015-01-161-1/+1
|
* doc fixes and removal of unnecessary use statementsArthur Schiwon2015-01-071-1/+1
|
* inject oc config to User_LDAPArthur Schiwon2015-01-061-9/+21
|
* basic adjustments for OC 8. I.e. no visible issues, LDAP tests pass.Arthur Schiwon2014-12-201-1/+1
|
* LDAP User Cleanup: Port from stable7 without further adjustementsArthur Schiwon2014-12-191-20/+96
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Merge pull request #12956 from owncloud/jenkins-user-backend-namesThomas Müller2014-12-191-1/+10
|\ | | | | [jenkins only] introduce names for user backends - IUserBackend
| * introduce names for user backends - IUserBackendMorris Jobke2014-12-191-1/+10
| | | | | | | | * LDAP with multiple servers also proved backendName
* | first step to drop \OCP\Config:: in favour of IConfigMorris Jobke2014-12-171-1/+1
|/
* preserve an asterisk at the start when escaping a search termArthur Schiwon2014-12-081-1/+1
|
* cache total user countArthur Schiwon2014-12-041-0/+5
| | | | | Conflicts: apps/user_ldap/user_ldap.php
* consolidate user count filter in wizard and user back endArthur Schiwon2014-11-201-2/+1
|
* dont fail with 500 if configured display name attribute is not setArthur Schiwon2014-10-271-1/+7
|
* port of #9500Arthur Schiwon2014-07-081-1/+0
| | | | | | | | | | don't trigger update from checkPassword, it is already called by userExists, this is enough. do not write to database when the value is the same add test cases. also split test classes in a file each, looks like only the first class is being executed also appconfig shall not write to database if the value is unchanged
* LDAP: put out fetching of user meta data into a fully tested class of its ↵Arthur Schiwon2014-06-031-129/+12
| | | | own and update them (mail, quota, etc.) directly after mapping. Fixes #7785 properly on master
* Remove all occurences of @brief and @returns from PHPDocMorris Jobke2014-05-191-11/+11
| | | | * test case added to avoid adding them later
* Fix whitespace issuesRobin McCorkell2014-05-161-2/+2
|
* Reduce double-space with single-space.Andreas Fischer2014-05-161-1/+1
|
* PHPDoc fixes for user_ldapRobin McCorkell2014-05-161-1/+1
|
* Fix PHPDoc in /appsRobin McCorkell2014-05-161-13/+13
|
* LDAP: improve compilation of filtersArthur Schiwon2014-02-191-0/+3
|
* Scrutinizer Auto-FixesScrutinizer Auto-Fixer2014-02-191-2/+1
| | | | | | | | | | | This patch was automatically generated as part of the following inspection: https://scrutinizer-ci.com/g/owncloud/core/inspections/cdfecc4e-a37e-4233-8025-f0d7252a8720 Enabled analysis tools: - PHP Analyzer - JSHint - PHP Copy/Paste Detector - PHP PDepend
* Merge branch 'master' into scrutinizer_documentation_patchesThomas Müller2014-02-141-7/+26
|\ | | | | | | | | Conflicts: lib/private/appconfig.php
| * LDAP: improve debug messageArthur Schiwon2014-02-101-1/+2
| |
| * LDAP: also try MS AD's thumbnailPhoto when looking for an avatar imageArthur Schiwon2014-02-101-6/+24
| |
* | polish documentation based on scrutinizer patchesJörn Friedrich Dreyer2014-02-061-3/+3
|/
* remove unnecessary lineArthur Schiwon2014-01-081-1/+0
|
* LDAP: implement userCount action. This required to (finally) clean up and ↵Arthur Schiwon2014-01-081-1/+15
| | | | refactor the search method, which will have a positive performance impact on paged search.
* Make sure Avatar is set from LDAP upon first login, not later, but also not ↵Arthur Schiwon2013-11-261-2/+14
| | | | before due to missing user folder
* LDAP: last avatar lookup must be stored per user. Someone had a blackout, eh?Arthur Schiwon2013-11-221-5/+6
|
* LDAP: get user photo from LDAP and set it as avatar if availableArthur Schiwon2013-11-221-1/+62
|
* LDAP: coding styleArthur Schiwon2013-09-271-2/+4
|
* LDAP: make Access be a dependency to the user and group backend instead of ↵Arthur Schiwon2013-09-271-40/+54
| | | | inheriting it.
* WhitespacesArthur Schiwon2013-09-271-2/+0
|
* LDAP: only connect to LDAP once on loginArthur Schiwon2013-08-171-5/+5
|
* Use !== and === in user_ldap app – Part 2kondou2013-04-201-2/+2
|
* LDAP: user exists check on getHome, otherwise check will be performed with ↵Arthur Schiwon2013-03-191-0/+5
| | | | wrong configs on a multi LDAP server setup.
* LDAP: check whether user exists for before trying to determine displaynameArthur Schiwon2013-03-191-0/+4
|
* Merge pull request #1708 from owncloud/style-cleanup-user_ldapBernhard Posselt2013-02-171-6/+12
|\ | | | | Style cleanup user_ldap
| * Style cleanup user_ldapBart Visscher2013-02-141-6/+12
| |
* | LDAP: announce that OC_USER_BACKEND_GET_DISPLAYNAME is implemented, fixes #1727Arthur Schiwon2013-02-161-2/+5
|/
* introduce new virtual method hasUserListings() to determine if a user ↵Thomas Mueller2013-02-111-0/+6
| | | | backend can list it's users.
* code styleArthur Schiwon2013-02-061-1/+1
|
* LDAP: do not store user home as it destroys configurability. always fetch ↵Arthur Schiwon2013-02-061-25/+22
| | | | it. use of cache is save however, it is cleared when settings are saved