summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/ajax
Commit message (Collapse)AuthorAgeFilesLines
* Access needs UserManager, missed to add in #8833Arthur Schiwon2018-04-231-1/+2
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* more consistent namingArthur Schiwon2018-04-051-2/+2
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* LDAP backend to emit announce and revoke signals on mapping changesArthur Schiwon2018-04-051-6/+16
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Finally remove \OCP\JSONRoeland Jago Douma2018-03-231-9/+9
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Move calls to \OCP\JSON to private \OC_JSONRoeland Jago Douma2018-03-227-45/+45
| | | | | | They should be properly fixed at some point. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Use type casting instead of *val() methodMorris Jobke2018-01-261-1/+1
| | | | | | It should be up to 6x faster Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* resolve DIArthur Schiwon2017-11-091-2/+6
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Update license headersMorris Jobke2017-11-065-2/+8
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Spelling: Shortening and bindingAllan Nordhøy2017-07-141-4/+4
|
* restore ldap_password_renew_prRoger Szabo2017-03-311-1/+2
| | | | Signed-off-by: Roger Szabo <roger.szabo@web.de>
* Add prefix to the connectionJuan Pablo Villafáñez2016-10-271-1/+1
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* DI IConfig into ldap helperRoeland Jago Douma2016-10-103-3/+5
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Hide the LDAP password in the client sideJuan Pablo Villafáñez2016-08-192-6/+17
| | | | | Connection checks will be done by using the configuration id, with the stored password. LDAP password won't be sent to the client.
* Merge pull request #595 from nextcloud/fix_slow_testblizzz2016-07-311-0/+7
|\ | | | | Close session fast when doing a test to prevent blocking the next requests
| * Close session fast when doing a test to prevent blocking the nextJuan Pablo Villafáñez2016-07-271-0/+7
| | | | | | | | requests
* | New LDAPProvider for user_ldaproot2016-07-221-1/+1
|/
* Update with robinJoas Schilling2016-07-213-3/+3
|
* Fix apps/Joas Schilling2016-07-217-13/+20
|
* Update license headersLukas Reschke2016-05-267-12/+18
|
* Move Access to PSR-4Joas Schilling2016-05-251-1/+1
|
* Move Configuration to PSR-4Joas Schilling2016-05-252-4/+4
|
* Move Connection to PSR-4Joas Schilling2016-05-254-5/+5
|
* Move FilesystemHelper to PSR-4Joas Schilling2016-05-251-1/+1
|
* Move Helper to PSR-4Joas Schilling2016-05-252-2/+2
|
* Move LDAP to PSR-4Joas Schilling2016-05-254-4/+4
|
* Move LogWrapper to PSR-4Joas Schilling2016-05-251-1/+1
|
* Move wizardJoas Schilling2016-05-251-1/+1
|
* Move lib\user to PSR-4Joas Schilling2016-05-251-1/+1
|
* Update author informationLukas Reschke2016-03-011-0/+1
| | | | Probably nice for the people that contributed to 9.0 to see themselves in the AUTHORS file :)
* Use IUser::setEMailAddress in ldap as wellThomas Müller2016-01-201-1/+2
|
* Happy new year!Thomas Müller2016-01-127-7/+7
|
* passing an empty base in this diagnosis call will not result in LDAP errorsArthur Schiwon2015-12-081-1/+1
| | | | Neither in "Invalid DN syntax" nor in "Object not found"
* update licence headers via scriptMorris Jobke2015-10-051-0/+1
|
* Fix 17677Lennart Rosam2015-08-121-1/+1
|
* update license headers and authorsMorris Jobke2015-06-251-1/+0
|
* throw exception on LDAP error 1, which we usually do not see and is pretty ↵Arthur Schiwon2015-05-181-0/+17
| | | | generic. AD uses is for uses not enlisted in the RFC, like on issues with anonymous binds. we also try to guess this case and show a hint.
* catch unallowed anonymous auth attempt and show specific errorArthur Schiwon2015-05-181-8/+13
|
* not only send them back but also apply defaults to a new configuration. ↵Arthur Schiwon2015-05-051-0/+1
| | | | Fixes #15933
* save configs when requesting a config ID. They are empty, but avoid configID ↵Arthur Schiwon2015-04-211-2/+2
| | | | collisioning when creating many new configs in the wizard without saving anything directly.
* LDAP Wizard OverhaulArthur Schiwon2015-04-092-5/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-267-91/+100
|
* Revert "Updating license headers"Morris Jobke2015-02-267-93/+98
| | | | This reverts commit 6a1a4880f0d556fb090f19a5019fec31916f5c36.
* Updating license headersJenkins for ownCloud2015-02-237-98/+93
|
* Manually type-case all AJAX filesLukas Reschke2015-02-135-6/+6
| | | | | | This enforces proper types on POST and GET arguments where I considered it sensible. I didn't update some as I don't know what kind of values they would support :see_no_evil: Fixes https://github.com/owncloud/core/issues/14196 for core
* no fruitless count attempts, and notification should disappearArthur Schiwon2015-02-051-1/+1
|
* inject DB Connection to user managerArthur Schiwon2015-01-071-1/+2
|
* LDAP User Cleanup: Port from stable7 without further adjustementsArthur Schiwon2014-12-192-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-191-4/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* detect user display name attribute and return user count depending on its ↵Arthur Schiwon2014-11-201-1/+1
| | | | presence
* Use public api for getting l10nRobin Appelman2014-08-314-4/+4
|