summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/lib/wizard.php
Commit message (Collapse)AuthorAgeFilesLines
* change default value of ldap_tls to 0. It will be detected anyway, but ↵Arthur Schiwon2015-04-091-0/+3
| | | | starting with 0 will lead to errors and unconfigurability
* cleanupArthur Schiwon2015-04-091-2/+0
|
* LDAP Wizard OverhaulArthur Schiwon2015-04-091-55/+88
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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/+21
|
* Revert "Updating license headers"Morris Jobke2015-02-261-21/+14
| | | | This reverts commit 6a1a4880f0d556fb090f19a5019fec31916f5c36.
* Merge pull request #13740 from owncloud/fix-12190-2Lukas Reschke2015-02-241-2/+12
|\ | | | | Include primary groups in user and login filter when restricting group access and also fix user counting in primary groups
| * inlcude AD primary group in user filter, if a group is selected. fixes #12190Arthur Schiwon2015-01-281-2/+12
| |
* | Updating license headersJenkins for ownCloud2015-02-231-14/+21
| |
* | Cleanup of PHPDoc return typesRobin McCorkell2015-01-161-10/+10
|/
* LDAP User Cleanup: Port from stable7 without further adjustementsArthur Schiwon2014-12-191-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* phpdoc and mixed up lettersArthur Schiwon2014-11-201-1/+2
|
* a corrected email attribute needs to be saved, not only returnedArthur Schiwon2014-11-201-1/+1
|
* to reassure that selected attributes still work, do not count all matching ↵Arthur Schiwon2014-11-201-5/+8
| | | | entries but limit it to 1 in order to make it faster
* detectors (email, displayname..) are now started in one place, triggered ↵Arthur Schiwon2014-11-201-1/+0
| | | | from only 2 places. more reliable structure and flow, saves requests
* consolidate user count filter in wizard and user back endArthur Schiwon2014-11-201-4/+1
|
* detect user display name attribute and return user count depending on its ↵Arthur Schiwon2014-11-201-2/+47
| | | | presence
* Use function outside of loopLukas Reschke2014-10-241-1/+2
| | | | Otherwise the function is executed n times which is a lot of overhead
* dn needs to be fetched to be able to detect memberOf supportArthur Schiwon2014-09-261-2/+4
|
* if only one attribute is requested, the returned array has 0 as key instead ↵Arthur Schiwon2014-09-051-1/+1
| | | | of attribute name. fixes #10888
* Use public api for getting l10nRobin Appelman2014-08-311-1/+1
|
* trigger email detection by Wizard upon any user filter filter change. before ↵Arthur Schiwon2014-08-291-3/+2
| | | | it happenend only upon user automatic list filter creation, but not on manual editing
* write log message, if original value was changedArthur Schiwon2014-08-291-0/+8
|
* add unit test for mail detectionArthur Schiwon2014-08-291-1/+2
|
* remove Access as hard dependency, inject it insteadArthur Schiwon2014-08-291-32/+10
|
* Wizad: email attribute detectionArthur Schiwon2014-08-291-0/+64
|
* Port of #8623Arthur Schiwon2014-08-281-1/+1
| | | | | | | | | set result entry identifier earlier, i.e. before a continue for the same level can happen. otherwise will always get the same value and we end up in an infinite loop add unit test to make sure the infinite loop never comes back Conflicts: apps/user_ldap/tests/wizard.php
* Fix initializing in #9848Jean-Louis Dupond2014-08-111-0/+1
|
* Fix remarks in #9848Jean-Louis Dupond2014-08-111-11/+13
|
* Fix memberOf detection. Fixes: #9835Jean-Louis Dupond2014-07-241-7/+10
|
* adjust access constructor to masterArthur Schiwon2014-06-251-1/+9
|
* Port of LDAP Wizard: get correct total no of users, groups and complete ↵Arthur Schiwon2014-06-251-60/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | list of groups on big setups #9002 fix PHPdoc Conflicts: apps/user_ldap/lib/connection.php add method to count groups on LDAP Conflicts: apps/user_ldap/lib/access.php LDAP Wizard: count users and groups with the power of paged search Conflicts: apps/user_ldap/lib/wizard.php consolidate requirement check fix PHPdoc Conflicts: apps/user_ldap/lib/access.php Wizard: get really all groups from LDAP by power of Paged Search Conflicts: apps/user_ldap/lib/wizard.php make all this work in an early configuration state in the wizard by marking the config active and ignoring the validation state. Conflicts: apps/user_ldap/lib/connection.php simplify two methods a bit, because they are not used for group search anymore Conflicts: apps/user_ldap/lib/wizard.php remove unused vars; increase scrutinizer happiness
* Remove all occurences of @brief and @returns from PHPDocMorris Jobke2014-05-191-22/+22
| | | | * test case added to avoid adding them later
* Fix whitespace issuesRobin McCorkell2014-05-161-2/+2
|
* Fix PHPDoc in /appsRobin McCorkell2014-05-161-4/+4
|
* Use WizardResult|false instead of mixedLukas Reschke2014-05-111-2/+2
|
* Use @return instead of @returnsLukas Reschke2014-05-111-4/+4
|
* Use proper PHPDoc and variable names in the LDAP libLukas Reschke2014-05-111-40/+90
| | | | My IDE was so sad about this that it marked the whole file in red and yellow and forced me to fix this.
* Merge pull request #6297 from leo-b/fix_ldap_errorsblizzz2014-04-231-0/+1
|\ | | | | only check ldap_errno if an ldap_* function actually fails
| * only check ldap_errno if an ldap_* function actually failsroot2014-03-061-0/+1
| | | | | | | | | | | | | | fix wizard errors reset search paging right after the search, not before some of the possible next search operations cookie contains binary characters, don't log it (avoids json_encode(): Invalid UTF-8 sequence in argument errors)
* | Fix PHPdoc in user_ldapBart Visscher2014-04-151-2/+2
| | | | | | | | using scrutinizer patch
* | add comment to clearify when a skip in the foreach happensArthur Schiwon2014-04-091-0/+1
| |
* | define varArthur Schiwon2014-03-211-0/+1
| |
* | fix potential infinite loop when the DN of the first entry was already read.Arthur Schiwon2014-03-201-1/+1
| |
* | Use the LDAP wrapper for checking resources, needs for proper testingArthur Schiwon2014-03-201-1/+1
| |
* | Fix wildcard handling and check even less DNs per filter, enough will be ↵Arthur Schiwon2014-03-201-4/+7
| | | | | | | | looked at anyway
* | LDAP Wizard: when determining objectclasses, we realy do not need to look at ↵Arthur Schiwon2014-03-201-4/+19
|/ | | | every entry. Fixes #7530
* Scrutinizer Auto-FixesScrutinizer Auto-Fixer2014-02-191-4/+4
| | | | | | | | | | | 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-0/+5
|\ | | | | | | | | Conflicts: lib/private/appconfig.php
| * Wizard: disable LDAP referrals, fixes #6670Arthur Schiwon2014-02-101-0/+1
| |
| * throw an info message, when base dn test failedArthur Schiwon2014-02-101-0/+4
| |