summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/lib/access.php
Commit message (Collapse)AuthorAgeFilesLines
* Happy new year!Thomas Müller2016-01-121-2/+5
|
* Respect user enumerationRalph Krimmel2016-01-081-2/+19
| | | | | Respect shareapi_allow_share_dialog_user_enumeration in user_ldap filter generation function to increase search performance in sharing dialog.
* fix find DN by UUID for ADArthur Schiwon2015-12-141-13/+56
|
* look for DN changes before marking a user as deletedArthur Schiwon2015-12-111-0/+52
|
* Merge pull request #18212 from ↵Thomas Müller2015-12-071-1/+1
|\ | | | | | | | | ryno83/treat_LDAP_users_not_available_by_user_filter_as_deleted treat LDAP users not available by user filter as deleted
| * if define, check the userfilter if the user is still allowedRenaud Fortier2015-08-111-1/+1
| |
* | Merge pull request #18294 from esakol/issue17173Thomas Müller2015-11-241-39/+67
|\ \ | | | | | | Fix RHDS ldap paged search, Issue #17173
| * | Fix RHDS ldap paged search, Issue #17173Mario Kolling2015-11-091-39/+67
| | | | | | | | | | | | Change-Id: Ic804ea95401a9b49cb2b0866af722aa0d3ee58c5
* | | remove uselessly used parameter, read all user attributes also when looking ↵Arthur Schiwon2015-11-061-2/+1
|/ / | | | | | | up users in groups
* | Merge branch 'master' into fix-20151blizzz2015-11-021-0/+5
|\ \
| * | if a user that is flag as deleted shows up again, remove that flag. Fixes #20090Arthur Schiwon2015-10-301-0/+5
| | |
* | | add method to count users by loginname and use it for diagnose test, fixes ↵Arthur Schiwon2015-10-301-0/+14
|/ / | | | | | | #20151
* | fix attribute casing to ensure array keys workArthur Schiwon2015-10-271-1/+2
| |
* | Merge pull request #19635 from owncloud/fix-ldap-value-limitationThomas Müller2015-10-131-35/+35
|\ \ | | | | | | allow an attribute to return more than one value
| * | adjust fetchList with a single requested attribute accordinglyArthur Schiwon2015-10-091-1/+3
| | |
| * | treat dn as any other attribute when building the search() return arrayArthur Schiwon2015-10-081-3/+3
| | |
| * | adjust handling changed return array structure from search() and fetchList()Arthur Schiwon2015-10-081-5/+18
| | |
| * | allow an attribute to return more than one valueArthur Schiwon2015-10-071-28/+13
| | |
* | | Merge pull request #19489 from owncloud/fix-18297Thomas Müller2015-10-071-0/+24
|\ \ \ | |/ / |/| | fix possible infinite loop when reading groups in the wizard
| * | fix possible infinite loop when reading groups in the wizardArthur Schiwon2015-10-051-0/+24
| | |
* | | update licence headers via scriptMorris Jobke2015-10-051-0/+1
|/ /
* | memberOf resembles a DN as well and is actively usedArthur Schiwon2015-09-281-1/+3
| |
* | read all relevant user attributes on login and user search, in one query. ↵Arthur Schiwon2015-09-231-1/+28
|/ | | | saves us some.
* Merge pull request #17526 from owncloud/fix-17516Morris Jobke2015-07-271-0/+11
|\ | | | | 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-091-0/+11
| | | | | | | | consideration. Fixes #17516
* | Merge pull request #17046 from nicolas-grekas/fix-16654blizzz2015-07-161-3/+2
|\ \ | |/ |/| Do not use OC*::mb_*_replace(), they are useless
| * Do not use OC*::mb_*_replace(), they are uselessNicolas Grekas2015-07-161-3/+2
| |
* | ensure groups match filter when using memberOf to read users group, refs #17119Arthur Schiwon2015-06-261-0/+27
|/
* LDAP Wizard OverhaulArthur Schiwon2015-04-091-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-13/+24
|
* support paged results against 389ds.Arthur Schiwon2015-03-121-3/+6
|
* set up paged search when limit is 0Arthur Schiwon2015-03-051-0/+11
|
* Revert "Updating license headers"Morris Jobke2015-02-261-24/+14
| | | | This reverts commit 6a1a4880f0d556fb090f19a5019fec31916f5c36.
* Merge pull request #13740 from owncloud/fix-12190-2Lukas Reschke2015-02-241-1/+1
|\ | | | | Include primary groups in user and login filter when restricting group access and also fix user counting in primary groups
| * and escape the search termArthur Schiwon2015-01-291-1/+1
| |
* | Updating license headersJenkins for ownCloud2015-02-231-14/+24
| |
* | Merge pull request #13425 from owncloud/phpdoc_cleanupMorris Jobke2015-02-101-7/+7
|\ \ | |/ |/| Cleanup of PHPDoc return types
| * Cleanup of PHPDoc return typesRobin McCorkell2015-01-161-7/+7
| |
* | this must be larger then (>), since buggy behaviour occurs when the ↵Arthur Schiwon2015-01-201-1/+1
|/ | | | parameter is a small number
* fix retrieval of user groupsArthur Schiwon2015-01-121-1/+5
|
* Merge pull request #12984 from owncloud/ldap-user-cleanup-masterLukas Reschke2015-01-091-2/+27
|\ | | | | Ldap user cleanup master
| * basic adjustments for OC 8. I.e. no visible issues, LDAP tests pass.Arthur Schiwon2014-12-201-2/+26
| |
| * LDAP User Cleanup: Port from stable7 without further adjustementsArthur Schiwon2014-12-191-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Be less verbose when using a paged searchLyonel Vincent2014-12-241-1/+1
|/ | | Lower the priority from INFO to DEBUG
* Split mapping from Access and Helper classes into it's own. Fully test them, ↵Arthur Schiwon2014-12-191-218/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* first step to drop \OCP\Config:: in favour of IConfigMorris Jobke2014-12-171-1/+1
|
* add docArthur Schiwon2014-12-081-0/+1
|
* preserve an asterisk at the start when escaping a search termArthur Schiwon2014-12-081-2/+7
|
* Forward port of #12493Arthur Schiwon2014-12-041-1/+51
| | | | | | | | | | | | | | | | | | add ldap-search command to occ Conflicts: apps/user_ldap/appinfo/register_command.php LDAP search filter creation changes: 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. trim search string before passing it on
* fix counting when ldapPagingSize is 0Arthur Schiwon2014-11-211-6/+5
|