aboutsummaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/ajax
Commit message (Collapse)AuthorAgeFilesLines
* Update all license headers for Nextcloud 21Christoph Wurst2020-12-162-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use query builder instead of OC_DB in user_ldapJoas Schilling2020-11-063-3/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* user share manager to determine share ownershipArthur Schiwon2020-10-261-2/+3
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Format code to a single space around binary operatorsChristoph Wurst2020-10-051-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-106-15/+15
| | | | | | | | | | | | | | | To continue this formatting madness, here's a tiny patch that adds unified formatting for control structures like if and loops as well as classes, their methods and anonymous functions. This basically forces the constructs to start on the same line. This is not exactly what PSR2 wants, but I think we can have a few exceptions with "our" style. The starting of braces on the same line is pracrically standard for our code. This also removes and empty lines from method/function bodies at the beginning and end. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use elseif instead of else ifChristoph Wurst2020-04-101-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix (array) indent style to always use one tabChristoph Wurst2020-04-091-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update the license headers for Nextcloud 19Christoph Wurst2020-03-317-2/+7
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use the short array syntax, everywhereChristoph Wurst2020-03-267-25/+25
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersChristoph Wurst2019-12-057-10/+11
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* 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